1 (edited by squatty88 2017-03-16 06:15:47)

Topic: ImageMagick6 rpm spec cannot actually disable webp, jbig, etc.

The ImageMagick6 rpm spec checks "with_webp" to set "--with-webp", "with_jbig" to set "--with_jbig", etc. But these options are on by default already, and so they're effectively useless. They really need to be turned off explicitly when "!with_webp". Running `./configure --help` also shows that the only valid option is "--without-webp", not "--with-webp". So the rpm spec should really be written so that if "with_webp" is not true, then "--without-webp" should be set. Currently as the rpm spec is written, it's impossible to explicitly turn off webp, jbig, etc.

I have not checked all the other configure flags, so it'd be good to audit those too.

Re: ImageMagick6 rpm spec cannot actually disable webp, jbig, etc.

yes, a cleanup of build options is probably needed.


BTW, it works.

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 24 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.8 x86_64 + EPEL + remi + remi-php70

Re: ImageMagick6 rpm spec cannot actually disable webp, jbig, etc.

Fixed in https://git.io/vySXT with 2 more formats added.

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 24 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.8 x86_64 + EPEL + remi + remi-php70