Système Ruby Archlinux Contribution Libre 2014 | 08 | 04

Archlinux, Rmagick and HDRI

Earlier versions of Rmagick will not compile with newer version of imagemagick with --enable-hdri compilaton flag.

The first recommandation would be to upgrade your library to the newest version (=< 2.13.3), but for some reasons it is not possible.

If you are Archlinux user you’ll probably end with an error message like :

Can't install RMagick 2.13.2.
RMagick does not work when ImageMagick is configured for High Dynamic Range Images.
Don't use the --enable-hdri option when configuring ImageMagick.

If you google a bit, you’ll find the imagemagick-no-hdri AUR package. Unfortunately is does not seem up to date.

I tweaked the PKGBUILD in order to bring a newer version of imagemagick-no-hdri

Installation : Remove the base package :

sudo pacman -Rdd imagemagick

Download and build my no-hdri version:

wget https://raw.githubusercontent.com/Electron-libre/imagemagick-no-hdri/master/PKGBUILD

makepkg

Install the package :

sudo packman -U imagemagick-no-hdri-6.8.9.6-1-x86_64.pkg.tar.xz

Edit : I’ve made an Aurball, the new package is now available on AUR