From dc0a03b30196c87c6b9512e4d6e0cf411856e4828c245c6d00fe31a726c0449c Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Thu, 22 Mar 2018 12:49:03 +0000 Subject: [PATCH] Accepting request 590295 from home:jsmeix:branches:Printing Ghostscript version upgrade to 9.23 (boo#1082896 and boo#1074266) OBS-URL: https://build.opensuse.org/request/show/590295 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=89 --- fix_ln_docdir_gsdatadir.patch | 4 ++-- ghostscript-9.23.tar.gz | 3 +++ ghostscript-9.23rc1.tar.gz | 3 --- ghostscript-mini.changes | 43 +++++++++++++++++++++++++++++++++++ ghostscript-mini.spec | 27 +++++++++++----------- ghostscript.changes | 43 +++++++++++++++++++++++++++++++++++ ghostscript.spec | 27 +++++++++++----------- 7 files changed, 117 insertions(+), 33 deletions(-) create mode 100644 ghostscript-9.23.tar.gz delete mode 100644 ghostscript-9.23rc1.tar.gz diff --git a/fix_ln_docdir_gsdatadir.patch b/fix_ln_docdir_gsdatadir.patch index 6c52f6b..cdc40bf 100644 --- a/fix_ln_docdir_gsdatadir.patch +++ b/fix_ln_docdir_gsdatadir.patch @@ -4,8 +4,8 @@ $(SH) -c 'for f in $(DOC_PAGES) ;\ do if ( test -f $(PSDOCDIR)/$$f ); then $(INSTALL_DATA) $(PSDOCDIR)/$$f $(DESTDIR)$(docdir); fi;\ done' -- ln -s $(DESTDIR)$(docdir) $(gsdatadir)/doc -+ # ln -s $(DESTDIR)$(docdir) $(gsdatadir)/doc +- ln -s $(DESTDIR)$(docdir) $(DESTDIR)$(gsdatadir)/doc ++ # ln -s $(DESTDIR)$(docdir) $(DESTDIR)$(gsdatadir)/doc # install the man pages for each locale MAN_LCDIRS=. de diff --git a/ghostscript-9.23.tar.gz b/ghostscript-9.23.tar.gz new file mode 100644 index 0000000..cb50b50 --- /dev/null +++ b/ghostscript-9.23.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f65964807a3c97a2c0810d4b9806585367e73129e57ae33378cea18e07a1ed9b +size 43208330 diff --git a/ghostscript-9.23rc1.tar.gz b/ghostscript-9.23rc1.tar.gz deleted file mode 100644 index 43337ce..0000000 --- a/ghostscript-9.23rc1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:78a083f6d509f052fcb95cd4982312a31203395d078950cd5f880657efe3a40b -size 42953768 diff --git a/ghostscript-mini.changes b/ghostscript-mini.changes index a5608b5..1e9d831 100644 --- a/ghostscript-mini.changes +++ b/ghostscript-mini.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Thu Mar 22 12:51:39 CET 2018 - jsmeix@suse.de + +- Version upgrade to 9.23 + Highlights in this release include: + * Ghostscript now has a family of 'pdfimage' devices + (pdfimage8, pdfimage24 and pdfimage32) which produce + rendered output wrapped up as an image in a PDF. + Additionally, there is a 'pclm' device which + produces PCLm format output. + * There is now a ColorAccuracy parameter allowing the user + to decide between speed or accuracy in ICC color transforms. + * JPEG Passthrough: devices which support it can now receive + the 'raw' JPEG stream from the interpreter. + The main use of this is the pdfwrite/ps2write family of devices + that can now take JPEG streams from the input file(s) and write + them unchanged to the output (thus avoiding additional + quantization effects). + * PDF transparency performance improvements + * IMPORTANT: We (i.e. Ghostscript upstream) are in the process + of forking LittleCMS. + LCMS2 is not thread safe, and cannot be made thread safe + without breaking the ABI. Our fork will be thread safe, + and include performance enhancements (these changes have all + be been offered and rejected upstream). We will maintain + compatibility between Ghostscript and LCMS2 for a time, + but not in perpetuity. Our fork will be available as its own + package separately from Ghostscript (and MuPDF). + * We have continued the focus on code hygiene in this release + cleaning up security issues, ignored return values, + and compiler warnings. + * The usual round of bug fixes, compatibility changes, + and incremental improvements. + Incompatible changes + * The planned device API tidy has, unfortunately, been + indefinitely postponed, until appropriate resources + are available. + For a release summary see: + http://www.ghostscript.com/doc/9.23/News.htm + For details see the News.htm and History9.htm files. + See also the entries below since "Version upgrade to 9.22" + (boo#1082896 and boo#1074266). + ------------------------------------------------------------------- Fri Mar 16 12:39:36 CET 2018 - jsmeix@suse.de diff --git a/ghostscript-mini.spec b/ghostscript-mini.spec index b55f0d7..8d36bb3 100644 --- a/ghostscript-mini.spec +++ b/ghostscript-mini.spec @@ -37,35 +37,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.22pre23rc1 -Release: 0 +#Version: 9.22pre23rc1 # Normal version for Ghostscript releases is the upstream version: -#Version: 9.22 +Version: 9.23 +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.23rc1 +%define tarball_version %{version} +#define tarball_version 9.23rc1 # 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.23 +%define built_version %{version} +#define built_version 9.23 # Source0...Source9 is for sources from upstream: # Special URLs for Ghostscript release candidates: # see https://github.com/ArtifexSoftware/ghostpdl-downloads/releases # URL for Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs923rc1/ghostscript-9.23rc1.tar.gz # How to download it: # wget -O ghostscript-9.23rc1.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs923rc1/ghostscript-9.23rc1.tar.gz -Source0: ghostscript-%{tarball_version}.tar.gz +#Source0: ghostscript-%{tarball_version}.tar.gz # Normal URLs for Ghostscript releases: -# 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.22.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922/ghostscript-9.22.tar.gz +# URL for Source0: +# wget -O ghostscript-9.23.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs923/ghostscript-9.23.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 +# wget -O gs923.MD5SUMS https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs923/MD5SUMS +# MD5 checksum for Source0: 5a47ab47cd22dec1eb5f51c06f1c9d9c +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: diff --git a/ghostscript.changes b/ghostscript.changes index 39bcb9a..1805077 100644 --- a/ghostscript.changes +++ b/ghostscript.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Thu Mar 22 12:51:39 CET 2018 - jsmeix@suse.de + +- Version upgrade to 9.23 + Highlights in this release include: + * Ghostscript now has a family of 'pdfimage' devices + (pdfimage8, pdfimage24 and pdfimage32) which produce + rendered output wrapped up as an image in a PDF. + Additionally, there is a 'pclm' device which + produces PCLm format output. + * There is now a ColorAccuracy parameter allowing the user + to decide between speed or accuracy in ICC color transforms. + * JPEG Passthrough: devices which support it can now receive + the 'raw' JPEG stream from the interpreter. + The main use of this is the pdfwrite/ps2write family of devices + that can now take JPEG streams from the input file(s) and write + them unchanged to the output (thus avoiding additional + quantization effects). + * PDF transparency performance improvements + * IMPORTANT: We (i.e. Ghostscript upstream) are in the process + of forking LittleCMS. + LCMS2 is not thread safe, and cannot be made thread safe + without breaking the ABI. Our fork will be thread safe, + and include performance enhancements (these changes have all + be been offered and rejected upstream). We will maintain + compatibility between Ghostscript and LCMS2 for a time, + but not in perpetuity. Our fork will be available as its own + package separately from Ghostscript (and MuPDF). + * We have continued the focus on code hygiene in this release + cleaning up security issues, ignored return values, + and compiler warnings. + * The usual round of bug fixes, compatibility changes, + and incremental improvements. + Incompatible changes + * The planned device API tidy has, unfortunately, been + indefinitely postponed, until appropriate resources + are available. + For a release summary see: + http://www.ghostscript.com/doc/9.23/News.htm + For details see the News.htm and History9.htm files. + See also the entries below since "Version upgrade to 9.22" + (boo#1082896 and boo#1074266). + ------------------------------------------------------------------- Fri Mar 16 12:39:36 CET 2018 - jsmeix@suse.de diff --git a/ghostscript.spec b/ghostscript.spec index c6a08e7..1fe1100 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -57,35 +57,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.22pre23rc1 -Release: 0 +#Version: 9.22pre23rc1 # Normal version for Ghostscript releases is the upstream version: -#Version: 9.22 +Version: 9.23 +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.23rc1 +%define tarball_version %{version} +#define tarball_version 9.23rc1 # 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.23 +%define built_version %{version} +#define built_version 9.23 # Source0...Source9 is for sources from upstream: # Special URLs for Ghostscript release candidates: # see https://github.com/ArtifexSoftware/ghostpdl-downloads/releases # URL for Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs923rc1/ghostscript-9.23rc1.tar.gz # How to download it: # wget -O ghostscript-9.23rc1.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs923rc1/ghostscript-9.23rc1.tar.gz -Source0: ghostscript-%{tarball_version}.tar.gz +#Source0: ghostscript-%{tarball_version}.tar.gz # Normal URLs for Ghostscript releases: -# 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.22.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922/ghostscript-9.22.tar.gz +# URL for Source0: +# wget -O ghostscript-9.23.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs923/ghostscript-9.23.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 +# wget -O gs923.MD5SUMS https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs923/MD5SUMS +# MD5 checksum for Source0: 5a47ab47cd22dec1eb5f51c06f1c9d9c +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: