From d041b7550231b9b0e6f33a242e5f96e84fb31a08834451139800cbf67dc6b13e Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Thu, 30 Nov 2017 10:44:29 +0000 Subject: [PATCH] Accepting request 546685 from home:jsmeix:branches:Printing Ghostscript version upgrade to 9.22 for openSUSE Tumbleweed/Factory and the upcoming SLE15/Leap15 OBS-URL: https://build.opensuse.org/request/show/546685 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=82 --- ghostscript-9.22.tar.gz | 3 +++ ghostscript-9.22rc1.tar.gz | 3 --- ghostscript-mini.changes | 52 ++++++++++++++++++++++++++++++++++++++ ghostscript-mini.spec | 39 ++++++++++++++-------------- ghostscript.changes | 52 ++++++++++++++++++++++++++++++++++++++ ghostscript.spec | 39 ++++++++++++++-------------- 6 files changed, 147 insertions(+), 41 deletions(-) create mode 100644 ghostscript-9.22.tar.gz delete mode 100644 ghostscript-9.22rc1.tar.gz diff --git a/ghostscript-9.22.tar.gz b/ghostscript-9.22.tar.gz new file mode 100644 index 0000000..1b65ec7 --- /dev/null +++ b/ghostscript-9.22.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f5f4487c0df9dce37481e4c8f192c0322e4c69f5a2ba900a7833c992331bcf4 +size 38773429 diff --git a/ghostscript-9.22rc1.tar.gz b/ghostscript-9.22rc1.tar.gz deleted file mode 100644 index aa359ad..0000000 --- a/ghostscript-9.22rc1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d307041c35141999f38a4da6a1e86b8bdf2ad237b2bf973c551851940ed5b09b -size 38681545 diff --git a/ghostscript-mini.changes b/ghostscript-mini.changes index 38c1ba2..cf86282 100644 --- a/ghostscript-mini.changes +++ b/ghostscript-mini.changes @@ -1,3 +1,55 @@ +------------------------------------------------------------------- +Wed Nov 29 16:04:48 CET 2017 - jsmeix@suse.de + +- Version upgrade to 9.22. + For details see the News.htm and History9.htm files. + Highlights in this release include: + * Ghostscript can now consume and produce (via the pdfwrite + device) PDF 2.0 compliant files. + * The main focus of this release has been security and code + cleanliness. Hence many AddressSanitizer, Valgrind and + Coverity issues have been addressed. + * The usual round of bug fixes, compatibility changes, + and incremental improvements. + Incompatible changes + * The planned device API tidy (still!) did not happen for + this release, due to time pressures, but we still intend + to undertake the following: We plan to somewhat tidy up + the device API. We intend to remove deprecated device procs + (methods/function pointers) 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. +- Up to 9.22rc1 it "just built" for all openSUSE versions but + since 9.22rc2 the libijs part does no longer buid for any + released openSUSE version where if fails with messages like + libtool: Version mismatch error. + This is libtool 2.4.6 Debian-2.4.6-2, but the + definition of this LT_INIT comes from libtool 2.4.2. + You should recreate aclocal.m4 with macros from + libtool 2.4.6 Debian-2.4.6-2 and run autoconf again. + Makefile: recipe for target 'ijs.lo' failed + so that currently it only builds for Tumbleweed/Factory. + Presumably it is not too complicated to make it build again + also for released openSUSE versions but currently I have + less than zero energy to fix on such "latest breaking changes" + so that for now Ghostscript 9.22 is only provided for + openSUSE Tumbleweed/Factory and the upcoming SLE15/Leap15. + +------------------------------------------------------------------- +Fri Sep 29 09:12:06 CEST 2017 - jsmeix@suse.de + +- Version upgrade to 9.22rc2 (second release candidate for 9.22). + 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 + ------------------------------------------------------------------- Thu Sep 14 15:19:40 CEST 2017 - jsmeix@suse.de diff --git a/ghostscript-mini.spec b/ghostscript-mini.spec index 6f3f795..c5c7ff8 100644 --- a/ghostscript-mini.spec +++ b/ghostscript-mini.spec @@ -36,33 +36,34 @@ 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.21pre22rc1 -Release: 0 +#Version: 9.21pre22rc2 # Normal version for Ghostscript releases is the upstream version: -#Version: 9.21 +Version: 9.22 +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.22rc1 +%define tarball_version %{version} +#define tarball_version 9.22rc2 # 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.22 +%define built_version %{version} +#define built_version 9.22 # Source0...Source9 is for sources from upstream: # Special URLs for Ghostscript release candidates: -# URL for Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922rc1/ghostscript-9.22rc1.tar.gz +# URL for Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922rc2/ghostscript-9.22rc2.tar.gz # How to download it: -# wget -O ghostscript-9.22rc1.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922rc1/ghostscript-9.22rc1.tar.gz -Source0: ghostscript-%{tarball_version}.tar.gz +# wget -O ghostscript-9.22rc2.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922rc2/ghostscript-9.22rc2.tar.gz +#Source0: ghostscript-%{tarball_version}.tar.gz # Normal URLs for Ghostscript releases: -# URL for Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs921/ghostscript-9.21.tar.gz +# URL for Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922/ghostscript-9.22.tar.gz # How to download it: -# wget -O ghostscript-9.21.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs921/ghostscript-9.21.tar.gz -# URL for MD5 checksums: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs921/MD5SUMS -# MD5 checksum for Source0: 5f213281761d2750fcf27476c404d17f -#Source0: ghostscript-%{version}.tar.gz +# wget -O ghostscript-9.22.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922/ghostscript-9.22.tar.gz +# URL for MD5 checksums: +# wget -O gs922.MD5SUMS https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922/MD5SUMS +# MD5 checksum for Source0: eff6bc41b1d7e26e988d2a5c813889d1 +Source0: ghostscript-%{version}.tar.gz # Patch0...Patch9 is for patches from upstream: # Source10...Source99 is for sources from SUSE which are intended for upstream: # Patch10...Patch99 is for patches from SUSE which are intended for upstream: @@ -245,10 +246,10 @@ rm %{buildroot}%{_bindir}/ijs_server_example rm %{buildroot}%{_libdir}/libijs.la # Since Ghostscript 9.22rc1 bin/font2c and bin/wftopfa are removed # but the matching man pages are still installed which are hereby also removed: -rm %{buildroot}%{_mandir}/man1/font2c.1 -rm %{buildroot}%{_mandir}/man1/wftopfa.1 -rm %{buildroot}%{_mandir}/de/man1/font2c.1 -rm %{buildroot}%{_mandir}/de/man1/wftopfa.1 +#rm %{buildroot}%{_mandir}/man1/font2c.1 +#rm %{buildroot}%{_mandir}/man1/wftopfa.1 +#rm %{buildroot}%{_mandir}/de/man1/font2c.1 +#rm %{buildroot}%{_mandir}/de/man1/wftopfa.1 # Install documentation which is not installed by default # see http://bugs.ghostscript.com/show_bug.cgi?id=693002 # and fail intentionally as notification if something changed: diff --git a/ghostscript.changes b/ghostscript.changes index ba2eda0..39d78b3 100644 --- a/ghostscript.changes +++ b/ghostscript.changes @@ -1,3 +1,55 @@ +------------------------------------------------------------------- +Wed Nov 29 16:04:48 CET 2017 - jsmeix@suse.de + +- Version upgrade to 9.22. + For details see the News.htm and History9.htm files. + Highlights in this release include: + * Ghostscript can now consume and produce (via the pdfwrite + device) PDF 2.0 compliant files. + * The main focus of this release has been security and code + cleanliness. Hence many AddressSanitizer, Valgrind and + Coverity issues have been addressed. + * The usual round of bug fixes, compatibility changes, + and incremental improvements. + Incompatible changes + * The planned device API tidy (still!) did not happen for + this release, due to time pressures, but we still intend + to undertake the following: We plan to somewhat tidy up + the device API. We intend to remove deprecated device procs + (methods/function pointers) 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. +- Up to 9.22rc1 it "just built" for all openSUSE versions but + since 9.22rc2 the libijs part does no longer buid for any + released openSUSE version where if fails with messages like + libtool: Version mismatch error. + This is libtool 2.4.6 Debian-2.4.6-2, but the + definition of this LT_INIT comes from libtool 2.4.2. + You should recreate aclocal.m4 with macros from + libtool 2.4.6 Debian-2.4.6-2 and run autoconf again. + Makefile: recipe for target 'ijs.lo' failed + so that currently it only builds for Tumbleweed/Factory. + Presumably it is not too complicated to make it build again + also for released openSUSE versions but currently I have + less than zero energy to fix on such "latest breaking changes" + so that for now Ghostscript 9.22 is only provided for + openSUSE Tumbleweed/Factory and the upcoming SLE15/Leap15. + +------------------------------------------------------------------- +Fri Sep 29 09:12:06 CEST 2017 - jsmeix@suse.de + +- Version upgrade to 9.22rc2 (second release candidate for 9.22). + 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 + ------------------------------------------------------------------- Thu Sep 14 15:19:40 CEST 2017 - jsmeix@suse.de diff --git a/ghostscript.spec b/ghostscript.spec index 6b7eb9c..646eee6 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -56,33 +56,34 @@ 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.21pre22rc1 -Release: 0 +#Version: 9.21pre22rc2 # Normal version for Ghostscript releases is the upstream version: -#Version: 9.21 +Version: 9.22 +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.22rc1 +%define tarball_version %{version} +#define tarball_version 9.22rc2 # 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.22 +%define built_version %{version} +#define built_version 9.22 # Source0...Source9 is for sources from upstream: # Special URLs for Ghostscript release candidates: -# URL for Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922rc1/ghostscript-9.22rc1.tar.gz +# URL for Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922rc2/ghostscript-9.22rc2.tar.gz # How to download it: -# wget -O ghostscript-9.22rc1.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922rc1/ghostscript-9.22rc1.tar.gz -Source0: ghostscript-%{tarball_version}.tar.gz +# wget -O ghostscript-9.22rc2.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922rc2/ghostscript-9.22rc2.tar.gz +#Source0: ghostscript-%{tarball_version}.tar.gz # Normal URLs for Ghostscript releases: -# URL for Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs921/ghostscript-9.21.tar.gz +# URL for Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922/ghostscript-9.22.tar.gz # How to download it: -# wget -O ghostscript-9.21.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs921/ghostscript-9.21.tar.gz -# URL for MD5 checksums: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs921/MD5SUMS -# MD5 checksum for Source0: 5f213281761d2750fcf27476c404d17f -#Source0: ghostscript-%{version}.tar.gz +# wget -O ghostscript-9.22.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922/ghostscript-9.22.tar.gz +# URL for MD5 checksums: +# wget -O gs922.MD5SUMS https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922/MD5SUMS +# MD5 checksum for Source0: eff6bc41b1d7e26e988d2a5c813889d1 +Source0: ghostscript-%{version}.tar.gz # Patch0...Patch9 is for patches from upstream: # Source10...Source99 is for sources from SUSE which are intended for upstream: # Patch10...Patch99 is for patches from SUSE which are intended for upstream: @@ -381,10 +382,10 @@ rm %{buildroot}%{_bindir}/ijs_server_example rm %{buildroot}%{_libdir}/libijs.la # Since Ghostscript 9.22rc1 bin/font2c and bin/wftopfa are removed # but the matching man pages are still installed which are hereby also removed: -rm %{buildroot}%{_mandir}/man1/font2c.1 -rm %{buildroot}%{_mandir}/man1/wftopfa.1 -rm %{buildroot}%{_mandir}/de/man1/font2c.1 -rm %{buildroot}%{_mandir}/de/man1/wftopfa.1 +#rm %{buildroot}%{_mandir}/man1/font2c.1 +#rm %{buildroot}%{_mandir}/man1/wftopfa.1 +#rm %{buildroot}%{_mandir}/de/man1/font2c.1 +#rm %{buildroot}%{_mandir}/de/man1/wftopfa.1 # Install documentation which is not installed by default # see http://bugs.ghostscript.com/show_bug.cgi?id=693002 # and fail intentionally as notification if something changed: