forked from mirrors/nixpkgs
gutenprint-5.2.7, fix FTBFS
svn path=/nixpkgs/trunk/; revision=34409
This commit is contained in:
parent
29b8d20f33
commit
94726d19e7
|
@ -3,7 +3,7 @@
|
||||||
, libtiff, libpng, openssl, gimp }:
|
, libtiff, libpng, openssl, gimp }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "5.2.6";
|
version = "5.2.7";
|
||||||
inherit (composableDerivation) edf wwf;
|
inherit (composableDerivation) edf wwf;
|
||||||
in
|
in
|
||||||
|
|
||||||
|
@ -12,13 +12,14 @@ composableDerivation.composableDerivation {} {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/gimp-print/gutenprint-${version}.tar.bz2";
|
url = "mirror://sourceforge/gimp-print/gutenprint-${version}.tar.bz2";
|
||||||
sha256 = "0znwbv51vqf20p4isc3if4hqsgfav21rsqnsz1d8mixlmasy2i27";
|
sha256 = "1lgf7d9vsszv0bzgsd8j3x5smby1lpk07d8x7isv1sz34y98jk0i";
|
||||||
};
|
};
|
||||||
|
|
||||||
# gimp, gui is still not working (TODO)
|
# gimp, gui is still not working (TODO)
|
||||||
buildInputs = [ openssl pkgconfig ];
|
buildInputs = [ openssl pkgconfig ];
|
||||||
|
|
||||||
configureFlags = ["--enable-static-genppd"];
|
configureFlags = ["--enable-static-genppd"];
|
||||||
|
NIX_CFLAGS_COMPILE="-include stdio.h";
|
||||||
|
|
||||||
#preConfigure = ''
|
#preConfigure = ''
|
||||||
# configureFlags="--with-cups=$out/usr-cups $configureFlags"
|
# configureFlags="--with-cups=$out/usr-cups $configureFlags"
|
||||||
|
@ -52,7 +53,7 @@ composableDerivation.composableDerivation {} {
|
||||||
name = "gimp2";
|
name = "gimp2";
|
||||||
enable = {
|
enable = {
|
||||||
buildInputs = [gimp gimp.gtk];
|
buildInputs = [gimp gimp.gtk];
|
||||||
installArgs = [ "gimp2_plug_indir=$out/${gimp.name}-plugins" ];
|
installArgs = [ "gimp2_plug_indir=$out/${gimp.name}-plugins" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
// {
|
// {
|
||||||
|
|
Loading…
Reference in a new issue