Accepting request 293796 from Printing

Ghostscript version upgrade to 9.16 (forwarded request 293795 from jsmeix)

OBS-URL: https://build.opensuse.org/request/show/293796
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghostscript?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2015-04-05 00:03:36 +00:00 committed by Git OBS Bridge
commit 796132b04a
7 changed files with 156 additions and 63 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:27f11e4fe5b89857ae745687281d1e4daf9681edc858a3f7e8e77ef09609777a
size 33426033

3
ghostscript-9.16.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:746d77280cca8afdd3d4c2c1389e332ed9b0605bd107bcaae1d761b061d1a68d
size 33623036

View File

@ -1,3 +1,39 @@
-------------------------------------------------------------------
Tue Mar 31 10:18:06 CEST 2015 - jsmeix@suse.de
- Version upgrade to 9.16. Primarily a maintenance release.
There are no recorded incompatible changes (as of this writing).
Highlights in this release include:
* "LockColorants" command line option for tiffsep and psdcmyk
devices.
* Improved high level devices handling of Forms.
See http://www.ghostscript.com/doc/9.16/News.htm
For details see the News.htm and History9.htm files.
- fix.including.pread.pwrite.pthread_mutexattr_settype.diff
is no longer needed because it is fixed in the upstream sources.
-------------------------------------------------------------------
Wed Mar 25 12:38:16 CET 2015 - jsmeix@suse.de
- fix.including.pread.pwrite.pthread_mutexattr_settype.diff
fixes on SLE11 implicit declaration of function warnings
for 'pread' 'pwrite' 'pthread_mutexattr_settype' see
http://bugs.ghostscript.com/show_bug.cgi?id=695882
- 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
-------------------------------------------------------------------
Fri Mar 20 17:12:34 CET 2015 - jsmeix@suse.de
- Version upgrade to 9.16rc2 (second release candidate for 9.16).
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
-------------------------------------------------------------------
Sun Sep 28 18:00:37 CEST 2014 - ro@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package ghostscript-mini
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
@ -35,30 +35,31 @@ Url: http://www.ghostscript.com/
# 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.14pre15rc2
#Version: 9.15pre16rc2
# Normal version for Ghostscript releases is the upstream version:
Version: 9.15
Version: 9.16
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.15rc2
#define tarball_version 9.16rc2
# 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.15
#define built_version 9.16
# Source0...Source9 is for sources from upstream:
# Special URLs for Ghostscript release candidates:
# URL for Source0: http://www.ghostscript.com/~chrisl/ghostscript-9.15rc2.tar.gz
# 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
# MD5 checksum for Source0: 20bffacff52552aa1c430fe64403fb68
#Source0: http://www.ghostscript.com/~chrisl/ghostscript-9.15rc2.tar.gz
# 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
# Normal URLs for Ghostscript releases:
# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.15.tar.gz
# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.16.tar.gz
# URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS
# MD5 checksum for Source0: 5a78ab0990ff6ec3a103576bc8777c46
# MD5 checksum for Source0: 829319325bbdb83f5c81379a8f86f38f
Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz
# Patch0...Patch9 is for patches from upstream:
#
@ -66,7 +67,9 @@ Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.t
#
# Patch10...Patch99 is for patches from SUSE which are intended for upstream:
# Patch11 ppc64le-support.patch is a remainder of the previous patch
# lcms2 has been fixed upstream not working and lcms has not been fixed
# 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: ppc64le-support.patch
#
@ -142,7 +145,9 @@ This package contains the development files for Minimal Ghostscript.
# use a directory name matching Source0 to make it work also for ghostscript-mini:
%setup -q -n ghostscript-%{tarball_version}
# Patch11 ppc64le-support.patch is a remainder of the previous patch
# lcms2 has been fixed upstream not working and lcms has not been fixed
# 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
@ -152,7 +157,7 @@ export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
autoreconf -fi
# --docdir=%%{_defaultdocdir}/%%{name} does not work therefore it is not used.
# --disable-cups and --without-pdftoraster and --without-install-cups
# --disable-cups and --without-pdftoraster
# to have nothing related to CUPS in the minimal Ghostscript.
# --disable-dbus to have nothing related to D-Bus in the minimal Ghostscript.
# --without-ijs to disable IJS printer driver support in the minimal Ghostscript.
@ -160,10 +165,12 @@ autoreconf -fi
# but no printer drivers in the minimal Ghostscript.
# --without-x to not use the X Window System.
# --without-omni to disable the outdated and unmaintained omni driver.
# --without-jasper and --enable-openjpeg because since Ghostscript 9.05 JasPer is deprecated
# --enable-openjpeg because since Ghostscript 9.05 JasPer is deprecated
# (--without-jasper is now an unrecognized option by configure)
# and Ghostscript now ships modified OpenJPEG sources for JPEG2000 decoding
# (replacing JasPer - although JasPer is still included for this release).
# (replacing JasPer - although JasPer is still included for this release)
# Performance, reliability and memory use whilst decoding JPX streams are all improved.
# see also http://bugs.ghostscript.com/show_bug.cgi?id=691430
# --without-ufst and --without-luratech because those are relevant to commercial releases only
# which would require a commercial license.
# --without-libpaper disables libpaper support because SUSE does not have libpaper.
@ -180,14 +187,12 @@ export SUSE_ASNEEDED=0
--with-libiconv=maybe \
--enable-freetype \
--with-jbig2dec \
--without-jasper \
--enable-openjpeg \
--enable-dynamic \
--without-ijs \
--disable-cups \
--disable-dbus \
--without-pdftoraster \
--without-install-cups \
--with-drivers=FILES \
--without-x \
--disable-gtk \
@ -240,11 +245,16 @@ pushd %{buildroot}%{_defaultdocdir}
ln -s ../../ghostscript/%{built_version}/doc ghostscript
popd
# Extract the catalog of devices which are actually built-in in exactly this Ghostscript:
# If a needed source file is no longer accessible fail intentionally as notification
# that something changed which needs adaptions here:
for F in devices/devs.mak devices/contrib.mak contrib/contrib.mak
do test -r $F || exit 99
done
# Do not pollute the build log file with zillions of meaningless messages:
set +x
cat /dev/null >catalog.devices
for D in $( %{buildroot}/usr/bin/gs -h | sed -n -e '/^Available devices:/,/^Search path:/p' | egrep -v '^Available devices:|^Search path:' )
do for F in base/devs.mak base/contrib.mak contrib/contrib.mak
do for F in devices/devs.mak devices/contrib.mak contrib/contrib.mak
do sed -n -e '/ Catalog /,/ End of catalog /p' $F | grep "[[:space:]]$D[[:space:]]" | grep -o '[[:alnum:]].*' | tr -s '[:blank:]' ' ' | sed -e 's/ /\t/' | expand -t16 >>catalog.devices
done
done

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Tue Mar 31 10:18:06 CEST 2015 - jsmeix@suse.de
- Version upgrade to 9.16. Primarily a maintenance release.
There are no recorded incompatible changes (as of this writing).
Highlights in this release include:
* "LockColorants" command line option for tiffsep and psdcmyk
devices.
* Improved high level devices handling of Forms.
See http://www.ghostscript.com/doc/9.16/News.htm
For details see the News.htm and History9.htm files.
- fix.including.pread.pwrite.pthread_mutexattr_settype.diff
is no longer needed because it is fixed in the upstream sources.
-------------------------------------------------------------------
Wed Mar 25 12:38:16 CET 2015 - jsmeix@suse.de
- fix.including.pread.pwrite.pthread_mutexattr_settype.diff
fixes on SLE11 implicit declaration of function warnings
for 'pread' 'pwrite' 'pthread_mutexattr_settype' see
http://bugs.ghostscript.com/show_bug.cgi?id=695882
- 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
-------------------------------------------------------------------
Fri Mar 20 17:12:34 CET 2015 - jsmeix@suse.de
- Version upgrade to 9.16rc2 (second release candidate for 9.16).
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
-------------------------------------------------------------------
Fri Mar 20 10:52:47 CET 2015 - jsmeix@suse.de
- For SLE12 build it with traditional CUPS 1.5.4 to ensure
it works on SLE12 both with CUPS 1.7.5 and CUPS 1.5.4.
-------------------------------------------------------------------
Sun Sep 28 18:00:37 CEST 2014 - ro@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package ghostscript
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
@ -17,7 +17,21 @@
Name: ghostscript
# SLE12 needs special BuildRequires.
# For suse_version values see https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto
%if 0%{?suse_version} == 1315
# For SLE12 by default CUPS 1.7.5 is provided and alternatively CUPS 1.5.4 is provided in the "legacy" module.
# For SLE12 build it with traditional CUPS 1.5.4 to ensure it works on SLE12 both with CUPS 1.7.5 and CUPS 1.5.4
# because libcups and libcupsimage in CUPS 1.7.5 are backward compatible with CUPS 1.5.4 so that applications
# that have been built with CUPS 1.5.4 also work under CUPS 1.7.5 but the libraries in CUPS 1.7.5 provide
# some additional functions so that applications that have been built with CUPS 1.7.5 and use those
# additional functions would not work under CUPS 1.7.5.
# Only in the Printing project for SLE12 use cups154-ddk (a sub package of the cups154-SLE12 source package):
BuildRequires: cups154-devel
%else
# Anything what is not SLE12 (i.e. SLE11 and all openSUSE versions) have "normal" BuildRequires:
BuildRequires: cups-devel
%endif
# dbus-1-devel is needed for "configure --enable-dbus" (see below):
BuildRequires: dbus-1-devel
BuildRequires: freetype2-devel
@ -41,30 +55,31 @@ Url: http://www.ghostscript.com/
# 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.14pre15rc2
#Version: 9.15pre16rc2
# Normal version for Ghostscript releases is the upstream version:
Version: 9.15
Version: 9.16
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.15rc2
#define tarball_version 9.16rc2
# 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.15
#define built_version 9.16
# Source0...Source9 is for sources from upstream:
# Special URLs for Ghostscript release candidates:
# URL for Source0: http://www.ghostscript.com/~chrisl/ghostscript-9.15rc2.tar.gz
# 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
# MD5 checksum for Source0: 20bffacff52552aa1c430fe64403fb68
#Source0: http://www.ghostscript.com/~chrisl/ghostscript-9.15rc2.tar.gz
# 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
# Normal URLs for Ghostscript releases:
# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.15.tar.gz
# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.16.tar.gz
# URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS
# MD5 checksum for Source0: 5a78ab0990ff6ec3a103576bc8777c46
# MD5 checksum for Source0: 829319325bbdb83f5c81379a8f86f38f
Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz
# Patch0...Patch9 is for patches from upstream:
#
@ -72,7 +87,9 @@ Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.t
#
# Patch10...Patch99 is for patches from SUSE which are intended for upstream:
# Patch11 ppc64le-support.patch is a remainder of the previous patch
# lcms2 has been fixed upstream not working and lcms has not been fixed
# 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: ppc64le-support.patch
#
@ -265,7 +282,9 @@ This package contains the development files for Ghostscript.
# use a directory name matching Source0 to make it work also for ghostscript-mini:
%setup -q -n ghostscript-%{tarball_version}
# Patch11 ppc64le-support.patch is a remainder of the previous patch
# lcms2 has been fixed upstream not working and lcms has not been fixed
# 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
@ -275,19 +294,22 @@ export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
autoreconf -fi
# --docdir=%%{_defaultdocdir}/%%{name} does not work therefore it is not used.
# --enable-cups and --with-pdftoraster and --with-install-cups
# (--with-install-cups is new since version 9.04)
# to make and install cups/filter/gstoraster and cups/filter/gstopxl
# and related files (gstoraster.convs pxlcolor.ppd pxlmono.ppd).
# --enable-dbus to have colord support in gstoraster, see cups/colord.c (colord is accessed via D-Bus).
# --enable-cups but no longer --with-pdftoraster --enable-dbus --with-install-cups because
# --with-install-cups was introduced in version 9.04 but meanwhile it is an unrecognized option by configure
# because cups/filter/gstoraster and cups/filter/gstopxl and related files gstoraster.convs pxlcolor.ppd pxlmono.ppd
# are no longer provided by Ghostscript but were moved to the cups-filters package.
# also pdftoraster is provided by cups-filters and there is colord support that
# would need --enable-dbus because colord is accessed via D-Bus.
# --with-ijs to enable IJS printer driver support (in particular needed by HPIJS).
# --with-drivers=ALL to all file format drivers and all printer drivers.
# --with-x to use the X Window System.
# --without-omni to disable the outdated and unmaintained omni driver.
# --without-jasper and --enable-openjpeg because since Ghostscript 9.05 JasPer is deprecated
# --enable-openjpeg because since Ghostscript 9.05 JasPer is deprecated
# (--without-jasper is now an unrecognized option by configure)
# and Ghostscript now ships modified OpenJPEG sources for JPEG2000 decoding
# (replacing JasPer - although JasPer is still included for this release).
# (replacing JasPer - although JasPer is still included for this release)
# Performance, reliability and memory use whilst decoding JPX streams are all improved.
# see also http://bugs.ghostscript.com/show_bug.cgi?id=691430
# --without-ufst and --without-luratech because those are relevant to commercial releases only
# which would require a commercial license.
# --without-libpaper disables libpaper support because SUSE does not have libpaper.
@ -304,14 +326,10 @@ export SUSE_ASNEEDED=0
--with-libiconv=maybe \
--enable-freetype \
--with-jbig2dec \
--without-jasper \
--enable-openjpeg \
--enable-dynamic \
--with-ijs \
--enable-cups \
--enable-dbus \
--with-pdftoraster \
--with-install-cups \
--with-drivers=ALL \
--with-x \
--disable-gtk \
@ -364,11 +382,16 @@ pushd %{buildroot}%{_defaultdocdir}
ln -s ../../ghostscript/%{built_version}/doc ghostscript
popd
# Extract the catalog of devices which are actually built-in in exactly this Ghostscript:
# If a needed source file is no longer accessible fail intentionally as notification
# that something changed which needs adaptions here:
for F in devices/devs.mak devices/contrib.mak contrib/contrib.mak
do test -r $F || exit 99
done
# Do not pollute the build log file with zillions of meaningless messages:
set +x
cat /dev/null >catalog.devices
for D in $( %{buildroot}/usr/bin/gs -h | sed -n -e '/^Available devices:/,/^Search path:/p' | egrep -v '^Available devices:|^Search path:' )
do for F in base/devs.mak base/contrib.mak contrib/contrib.mak
do for F in devices/devs.mak devices/contrib.mak contrib/contrib.mak
do sed -n -e '/ Catalog /,/ End of catalog /p' $F | grep "[[:space:]]$D[[:space:]]" | grep -o '[[:alnum:]].*' | tr -s '[:blank:]' ' ' | sed -e 's/ /\t/' | expand -t16 >>catalog.devices
done
done

View File

@ -1,21 +1,3 @@
--- ghostscript-9.15/lcms/include/lcms.h
+++ ghostscript-9.15/lcms/include/lcms.h
@@ -140,11 +140,15 @@
#endif
#if defined(__sgi__) || defined(__sgi) || defined(__powerpc__) || defined(sparc) || defined(__ppc__) || defined(__s390__) || defined(__s390x__)
+# ifndef __LITTLE_ENDIAN__
# define USE_BIG_ENDIAN 1
+# endif
#endif
#if TARGET_CPU_PPC
+# ifndef __LITTLE_ENDIAN__
# define USE_BIG_ENDIAN 1
+# endif
#endif
#if macintosh
--- ghostscript-9.15/lcms2/include/lcms2.h
+++ ghostscript-9.15/lcms2/include/lcms2.h
@@ -67,6 +67,7 @@