cups-filters: fix build with latest poppler
This commit is contained in:
parent
8769f43aa4
commit
01e9dfb449
@ -10,6 +10,20 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1bq48nnrarlbf6qc93bz1n5wlh6j420gppbck3r45sinwhz5wa7m";
|
sha256 = "1bq48nnrarlbf6qc93bz1n5wlh6j420gppbck3r45sinwhz5wa7m";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(substituteAll {
|
||||||
|
src = ./longer-shell-path.patch;
|
||||||
|
bash = "${bash}/bin/bash";
|
||||||
|
})
|
||||||
|
|
||||||
|
# Fix build with poppler-0.31.0
|
||||||
|
(fetchurl {
|
||||||
|
url = "https://bugs.linuxfoundation.org/attachment.cgi?id=476";
|
||||||
|
name = "cups-filters-poppler-0.31.0.patch";
|
||||||
|
sha256 = "016pzksz4nl1sv3p5ahlnbmb7c899yrvlzq8jxic0gvdrzwd5bl4";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgconfig cups poppler fontconfig libjpeg libpng perl
|
pkgconfig cups poppler fontconfig libjpeg libpng perl
|
||||||
ijs qpdf dbus
|
ijs qpdf dbus
|
||||||
@ -34,13 +48,6 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace filter/gstoraster.c --replace execve execvpe
|
substituteInPlace filter/gstoraster.c --replace execve execvpe
|
||||||
'';
|
'';
|
||||||
|
|
||||||
patches = [
|
|
||||||
(substituteAll {
|
|
||||||
src = ./longer-shell-path.patch;
|
|
||||||
bash = "${bash}/bin/bash";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postInstall =
|
postInstall =
|
||||||
''
|
''
|
||||||
for i in $out/lib/cups/filter/{pstopdf,texttops,imagetops}; do
|
for i in $out/lib/cups/filter/{pstopdf,texttops,imagetops}; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user