Updating xpdf to 3.04
(cherry picked from commit 0420a025e3d702df17a672f36627d32b488b4bfc)
This commit is contained in:
parent
d54db47b3c
commit
8885c992fd
@ -1,5 +1,5 @@
|
|||||||
{ enableGUI ? true, enablePDFtoPPM ? true, useT1Lib ? false
|
{ enableGUI ? true, enablePDFtoPPM ? true, useT1Lib ? false
|
||||||
, stdenv, fetchurl, x11 ? null, motif ? null, freetype ? null, t1lib ? null
|
, stdenv, fetchurl, zlib, libpng, x11 ? null, motif ? null, freetype ? null, t1lib ? null
|
||||||
, base14Fonts ? null
|
, base14Fonts ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -10,14 +10,14 @@ assert useT1Lib -> t1lib != null;
|
|||||||
assert !useT1Lib; # t1lib has multiple unpatched security vulnerabilities
|
assert !useT1Lib; # t1lib has multiple unpatched security vulnerabilities
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "xpdf-3.03";
|
name = "xpdf-3.04";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.03.tar.gz;
|
url = ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.04.tar.gz;
|
||||||
sha256 = "1jnfzdqc54wa73lw28kjv0m7120mksb0zkcn81jdlvijyvc67kq2";
|
sha256 = "1rbp54mr3z2x3a3a1qmz8byzygzi223vckfam9ib5g1sfds0qf8i";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs = [ zlib libpng ] ++
|
||||||
stdenv.lib.optionals enableGUI [x11 motif] ++
|
stdenv.lib.optionals enableGUI [x11 motif] ++
|
||||||
stdenv.lib.optional useT1Lib t1lib ++
|
stdenv.lib.optional useT1Lib t1lib ++
|
||||||
stdenv.lib.optional enablePDFtoPPM freetype;
|
stdenv.lib.optional enablePDFtoPPM freetype;
|
||||||
|
Loading…
Reference in New Issue
Block a user