diff options
author | Till Kamppeter <till.kamppeter@gmail.com> | 2012-02-10 22:33:33 +0100 |
---|---|---|
committer | Till Kamppeter <till.kamppeter@gmail.com> | 2012-02-10 22:33:33 +0100 |
commit | 41aa568b12a7482ae878ec720fa22c5e472690d2 (patch) | |
tree | 4d1eaf821a75613f94c1adecc8d367eb207c9f71 | |
parent | 4cf71cd1def05a1bd62e0b691ffb066a10b7625a (diff) |
foomatic-filters 4.0.11
-rw-r--r-- | debian/patches/series | 1 | ||||
-rw-r--r-- | debian/patches/use-ghostscript-for-pdf-to-ps.patch | 30 |
2 files changed, 0 insertions, 31 deletions
diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index 46194e7..0000000 --- a/debian/patches/series +++ /dev/null @@ -1 +0,0 @@ -use-ghostscript-for-pdf-to-ps.patch diff --git a/debian/patches/use-ghostscript-for-pdf-to-ps.patch b/debian/patches/use-ghostscript-for-pdf-to-ps.patch deleted file mode 100644 index e8f0fb7..0000000 --- a/debian/patches/use-ghostscript-for-pdf-to-ps.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/foomaticrip.c -+++ b/foomaticrip.c -@@ -1043,25 +1043,16 @@ - filename = tmpfilename; - } - -- /* If the spooler is CUPS we remove the /usr/lib/cups/filter -- (CUPS filter directory, can be different, but ends with -- "/cups/filter") which CUPS adds to the beginning of $PATH, -- so that Poppler's/XPDF's pdftops filter is called and not -- the one of CUPS, as the one of CUPS has a different command -- line and does undesired page management operations. -- The "-dNOINTERPOLATE" makes Ghostscript rendering -+ /* The "-dNOINTERPOLATE" makes Ghostscript rendering - significantly faster. - Note that Ghostscript's "pswrite" output device turns text - into bitmaps and therefore produces huge PostScript files. - In addition, this output device is deprecated. Therefore - we use "ps2write". */ - snprintf(pdf2ps_cmd, PATH_MAX, -- "%spdftops -level2 -origpagesizes %s - 2>/dev/null || " - "gs -q -sstdout=%%stderr -sDEVICE=ps2write -sOutputFile=- " - "-dBATCH -dNOPAUSE -dPARANOIDSAFER -dNOINTERPOLATE %s 2>/dev/null", -- (spooler == SPOOLER_CUPS ? -- "PATH=${PATH#*/cups/filter:} " : ""), -- filename, filename); -+ filename); - - renderer_pid = start_system_process("pdf-to-ps", pdf2ps_cmd, &in, &out); - |