diff --git a/ghostscript-9.14.tar.gz b/ghostscript-9.14.tar.gz deleted file mode 100644 index 57c5d31..0000000 --- a/ghostscript-9.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ab2ba5ce11c8db396c9acf774a497182d7686d04670976cc3e690ada7db9f0d4 -size 35514406 diff --git a/ghostscript-9.15rc1.tar.gz b/ghostscript-9.15rc1.tar.gz new file mode 100644 index 0000000..1b34fda --- /dev/null +++ b/ghostscript-9.15rc1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a36e74f09951a4ad25e840dc15e5f81c785e0b04c842fd134145172bc5241b2 +size 33436290 diff --git a/ghostscript-mini.changes b/ghostscript-mini.changes index 80daae4..2bbf613 100644 --- a/ghostscript-mini.changes +++ b/ghostscript-mini.changes @@ -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 diff --git a/ghostscript-mini.spec b/ghostscript-mini.spec index f5ab5b1..98a472e 100644 --- a/ghostscript-mini.spec +++ b/ghostscript-mini.spec @@ -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: diff --git a/ghostscript.changes b/ghostscript.changes index dcbaf40..0380b6d 100644 --- a/ghostscript.changes +++ b/ghostscript.changes @@ -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 @@ -257,7 +266,7 @@ Thu Feb 9 11:34:33 CET 2012 - jsmeix@suse.de The ps2write device has a large number of improvements. Fixes and improvements for the CUPS Raster output device (in particular Ghostscript bug 691922 regarding color model). - Renamed the PXL CUPS filter from "pstopxl" to "gstopxl". + Renamed the PXL CUPS filter from "pstopxl" to "gstopxl". For details see the doc/News.htm file. - Removed "make cups" and "make cups-install" from spec file using "configure ... --with-install-cups" instead diff --git a/ghostscript.spec b/ghostscript.spec index afb93ea..d171707 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -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: # @@ -88,7 +83,7 @@ Patch10: ppc64le-support.patch # gs # gs_lib # pstoraster -# ghostscript_any +# ghostscript_any # ghostscript-serv # gs_x11 # ghostscript_x11 @@ -101,25 +96,25 @@ Patch10: ppc64le-support.patch # ghostscript_x11 # ghostscript-mini # Which other packages need those in openSUSE:Factory (dated 22 Feb. 2012): -# blocxx-doc BuildRequires ghostscript -# iproute2 BuildRequires ghostscript -# gle-graphics Requires ghostscript -# webdot Requires ghostscript -# ddd BuildRequires ghostscript_any -# emacs-auctex BuildRequires ghostscript_any -# kernel-docs BuildRequires ghostscript_any -# texlive-bin BuildRequires ghostscript_any -# cups Requires ghostscript_any -# html2ps Requires ghostscript_any -# latex2html Requires ghostscript_any -# pstoedit Requires ghostscript_any -# ghostview Requires ghostscript_x11 -# gv Requires ghostscript_x11 -# texlive-bin Requires ghostscript_x11 -# klatexformula BuildRequires gs and Requires gs -# capi4hylafax Requires gs_lib -# hylafax Requires gs_lib -# graphviz-plugins BuildRequires ghostscript-mini +# blocxx-doc BuildRequires ghostscript +# iproute2 BuildRequires ghostscript +# gle-graphics Requires ghostscript +# webdot Requires ghostscript +# ddd BuildRequires ghostscript_any +# emacs-auctex BuildRequires ghostscript_any +# kernel-docs BuildRequires ghostscript_any +# texlive-bin BuildRequires ghostscript_any +# cups Requires ghostscript_any +# html2ps Requires ghostscript_any +# latex2html Requires ghostscript_any +# pstoedit Requires ghostscript_any +# ghostview Requires ghostscript_x11 +# gv Requires ghostscript_x11 +# texlive-bin Requires ghostscript_x11 +# klatexformula BuildRequires gs and Requires gs +# capi4hylafax Requires gs_lib +# hylafax Requires gs_lib +# graphviz-plugins BuildRequires ghostscript-mini # Provide the additional RPM Provides of the ghostscript-library package # (ghostscript_x11 is provided by the ghostscript-x11 sub-package, see below): Provides: ghostscript_any @@ -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: diff --git a/ppc64le-support.patch b/ppc64le-support.patch deleted file mode 100644 index 86ef23c..0000000 --- a/ppc64le-support.patch +++ /dev/null @@ -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