gutenprint: fix the cupsd driver
This commit is contained in:
parent
78c76daf16
commit
80e2706e51
@ -1,6 +1,6 @@
|
|||||||
# this package was called gimp-print in the past
|
# this package was called gimp-print in the past
|
||||||
{ fetchurl, stdenv, pkgconfig, composableDerivation, cups
|
{ fetchurl, stdenv, pkgconfig, composableDerivation, cups
|
||||||
, libtiff, libpng, openssl, gimp }:
|
, libtiff, libpng, makeWrapper, openssl, gimp }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "5.2.9";
|
version = "5.2.9";
|
||||||
@ -16,7 +16,7 @@ composableDerivation.composableDerivation {} {
|
|||||||
};
|
};
|
||||||
|
|
||||||
# gimp, gui is still not working (TODO)
|
# gimp, gui is still not working (TODO)
|
||||||
buildInputs = [ openssl pkgconfig ];
|
buildInputs = [ makeWrapper openssl pkgconfig ];
|
||||||
|
|
||||||
configureFlags = ["--enable-static-genppd"];
|
configureFlags = ["--enable-static-genppd"];
|
||||||
NIX_CFLAGS_COMPILE="-include stdio.h";
|
NIX_CFLAGS_COMPILE="-include stdio.h";
|
||||||
@ -37,6 +37,9 @@ composableDerivation.composableDerivation {} {
|
|||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
eval "make install $installArgs"
|
eval "make install $installArgs"
|
||||||
|
mkdir -p $out/lib/cups
|
||||||
|
ln -s $out/filter $out/lib/cups/
|
||||||
|
wrapProgram $out/filter/rastertogutenprint.5.2 --prefix LD_LIBRARY_PATH : $out/lib
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user