Hello community,

here is the log from the commit of package ghostscript for openSUSE:Factory 
checked in at 2018-03-09 10:34:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghostscript (Old)
 and      /work/SRC/openSUSE:Factory/.ghostscript.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghostscript"

Fri Mar  9 10:34:50 2018 rev:30 rq:583719 version:9.22

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghostscript/ghostscript-mini.changes     
2017-12-10 18:14:08.820619777 +0100
+++ /work/SRC/openSUSE:Factory/.ghostscript.new/ghostscript-mini.changes        
2018-03-09 10:35:05.679529229 +0100
@@ -1,0 +2,8 @@
+Tue Feb 27 14:55:51 CET 2018 - nov...@mirell.de
+
+- Add ghostscript-fix-debug-use.patch from upstream to fix broken
+  printing with some drivers (especially Dell Printers) from
+  https://bugs.ghostscript.com/show_bug.cgi?id=698837
+- Fix build for SLE targets
+
+-------------------------------------------------------------------
ghostscript.changes: same change

New:
----
  ghostscript-fix-debug-use.patch

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

Other differences:
------------------
++++++ ghostscript-mini.spec ++++++
--- /var/tmp/diff_new_pack.JXNVih/_old  2018-03-09 10:35:07.115477531 +0100
+++ /var/tmp/diff_new_pack.JXNVih/_new  2018-03-09 10:35:07.119477387 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghostscript-mini
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -78,6 +78,9 @@
 # Patch100 remove-zlib-h-dependency.patch removes dependency on zlib/zlib.h
 # in makefiles as we do not use the zlib sources from the Ghostscript upstream 
tarball:
 Patch100:       remove-zlib-h-dependency.patch
+# Patch101 ghostscript-fix-debug-use.patch from upstream fixes file generation 
in
+# debug mode which lead to Fuji Xerox printer drivers to fail printing without 
any error.
+Patch101:       ghostscript-fix-debug-use.patch
 
 # RPM dependencies:
 Conflicts:      ghostscript
@@ -156,6 +159,7 @@
 # Patch100 remove-zlib-h-dependency.patch removes dependency on zlib/zlib.h
 # in makefiles as we do not use the zlib sources from the Ghostscript upstream 
tarball:
 #patch100 -p1 -b remove-zlib-h-dependency.orig
+%patch101 -p1
 # Do not use the freetype jpeg libpng tiff zlib sources from the Ghostscript 
upstream tarball
 # because we prefer to use for long-established standard libraries the ones 
from SUSE
 # in particular to automatically get SUSE security updates for standard 
libraries.
@@ -221,6 +225,7 @@
 # Configure and make libijs (that is not done regardless whether or not 
--with-ijs is used above):
 pushd ijs
 ./autogen.sh
+autoreconf -fi
 ./configure --prefix=%{_prefix} \
             --bindir=%{_bindir} \
             --libdir=%{_libdir} \

++++++ ghostscript.spec ++++++
--- /var/tmp/diff_new_pack.JXNVih/_old  2018-03-09 10:35:07.147476379 +0100
+++ /var/tmp/diff_new_pack.JXNVih/_new  2018-03-09 10:35:07.151476235 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghostscript
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -98,6 +98,9 @@
 # Patch100 remove-zlib-h-dependency.patch removes dependency on zlib/zlib.h
 # in makefiles as we do not use the zlib sources from the Ghostscript upstream 
tarball:
 Patch100:       remove-zlib-h-dependency.patch
+# Patch101 ghostscript-fix-debug-use.patch from upstream fixes file generation 
in
+# debug mode which lead to Fuji Xerox printer drivers to fail printing without 
any error.
+Patch101:       ghostscript-fix-debug-use.patch
 
 # RPM dependencies:
 # Additional RPM Provides of the ghostscript-library packages in openSUSE 11.4 
from
@@ -289,6 +292,7 @@
 # but the hunk for LCMS2 (lcms2/include/lcms2.h) is still needed
 # see http://bugs.ghostscript.com/show_bug.cgi?id=695544
 %patch11 -p1 -b .ppc64le-support.orig
+%patch101 -p1
 # Patch100 remove-zlib-h-dependency.patch removes dependency on zlib/zlib.h
 # in makefiles as we do not use the zlib sources from the Ghostscript upstream 
tarball:
 #patch100 -p1 -b remove-zlib-h-dependency.orig
@@ -357,6 +361,7 @@
 # Configure and make libijs (that is not done regardless whether or not 
--with-ijs is used above):
 pushd ijs
 ./autogen.sh
+autoreconf -fi
 ./configure --prefix=%{_prefix} \
             --bindir=%{_bindir} \
             --libdir=%{_libdir} \

++++++ ghostscript-fix-debug-use.patch ++++++
>From f0fe2481a2e9b0b632a1d4e804a5a1d27fe9c017 Mon Sep 17 00:00:00 2001
From: Chris Liddell <chris.lidd...@artifex.com>
Date: Wed, 17 Jan 2018 12:29:00 +0000
Subject: [PATCH] Prevent undefined error with -DDEBUG

The procedure for dumping VM stats with -DDEBUG and -DINITDEBUG was not being
bound, so the .<operator> internal operators we now undefine after
initialization were missing by the time the procedure was called.

Now, simply bind the procedure
---
 Resource/Init/gs_init.ps | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Resource/Init/gs_init.ps b/Resource/Init/gs_init.ps
index eb4db02..335e3b1 100644
--- a/Resource/Init/gs_init.ps
+++ b/Resource/Init/gs_init.ps
@@ -113,6 +113,7 @@ PDFSTEP { /PDFDEBUG //true def } if
 currentdict /PDFSTOPONERROR known /PDFSTOPONERROR exch def
 currentdict /PDFSTOPONWARNING known {/PDFSTOPONWARNING true def 
/PDFSTOPONERROR true def}{/PDFSTOPONWARNING false def} ifelse
 currentdict /PDFNOCIDFALLBACK known /PDFNOCIDFALLBACK exch def
+/.bind /bind load def
 
   /VMDEBUG
     INITDEBUG {{print mark
@@ -133,7 +134,7 @@ currentdict /PDFNOCIDFALLBACK known /PDFNOCIDFALLBACK exch 
def
           {{pop
           }}
          ifelse
-  def
+  .bind def
 
 currentdict /BATCH known   /BATCH exch def
 currentdict /DELAYBIND known   /DELAYBIND exch def
@@ -145,7 +146,6 @@ currentdict /FIXEDMEDIA known   /FIXEDMEDIA exch def
 currentdict /FIXEDRESOLUTION known   /FIXEDRESOLUTION exch def
 currentdict /LOCALFONTS known   /LOCALFONTS exch def
 currentdict /JOBSERVER known   /JOBSERVER exch def
-/.bind /bind load def
 currentdict /NOCACHE known   /NOCACHE exch def
 currentdict /NOCCFONTS known   /NOCCFONTS exch def
 currentdict /NOCIE known   /NOCIE exch def
-- 
2.9.1


Reply via email to