From f5c3d843dc7d79f81370d8a2245806a905d5c968a66b039d2561ce81b6b5b783 Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Fri, 18 Mar 2016 10:30:37 +0000 Subject: [PATCH 1/3] Accepting request 375066 from home:jsmeix:branches:Printing Version upgrade to 9.19rc1 (first release candidate for 9.18) OBS-URL: https://build.opensuse.org/request/show/375066 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=65 --- add_brackets_for_old_autoconf.patch | 11 ++++ ...s_and_x11_for_FirstPage_and_LastPage.patch | 47 -------------- fix_make_install.patch | 15 +++++ ghostscript-9.18.tar.gz | 3 - ghostscript-9.19rc1.tar.gz | 3 + ghostscript-mini.changes | 16 +++++ ghostscript-mini.spec | 64 +++++++++---------- ghostscript.changes | 16 +++++ ghostscript.spec | 64 +++++++++---------- install_gserrors.h.patch | 10 --- 10 files changed, 123 insertions(+), 126 deletions(-) create mode 100644 add_brackets_for_old_autoconf.patch delete mode 100644 fix_ijs_and_x11_for_FirstPage_and_LastPage.patch create mode 100644 fix_make_install.patch delete mode 100644 ghostscript-9.18.tar.gz create mode 100644 ghostscript-9.19rc1.tar.gz delete mode 100644 install_gserrors.h.patch diff --git a/add_brackets_for_old_autoconf.patch b/add_brackets_for_old_autoconf.patch new file mode 100644 index 0000000..c23cc6e --- /dev/null +++ b/add_brackets_for_old_autoconf.patch @@ -0,0 +1,11 @@ +--- configure.ac.orig 2016-03-14 11:17:22.000000000 +0100 ++++ configure.ac 2016-03-18 10:09:02.000000000 +0100 +@@ -393,7 +393,7 @@ if test "x$ac_cv_header_inttypes_h" = xy + fi + + AC_CHECK_LIB([dl], [dlopen], +- AC_CHECK_HEADER([dlfcn.h], [GCFLAGS="$GCFLAGS -DHAVE_LIBDL=1";LIBS="-ldl $LIBS"]) ++ [AC_CHECK_HEADER([dlfcn.h], [GCFLAGS="$GCFLAGS -DHAVE_LIBDL=1";LIBS="-ldl $LIBS"])] + ) + echo $LIBS + diff --git a/fix_ijs_and_x11_for_FirstPage_and_LastPage.patch b/fix_ijs_and_x11_for_FirstPage_and_LastPage.patch deleted file mode 100644 index 746ece7..0000000 --- a/fix_ijs_and_x11_for_FirstPage_and_LastPage.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- devices/gdevijs.c.orig 2015-10-05 10:21:11.000000000 +0200 -+++ devices/gdevijs.c 2015-10-12 10:17:53.000000000 +0200 -@@ -827,6 +827,10 @@ gsijs_open(gx_device *dev) - if (code < 0) - return code; - -+ while (dev->child) -+ dev = dev->child; -+ ijsdev = (gx_device_ijs *)dev; -+ - if (use_outputfd) { - /* Note: dup() may not be portable to all interesting IJS - platforms. In that case, this branch should be #ifdef'ed out. ---- base/gdevdflt.c.orig 2015-10-05 10:21:11.000000000 +0200 -+++ base/gdevdflt.c 2015-10-12 10:21:11.000000000 +0200 -@@ -17,6 +17,8 @@ - #include "math_.h" - #include "memory_.h" - #include "gx.h" -+#include "gsstruct.h" -+#include "gxobj.h" - #include "gserrors.h" - #include "gsropt.h" - #include "gxcomp.h" -@@ -1294,6 +1296,11 @@ int gx_device_subclass(gx_device *dev_to - ptr1 = ((char *)new_prototype) + sizeof(gx_device); - memcpy(ptr, ptr1, new_prototype->params_size - sizeof(gx_device)); - -+ /* We have to patch up the "type" parameters that the memory manage/garbage -+ * collector will use, as well. -+ */ -+ (((obj_header_t *)dev_to_subclass) - 1)->o_type = new_prototype->stype; -+ - /* If the original device's stype structure was dynamically allocated, we need - * to 'fixup' the contents, it's procs need to point to the new device's procs - * for instance. ---- base/lib.mak.orig 2015-10-05 10:21:11.000000000 +0200 -+++ base/lib.mak 2015-10-12 10:22:51.000000000 +0200 -@@ -1210,7 +1210,7 @@ $(GLOBJ)gdevdsha.$(OBJ) : $(GLSRC)gdevds - - $(GLOBJ)gdevdflt.$(OBJ) : $(GLSRC)gdevdflt.c $(AK) $(gx_h)\ - $(gserrors_h) $(gsropt_h) $(gxcomp_h) $(gxdevice_h) $(gxdevsop_h) $(math__h)\ -- $(MAKEDIRS) -+ $(gsstruct_h) $(gxobj_h) $(MAKEDIRS) - $(GLCC) $(GLO_)gdevdflt.$(OBJ) $(C_) $(GLSRC)gdevdflt.c - - $(GLOBJ)gdevdgbr.$(OBJ) : $(GLSRC)gdevdgbr.c $(AK) $(gx_h)\ diff --git a/fix_make_install.patch b/fix_make_install.patch new file mode 100644 index 0000000..d363ee9 --- /dev/null +++ b/fix_make_install.patch @@ -0,0 +1,15 @@ +--- base/unixinst.mak.orig 2016-03-14 11:17:22.000000000 +0100 ++++ base/unixinst.mak 2016-03-17 14:01:35.000000000 +0100 +@@ -49,6 +49,12 @@ install-gxps: $(GXPS_XE) install-exec-bi + install-: + $(NO_OP) + ++install-no_gpcl6: ++ $(NO_OP) ++ ++install-no_gxps: ++ $(NO_OP) ++ + install-scripts: $(PSLIBDIR)/gsnd $(UNIXINST_MAK) $(MAKEDIRS) + -mkdir -p $(DESTDIR)$(datadir) + -mkdir -p $(DESTDIR)$(gsdir) diff --git a/ghostscript-9.18.tar.gz b/ghostscript-9.18.tar.gz deleted file mode 100644 index d0ec4d2..0000000 --- a/ghostscript-9.18.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5fc93079749a250be5404c465943850e3ed5ffbc0d5c07e10c7c5ee8afbbdb1b -size 33727053 diff --git a/ghostscript-9.19rc1.tar.gz b/ghostscript-9.19rc1.tar.gz new file mode 100644 index 0000000..ce5083e --- /dev/null +++ b/ghostscript-9.19rc1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c3ac33df8d15bc05acc2666841386d237c8626651bc5d9471bd3b0793c858318 +size 33951104 diff --git a/ghostscript-mini.changes b/ghostscript-mini.changes index 16439fd..261dc98 100644 --- a/ghostscript-mini.changes +++ b/ghostscript-mini.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Fri Mar 18 10:13:23 CET 2016 - jsmeix@suse.de + +- Version upgrade to 9.19rc1 (first release candidate for 9.18). + 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 +- fix_make_install.patch fixes an install error and + add_brackets_for_old_autoconf.patch fixes an autoconf error + see http://bugs.ghostscript.com/show_bug.cgi?id=696665 +- fix_ijs_and_x11_for_FirstPage_and_LastPage.patch is no longer + needed because it is fixed in the upstream sources. +- install_gserrors.h.patch is no longer needed because it is fixed + in the upstream sources. + ------------------------------------------------------------------- Wed Nov 18 11:46:58 UTC 2015 - schwab@suse.de diff --git a/ghostscript-mini.spec b/ghostscript-mini.spec index eb85eae..5e8bb2a 100644 --- a/ghostscript-mini.spec +++ b/ghostscript-mini.spec @@ -1,7 +1,7 @@ # # spec file for package ghostscript-mini # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -36,20 +36,20 @@ 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.16pre18rc2 -# Normal version for Ghostscript releases is the upstream version: -Version: 9.18 +Version: 9.18pre19rc1 Release: 0 +# Normal version for Ghostscript releases is the upstream version: +#Version: 9.18 # 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.18rc2 +#define tarball_version %{version} +%define tarball_version 9.19rc1 # 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.18 +#define built_version %{version} +%define built_version 9.19 # 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.18rc2.tar.gz @@ -58,23 +58,24 @@ Release: 0 # or http://downloads.ghostscript.com/public/.release_candidate/MD5SUMS # MD5 checksum for Source0: 7cea0466e845de0a05e60b89225ab0d3 #Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.18rc2.tar.gz +# URL for Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs919rc1 +Source0: ghostscript-9.19rc1.tar.gz # Normal URLs for Ghostscript releases: # URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.18.tar.gz # URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS # MD5 checksum for Source0: 33a47567d7a591c00a253caddd12a88a -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: -# Patch1 fix_ijs_and_x11_for_FirstPage_and_LastPage.patch -# fixes the Ghostscript device ijs and the x11* devices -# so that they also work when -dFirstPage/-dLastPage is used, -# see http://bugs.ghostscript.com/show_bug.cgi?id=696246 -Patch1: fix_ijs_and_x11_for_FirstPage_and_LastPage.patch -# Patch2 install_gserrors.h.patch -# installs gserrors.h to fix -# http://bugs.ghostscript.com/show_bug.cgi?id=696301 -# because without gserrors.h several other packages fail to build -# (in particular texlive, libspectre, gimp,...) -Patch2: install_gserrors.h.patch +# Patch1 fix_make_install.patch fixes the install error: +# make: *** No rule to make target 'install-no_gpcl6', needed by 'install'. Stop. +# see http://bugs.ghostscript.com/show_bug.cgi?id=696665 +Patch1: fix_make_install.patch +# Patch2 add_brackets_for_old_autoconf.patch fixes the configure error: +# checking for dlopen in -ldl... yes +# ./configure: line 6915: syntax error near unexpected token `newline' +# ./configure: line 6915: ` yes:no:' error: Bad exit status from /var/tmp/rpm-tmp.25116 (%build) +# see http://bugs.ghostscript.com/show_bug.cgi?id=696665 +Patch2: add_brackets_for_old_autoconf.patch # Source10...Source99 is for sources from SUSE which are intended for upstream: # Patch10...Patch99 is for patches from SUSE which are intended for upstream: # Patch11 ppc64le-support.patch is a remainder of the previous patch @@ -156,17 +157,16 @@ 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} -# Patch1 fix_ijs_and_x11_for_FirstPage_and_LastPage.patch -# fixes the Ghostscript device ijs and the x11* devices -# so that they also work when -dFirstPage/-dLastPage is used, -# see http://bugs.ghostscript.com/show_bug.cgi?id=696246 -%patch1 -b fix_ijs_and_x11_for_FirstPage_and_LastPage.orig -# Patch2 install_gserrors.h.patch -# installs gserrors.h to fix -# http://bugs.ghostscript.com/show_bug.cgi?id=696301 -# because without gserrors.h several other packages fail to build -# (in particular texlive, libspectre, gimp,...) -%patch2 -b install_gserrors.h.orig +# Patch1 fix_make_install.patch fixes the install error: +# make: *** No rule to make target 'install-no_gpcl6', needed by 'install'. Stop. +# see http://bugs.ghostscript.com/show_bug.cgi?id=696665 +%patch1 -b fix_make_install +# Patch2 add_brackets_for_old_autoconf.patch fixes the configure error: +# checking for dlopen in -ldl... yes +# ./configure: line 6915: syntax error near unexpected token `newline' +# ./configure: line 6915: ` yes:no:' error: Bad exit status from /var/tmp/rpm-tmp.25116 (%build) +# see http://bugs.ghostscript.com/show_bug.cgi?id=696665 +%patch2 -b add_brackets_for_old_autoconf # Patch11 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 @@ -361,7 +361,6 @@ exit 0 %doc %{_mandir}/man1/ps2pdfwr.1.gz %doc %{_mandir}/man1/ps2ps.1.gz %doc %{_mandir}/man1/wftopfa.1.gz -%doc %{_mandir}/man1/ijs-config.1.gz %doc %{_mandir}/de/man1/dvipdf.1.gz %doc %{_mandir}/de/man1/eps2eps.1.gz %doc %{_mandir}/de/man1/font2c.1.gz @@ -390,7 +389,6 @@ exit 0 %defattr(-,root,root) %{_includedir}/ghostscript/ %{_libdir}/libgs.so -%{_bindir}/ijs-config %{_includedir}/ijs/ %{_libdir}/libijs.so %{_libdir}/pkgconfig/ijs.pc diff --git a/ghostscript.changes b/ghostscript.changes index fcc03b0..c96554f 100644 --- a/ghostscript.changes +++ b/ghostscript.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Fri Mar 18 10:13:23 CET 2016 - jsmeix@suse.de + +- Version upgrade to 9.19rc1 (first release candidate for 9.18). + 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 +- fix_make_install.patch fixes an install error and + add_brackets_for_old_autoconf.patch fixes an autoconf error + see http://bugs.ghostscript.com/show_bug.cgi?id=696665 +- fix_ijs_and_x11_for_FirstPage_and_LastPage.patch is no longer + needed because it is fixed in the upstream sources. +- install_gserrors.h.patch is no longer needed because it is fixed + in the upstream sources. + ------------------------------------------------------------------- Wed Nov 18 11:46:58 UTC 2015 - schwab@suse.de diff --git a/ghostscript.spec b/ghostscript.spec index a086440..1048d09 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -1,7 +1,7 @@ # # spec file for package ghostscript # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -56,20 +56,20 @@ 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.16pre18rc2 -# Normal version for Ghostscript releases is the upstream version: -Version: 9.18 +Version: 9.18pre19rc1 Release: 0 +# Normal version for Ghostscript releases is the upstream version: +#Version: 9.18 # 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.18rc2 +#define tarball_version %{version} +%define tarball_version 9.19rc1 # 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.18 +#define built_version %{version} +%define built_version 9.19 # 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.18rc2.tar.gz @@ -78,23 +78,24 @@ Release: 0 # or http://downloads.ghostscript.com/public/.release_candidate/MD5SUMS # MD5 checksum for Source0: 7cea0466e845de0a05e60b89225ab0d3 #Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.18rc2.tar.gz +# URL for Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs919rc1 +Source0: ghostscript-9.19rc1.tar.gz # Normal URLs for Ghostscript releases: # URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.18.tar.gz # URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS # MD5 checksum for Source0: 33a47567d7a591c00a253caddd12a88a -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: -# Patch1 fix_ijs_and_x11_for_FirstPage_and_LastPage.patch -# fixes the Ghostscript device ijs and the x11* devices -# so that they also work when -dFirstPage/-dLastPage is used, -# see http://bugs.ghostscript.com/show_bug.cgi?id=696246 -Patch1: fix_ijs_and_x11_for_FirstPage_and_LastPage.patch -# Patch2 install_gserrors.h.patch -# installs gserrors.h to fix -# http://bugs.ghostscript.com/show_bug.cgi?id=696301 -# because without gserrors.h several other packages fail to build -# (in particular texlive, libspectre, gimp,...) -Patch2: install_gserrors.h.patch +# Patch1 fix_make_install.patch fixes the install error: +# make: *** No rule to make target 'install-no_gpcl6', needed by 'install'. Stop. +# see http://bugs.ghostscript.com/show_bug.cgi?id=696665 +Patch1: fix_make_install.patch +# Patch2 add_brackets_for_old_autoconf.patch fixes the configure error: +# checking for dlopen in -ldl... yes +# ./configure: line 6915: syntax error near unexpected token `newline' +# ./configure: line 6915: ` yes:no:' error: Bad exit status from /var/tmp/rpm-tmp.25116 (%build) +# see http://bugs.ghostscript.com/show_bug.cgi?id=696665 +Patch2: add_brackets_for_old_autoconf.patch # Source10...Source99 is for sources from SUSE which are intended for upstream: # Patch10...Patch99 is for patches from SUSE which are intended for upstream: # Patch11 ppc64le-support.patch is a remainder of the previous patch @@ -292,17 +293,16 @@ 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} -# Patch1 fix_ijs_and_x11_for_FirstPage_and_LastPage.patch -# fixes the Ghostscript device ijs and the x11* devices -# so that they also work when -dFirstPage/-dLastPage is used, -# see http://bugs.ghostscript.com/show_bug.cgi?id=696246 -%patch1 -b fix_ijs_and_x11_for_FirstPage_and_LastPage.orig -# Patch2 install_gserrors.h.patch -# installs gserrors.h to fix -# http://bugs.ghostscript.com/show_bug.cgi?id=696301 -# because without gserrors.h several other packages fail to build -# (in particular texlive, libspectre, gimp,...) -%patch2 -b install_gserrors.h.orig +# Patch1 fix_make_install.patch fixes the install error: +# make: *** No rule to make target 'install-no_gpcl6', needed by 'install'. Stop. +# see http://bugs.ghostscript.com/show_bug.cgi?id=696665 +%patch1 -b fix_make_install +# Patch2 add_brackets_for_old_autoconf.patch fixes the configure error: +# checking for dlopen in -ldl... yes +# ./configure: line 6915: syntax error near unexpected token `newline' +# ./configure: line 6915: ` yes:no:' error: Bad exit status from /var/tmp/rpm-tmp.25116 (%build) +# see http://bugs.ghostscript.com/show_bug.cgi?id=696665 +%patch2 -b add_brackets_for_old_autoconf # Patch11 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 @@ -497,7 +497,6 @@ exit 0 %doc %{_mandir}/man1/ps2pdfwr.1.gz %doc %{_mandir}/man1/ps2ps.1.gz %doc %{_mandir}/man1/wftopfa.1.gz -%doc %{_mandir}/man1/ijs-config.1.gz %doc %{_mandir}/de/man1/dvipdf.1.gz %doc %{_mandir}/de/man1/eps2eps.1.gz %doc %{_mandir}/de/man1/font2c.1.gz @@ -531,7 +530,6 @@ exit 0 %defattr(-,root,root) %{_includedir}/ghostscript/ %{_libdir}/libgs.so -%{_bindir}/ijs-config %{_includedir}/ijs/ %{_libdir}/libijs.so %{_libdir}/pkgconfig/ijs.pc diff --git a/install_gserrors.h.patch b/install_gserrors.h.patch deleted file mode 100644 index 14aa773..0000000 --- a/install_gserrors.h.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- base/unix-dll.mak.orig 2015-10-05 10:21:11.000000000 +0200 -+++ base/unix-dll.mak 2015-10-30 11:22:12.000000000 +0100 -@@ -184,6 +184,7 @@ install-so-subtarget: so-subtarget - ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR) - $(INSTALL_DATA) $(PSSRC)iapi.h $(DESTDIR)$(gsincludedir)iapi.h - $(INSTALL_DATA) $(PSSRC)ierrors.h $(DESTDIR)$(gsincludedir)ierrors.h -+ $(INSTALL_DATA) $(GLSRC)gserrors.h $(DESTDIR)$(gsincludedir)gserrors.h - $(INSTALL_DATA) $(DEVSRC)gdevdsp.h $(DESTDIR)$(gsincludedir)gdevdsp.h - - soinstall: From 3071d3c69a21a426e0c628cfd7070a34780759d2bfa1411d893502910ba98794 Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Fri, 18 Mar 2016 12:44:53 +0000 Subject: [PATCH 2/3] Fixed typo in changes: "first release candidate for 9.19" (was before "first release candidate for 9.18") Aded that "ijs-config is no longer provided" to changes. OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=66 --- ghostscript-mini.changes | 3 ++- ghostscript.changes | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ghostscript-mini.changes b/ghostscript-mini.changes index 261dc98..631599b 100644 --- a/ghostscript-mini.changes +++ b/ghostscript-mini.changes @@ -1,11 +1,12 @@ ------------------------------------------------------------------- Fri Mar 18 10:13:23 CET 2016 - jsmeix@suse.de -- Version upgrade to 9.19rc1 (first release candidate for 9.18). +- Version upgrade to 9.19rc1 (first release candidate for 9.19). 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 +- ijs-config is no longer provided - fix_make_install.patch fixes an install error and add_brackets_for_old_autoconf.patch fixes an autoconf error see http://bugs.ghostscript.com/show_bug.cgi?id=696665 diff --git a/ghostscript.changes b/ghostscript.changes index c96554f..f8e0cfd 100644 --- a/ghostscript.changes +++ b/ghostscript.changes @@ -1,11 +1,12 @@ ------------------------------------------------------------------- Fri Mar 18 10:13:23 CET 2016 - jsmeix@suse.de -- Version upgrade to 9.19rc1 (first release candidate for 9.18). +- Version upgrade to 9.19rc1 (first release candidate for 9.19). 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 +- ijs-config is no longer provided - fix_make_install.patch fixes an install error and add_brackets_for_old_autoconf.patch fixes an autoconf error see http://bugs.ghostscript.com/show_bug.cgi?id=696665 From 77c12adcd5baf34b1d37844c03dc5bfe58c252908df648ae55e5526208023a54 Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Wed, 23 Mar 2016 16:06:46 +0000 Subject: [PATCH 3/3] Accepting request 378927 from home:jsmeix:branches:Printing Ghostscript version upgrade to 9.19 OBS-URL: https://build.opensuse.org/request/show/378927 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=67 --- add_brackets_for_old_autoconf.patch | 11 -------- fix_make_install.patch | 15 ---------- ghostscript-9.19.tar.gz | 3 ++ ghostscript-9.19rc1.tar.gz | 3 -- ghostscript-mini.changes | 43 +++++++++++++++++++++++++++++ ghostscript-mini.spec | 36 ++++++------------------ ghostscript.changes | 43 +++++++++++++++++++++++++++++ ghostscript.spec | 36 ++++++------------------ 8 files changed, 105 insertions(+), 85 deletions(-) delete mode 100644 add_brackets_for_old_autoconf.patch delete mode 100644 fix_make_install.patch create mode 100644 ghostscript-9.19.tar.gz delete mode 100644 ghostscript-9.19rc1.tar.gz diff --git a/add_brackets_for_old_autoconf.patch b/add_brackets_for_old_autoconf.patch deleted file mode 100644 index c23cc6e..0000000 --- a/add_brackets_for_old_autoconf.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.ac.orig 2016-03-14 11:17:22.000000000 +0100 -+++ configure.ac 2016-03-18 10:09:02.000000000 +0100 -@@ -393,7 +393,7 @@ if test "x$ac_cv_header_inttypes_h" = xy - fi - - AC_CHECK_LIB([dl], [dlopen], -- AC_CHECK_HEADER([dlfcn.h], [GCFLAGS="$GCFLAGS -DHAVE_LIBDL=1";LIBS="-ldl $LIBS"]) -+ [AC_CHECK_HEADER([dlfcn.h], [GCFLAGS="$GCFLAGS -DHAVE_LIBDL=1";LIBS="-ldl $LIBS"])] - ) - echo $LIBS - diff --git a/fix_make_install.patch b/fix_make_install.patch deleted file mode 100644 index d363ee9..0000000 --- a/fix_make_install.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- base/unixinst.mak.orig 2016-03-14 11:17:22.000000000 +0100 -+++ base/unixinst.mak 2016-03-17 14:01:35.000000000 +0100 -@@ -49,6 +49,12 @@ install-gxps: $(GXPS_XE) install-exec-bi - install-: - $(NO_OP) - -+install-no_gpcl6: -+ $(NO_OP) -+ -+install-no_gxps: -+ $(NO_OP) -+ - install-scripts: $(PSLIBDIR)/gsnd $(UNIXINST_MAK) $(MAKEDIRS) - -mkdir -p $(DESTDIR)$(datadir) - -mkdir -p $(DESTDIR)$(gsdir) diff --git a/ghostscript-9.19.tar.gz b/ghostscript-9.19.tar.gz new file mode 100644 index 0000000..fc5da0c --- /dev/null +++ b/ghostscript-9.19.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:42f0f6983f710c403cf0da1f3f1c9f7d81f87451161b9e70bc55b6348d262ae2 +size 33750873 diff --git a/ghostscript-9.19rc1.tar.gz b/ghostscript-9.19rc1.tar.gz deleted file mode 100644 index ce5083e..0000000 --- a/ghostscript-9.19rc1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c3ac33df8d15bc05acc2666841386d237c8626651bc5d9471bd3b0793c858318 -size 33951104 diff --git a/ghostscript-mini.changes b/ghostscript-mini.changes index 631599b..4ce69b0 100644 --- a/ghostscript-mini.changes +++ b/ghostscript-mini.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Wed Mar 23 15:43:27 CET 2016 - jsmeix@suse.de + +- Version upgrade to 9.19. Mainly a maintenance release. + For details see the News.htm and History9.htm files. + Highlights in this release include: + * Metadata pdfmark is now implemented. This allows the user + to specify an XMP stream which will be written to the + Catalog of the PDF file. A new pdfmark 'Ext_Metadata' has + been defined. This takes a string parameter which contains + XML to be add to the XMP normally created by pdfwrite. + See "pdfwrite pdfmark extensions" for more information. + * An experimental, rudimentary raster trapping implementation + has been added to the Ghostscript graphics library. + See "Trapping" for details. + Incompatible changes: + * (Minor) API change: copy_alpha now supports 8 bit depth + (as well as the previous 2 and 4). + * The gs man pages are woefully out of date and basically + unmaintained. With the release following 9.19, we intend + to replace their contents with a very limited summary + of (unlikely to ever change aspects of) calling + Ghostscript, and a pointer to the (maintained) HTML + documentation. That is, unless a volunteer is willing + to update, and commit to maintaining the man pages. + * ijs-config is no longer provided + Planned incompatible changes: + * We plan (ideally for the release following 9.19) to somewhat + tidy up the device API. We plan to remove deprecated device + procs (methods/function pointers). We also intend to merge + the imager state and graphics state (thus eliminating the + imager state), and change the device API so every device proc + takes a graphics state parameter (rather than the current + scheme where only a very few procs take an imager state + parameter). This should serve as notice to anyone maintaining + a Ghostscript device outside the canonical source tree that + you may (probably will) need to update your device(s) when + these changes happen. Devices using only the non-deprecated + procs should be trivial to update. +- fix_make_install.patch fixes and + add_brackets_for_old_autoconf.patch are no longer needed + because both issues are fixed in the upstream sources. + ------------------------------------------------------------------- Fri Mar 18 10:13:23 CET 2016 - jsmeix@suse.de diff --git a/ghostscript-mini.spec b/ghostscript-mini.spec index 5e8bb2a..cf60496 100644 --- a/ghostscript-mini.spec +++ b/ghostscript-mini.spec @@ -36,20 +36,20 @@ 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.18pre19rc1 -Release: 0 +#Version: 9.18pre19rc1 # Normal version for Ghostscript releases is the upstream version: -#Version: 9.18 +Version: 9.19 +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.19rc1 +%define tarball_version %{version} +#define tarball_version 9.19rc1 # 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.19 +%define built_version %{version} +#define built_version 9.19 # 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.18rc2.tar.gz @@ -59,23 +59,13 @@ Release: 0 # MD5 checksum for Source0: 7cea0466e845de0a05e60b89225ab0d3 #Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.18rc2.tar.gz # URL for Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs919rc1 -Source0: ghostscript-9.19rc1.tar.gz # Normal URLs for Ghostscript releases: # URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.18.tar.gz # URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS # MD5 checksum for Source0: 33a47567d7a591c00a253caddd12a88a #Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz +Source0: ghostscript-%{tarball_version}.tar.gz # Patch0...Patch9 is for patches from upstream: -# Patch1 fix_make_install.patch fixes the install error: -# make: *** No rule to make target 'install-no_gpcl6', needed by 'install'. Stop. -# see http://bugs.ghostscript.com/show_bug.cgi?id=696665 -Patch1: fix_make_install.patch -# Patch2 add_brackets_for_old_autoconf.patch fixes the configure error: -# checking for dlopen in -ldl... yes -# ./configure: line 6915: syntax error near unexpected token `newline' -# ./configure: line 6915: ` yes:no:' error: Bad exit status from /var/tmp/rpm-tmp.25116 (%build) -# see http://bugs.ghostscript.com/show_bug.cgi?id=696665 -Patch2: add_brackets_for_old_autoconf.patch # Source10...Source99 is for sources from SUSE which are intended for upstream: # Patch10...Patch99 is for patches from SUSE which are intended for upstream: # Patch11 ppc64le-support.patch is a remainder of the previous patch @@ -157,16 +147,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} -# Patch1 fix_make_install.patch fixes the install error: -# make: *** No rule to make target 'install-no_gpcl6', needed by 'install'. Stop. -# see http://bugs.ghostscript.com/show_bug.cgi?id=696665 -%patch1 -b fix_make_install -# Patch2 add_brackets_for_old_autoconf.patch fixes the configure error: -# checking for dlopen in -ldl... yes -# ./configure: line 6915: syntax error near unexpected token `newline' -# ./configure: line 6915: ` yes:no:' error: Bad exit status from /var/tmp/rpm-tmp.25116 (%build) -# see http://bugs.ghostscript.com/show_bug.cgi?id=696665 -%patch2 -b add_brackets_for_old_autoconf # Patch11 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 diff --git a/ghostscript.changes b/ghostscript.changes index f8e0cfd..9421f05 100644 --- a/ghostscript.changes +++ b/ghostscript.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Wed Mar 23 15:43:27 CET 2016 - jsmeix@suse.de + +- Version upgrade to 9.19. Mainly a maintenance release. + For details see the News.htm and History9.htm files. + Highlights in this release include: + * Metadata pdfmark is now implemented. This allows the user + to specify an XMP stream which will be written to the + Catalog of the PDF file. A new pdfmark 'Ext_Metadata' has + been defined. This takes a string parameter which contains + XML to be add to the XMP normally created by pdfwrite. + See "pdfwrite pdfmark extensions" for more information. + * An experimental, rudimentary raster trapping implementation + has been added to the Ghostscript graphics library. + See "Trapping" for details. + Incompatible changes: + * (Minor) API change: copy_alpha now supports 8 bit depth + (as well as the previous 2 and 4). + * The gs man pages are woefully out of date and basically + unmaintained. With the release following 9.19, we intend + to replace their contents with a very limited summary + of (unlikely to ever change aspects of) calling + Ghostscript, and a pointer to the (maintained) HTML + documentation. That is, unless a volunteer is willing + to update, and commit to maintaining the man pages. + * ijs-config is no longer provided + Planned incompatible changes: + * We plan (ideally for the release following 9.19) to somewhat + tidy up the device API. We plan to remove deprecated device + procs (methods/function pointers). We also intend to merge + the imager state and graphics state (thus eliminating the + imager state), and change the device API so every device proc + takes a graphics state parameter (rather than the current + scheme where only a very few procs take an imager state + parameter). This should serve as notice to anyone maintaining + a Ghostscript device outside the canonical source tree that + you may (probably will) need to update your device(s) when + these changes happen. Devices using only the non-deprecated + procs should be trivial to update. +- fix_make_install.patch fixes and + add_brackets_for_old_autoconf.patch are no longer needed + because both issues are fixed in the upstream sources. + ------------------------------------------------------------------- Fri Mar 18 10:13:23 CET 2016 - jsmeix@suse.de diff --git a/ghostscript.spec b/ghostscript.spec index 1048d09..a59f69d 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -56,20 +56,20 @@ 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.18pre19rc1 -Release: 0 +#Version: 9.18pre19rc1 # Normal version for Ghostscript releases is the upstream version: -#Version: 9.18 +Version: 9.19 +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.19rc1 +%define tarball_version %{version} +#define tarball_version 9.19rc1 # 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.19 +%define built_version %{version} +#define built_version 9.19 # 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.18rc2.tar.gz @@ -79,23 +79,13 @@ Release: 0 # MD5 checksum for Source0: 7cea0466e845de0a05e60b89225ab0d3 #Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.18rc2.tar.gz # URL for Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs919rc1 -Source0: ghostscript-9.19rc1.tar.gz # Normal URLs for Ghostscript releases: # URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.18.tar.gz # URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS # MD5 checksum for Source0: 33a47567d7a591c00a253caddd12a88a #Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz +Source0: ghostscript-%{tarball_version}.tar.gz # Patch0...Patch9 is for patches from upstream: -# Patch1 fix_make_install.patch fixes the install error: -# make: *** No rule to make target 'install-no_gpcl6', needed by 'install'. Stop. -# see http://bugs.ghostscript.com/show_bug.cgi?id=696665 -Patch1: fix_make_install.patch -# Patch2 add_brackets_for_old_autoconf.patch fixes the configure error: -# checking for dlopen in -ldl... yes -# ./configure: line 6915: syntax error near unexpected token `newline' -# ./configure: line 6915: ` yes:no:' error: Bad exit status from /var/tmp/rpm-tmp.25116 (%build) -# see http://bugs.ghostscript.com/show_bug.cgi?id=696665 -Patch2: add_brackets_for_old_autoconf.patch # Source10...Source99 is for sources from SUSE which are intended for upstream: # Patch10...Patch99 is for patches from SUSE which are intended for upstream: # Patch11 ppc64le-support.patch is a remainder of the previous patch @@ -293,16 +283,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} -# Patch1 fix_make_install.patch fixes the install error: -# make: *** No rule to make target 'install-no_gpcl6', needed by 'install'. Stop. -# see http://bugs.ghostscript.com/show_bug.cgi?id=696665 -%patch1 -b fix_make_install -# Patch2 add_brackets_for_old_autoconf.patch fixes the configure error: -# checking for dlopen in -ldl... yes -# ./configure: line 6915: syntax error near unexpected token `newline' -# ./configure: line 6915: ` yes:no:' error: Bad exit status from /var/tmp/rpm-tmp.25116 (%build) -# see http://bugs.ghostscript.com/show_bug.cgi?id=696665 -%patch2 -b add_brackets_for_old_autoconf # Patch11 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