Hello community, here is the log from the commit of package ghostscript for openSUSE:Factory checked in at 2015-11-17 14:20:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-08-10 09:11:52.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghostscript.new/ghostscript-mini.changes 2015-11-17 14:20:40.000000000 +0100 @@ -1,0 +2,80 @@ +Thu Nov 5 13:33:14 CET 2015 - [email protected] + +- An incompatible change appeared when building other software + with Ghostscript 9.18. + Since version 9.18 Ghostscript does no longer provide + e_<SomeError> (e.g. e_NeedInput) in its header files + (gserrors.h and ierrors.h). + When building other software with Ghostscript 9.18 + gs_error_<SomeError> (e.g. gs_error_NeedInput) + must be used, see boo#953149 and + http://bugs.ghostscript.com/show_bug.cgi?id=696317 + +------------------------------------------------------------------- +Fri Oct 30 11:28:14 CET 2015 - [email protected] + +- install_gserrors.h.patch installs gserrors.h to fix + http://bugs.ghostscript.com/show_bug.cgi?id=696301 + because without gserrors.h several other packages fail to build + (in particular texlive, libspectre, gimp,...). + +------------------------------------------------------------------- +Mon Oct 12 10:26:52 CEST 2015 - [email protected] + +- fix_ijs_and_x11_for_FirstPage_and_LastPage.patch + fixes the Ghostscript device ijs and the x11* devices + so that they also work when -dFirstPage/-dLastPage is used, + see http://bugs.ghostscript.com/show_bug.cgi?id=696246 + +------------------------------------------------------------------- +Tue Oct 6 10:21:22 CEST 2015 - [email protected] + +- Version upgrade to 9.18. A maintenance release. + There are no recorded incompatible changes (as of this writing). + Highlights in this release include: + * A substantial revision of the build system and GhostPDL + directory structure. Ghostscript-only users should + not be affected by this change. + * A new method of internally inserting devices into the device + chain has been developed, named "device subclassing". + This allows suitably written devices to be more easily and + consistently as "filter" devices. + The first fruit of this is a new implementation of + the "-dFirstPage"/"-dLastPage" feature which functions + a device filter in the Ghostscript graphics library, meaning + it works consistently with all input languages. + * Plus the usual round of bug fixes, compatibility changes, + and incremental improvements. + See http://www.ghostscript.com/doc/9.18/News.htm + For details see the News.htm and History9.htm files. + +------------------------------------------------------------------- +Tue Sep 29 11:05:48 CEST 2015 - [email protected] + +- Version upgrade to 9.18rc2 (second release candidate for 9.18). + For details see the News.htm and History9.htm files. + Regarding installing packages (in particular release candidates) + from the openSUSE build service development project "Printing" + see https://build.opensuse.org/project/show/Printing +- assign_pointer_not_value_in_gximono.c.patch is no longer needed + because it is fixed in the upstream sources. + +------------------------------------------------------------------- +Thu Sep 24 10:29:04 CEST 2015 - [email protected] + +- Version upgrade to 9.18rc1 (first release candidate for 9.18). + For details see the News.htm and History9.htm files. + Regarding installing packages (in particular release candidates) + from the openSUSE build service development project "Printing" + see https://build.opensuse.org/project/show/Printing +- CVE-2015-3228.patch is no longer needed because it is fixed + in the upstream sources. +- assign_pointer_not_value_in_gximono.c.patch attempts to fix a + "assignment makes pointer from integer without a cast" compiler + warning by assigning the pointer and not the integer value. +- Removed --disable-compile-inits from configure, see + http://bugs.ghostscript.com/show_bug.cgi?id=696223 + and "Precompiled run-time data" in + /usr/share/ghostscript/9.18/doc/Make.htm + +------------------------------------------------------------------- ghostscript.changes: same change Old: ---- CVE-2015-3228.patch ghostscript-9.16.tar.gz New: ---- fix_ijs_and_x11_for_FirstPage_and_LastPage.patch ghostscript-9.18.tar.gz install_gserrors.h.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghostscript-mini.spec ++++++ --- /var/tmp/diff_new_pack.PStTAy/_old 2015-11-17 14:20:42.000000000 +0100 +++ /var/tmp/diff_new_pack.PStTAy/_new 2015-11-17 14:20:42.000000000 +0100 @@ -35,36 +35,46 @@ # But only with the alphabetic prefix "9.pre15rc1" would be older than the previous version number "9.14" # because rpmvercmp would treat 9.pre15rc1 as 9.pre.15.rc1 and letters are older than numbers # so that we keep additionally the previous version number to upgrade from the previous version: -#Version: 9.15pre16rc2 +#Version: 9.16pre18rc2 # Normal version for Ghostscript releases is the upstream version: -Version: 9.16 +Version: 9.18 Release: 0 # tarball_version is used below to specify the directory via "setup -n": # Special tarball_version needed for Ghostscript release candidates e.g. "define tarball_version 9.15rc1". # For Ghostscript releases tarball_version and version are the same (i.e. the upstream version): %define tarball_version %{version} -#define tarball_version 9.16rc2 +#define tarball_version 9.18rc2 # built_version is used below in the install and files sections: # Separated built_version needed in case of Ghostscript release candidates e.g. "define built_version 9.15". # For Ghostscript releases built_version and version are the same (i.e. the upstream version): %define built_version %{version} -#define built_version 9.16 +#define built_version 9.18 # Source0...Source9 is for sources from upstream: # Special URLs for Ghostscript release candidates: -# URL for Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.16rc2.tar.gz -# URL for MD5 checksums: http://www.ghostscript.com/~chrisl/MD5SUMS or http://www.ghostscript.com/~chrisl/MD5SUM +# URL for Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.18rc2.tar.gz +# URL for MD5 checksums: http://www.ghostscript.com/~chrisl/MD5SUMS +# or http://www.ghostscript.com/~chrisl/MD5SUM # or http://downloads.ghostscript.com/public/.release_candidate/MD5SUMS -# MD5 checksum for Source0: 17983ee93d97596ffa72fd32be2426a4 -#Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.16rc2.tar.gz +# MD5 checksum for Source0: 7cea0466e845de0a05e60b89225ab0d3 +#Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.18rc2.tar.gz # Normal URLs for Ghostscript releases: -# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.16.tar.gz +# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.18.tar.gz # URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS -# MD5 checksum for Source0: 829319325bbdb83f5c81379a8f86f38f +# MD5 checksum for Source0: 33a47567d7a591c00a253caddd12a88a Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz # Patch0...Patch9 is for patches from upstream: -# +# Patch1 fix_ijs_and_x11_for_FirstPage_and_LastPage.patch +# fixes the Ghostscript device ijs and the x11* devices +# so that they also work when -dFirstPage/-dLastPage is used, +# see http://bugs.ghostscript.com/show_bug.cgi?id=696246 +Patch1: fix_ijs_and_x11_for_FirstPage_and_LastPage.patch +# Patch2 install_gserrors.h.patch +# installs gserrors.h to fix +# http://bugs.ghostscript.com/show_bug.cgi?id=696301 +# because without gserrors.h several other packages fail to build +# (in particular texlive, libspectre, gimp,...) +Patch2: install_gserrors.h.patch # Source10...Source99 is for sources from SUSE which are intended for upstream: -# # Patch10...Patch99 is for patches from SUSE which are intended for upstream: # Patch11 ppc64le-support.patch is a remainder of the previous patch # now the hunk for LCMS (lcms/include/lcms.h) is removed @@ -72,14 +82,8 @@ # but the hunk for LCMS2 (lcms2/include/lcms2.h) is still needed # see http://bugs.ghostscript.com/show_bug.cgi?id=695544 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: -# Patch101 CVE-2015-3228.patch fixes out of bound read/write cause by integer overflow -# in gsmalloc.c (see https://bugzilla.opensuse.org/show_bug.cgi?id=939342): -Patch101: CVE-2015-3228.patch -# Conflicts: ghostscript Conflicts: ghostscript-x11 Conflicts: ghostscript-devel @@ -147,19 +151,27 @@ # Be quiet when unpacking and # use a directory name matching Source0 to make it work also for ghostscript-mini: %setup -q -n ghostscript-%{tarball_version} +# Patch1 fix_ijs_and_x11_for_FirstPage_and_LastPage.patch +# fixes the Ghostscript device ijs and the x11* devices +# so that they also work when -dFirstPage/-dLastPage is used, +# see http://bugs.ghostscript.com/show_bug.cgi?id=696246 +%patch1 -b fix_ijs_and_x11_for_FirstPage_and_LastPage.orig +# Patch2 install_gserrors.h.patch +# installs gserrors.h to fix +# http://bugs.ghostscript.com/show_bug.cgi?id=696301 +# because without gserrors.h several other packages fail to build +# (in particular texlive, libspectre, gimp,...) +%patch2 -b install_gserrors.h.orig # Patch11 ppc64le-support.patch is a remainder of the previous patch # now the hunk for LCMS (lcms/include/lcms.h) is removed # because LCMS 1.x is removed since Ghostscript 9.16 # 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 CVE-2015-3228.patch fixes out of bound read/write cause by integer overflow -# in gsmalloc.c (see https://bugzilla.opensuse.org/show_bug.cgi?id=939342): -%patch101 -b .CVE-2015-3228.orig %build # Set our preferred architecture-specific flags for the compiler and linker: -export CFLAGS="$RPM_OPT_FLAGS" +export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" autoreconf -fi # --docdir=%%{_defaultdocdir}/%%{name} does not work therefore it is not used. @@ -202,7 +214,6 @@ --with-drivers=FILES \ --without-x \ --disable-gtk \ - --disable-compile-inits \ --without-omni \ --without-ufst \ --without-luratech \ @@ -356,9 +367,7 @@ %dir %{_datadir}/ghostscript/%{built_version} %doc %{_datadir}/ghostscript/%{built_version}/doc/ %{_datadir}/ghostscript/%{built_version}/examples/ -%{_datadir}/ghostscript/%{built_version}/iccprofiles/ %{_datadir}/ghostscript/%{built_version}/lib/ -%{_datadir}/ghostscript/%{built_version}/Resource/ %{_libdir}/libgs.so.* %{_libdir}/ghostscript/ %{_libdir}/libijs-0.35.so ++++++ ghostscript.spec ++++++ --- /var/tmp/diff_new_pack.PStTAy/_old 2015-11-17 14:20:42.000000000 +0100 +++ /var/tmp/diff_new_pack.PStTAy/_new 2015-11-17 14:20:42.000000000 +0100 @@ -55,36 +55,46 @@ # But only with the alphabetic prefix "9.pre15rc1" would be older than the previous version number "9.14" # because rpmvercmp would treat 9.pre15rc1 as 9.pre.15.rc1 and letters are older than numbers # so that we keep additionally the previous version number to upgrade from the previous version: -#Version: 9.15pre16rc2 +#Version: 9.16pre18rc2 # Normal version for Ghostscript releases is the upstream version: -Version: 9.16 +Version: 9.18 Release: 0 # tarball_version is used below to specify the directory via "setup -n": # Special tarball_version needed for Ghostscript release candidates e.g. "define tarball_version 9.15rc1". # For Ghostscript releases tarball_version and version are the same (i.e. the upstream version): %define tarball_version %{version} -#define tarball_version 9.16rc2 +#define tarball_version 9.18rc2 # built_version is used below in the install and files sections: # Separated built_version needed in case of Ghostscript release candidates e.g. "define built_version 9.15". # For Ghostscript releases built_version and version are the same (i.e. the upstream version): %define built_version %{version} -#define built_version 9.16 +#define built_version 9.18 # Source0...Source9 is for sources from upstream: # Special URLs for Ghostscript release candidates: -# URL for Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.16rc2.tar.gz -# URL for MD5 checksums: http://www.ghostscript.com/~chrisl/MD5SUMS or http://www.ghostscript.com/~chrisl/MD5SUM +# URL for Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.18rc2.tar.gz +# URL for MD5 checksums: http://www.ghostscript.com/~chrisl/MD5SUMS +# or http://www.ghostscript.com/~chrisl/MD5SUM # or http://downloads.ghostscript.com/public/.release_candidate/MD5SUMS -# MD5 checksum for Source0: 17983ee93d97596ffa72fd32be2426a4 -#Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.16rc2.tar.gz +# MD5 checksum for Source0: 7cea0466e845de0a05e60b89225ab0d3 +#Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.18rc2.tar.gz # Normal URLs for Ghostscript releases: -# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.16.tar.gz +# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.18.tar.gz # URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS -# MD5 checksum for Source0: 829319325bbdb83f5c81379a8f86f38f +# MD5 checksum for Source0: 33a47567d7a591c00a253caddd12a88a Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz # Patch0...Patch9 is for patches from upstream: -# +# Patch1 fix_ijs_and_x11_for_FirstPage_and_LastPage.patch +# fixes the Ghostscript device ijs and the x11* devices +# so that they also work when -dFirstPage/-dLastPage is used, +# see http://bugs.ghostscript.com/show_bug.cgi?id=696246 +Patch1: fix_ijs_and_x11_for_FirstPage_and_LastPage.patch +# Patch2 install_gserrors.h.patch +# installs gserrors.h to fix +# http://bugs.ghostscript.com/show_bug.cgi?id=696301 +# because without gserrors.h several other packages fail to build +# (in particular texlive, libspectre, gimp,...) +Patch2: install_gserrors.h.patch # Source10...Source99 is for sources from SUSE which are intended for upstream: -# # Patch10...Patch99 is for patches from SUSE which are intended for upstream: # Patch11 ppc64le-support.patch is a remainder of the previous patch # now the hunk for LCMS (lcms/include/lcms.h) is removed @@ -92,14 +102,8 @@ # but the hunk for LCMS2 (lcms2/include/lcms2.h) is still needed # see http://bugs.ghostscript.com/show_bug.cgi?id=695544 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: -# Patch101 CVE-2015-3228.patch fixes out of bound read/write cause by integer overflow -# in gsmalloc.c (see https://bugzilla.opensuse.org/show_bug.cgi?id=939342): -Patch101: CVE-2015-3228.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": @@ -284,19 +288,27 @@ # Be quiet when unpacking and # use a directory name matching Source0 to make it work also for ghostscript-mini: %setup -q -n ghostscript-%{tarball_version} +# Patch1 fix_ijs_and_x11_for_FirstPage_and_LastPage.patch +# fixes the Ghostscript device ijs and the x11* devices +# so that they also work when -dFirstPage/-dLastPage is used, +# see http://bugs.ghostscript.com/show_bug.cgi?id=696246 +%patch1 -b fix_ijs_and_x11_for_FirstPage_and_LastPage.orig +# Patch2 install_gserrors.h.patch +# installs gserrors.h to fix +# http://bugs.ghostscript.com/show_bug.cgi?id=696301 +# because without gserrors.h several other packages fail to build +# (in particular texlive, libspectre, gimp,...) +%patch2 -b install_gserrors.h.orig # Patch11 ppc64le-support.patch is a remainder of the previous patch # now the hunk for LCMS (lcms/include/lcms.h) is removed # because LCMS 1.x is removed since Ghostscript 9.16 # 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 CVE-2015-3228.patch fixes out of bound read/write cause by integer overflow -# in gsmalloc.c (see https://bugzilla.opensuse.org/show_bug.cgi?id=939342): -%patch101 -b .CVE-2015-3228.orig %build # Set our preferred architecture-specific flags for the compiler and linker: -export CFLAGS="$RPM_OPT_FLAGS" +export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" autoreconf -fi # --docdir=%%{_defaultdocdir}/%%{name} does not work therefore it is not used. @@ -339,7 +351,6 @@ --with-drivers=ALL \ --with-x \ --disable-gtk \ - --disable-compile-inits \ --without-omni \ --without-ufst \ --without-luratech \ @@ -493,9 +504,7 @@ %dir %{_datadir}/ghostscript/%{built_version} %doc %{_datadir}/ghostscript/%{built_version}/doc/ %{_datadir}/ghostscript/%{built_version}/examples/ -%{_datadir}/ghostscript/%{built_version}/iccprofiles/ %{_datadir}/ghostscript/%{built_version}/lib/ -%{_datadir}/ghostscript/%{built_version}/Resource/ %{_libdir}/libgs.so.* %{_libdir}/ghostscript/ %{_libdir}/libijs-0.35.so ++++++ fix_ijs_and_x11_for_FirstPage_and_LastPage.patch ++++++ --- devices/gdevijs.c.orig 2015-10-05 10:21:11.000000000 +0200 +++ devices/gdevijs.c 2015-10-12 10:17:53.000000000 +0200 @@ -827,6 +827,10 @@ gsijs_open(gx_device *dev) if (code < 0) return code; + while (dev->child) + dev = dev->child; + ijsdev = (gx_device_ijs *)dev; + if (use_outputfd) { /* Note: dup() may not be portable to all interesting IJS platforms. In that case, this branch should be #ifdef'ed out. --- base/gdevdflt.c.orig 2015-10-05 10:21:11.000000000 +0200 +++ base/gdevdflt.c 2015-10-12 10:21:11.000000000 +0200 @@ -17,6 +17,8 @@ #include "math_.h" #include "memory_.h" #include "gx.h" +#include "gsstruct.h" +#include "gxobj.h" #include "gserrors.h" #include "gsropt.h" #include "gxcomp.h" @@ -1294,6 +1296,11 @@ int gx_device_subclass(gx_device *dev_to ptr1 = ((char *)new_prototype) + sizeof(gx_device); memcpy(ptr, ptr1, new_prototype->params_size - sizeof(gx_device)); + /* We have to patch up the "type" parameters that the memory manage/garbage + * collector will use, as well. + */ + (((obj_header_t *)dev_to_subclass) - 1)->o_type = new_prototype->stype; + /* If the original device's stype structure was dynamically allocated, we need * to 'fixup' the contents, it's procs need to point to the new device's procs * for instance. --- base/lib.mak.orig 2015-10-05 10:21:11.000000000 +0200 +++ base/lib.mak 2015-10-12 10:22:51.000000000 +0200 @@ -1210,7 +1210,7 @@ $(GLOBJ)gdevdsha.$(OBJ) : $(GLSRC)gdevds $(GLOBJ)gdevdflt.$(OBJ) : $(GLSRC)gdevdflt.c $(AK) $(gx_h)\ $(gserrors_h) $(gsropt_h) $(gxcomp_h) $(gxdevice_h) $(gxdevsop_h) $(math__h)\ - $(MAKEDIRS) + $(gsstruct_h) $(gxobj_h) $(MAKEDIRS) $(GLCC) $(GLO_)gdevdflt.$(OBJ) $(C_) $(GLSRC)gdevdflt.c $(GLOBJ)gdevdgbr.$(OBJ) : $(GLSRC)gdevdgbr.c $(AK) $(gx_h)\ ++++++ ghostscript-9.16.tar.gz -> ghostscript-9.18.tar.gz ++++++ /work/SRC/openSUSE:Factory/ghostscript/ghostscript-9.16.tar.gz /work/SRC/openSUSE:Factory/.ghostscript.new/ghostscript-9.18.tar.gz differ: char 5, line 1 ++++++ install_gserrors.h.patch ++++++ --- base/unix-dll.mak.orig 2015-10-05 10:21:11.000000000 +0200 +++ base/unix-dll.mak 2015-10-30 11:22:12.000000000 +0100 @@ -184,6 +184,7 @@ install-so-subtarget: so-subtarget ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR) $(INSTALL_DATA) $(PSSRC)iapi.h $(DESTDIR)$(gsincludedir)iapi.h $(INSTALL_DATA) $(PSSRC)ierrors.h $(DESTDIR)$(gsincludedir)ierrors.h + $(INSTALL_DATA) $(GLSRC)gserrors.h $(DESTDIR)$(gsincludedir)gserrors.h $(INSTALL_DATA) $(DEVSRC)gdevdsp.h $(DESTDIR)$(gsincludedir)gdevdsp.h soinstall:
