Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cups-pdf for openSUSE:Factory 
checked in at 2021-07-20 15:39:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cups-pdf (Old)
 and      /work/SRC/openSUSE:Factory/.cups-pdf.new.2632 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cups-pdf"

Tue Jul 20 15:39:40 2021 rev:4 rq:907278 version:3.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/cups-pdf/cups-pdf.changes        2017-03-17 
15:07:37.316740481 +0100
+++ /work/SRC/openSUSE:Factory/.cups-pdf.new.2632/cups-pdf.changes      
2021-07-20 15:40:38.829599337 +0200
@@ -1,0 +2,6 @@
+Tue Jun  8 20:34:52 UTC 2021 - Tejas Guruswamy <tejas.gurusw...@opensuse.org>
+
+- Add cups-pdf_gs-options.patch to remove .setpdfwrite ghostscript option
+  (not present any more from gs 9.54). Fixes boo#1187353.
+
+-------------------------------------------------------------------

New:
----
  cups-pdf_gs-options.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cups-pdf.spec ++++++
--- /var/tmp/diff_new_pack.csQMCg/_old  2021-07-20 15:40:39.233600060 +0200
+++ /var/tmp/diff_new_pack.csQMCg/_new  2021-07-20 15:40:39.237600067 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cups-pdf
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -20,13 +20,14 @@
 Version:        3.0.1
 Release:        0
 Summary:        Virtual PDF printer for CUPS
-License:        GPL-2.0
+License:        GPL-2.0-or-later
 Group:          Productivity/Publishing/PDF
-Url:            http://www.cups-pdf.de/
+URL:            https://www.cups-pdf.de/
 Source0:        http://www.cups-pdf.de/src/cups-pdf_%{version}.tar.gz
+#PATCH-FIX-OPENSUSE cups-pdf_gs-options.patch needed for ghostscript > 9.50
+Patch0:         cups-pdf_gs-options.patch
 BuildRequires:  cups-devel
 Requires:       cups-client
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 CUPS-PDF is a PDF writer backend for CUPS.
@@ -38,6 +39,7 @@
 
 %prep
 %setup -q
+%patch0
 
 %build
 cd src
@@ -77,8 +79,8 @@
 exit 0
 
 %files
-%defattr(-,root,root)
-%doc COPYING ChangeLog README
+%license COPYING
+%doc ChangeLog README
 %config(noreplace) %{_sysconfdir}/cups/cups-pdf.conf
 %dir %{_prefix}/lib/cups
 %dir %{_prefix}/lib/cups/backend

++++++ cups-pdf_gs-options.patch ++++++
--- src/cups-pdf.h.orig
+++ src/cups-pdf.h
@@ -58,7 +58,7 @@ struct {
   { "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 -f %s" } },
   { "Grp", SEC_CONF|SEC_PPD, { "lp" } },
   { "GSTmp", SEC_CONF|SEC_PPD, { "TMPDIR=/var/tmp" } },
   { "Log", SEC_CONF|SEC_PPD, { "/var/log/cups" } },
--- extra/cups-pdf.conf.orig
+++ extra/cups-pdf.conf
@@ -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 -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 -f %s
 
 ### Key: PDFVer (config, ppd, lptopions)
 ##  PDF version to be created - can be "1.5", "1.4", "1.3" or "1.2" 

Reply via email to