mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 12:44:20 +00:00
Update netpbm
svn path=/nixpkgs/trunk/; revision=20956
This commit is contained in:
parent
2aac41a8db
commit
f6c28984f2
@ -1,16 +1,14 @@
|
|||||||
{stdenv, fetchsvn, libjpeg, libpng, flex, zlib, perl, libxml2, makeWrapper }:
|
{stdenv, fetchsvn, libjpeg, libpng, flex, zlib, perl, libxml2, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "netpbm-advanced-844";
|
name = "netpbm-advanced-1177";
|
||||||
|
|
||||||
src = fetchsvn {
|
src = fetchsvn {
|
||||||
url = https://netpbm.svn.sourceforge.net/svnroot/netpbm/advanced;
|
url = https://netpbm.svn.sourceforge.net/svnroot/netpbm/advanced;
|
||||||
rev = 844;
|
rev = 1177;
|
||||||
sha256 = "8729e63bb5cc9fd500a68d5aed91fa4b973ebc068e3014b47390ba7b4d85968e";
|
sha256 = "d8893599fcb7839025e7fbe24120928b4bbcd70f0e1034a21d91885c40a5c39f";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./rgbpaths.patch ];
|
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = if stdenv.system == "x86_64-linux" then "-fPIC" else "";
|
NIX_CFLAGS_COMPILE = if stdenv.system == "x86_64-linux" then "-fPIC" else "";
|
||||||
|
|
||||||
buildInputs = [ flex zlib perl libpng libjpeg libxml2 makeWrapper ];
|
buildInputs = [ flex zlib perl libpng libjpeg libxml2 makeWrapper ];
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
diff -Naur advanced.orig/pm_config.in.h advanced/pm_config.in.h
|
|
||||||
--- advanced.orig/pm_config.in.h 2010-01-12 22:04:07.000000000 +0100
|
|
||||||
+++ advanced/pm_config.in.h 2010-01-12 22:05:56.000000000 +0100
|
|
||||||
@@ -67,9 +67,9 @@
|
|
||||||
#define RGB_DB2 "PBMplus_Dir:RGB.TXT"
|
|
||||||
#define RGB_DB3 "PBMplus_Dir:RGB.TXT"
|
|
||||||
#else
|
|
||||||
-#define RGB_DB1 "/usr/lib/X11/rgb.txt"
|
|
||||||
-#define RGB_DB2 "/usr/share/X11/rgb.txt"
|
|
||||||
-#define RGB_DB3 "/usr/X11R6/lib/X11/rgb.txt"
|
|
||||||
+#define RGB_DB1 "@rgbPath1@"
|
|
||||||
+#define RGB_DB2 "@rgbPath2@"
|
|
||||||
+#define RGB_DB3 "@rgbPath3@"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* CONFIGURE: This is the name of an environment variable that tells
|
|
Loading…
Reference in New Issue
Block a user