Mageia Bugzilla – Attachment 13956 Details for
Bug 32198
Blank pdf output from cups-pdf 3.0.1-3.mga9
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Diff from https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/cups-pdf/trunk/remove-deprecated-ghostscript-setpdfwrite-operator.diff
remove-deprecated-ghostscript-setpdfwrite-operator.diff (text/plain), 2.36 KB, created by
Dave Hodgins
on 2023-08-29 18:33:15 CEST
(
hide
)
Description:
Diff from https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/cups-pdf/trunk/remove-deprecated-ghostscript-setpdfwrite-operator.diff
Filename:
MIME Type:
Creator:
Dave Hodgins
Created:
2023-08-29 18:33:15 CEST
Size:
2.36 KB
patch
obsolete
>--- cups-pdf-3.0.1/src/cups-pdf.h 2017-02-24 16:31:00.901661190 +0100 >+++ cups-pdf-3.0.1/src/cups-pdf.h.new 2021-04-06 17:05:57.553854742 +0200 >@@ -58,7 +58,7 @@ > { "AnonDirName", SEC_CONF|SEC_PPD, { "/var/spool/cups-pdf/ANONYMOUS" } }, > { "AnonUser", SEC_CONF|SEC_PPD, { "nobody" } }, > { "GhostScript", SEC_CONF|SEC_PPD, { "/usr/bin/gs" } }, >- { "GSCall", SEC_CONF|SEC_PPD, { "%s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s\" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s" } }, >+ { "GSCall", SEC_CONF|SEC_PPD, { "%s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s\" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s" } }, > { "Grp", SEC_CONF|SEC_PPD, { "lp" } }, > { "GSTmp", SEC_CONF|SEC_PPD, { "TMPDIR=/var/tmp" } }, > { "Log", SEC_CONF|SEC_PPD, { "/var/log/cups" } }, >--- cups-pdf-3.0.1/extra/cups-pdf.conf 2017-02-24 16:30:18.476524443 +0100 >+++ cups-pdf-3.0.1/extra/cups-pdf.conf.new 2021-04-06 17:06:26.364602843 +0200 >@@ -250,9 +250,9 @@ > ### Key: GSCall (config) > ## command line for calling GhostScript (!!! DO NOT USE NEWLINES !!!) > ## MacOSX: for using pstopdf set this to %s %s -o %s %s >-### Default: %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s >+### Default: %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s > >-#GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s >+#GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s > > ### Key: PDFVer (config, ppd, lptopions) > ## PDF version to be created - can be "1.5", "1.4", "1.3" or "1.2"
--- cups-pdf-3.0.1/src/cups-pdf.h 2017-02-24 16:31:00.901661190 +0100 +++ cups-pdf-3.0.1/src/cups-pdf.h.new 2021-04-06 17:05:57.553854742 +0200 @@ -58,7 +58,7 @@ { "AnonDirName", SEC_CONF|SEC_PPD, { "/var/spool/cups-pdf/ANONYMOUS" } }, { "AnonUser", SEC_CONF|SEC_PPD, { "nobody" } }, { "GhostScript", SEC_CONF|SEC_PPD, { "/usr/bin/gs" } }, - { "GSCall", SEC_CONF|SEC_PPD, { "%s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s\" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s" } }, + { "GSCall", SEC_CONF|SEC_PPD, { "%s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s\" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s" } }, { "Grp", SEC_CONF|SEC_PPD, { "lp" } }, { "GSTmp", SEC_CONF|SEC_PPD, { "TMPDIR=/var/tmp" } }, { "Log", SEC_CONF|SEC_PPD, { "/var/log/cups" } }, --- cups-pdf-3.0.1/extra/cups-pdf.conf 2017-02-24 16:30:18.476524443 +0100 +++ cups-pdf-3.0.1/extra/cups-pdf.conf.new 2021-04-06 17:06:26.364602843 +0200 @@ -250,9 +250,9 @@ ### Key: GSCall (config) ## command line for calling GhostScript (!!! DO NOT USE NEWLINES !!!) ## MacOSX: for using pstopdf set this to %s %s -o %s %s -### Default: %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s +### Default: %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s -#GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s +#GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s ### Key: PDFVer (config, ppd, lptopions) ## PDF version to be created - can be "1.5", "1.4", "1.3" or "1.2"
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32198
: 13956 |
13961
|
14143