Author: ludo
Date: Mon Sep 20 20:46:27 2010
New Revision: 23874
URL: https://svn.nixos.org/websvn/nix/?rev=23874&sc=1

Log:
GNU Ghostscript 8.71.1.

Deleted:
   nixpkgs/trunk/pkgs/misc/ghostscript/mkromfs-zlib.patch
Modified:
   nixpkgs/trunk/pkgs/misc/ghostscript/default.nix

Modified: nixpkgs/trunk/pkgs/misc/ghostscript/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/misc/ghostscript/default.nix     Mon Sep 20 14:17:54 
2010        (r23873)
+++ nixpkgs/trunk/pkgs/misc/ghostscript/default.nix     Mon Sep 20 20:46:27 
2010        (r23874)
@@ -7,13 +7,13 @@
 assert cupsSupport -> cups != null;
 
 stdenv.mkDerivation rec {
-  name = "ghostscript-8.64.0";
+  name = "ghostscript-8.71.1";
 
   builder = ./builder.sh;
 
   src = fetchurl {
     url = "mirror://gnu/ghostscript/gnu-${name}.tar.bz2";
-    sha256 = "0b94vlf03saa8vm9drz1kishh527g0brw2cg3jcy9mgpp764x2v1";
+    sha256 = "0vab9905h6sl5s5miai4vhhwdacjlkxqmykfr42x32sr25wjqgvl";
   };
 
   fonts = [
@@ -32,19 +32,20 @@
     ++ stdenv.lib.optional x11Support x11
     ++ stdenv.lib.optional cupsSupport cups;
 
-  configureFlags = ''
-    ${if x11Support then "--with-x" else "--without-x"}
-  '';
+  configureFlags =
+    if x11Support then [ "--with-x" ] else [ "--without-x" ];
 
-  NIX_CFLAGS_COMPILE = "-fpic";
+  enableParallelBuilding = true;
 
-  patches = [ ./purity.patch ./mkromfs-zlib.patch ./urw-font-files.patch ];
+  CFLAGS = "-fPIC";
+
+  patches = [ ./purity.patch ./urw-font-files.patch ];
 
   doCheck = true;
 
   meta = {
     homepage = http://www.gnu.org/software/ghostscript/;
-    description = "GNU Ghostscript, an PostScript interpreter";
+    description = "GNU Ghostscript, a PostScript interpreter";
 
     longDescription = ''
       Ghostscript is the name of a set of tools that provides (i) an
@@ -55,6 +56,9 @@
       of output drivers for various file formats and printers.
     '';
 
-    license = "GPLv2";
+    license = "GPLv3+";
+
+    platforms = stdenv.lib.platforms.all;
+    maintainers = [ stdenv.lib.maintainers.ludo ];
   };
 }
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to