Hello community,

here is the log from the commit of package ghostscript for openSUSE:Factory 
checked in at 2015-12-17 15:52:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghostscript (Old)
 and      /work/SRC/openSUSE:Factory/.ghostscript.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghostscript"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghostscript/ghostscript-mini.changes     
2015-11-17 14:20:40.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ghostscript.new/ghostscript-mini.changes        
2015-12-17 15:52:34.000000000 +0100
@@ -1,0 +2,15 @@
+Wed Nov 18 11:46:58 UTC 2015 - sch...@suse.de
+
+- Do not use library sources for freetype jpeg libpng tiff zlib
+  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.
+  In contrast we use e.g. lcms2 from the Ghostscript upstream
+  tarball because this one is specially modified to work with
+  Ghostscript so that we cannot use lcms2 from SUSE.
+- 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.
+
+-------------------------------------------------------------------
ghostscript.changes: same change

New:
----
  remove-zlib-h-dependency.patch

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

Other differences:
------------------
++++++ ghostscript-mini.spec ++++++
--- /var/tmp/diff_new_pack.MWtkIr/_old  2015-12-17 15:52:36.000000000 +0100
+++ /var/tmp/diff_new_pack.MWtkIr/_new  2015-12-17 15:52:36.000000000 +0100
@@ -18,6 +18,7 @@
 
 Name:           ghostscript-mini
 BuildRequires:  freetype2-devel
+BuildRequires:  libjpeg-devel
 BuildRequires:  libpng-devel
 BuildRequires:  libtiff-devel
 BuildRequires:  libtool
@@ -84,6 +85,10 @@
 Patch11:        ppc64le-support.patch
 # Source100...Source999 is for sources from SUSE which are not intended for 
upstream:
 # Patch100...Patch999 is for patches from SUSE which are not intended for 
upstream:
+# 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
+# RPM dependencies:
 Conflicts:      ghostscript
 Conflicts:      ghostscript-x11
 Conflicts:      ghostscript-devel
@@ -168,6 +173,15 @@
 # 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
+# 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
+# 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.
+# In contrast we use e.g. lcms2 from the Ghostscript upstream tarball because 
this one
+# is specially modified to work with Ghostscript so that we cannot use lcms2 
from SUSE:
+rm -rf freetype jpeg libpng tiff zlib
 
 %build
 # Set our preferred architecture-specific flags for the compiler and linker:

++++++ ghostscript.spec ++++++
--- /var/tmp/diff_new_pack.MWtkIr/_old  2015-12-17 15:52:36.000000000 +0100
+++ /var/tmp/diff_new_pack.MWtkIr/_new  2015-12-17 15:52:36.000000000 +0100
@@ -36,6 +36,7 @@
 BuildRequires:  dbus-1-devel
 BuildRequires:  freetype2-devel
 BuildRequires:  libexpat-devel
+BuildRequires:  libjpeg-devel
 BuildRequires:  libpng-devel
 BuildRequires:  libtiff-devel
 BuildRequires:  libtool
@@ -104,6 +105,9 @@
 Patch11:        ppc64le-support.patch
 # Source100...Source999 is for sources from SUSE which are not intended for 
upstream:
 # Patch100...Patch999 is for patches from SUSE which are not intended for 
upstream:
+# 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
 # RPM dependencies:
 # Additional RPM Provides of the ghostscript-library packages in openSUSE 11.4 
from
 # "rpm -q --provides ghostscript-library" and "rpm -q --provides 
ghostscript-x11":
@@ -305,6 +309,15 @@
 # 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
+# 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
+# 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.
+# In contrast we use e.g. lcms2 from the Ghostscript upstream tarball because 
this one
+# is specially modified to work with Ghostscript so that we cannot use lcms2 
from SUSE:
+rm -rf freetype jpeg libpng tiff zlib
 
 %build
 # Set our preferred architecture-specific flags for the compiler and linker:

++++++ remove-zlib-h-dependency.patch ++++++
Index: ghostscript-9.18/base/lib.mak
===================================================================
--- ghostscript-9.18.orig/base/lib.mak
+++ ghostscript-9.18/base/lib.mak
@@ -582,7 +582,7 @@ srlx_h=$(GLSRC)srlx.h
 sstring_h=$(GLSRC)sstring.h
 strimpl_h=$(GLSRC)strimpl.h $(scommon_h) $(gstypes_h) $(gsstruct_h)
 szlibx_h=$(GLSRC)szlibx.h
-zlib_h=$(ZSRCDIR)$(D)zlib.h
+zlib_h= #$(ZSRCDIR)$(D)zlib.h
 # We have two of the following, for shared zlib (_1)
 # and 'local' zlib (_0)
 szlibxx_h_1=$(GLSRC)szlibxx.h $(szlibx_h)

Reply via email to