summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2008-02-28 18:53:39 +0000
committerMichael Raskin <7c6f434c@mail.ru>2008-02-28 18:53:39 +0000
commit5883330e2c1437138f5bec1a62c5492e9d5aebc0 (patch)
treeedb527957d7f90367e7d2e8bbe99c8ab6e80a5cc /pkgs
parentdcddcf0d879cfb6409ce472469712bc9c05cdf5a (diff)
downloadnixpkgs-5883330e2c1437138f5bec1a62c5492e9d5aebc0.tar
nixpkgs-5883330e2c1437138f5bec1a62c5492e9d5aebc0.tar.gz
nixpkgs-5883330e2c1437138f5bec1a62c5492e9d5aebc0.tar.bz2
nixpkgs-5883330e2c1437138f5bec1a62c5492e9d5aebc0.tar.lz
nixpkgs-5883330e2c1437138f5bec1a62c5492e9d5aebc0.tar.xz
nixpkgs-5883330e2c1437138f5bec1a62c5492e9d5aebc0.tar.zst
nixpkgs-5883330e2c1437138f5bec1a62c5492e9d5aebc0.zip
Updated ImageMagick
svn path=/nixpkgs/trunk/; revision=10886
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/graphics/ImageMagick/6.3.9-0.nix26
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 27 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/ImageMagick/6.3.9-0.nix b/pkgs/applications/graphics/ImageMagick/6.3.9-0.nix
new file mode 100644
index 00000000000..17632f3c46a
--- /dev/null
+++ b/pkgs/applications/graphics/ImageMagick/6.3.9-0.nix
@@ -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 = "0ynn8gxixjb16xhg60hp2sbfymh03y5qxxgffwlchciiylw9dlvd";
+  };
+
+  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 {}))
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 3708112b13f..9bf623a6858 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -4912,7 +4912,7 @@ rec {
     inherit (xlibs) libX11 libXft libXext libXinerama libXrandr;
   };
 
-  imagemagickFun = lib.sumArgs (selectVersion ../applications/graphics/ImageMagick "6.3.8-5" ) {
+  imagemagickFun = lib.sumArgs (selectVersion ../applications/graphics/ImageMagick "6.3.9-0" ) {
     inherit stdenv fetchurl libtool; 
   };