SHA256
1
0
forked from pool/ghostscript

Accepting request 251628 from Printing

Ghostscript version upgrade to 9.15 (primarily a maintenance release, as of this writing there are no recorded incompatible changes). (forwarded request 251627 from jsmeix)

OBS-URL: https://build.opensuse.org/request/show/251628
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghostscript?expand=0&rev=17
This commit is contained in:
Stephan Kulow 2014-09-25 06:42:28 +00:00 committed by Git OBS Bridge
commit 81598a7bd9
7 changed files with 162 additions and 126 deletions

View File

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

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

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

View File

@ -1,3 +1,52 @@
-------------------------------------------------------------------
Tue Sep 23 10:14:28 CEST 2014 - jsmeix@suse.de
- Version upgrade to 9.15. Primarily a maintenance release.
There are no recorded incompatible changes (as of this writing).
Highlights in this release include:
* Ghostscript now supports the PDF security handler revision 6.
* The pdfwrite and ps2write (and related) devices can now be
forced to "flatten" glyphs into "basic" marking operations
(rather than writing fonts to the output), by giving
the -dNoOutputFonts command line option (defaults to "false").
* PostScript programs can now use get_params or get_param to
determine if a page contains color markings by reading the
pageneutralcolor state from the device (so whether the page
is "color" or "mono"). Note that this is only accurate when in
clist mode, so -dMaxBitmap=0 and -dGrayDetection=true should
both be used.
* The pdfwrite device now supports Link annotations with GoTo
and GoToR actions.
* The pdfwrite device now supports BMC/BDC/EMC pdfmarks
* Regarding the new color management for the pdfwrite device
introduced in the previous release, the proscription on using
the new color management when producing PDF/A-1 compliant files
is now lifted. To reiterate, also, with the new color
management implementation, using the UseCIEColor option is
strongly discouraged. For further information on the new
pdfwrite color management, see in Ps2pdf.htm the
"Color Conversion and Management" section.
* Plus the usual round of bug fixes, compatibility changes,
and incremental improvements.
For details see the News.htm and History9.htm files.
-------------------------------------------------------------------
Wed Sep 17 12:17:47 CEST 2014 - jsmeix@suse.de
- Version upgrade to 9.15rc2 (second release candidate for 9.15).
Ghostscript upstream QA highlighted a couple of issues
that they felt warranted a fresh release candidate.
For details see the History9.htm file.
-------------------------------------------------------------------
Tue Sep 9 16:06:31 CEST 2014 - jsmeix@suse.de
- Version upgrade to 9.15rc1 (first release candidate for 9.15).
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
# 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.14pre15rc2
# Normal version for Ghostscript releases is the upstream version:
Version: 9.14
Version: 9.15
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.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 9.15rc2
# 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 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.15rc2.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
# Normal URLs for Ghostscript releases:
# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.14.tar.gz
# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.15.tar.gz
# URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS
# MD5 checksum for Source0: 586494befb443363338c1b6379f13973
# MD5 checksum for Source0: 5a78ab0990ff6ec3a103576bc8777c46
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,52 @@
-------------------------------------------------------------------
Tue Sep 23 10:14:28 CEST 2014 - jsmeix@suse.de
- Version upgrade to 9.15. Primarily a maintenance release.
There are no recorded incompatible changes (as of this writing).
Highlights in this release include:
* Ghostscript now supports the PDF security handler revision 6.
* The pdfwrite and ps2write (and related) devices can now be
forced to "flatten" glyphs into "basic" marking operations
(rather than writing fonts to the output), by giving
the -dNoOutputFonts command line option (defaults to "false").
* PostScript programs can now use get_params or get_param to
determine if a page contains color markings by reading the
pageneutralcolor state from the device (so whether the page
is "color" or "mono"). Note that this is only accurate when in
clist mode, so -dMaxBitmap=0 and -dGrayDetection=true should
both be used.
* The pdfwrite device now supports Link annotations with GoTo
and GoToR actions.
* The pdfwrite device now supports BMC/BDC/EMC pdfmarks
* Regarding the new color management for the pdfwrite device
introduced in the previous release, the proscription on using
the new color management when producing PDF/A-1 compliant files
is now lifted. To reiterate, also, with the new color
management implementation, using the UseCIEColor option is
strongly discouraged. For further information on the new
pdfwrite color management, see in Ps2pdf.htm the
"Color Conversion and Management" section.
* Plus the usual round of bug fixes, compatibility changes,
and incremental improvements.
For details see the News.htm and History9.htm files.
-------------------------------------------------------------------
Wed Sep 17 12:17:47 CEST 2014 - jsmeix@suse.de
- Version upgrade to 9.15rc2 (second release candidate for 9.15).
Ghostscript upstream QA highlighted a couple of issues
that they felt warranted a fresh release candidate.
For details see the History9.htm file.
-------------------------------------------------------------------
Tue Sep 9 16:06:31 CEST 2014 - jsmeix@suse.de
- Version upgrade to 9.15rc1 (first release candidate for 9.15).
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 +306,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

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
# 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.14pre15rc2
# Normal version for Ghostscript releases is the upstream version:
Version: 9.14
Version: 9.15
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.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 9.15rc2
# 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 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.15rc2.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
# Normal URLs for Ghostscript releases:
# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.14.tar.gz
# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.15.tar.gz
# URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS
# MD5 checksum for Source0: 586494befb443363338c1b6379f13973
# MD5 checksum for Source0: 5a78ab0990ff6ec3a103576bc8777c46
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:

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