Accepting request 248339 from home:jsmeix:branches:Printing

Ghostscript version upgrade to 9.15rc1 release candidate for the 9.15 version (primarily a maintenance release) so that openSUSE users can try it out (as of this writing there are no recorded incompatible changes).

OBS-URL: https://build.opensuse.org/request/show/248339
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=40
This commit is contained in:
Johannes Meixner 2014-09-10 12:31:06 +00:00 committed by Git OBS Bridge
parent fe002305bb
commit b0a79c8bdb
7 changed files with 86 additions and 130 deletions

View File

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

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a36e74f09951a4ad25e840dc15e5f81c785e0b04c842fd134145172bc5241b2
size 33436290

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Sep 9 16:06:31 CEST 2014 - jsmeix@suse.de
- Version upgrade to 9.15rc1 (release candidate for the 9.15 version).
For details see the News.htm and History9.htm files.
- ppc64le-support.patch is no longer needed because
it is fixed in the upstream sources.
- Removed trailing whitespaces in spec file and changes file.
-------------------------------------------------------------------
Thu Mar 27 12:21:55 CET 2014 - jsmeix@suse.de

View File

@ -27,49 +27,44 @@ Summary: Minimal Ghostscript for minimal build requirements
License: AGPL-3.0
Group: System/Libraries
Url: http://www.ghostscript.com/
# Special version needed for Ghostscript release candidates e.g. "Version: 9.pre10rc1":
# Version 9.10rc1 would be newer than 9.10 (run "zypper vcmp 9.10rc1 9.10") because the rpmvercmp algorithm
# would treat 9.10rc1 as 9.10.rc.1 (alphabetic and numeric sections get separated into different elements)
# and 9.10.rc.1 is newer than 9.10 (it has one more element in the list while previous elements are equal)
# so that we use an alphabetic prefix to make it older than 9.10 (numbers are considered newer than letters):
#Version: 9.pre10rc1
# Normal version for Ghostscript releases is the upstream version:
Version: 9.14
# Special version needed for Ghostscript release candidates (e.g. "Version: 9.14pre15rc1" for 9.15rc1).
# Version 9.15rc1 would be newer than 9.15 (run "zypper vcmp 9.15rc1 9.15") because the rpmvercmp algorithm
# would treat 9.15rc1 as 9.15.rc.1 (alphabetic and numeric sections get separated into different elements)
# and 9.15.rc.1 is newer than 9.15 (it has one more element in the list while previous elements are equal)
# so that we use an alphabetic prefix 'pre' to make it older than 9.15 (numbers are considered newer than letters).
# 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.14pre15rc1
Release: 0
# Normal version for Ghostscript releases is the upstream version:
#Version: 9.14
# 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.10rc1".
# 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 %{version}
%define tarball_version 9.15rc1
# 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.10".
# 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 %{version}
%define built_version 9.15
# Source0...Source9 is for sources from upstream:
# Special URLs for Ghostscript release candidates:
# URL for Source0: http://www.ghostscript.com/~chrisl/ghostscript-9.10rc1.tar.gz
# URL for MD5 checksums: http://www.ghostscript.com/~chrisl/MD5SUMS
# MD5 checksum for Source0: 0cdf23c5dff76040983bca74675f88be
#Source0: http://www.ghostscript.com/~chrisl/ghostscript-9.10rc1.tar.gz
# URL for Source0: http://www.ghostscript.com/~chrisl/ghostscript-9.15rc1.tar.gz
# URL for MD5 checksums: http://www.ghostscript.com/~chrisl/MD5SUMS or http://www.ghostscript.com/~chrisl/MD5SUM
# MD5 checksum for Source0: 619e5a1fdfd3f1098f1a37f7f9772b5c
Source0: http://www.ghostscript.com/~chrisl/ghostscript-9.15rc1.tar.gz
# Normal URLs for Ghostscript releases:
# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.14.tar.gz
# URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS
# MD5 checksum for Source0: 586494befb443363338c1b6379f13973
Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz
#Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz
# Patch0...Patch9 is for patches from upstream:
#
# Source10...Source99 is for sources from SUSE which are intended for upstream:
#
# Patch10...Patch99 is for patches from SUSE which are intended for upstream:
# Patch10 ppc64le-support.patch from IBM fixes endianness in lcms (the Little-CMS library)
# to support the new architecture ppc64le (IBM Power PC Little Endian architecture)
# because ppc64 is big-endian and ppc64le is little-endian and lcms has a hard-coded
# check that assumes PowerPC is always big-endian which is incorrect on ppc64le.
# The fix is already in the main Little-CMS repository by this Git commit
# https://github.com/mm2/Little-CMS/commit/b4f5c91a2c1582bd284f0d0f49cb43e2c2235a79
# (There are some cosmetic changes in the patch as it went upstream.)
# It is not yet in the imported copy in Ghostscript.
# IBM will work with upstream to get the fix imported too.
Patch10: ppc64le-support.patch
#
# Source100...Source999 is for sources from SUSE which are not intended for upstream:
#
@ -142,8 +137,6 @@ This package contains the development files for Minimal Ghostscript.
# 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}
# Patch10 ppc64le-support.patch from IBM fixes endianness in lcms (the Little-CMS library):
%patch10 -p1
%build
# Set our preferred architecture-specific flags for the compiler and linker:

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Sep 9 16:06:31 CEST 2014 - jsmeix@suse.de
- Version upgrade to 9.15rc1 (release candidate for the 9.15 version).
For details see the News.htm and History9.htm files.
- ppc64le-support.patch is no longer needed because
it is fixed in the upstream sources.
- Removed trailing whitespaces in spec file and changes file.
-------------------------------------------------------------------
Mon Aug 18 15:12:28 UTC 2014 - meissner@suse.com

View File

@ -33,49 +33,44 @@ Summary: The Ghostscript interpreter for PostScript and PDF
License: AGPL-3.0
Group: System/Libraries
Url: http://www.ghostscript.com/
# Special version needed for Ghostscript release candidates e.g. "Version: 9.pre10rc1":
# Version 9.10rc1 would be newer than 9.10 (run "zypper vcmp 9.10rc1 9.10") because the rpmvercmp algorithm
# would treat 9.10rc1 as 9.10.rc.1 (alphabetic and numeric sections get separated into different elements)
# and 9.10.rc.1 is newer than 9.10 (it has one more element in the list while previous elements are equal)
# so that we use an alphabetic prefix to make it older than 9.10 (numbers are considered newer than letters):
#Version: 9.pre10rc1
# Normal version for Ghostscript releases is the upstream version:
Version: 9.14
# Special version needed for Ghostscript release candidates (e.g. "Version: 9.14pre15rc1" for 9.15rc1).
# Version 9.15rc1 would be newer than 9.15 (run "zypper vcmp 9.15rc1 9.15") because the rpmvercmp algorithm
# would treat 9.15rc1 as 9.15.rc.1 (alphabetic and numeric sections get separated into different elements)
# and 9.15.rc.1 is newer than 9.15 (it has one more element in the list while previous elements are equal)
# so that we use an alphabetic prefix 'pre' to make it older than 9.15 (numbers are considered newer than letters).
# 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.14pre15rc1
Release: 0
# Normal version for Ghostscript releases is the upstream version:
#Version: 9.14
# 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.10rc1".
# 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 %{version}
%define tarball_version 9.15rc1
# 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.10".
# 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 %{version}
%define built_version 9.15
# Source0...Source9 is for sources from upstream:
# Special URLs for Ghostscript release candidates:
# URL for Source0: http://www.ghostscript.com/~chrisl/ghostscript-9.10rc1.tar.gz
# URL for MD5 checksums: http://www.ghostscript.com/~chrisl/MD5SUMS
# MD5 checksum for Source0: 0cdf23c5dff76040983bca74675f88be
#Source0: http://www.ghostscript.com/~chrisl/ghostscript-9.10rc1.tar.gz
# URL for Source0: http://www.ghostscript.com/~chrisl/ghostscript-9.15rc1.tar.gz
# URL for MD5 checksums: http://www.ghostscript.com/~chrisl/MD5SUMS or http://www.ghostscript.com/~chrisl/MD5SUM
# MD5 checksum for Source0: 619e5a1fdfd3f1098f1a37f7f9772b5c
Source0: http://www.ghostscript.com/~chrisl/ghostscript-9.15rc1.tar.gz
# Normal URLs for Ghostscript releases:
# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.14.tar.gz
# URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS
# MD5 checksum for Source0: 586494befb443363338c1b6379f13973
Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz
#Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz
# Patch0...Patch9 is for patches from upstream:
#
# Source10...Source99 is for sources from SUSE which are intended for upstream:
#
# Patch10...Patch99 is for patches from SUSE which are intended for upstream:
# Patch10 ppc64le-support.patch from IBM fixes endianness in lcms (the Little-CMS library)
# to support the new architecture ppc64le (IBM Power PC Little Endian architecture)
# because ppc64 is big-endian and ppc64le is little-endian and lcms has a hard-coded
# check that assumes PowerPC is always big-endian which is incorrect on ppc64le.
# The fix is already in the main Little-CMS repository by this Git commit
# https://github.com/mm2/Little-CMS/commit/b4f5c91a2c1582bd284f0d0f49cb43e2c2235a79
# (There are some cosmetic changes in the patch as it went upstream.)
# It is not yet in the imported copy in Ghostscript.
# IBM will work with upstream to get the fix imported too.
Patch10: ppc64le-support.patch
#
# Source100...Source999 is for sources from SUSE which are not intended for upstream:
#
@ -265,8 +260,6 @@ This package contains the development files for Ghostscript.
# 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}
# Patch10 ppc64le-support.patch from IBM fixes endianness in lcms (the Little-CMS library):
%patch10 -p1
%build
# Set our preferred architecture-specific flags for the compiler and linker:

View File

@ -1,48 +0,0 @@
Index: ghostscript-9.10/lcms/include/lcms.h
===================================================================
--- ghostscript-9.10.orig/lcms/include/lcms.h
+++ ghostscript-9.10/lcms/include/lcms.h
@@ -140,11 +140,15 @@ typedef pthread_rwlock_t LCMS_RW
#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
Index: ghostscript-9.10/lcms2/include/lcms2.h
===================================================================
--- ghostscript-9.10.orig/lcms2/include/lcms2.h
+++ ghostscript-9.10/lcms2/include/lcms2.h
@@ -178,17 +178,23 @@ typedef int cmsBool;
#endif
#if defined(__sgi__) || defined(__sgi) || defined(__powerpc__) || defined(sparc)
+# ifndef __LITTLE_ENDIAN__
# define CMS_USE_BIG_ENDIAN 1
+# endif
#endif
#if defined(__ppc__) || defined(__s390__) || defined(__s390x__)
+# ifndef __LITTLE_ENDIAN__
# define CMS_USE_BIG_ENDIAN 1
+# endif
#endif
#ifdef TARGET_CPU_PPC
# if TARGET_CPU_PPC
+# ifndef __LITTLE_ENDIAN__
# define CMS_USE_BIG_ENDIAN 1
# endif
+# endif
#endif
#ifdef macintosh