Advance version of Imagemagick to 6.6.5-4 .

Always include the --with-frozenpaths configure flag ( independently of tetex ).
Include the --with-rsvg configure flag when librsvg is not null.

svn path=/nixpkgs/trunk/; revision=24509
This commit is contained in:
Peter Simons 2010-10-28 08:46:13 +00:00
parent ca4a6cc933
commit e6bd263b4f

View File

@ -17,20 +17,21 @@
}:
let
version = "6.5.9-1";
version = "6.6.5-4";
in
stdenv.mkDerivation rec {
name = "ImageMagick-${version}";
src = fetchurl {
url = "mirror://imagemagick/${name}.tar.bz2";
sha256 = "0a4yhhfqagz28yccydngi31050101jfmq5ljln61g69yy6m47ifg";
sha256 = "1s3l98xc1gnxi2wdg3sy9723f6qf5yk81wln8ghn2z9kvi09w7gw";
};
configureFlags = ''
--with-gs-font-dir=${ghostscript}/share/ghostscript/fonts
--with-gslib
${if tetex != null then "--with-frozenpaths" else ""}
--with-frozenpaths
${if librsvg != null then "--with-rsvg" else ""}
'';
buildInputs =