From cb1a52951f2ce4187c0b23a2339182940428c8d52a3841a8d4ed5cfeffe22644 Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Fri, 20 Mar 2015 09:54:15 +0000 Subject: [PATCH 1/4] - 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. OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=48 --- ghostscript-mini.spec | 2 +- ghostscript.changes | 6 ++++++ ghostscript.spec | 16 +++++++++++++++- 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/ghostscript-mini.spec b/ghostscript-mini.spec index cd4b4fc..7b8bb17 100644 --- a/ghostscript-mini.spec +++ b/ghostscript-mini.spec @@ -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 diff --git a/ghostscript.changes b/ghostscript.changes index 848a0b3..c6f6176 100644 --- a/ghostscript.changes +++ b/ghostscript.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/ghostscript.spec b/ghostscript.spec index 8c99a8e..a6e01a6 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -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 From 6a7f3ad3b8625a9d2a07891d4fea0337affb6b5308506e3d6c70b329493c6044 Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Fri, 20 Mar 2015 16:52:02 +0000 Subject: [PATCH 2/4] Accepting request 292076 from home:jsmeix:branches:Printing Version upgrade to 9.16rc2 (second release candidate for 9.16) for testing if it works. OBS-URL: https://build.opensuse.org/request/show/292076 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=49 --- ghostscript-9.15.tar.gz | 3 --- ghostscript-9.16rc2.tar.gz | 3 +++ ghostscript-mini.changes | 9 +++++++++ ghostscript-mini.spec | 26 ++++++++++++++------------ ghostscript.changes | 9 +++++++++ ghostscript.spec | 26 ++++++++++++++------------ 6 files changed, 49 insertions(+), 27 deletions(-) delete mode 100644 ghostscript-9.15.tar.gz create mode 100644 ghostscript-9.16rc2.tar.gz diff --git a/ghostscript-9.15.tar.gz b/ghostscript-9.15.tar.gz deleted file mode 100644 index 37a16b0..0000000 --- a/ghostscript-9.15.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:27f11e4fe5b89857ae745687281d1e4daf9681edc858a3f7e8e77ef09609777a -size 33426033 diff --git a/ghostscript-9.16rc2.tar.gz b/ghostscript-9.16rc2.tar.gz new file mode 100644 index 0000000..9feb9b1 --- /dev/null +++ b/ghostscript-9.16rc2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75aa9c197cbb1814c147ffe328043f1032cfb0a8726ef6a029921ada70c771ed +size 33621830 diff --git a/ghostscript-mini.changes b/ghostscript-mini.changes index 7d35da6..d88b736 100644 --- a/ghostscript-mini.changes +++ b/ghostscript-mini.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +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 diff --git a/ghostscript-mini.spec b/ghostscript-mini.spec index 7b8bb17..43ecf77 100644 --- a/ghostscript-mini.spec +++ b/ghostscript-mini.spec @@ -35,31 +35,32 @@ 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 -# Normal version for Ghostscript releases is the upstream version: -Version: 9.15 +Version: 9.15pre16rc2 Release: 0 +# Normal version for Ghostscript releases is the upstream version: +#Version: 9.15 # 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 %{version} +%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 %{version} +%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 MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS # MD5 checksum for Source0: 5a78ab0990ff6ec3a103576bc8777c46 -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: @@ -144,7 +145,8 @@ This package contains the development files for Minimal Ghostscript. # Patch11 ppc64le-support.patch is a remainder of the previous patch # lcms2 has been fixed upstream not working and lcms has not been fixed # see http://bugs.ghostscript.com/show_bug.cgi?id=695544 -%patch11 -p1 +# Patch11 does no longer apply for 9.16rc2 so that it is simply skipped for now: +#patch11 -p1 %build # Set our preferred architecture-specific flags for the compiler and linker: diff --git a/ghostscript.changes b/ghostscript.changes index c6f6176..9b9bffc 100644 --- a/ghostscript.changes +++ b/ghostscript.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +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 diff --git a/ghostscript.spec b/ghostscript.spec index a6e01a6..ec9bf93 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -55,31 +55,32 @@ 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 -# Normal version for Ghostscript releases is the upstream version: -Version: 9.15 +Version: 9.15pre16rc2 Release: 0 +# Normal version for Ghostscript releases is the upstream version: +#Version: 9.15 # 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 %{version} +%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 %{version} +%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 MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS # MD5 checksum for Source0: 5a78ab0990ff6ec3a103576bc8777c46 -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: @@ -281,7 +282,8 @@ This package contains the development files for Ghostscript. # Patch11 ppc64le-support.patch is a remainder of the previous patch # lcms2 has been fixed upstream not working and lcms has not been fixed # see http://bugs.ghostscript.com/show_bug.cgi?id=695544 -%patch11 -p1 +# Patch11 does no longer apply for 9.16rc2 so that it is simply skipped for now: +#patch11 -p1 %build # Set our preferred architecture-specific flags for the compiler and linker: From edc9d0cc50c89b7372d7d76495cf163b1a5bebd88460b2e5d9ee4f69c9fe01f8 Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Wed, 25 Mar 2015 14:14:43 +0000 Subject: [PATCH 3/4] Accepting request 293106 from home:jsmeix:branches:Printing Version upgrade to 9.16rc2 (second release candidate for 9.16) for testing if it works. Now it also builds for SLE_11_SP3. OBS-URL: https://build.opensuse.org/request/show/293106 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=50 --- ...read.pwrite.pthread_mutexattr_settype.diff | 92 +++++++++++++++++++ ghostscript-mini.changes | 13 +++ ghostscript-mini.spec | 40 ++++++-- ghostscript.changes | 13 +++ ghostscript.spec | 51 ++++++---- ppc64le-support.patch | 18 ---- 6 files changed, 183 insertions(+), 44 deletions(-) create mode 100644 fix.including.pread.pwrite.pthread_mutexattr_settype.diff diff --git a/fix.including.pread.pwrite.pthread_mutexattr_settype.diff b/fix.including.pread.pwrite.pthread_mutexattr_settype.diff new file mode 100644 index 0000000..a14c730 --- /dev/null +++ b/fix.including.pread.pwrite.pthread_mutexattr_settype.diff @@ -0,0 +1,92 @@ + +From: Chris Liddell +Date: Mon, 23 Mar 2015 17:03:41 +0000 (+0000) +Subject: Bug 695882: ensure function protypes are available +X-Git-Url: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff_plain;h=8bb53a7f + +Bug 695882: ensure function protypes are available + +There are some special defines on Linux to include prototypes for pread, pwrite +and pthread_mutexattr_settype: add these to our "unistd_.h" header. + +Also, tweak the the configure script to check for prototypes as well as just +successful linking before including the code that uses those functions + +No cluster differences + +--- base/gp_psync.c ++++ base/gp_psync.c +@@ -17,6 +17,7 @@ + /* POSIX pthreads threads / semaphore / monitor implementation */ + #include "std.h" + #include "malloc_.h" ++#include "unistd_.h" /* for __USE_UNIX98 */ + #include + #include "gserrors.h" + #include "gpsync.h" +--- base/unistd_.h ++++ base/unistd_.h +@@ -53,6 +53,7 @@ + /* _XOPEN_SOURCE 500 define is needed to get + * access to pread and pwrite */ + # define _XOPEN_SOURCE 500 ++# define __USE_UNIX98 + # include + #endif + +--- configure.ac ++++ configure.ac +@@ -494,6 +494,16 @@ AC_CHECK_LIB(m, cos) + + AC_CHECK_FUNCS([pread pwrite], [HAVE_PREAD_PWRITE="-DHAVE_PREAD_PWRITE=1"], [HAVE_PREAD_PWRITE=]) + ++if test "x$HAVE_PREAD_PWRITE" != "x"; then ++ save_cflags=$CFLAGS ++ CFLAGS="$CFLAGS -D__USE_UNIX98=1 -D_XOPEN_SOURCE=500" ++ AC_CHECK_DECLS([pwrite,pread], [], [HAVE_PREAD_PWRITE=]) ++ CFLAGS=$save_cflags ++ if test "x$HAVE_PREAD_PWRITE" != "x"; then ++ GCFLAGS="$GCFLAGS -D__USE_UNIX98=1" ++ fi ++fi ++ + AC_SUBST(HAVE_PREAD_PWRITE) + + SYNC="nosync" +@@ -515,11 +525,34 @@ if test "x$HAVE_PREAD_PWRITE" != "x"; then + SYNC=posync; + PTHREAD_LIBS="-lpthread" + ]) ++ AC_MSG_CHECKING([recursive mutexes.......]) + AC_TRY_COMPILE([#include ], +- [static int k = PTHREAD_MUTEX_RECURSIVE;], ++ [ ++ static int k = PTHREAD_MUTEX_RECURSIVE; ++ #ifndef pthread_mutexattr_settype ++ #ifdef __cplusplus ++ (void) pthread_mutexattr_settype; ++ #else ++ (void) pthread_mutexattr_settype; ++ #endif ++ #endif ++ ; ++ return 0; ++ ], + [RECURSIVE_MUTEXATTR="-DGS_RECURSIVE_MUTEXATTR=PTHREAD_MUTEX_RECURSIVE"], + [AC_TRY_COMPILE([#include ], +- [static int k = PTHREAD_MUTEX_RECURSIVE_NP;], ++ [ ++ static int k = PTHREAD_MUTEX_RECURSIVE_NP; ++ #ifndef pthread_mutexattr_settype ++ #ifdef __cplusplus ++ (void) pthread_mutexattr_settype; ++ #else ++ (void) pthread_mutexattr_settype; ++ #endif ++ #endif ++ ; ++ return 0; ++ ], + [RECURSIVE_MUTEXATTR="-DGS_RECURSIVE_MUTEXATTR=PTHREAD_MUTEX_RECURSIVE_NP"])]) + ;; + esac diff --git a/ghostscript-mini.changes b/ghostscript-mini.changes index d88b736..bdad37a 100644 --- a/ghostscript-mini.changes +++ b/ghostscript-mini.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +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 diff --git a/ghostscript-mini.spec b/ghostscript-mini.spec index 43ecf77..cbe54ed 100644 --- a/ghostscript-mini.spec +++ b/ghostscript-mini.spec @@ -67,9 +67,17 @@ Source0: http://downloads.ghostscript.com/public/.release_candidate/ghost # # 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 +# Patch12 fix.including.pread.pwrite.pthread_mutexattr_settype.diff fixes on SLE11 +# ./base/gp_unifs.c:187: warning: implicit declaration of function 'pread' +# ./base/gp_unifs.c:209: warning: implicit declaration of function 'pwrite' +# ./base/gp_psync.c:170: warning: implicit declaration of function 'pthread_mutexattr_settype' +# see http://bugs.ghostscript.com/show_bug.cgi?id=695882 +Patch12: fix.including.pread.pwrite.pthread_mutexattr_settype.diff # # Source100...Source999 is for sources from SUSE which are not intended for upstream: # @@ -143,10 +151,17 @@ 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 does no longer apply for 9.16rc2 so that it is simply skipped for now: -#patch11 -p1 +%patch11 -p1 +# Patch12 fix.including.pread.pwrite.pthread_mutexattr_settype.diff fixes on SLE11 +# ./base/gp_unifs.c:187: warning: implicit declaration of function 'pread' +# ./base/gp_unifs.c:209: warning: implicit declaration of function 'pwrite' +# ./base/gp_psync.c:170: warning: implicit declaration of function 'pthread_mutexattr_settype' +# see http://bugs.ghostscript.com/show_bug.cgi?id=695882 +%patch12 %build # Set our preferred architecture-specific flags for the compiler and linker: @@ -154,7 +169,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. @@ -162,10 +177,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. @@ -182,14 +199,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 \ @@ -242,11 +257,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 diff --git a/ghostscript.changes b/ghostscript.changes index 9b9bffc..4d0649e 100644 --- a/ghostscript.changes +++ b/ghostscript.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +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 diff --git a/ghostscript.spec b/ghostscript.spec index ec9bf93..38db176 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -87,9 +87,17 @@ Source0: http://downloads.ghostscript.com/public/.release_candidate/ghost # # 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 +# Patch12 fix.including.pread.pwrite.pthread_mutexattr_settype.diff fixes on SLE11 +# ./base/gp_unifs.c:187: warning: implicit declaration of function 'pread' +# ./base/gp_unifs.c:209: warning: implicit declaration of function 'pwrite' +# ./base/gp_psync.c:170: warning: implicit declaration of function 'pthread_mutexattr_settype' +# see http://bugs.ghostscript.com/show_bug.cgi?id=695882 +Patch12: fix.including.pread.pwrite.pthread_mutexattr_settype.diff # # Source100...Source999 is for sources from SUSE which are not intended for upstream: # @@ -280,10 +288,17 @@ 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 does no longer apply for 9.16rc2 so that it is simply skipped for now: -#patch11 -p1 +%patch11 -p1 +# Patch12 fix.including.pread.pwrite.pthread_mutexattr_settype.diff fixes on SLE11 +# ./base/gp_unifs.c:187: warning: implicit declaration of function 'pread' +# ./base/gp_unifs.c:209: warning: implicit declaration of function 'pwrite' +# ./base/gp_psync.c:170: warning: implicit declaration of function 'pthread_mutexattr_settype' +# see http://bugs.ghostscript.com/show_bug.cgi?id=695882 +%patch12 %build # Set our preferred architecture-specific flags for the compiler and linker: @@ -291,19 +306,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. @@ -320,14 +338,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 \ @@ -380,11 +394,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 diff --git a/ppc64le-support.patch b/ppc64le-support.patch index b3e65df..35684c0 100644 --- a/ppc64le-support.patch +++ b/ppc64le-support.patch @@ -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 @@ From 95202a4042c6cb613afed7bc3d5c4cd0debbd9f7940650a4b24f495f3e918bd8 Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Tue, 31 Mar 2015 13:42:40 +0000 Subject: [PATCH 4/4] Accepting request 293795 from home:jsmeix:branches:Printing Ghostscript version upgrade to 9.16 OBS-URL: https://build.opensuse.org/request/show/293795 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=51 --- ...read.pwrite.pthread_mutexattr_settype.diff | 92 ------------------- ghostscript-9.16.tar.gz | 3 + ghostscript-9.16rc2.tar.gz | 3 - ghostscript-mini.changes | 14 +++ ghostscript-mini.spec | 34 +++---- ghostscript.changes | 14 +++ ghostscript.spec | 34 +++---- 7 files changed, 53 insertions(+), 141 deletions(-) delete mode 100644 fix.including.pread.pwrite.pthread_mutexattr_settype.diff create mode 100644 ghostscript-9.16.tar.gz delete mode 100644 ghostscript-9.16rc2.tar.gz diff --git a/fix.including.pread.pwrite.pthread_mutexattr_settype.diff b/fix.including.pread.pwrite.pthread_mutexattr_settype.diff deleted file mode 100644 index a14c730..0000000 --- a/fix.including.pread.pwrite.pthread_mutexattr_settype.diff +++ /dev/null @@ -1,92 +0,0 @@ - -From: Chris Liddell -Date: Mon, 23 Mar 2015 17:03:41 +0000 (+0000) -Subject: Bug 695882: ensure function protypes are available -X-Git-Url: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff_plain;h=8bb53a7f - -Bug 695882: ensure function protypes are available - -There are some special defines on Linux to include prototypes for pread, pwrite -and pthread_mutexattr_settype: add these to our "unistd_.h" header. - -Also, tweak the the configure script to check for prototypes as well as just -successful linking before including the code that uses those functions - -No cluster differences - ---- base/gp_psync.c -+++ base/gp_psync.c -@@ -17,6 +17,7 @@ - /* POSIX pthreads threads / semaphore / monitor implementation */ - #include "std.h" - #include "malloc_.h" -+#include "unistd_.h" /* for __USE_UNIX98 */ - #include - #include "gserrors.h" - #include "gpsync.h" ---- base/unistd_.h -+++ base/unistd_.h -@@ -53,6 +53,7 @@ - /* _XOPEN_SOURCE 500 define is needed to get - * access to pread and pwrite */ - # define _XOPEN_SOURCE 500 -+# define __USE_UNIX98 - # include - #endif - ---- configure.ac -+++ configure.ac -@@ -494,6 +494,16 @@ AC_CHECK_LIB(m, cos) - - AC_CHECK_FUNCS([pread pwrite], [HAVE_PREAD_PWRITE="-DHAVE_PREAD_PWRITE=1"], [HAVE_PREAD_PWRITE=]) - -+if test "x$HAVE_PREAD_PWRITE" != "x"; then -+ save_cflags=$CFLAGS -+ CFLAGS="$CFLAGS -D__USE_UNIX98=1 -D_XOPEN_SOURCE=500" -+ AC_CHECK_DECLS([pwrite,pread], [], [HAVE_PREAD_PWRITE=]) -+ CFLAGS=$save_cflags -+ if test "x$HAVE_PREAD_PWRITE" != "x"; then -+ GCFLAGS="$GCFLAGS -D__USE_UNIX98=1" -+ fi -+fi -+ - AC_SUBST(HAVE_PREAD_PWRITE) - - SYNC="nosync" -@@ -515,11 +525,34 @@ if test "x$HAVE_PREAD_PWRITE" != "x"; then - SYNC=posync; - PTHREAD_LIBS="-lpthread" - ]) -+ AC_MSG_CHECKING([recursive mutexes.......]) - AC_TRY_COMPILE([#include ], -- [static int k = PTHREAD_MUTEX_RECURSIVE;], -+ [ -+ static int k = PTHREAD_MUTEX_RECURSIVE; -+ #ifndef pthread_mutexattr_settype -+ #ifdef __cplusplus -+ (void) pthread_mutexattr_settype; -+ #else -+ (void) pthread_mutexattr_settype; -+ #endif -+ #endif -+ ; -+ return 0; -+ ], - [RECURSIVE_MUTEXATTR="-DGS_RECURSIVE_MUTEXATTR=PTHREAD_MUTEX_RECURSIVE"], - [AC_TRY_COMPILE([#include ], -- [static int k = PTHREAD_MUTEX_RECURSIVE_NP;], -+ [ -+ static int k = PTHREAD_MUTEX_RECURSIVE_NP; -+ #ifndef pthread_mutexattr_settype -+ #ifdef __cplusplus -+ (void) pthread_mutexattr_settype; -+ #else -+ (void) pthread_mutexattr_settype; -+ #endif -+ #endif -+ ; -+ return 0; -+ ], - [RECURSIVE_MUTEXATTR="-DGS_RECURSIVE_MUTEXATTR=PTHREAD_MUTEX_RECURSIVE_NP"])]) - ;; - esac diff --git a/ghostscript-9.16.tar.gz b/ghostscript-9.16.tar.gz new file mode 100644 index 0000000..78cea87 --- /dev/null +++ b/ghostscript-9.16.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:746d77280cca8afdd3d4c2c1389e332ed9b0605bd107bcaae1d761b061d1a68d +size 33623036 diff --git a/ghostscript-9.16rc2.tar.gz b/ghostscript-9.16rc2.tar.gz deleted file mode 100644 index 9feb9b1..0000000 --- a/ghostscript-9.16rc2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:75aa9c197cbb1814c147ffe328043f1032cfb0a8726ef6a029921ada70c771ed -size 33621830 diff --git a/ghostscript-mini.changes b/ghostscript-mini.changes index bdad37a..82c5444 100644 --- a/ghostscript-mini.changes +++ b/ghostscript-mini.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +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 diff --git a/ghostscript-mini.spec b/ghostscript-mini.spec index cbe54ed..f87651a 100644 --- a/ghostscript-mini.spec +++ b/ghostscript-mini.spec @@ -35,32 +35,32 @@ 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.15pre16rc2 -Release: 0 +#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.16rc2 +%define tarball_version %{version} +#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.16 +%define built_version %{version} +#define built_version 9.16 # 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 # 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 +#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 -#Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz +# MD5 checksum for Source0: 829319325bbdb83f5c81379a8f86f38f +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: @@ -72,12 +72,6 @@ Source0: http://downloads.ghostscript.com/public/.release_candidate/ghost # 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 -# Patch12 fix.including.pread.pwrite.pthread_mutexattr_settype.diff fixes on SLE11 -# ./base/gp_unifs.c:187: warning: implicit declaration of function 'pread' -# ./base/gp_unifs.c:209: warning: implicit declaration of function 'pwrite' -# ./base/gp_psync.c:170: warning: implicit declaration of function 'pthread_mutexattr_settype' -# see http://bugs.ghostscript.com/show_bug.cgi?id=695882 -Patch12: fix.including.pread.pwrite.pthread_mutexattr_settype.diff # # Source100...Source999 is for sources from SUSE which are not intended for upstream: # @@ -156,12 +150,6 @@ This package contains the development files for Minimal Ghostscript. # but the hunk for LCMS2 (lcms2/include/lcms2.h) is still needed # see http://bugs.ghostscript.com/show_bug.cgi?id=695544 %patch11 -p1 -# Patch12 fix.including.pread.pwrite.pthread_mutexattr_settype.diff fixes on SLE11 -# ./base/gp_unifs.c:187: warning: implicit declaration of function 'pread' -# ./base/gp_unifs.c:209: warning: implicit declaration of function 'pwrite' -# ./base/gp_psync.c:170: warning: implicit declaration of function 'pthread_mutexattr_settype' -# see http://bugs.ghostscript.com/show_bug.cgi?id=695882 -%patch12 %build # Set our preferred architecture-specific flags for the compiler and linker: diff --git a/ghostscript.changes b/ghostscript.changes index 4d0649e..e2580e3 100644 --- a/ghostscript.changes +++ b/ghostscript.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +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 diff --git a/ghostscript.spec b/ghostscript.spec index 38db176..38a3ff8 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -55,32 +55,32 @@ 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.15pre16rc2 -Release: 0 +#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.16rc2 +%define tarball_version %{version} +#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.16 +%define built_version %{version} +#define built_version 9.16 # 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 # 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 +#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 -#Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz +# MD5 checksum for Source0: 829319325bbdb83f5c81379a8f86f38f +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: @@ -92,12 +92,6 @@ Source0: http://downloads.ghostscript.com/public/.release_candidate/ghost # 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 -# Patch12 fix.including.pread.pwrite.pthread_mutexattr_settype.diff fixes on SLE11 -# ./base/gp_unifs.c:187: warning: implicit declaration of function 'pread' -# ./base/gp_unifs.c:209: warning: implicit declaration of function 'pwrite' -# ./base/gp_psync.c:170: warning: implicit declaration of function 'pthread_mutexattr_settype' -# see http://bugs.ghostscript.com/show_bug.cgi?id=695882 -Patch12: fix.including.pread.pwrite.pthread_mutexattr_settype.diff # # Source100...Source999 is for sources from SUSE which are not intended for upstream: # @@ -293,12 +287,6 @@ This package contains the development files for Ghostscript. # but the hunk for LCMS2 (lcms2/include/lcms2.h) is still needed # see http://bugs.ghostscript.com/show_bug.cgi?id=695544 %patch11 -p1 -# Patch12 fix.including.pread.pwrite.pthread_mutexattr_settype.diff fixes on SLE11 -# ./base/gp_unifs.c:187: warning: implicit declaration of function 'pread' -# ./base/gp_unifs.c:209: warning: implicit declaration of function 'pwrite' -# ./base/gp_psync.c:170: warning: implicit declaration of function 'pthread_mutexattr_settype' -# see http://bugs.ghostscript.com/show_bug.cgi?id=695882 -%patch12 %build # Set our preferred architecture-specific flags for the compiler and linker: