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: