3
0
Fork 0
forked from mirrors/nixpkgs

Update ImageMagick version.

svn path=/nixpkgs/trunk/; revision=11831
This commit is contained in:
Nicolas Pierron 2008-05-15 22:02:56 +00:00
parent 09ab1882a9
commit 6cbefd2f91
2 changed files with 27 additions and 1 deletions

View file

@ -0,0 +1,26 @@
args: with args;
stdenv.mkDerivation (rec {
name = "ImageMagick-${version}";
src = fetchurl {
url = "ftp://ftp.imagemagick.org/pub/ImageMagick/${name}.tar.bz2";
sha256 = "0a8defbfa867bb5e969f898d9a3b65a8c4f6952cb71411b40f005dd0a183644e";
};
configureFlags = " --with-dots --with-gs-font-dir="+ ghostscript +
"/share/ghostscript/fonts --with-gslib " +(
if args ? tetex then " --with-frozenpaths " else ""
);
buildInputs = [bzip2 freetype ghostscript graphviz libjpeg libpng
libtiff libX11 libxml2 zlib libtool] ++ (if args ? tetex then [args.tetex] else [])
++ (if args ? librsvg then [args.librsvg] else []);
meta = {
homepage = http://www.imagemagick.org;
};
} // (if args ? tetex then {
preConfigure = "
export DVIDecodeDelegate=${args.tetex}/bin/dvips
";
} else {}))

View file

@ -5374,7 +5374,7 @@ let pkgs = rec {
inherit (xlibs) libX11 libXft libXext libXinerama libXrandr;
};
imagemagickFun = lib.sumArgs (selectVersion ../applications/graphics/ImageMagick "6.3.9-0" ) {
imagemagickFun = lib.sumArgs (selectVersion ../applications/graphics/ImageMagick "6.4.1-1" ) {
inherit stdenv fetchurl libtool;
};