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/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.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-mini.changes b/ghostscript-mini.changes index 16439fd..4ce69b0 100644 --- a/ghostscript-mini.changes +++ b/ghostscript-mini.changes @@ -1,3 +1,63 @@ +------------------------------------------------------------------- +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 + +- 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 +- 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..cf60496 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 +#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.18rc2 +#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 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,14 @@ 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 # 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 +Source0: ghostscript-%{tarball_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 # 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 +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_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 # 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 +341,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 +369,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..9421f05 100644 --- a/ghostscript.changes +++ b/ghostscript.changes @@ -1,3 +1,63 @@ +------------------------------------------------------------------- +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 + +- 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 +- 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..a59f69d 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 +#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.18rc2 +#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 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,14 @@ 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 # 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 +Source0: ghostscript-%{tarball_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 # 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 +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_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 # 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 +477,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 +510,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: