imagemin / gifsicle-bin

gifsicle bin-wrapper that makes it seamlessly available as a local dependency
http://www.lcdf.org/gifsicle/
MIT License
113 stars 52 forks source link

Version 5.0.0 does not contain bin for linux anymore #113

Open janwidmer opened 4 years ago

janwidmer commented 4 years ago

We are using imagemin-gifsicle and therefore gifsicle-bin as part of our build. With the release 5.0.0, the linux bin files got removed. As consequence of that removal, our build does not work anymore on the CI Server. (The build tries to rebuild gifcicle and misses autoreconf for that..)

Was there a specific reason to update only the windows / mac versions of the bin and removing the linux ones?

Would it be possible to re-add them? There is also an open PR which wanted to update the Linux Version: https://github.com/imagemin/gifsicle-bin/pull/106

Zwimber commented 4 years ago

Therefore also everyone who updated @gumlet/gif-resize from 1.0.4 to 1.0.7 will get an error on Linux hosts.

Yivan commented 4 years ago

Hello,

Same here.

I don't want to run apt-get install dh-autoreconf to be able to build it as it install 250 megs of packages... and we use containers. It makes a too huge dependency, really.

So we tried to simply install gifsicle package from debian official repo, just a few megs, so great, but gifcicle-bin don't seems to be able to detect it and try to build it, it is a shame : (

There are two solutions:

For now, same we cannot use no more this package. Hope it could be fixed, Thanks!

WebReflection commented 4 years ago

This issue affects vercel / now CI too, so that I had to put it under optional dependencies that fail every single time but also I manually pre-build assets locally, before pushing, but that's not ideal.

As I am myself a Linux user, if there's anything I can do to provide Linux binaries please let me know, thanks.

janwidmer commented 4 years ago

mmh I was courious what the reason for the removal was but as there has not been a reaction on this issue, I am also not sure if the owner would accept a PR.. Also there has not been really a reaction on this PR https://github.com/imagemin/gifsicle-bin/pull/106..

WebReflection commented 4 years ago

@janwidmer do you know any valid alternative? my interest is about optimizing already available GIFs and nothing else, to be honest, but I might drop that if there's no alternative, or provide one by myself, that's going to work in common CIs too.

lhtdesignde commented 4 years ago

ah ya that's definitely causing the error of issue #79 . Would be great to re-add, please.

janwidmer commented 4 years ago

@WebReflection we ended up installing the build tools to generate the binary by ourselfs in our Gitlab CI image

sphrases commented 4 years ago

Same issue Gulp-image breaks too

sghoweri commented 4 years ago

I'm now running into this exact same issue as well (linked over from https://github.com/imagemin/imagemin-gifsicle/issues/40)

jimblue commented 4 years ago

Just a friendly ping... Any update about this issue ? I got the same problem on a Ubuntu Server.

sean6bucks commented 3 years ago

Any progress or response from Imagemin team about this? Seems there are multiple tickets in imagmin projects, but doesn't seem to be any responses about fixes, besides people finding work arounds or downgrading. https://github.com/imagemin/imagemin-gifsicle/issues/37 https://github.com/imagemin/imagemin-gifsicle/issues/32 https://github.com/imagemin/imagemin-gifsicle/issues/40 https://github.com/imagemin/imagemin-gifsicle/issues/45 Not even the minimal response that all these tickets are duplicates to the same issue

mreinstein commented 3 years ago

I think this is resolved via #118

mreinstein commented 3 years ago

we'd need a new release of course, but assuming you're talking about 64 bit x86 linux binary this should do the trick.

janwidmer commented 3 years ago

@mreinstein thanks for your work. As we use it as part of imagemin-gifsicle, we cannot just update to the new version 5.2.0 but need to ask for a new version of imagemin-gifsicle.. As soon as that happen, I will close this ticket