From e88f5efcbe911e25c744900fc1e06f3c81992cba7062fe72ece40727278e620f Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Fri, 21 May 2021 12:57:31 +0000 Subject: [PATCH] Accepting request 894807 from home:jsmeix:branches:Printing Ghostscript version upgrade to 9.54.0 OBS-URL: https://build.opensuse.org/request/show/894807 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=145 --- ...9a0bc36b9db7115fbe9623f989bfb47bbade.patch | 50 ------------------- ghostscript-9.53.3.tar.gz | 3 -- ghostscript-9.54.0.tar.gz | 3 ++ ghostscript-mini.changes | 40 ++++++++++++++- ghostscript-mini.spec | 16 ++---- ghostscript.changes | 38 ++++++++++++++ ghostscript.spec | 16 ++---- 7 files changed, 88 insertions(+), 78 deletions(-) delete mode 100644 41ef9a0bc36b9db7115fbe9623f989bfb47bbade.patch delete mode 100644 ghostscript-9.53.3.tar.gz create mode 100644 ghostscript-9.54.0.tar.gz diff --git a/41ef9a0bc36b9db7115fbe9623f989bfb47bbade.patch b/41ef9a0bc36b9db7115fbe9623f989bfb47bbade.patch deleted file mode 100644 index 16ad165..0000000 --- a/41ef9a0bc36b9db7115fbe9623f989bfb47bbade.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 41ef9a0bc36b9db7115fbe9623f989bfb47bbade Mon Sep 17 00:00:00 2001 -From: Chris Liddell -Date: Tue, 20 Oct 2020 09:49:45 +0100 -Subject: [PATCH] Bug 702985: drop use of FT_CALLBACK_DEF() def - -From 2.10.3, Freetype disappeared the FT_CALLBACK_DEF() macro, which is what -we used when defining our callbacks from Freetype. - -No guidance forthcoming from the Freetype developer who made those changes, -so change to explicitly declaring the callbacks file static. - -Should fix the reported build failures. ---- - base/fapi_ft.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/base/fapi_ft.c b/base/fapi_ft.c -index 65fa6dcf4..21aef2f06 100644 ---- a/base/fapi_ft.c -+++ b/base/fapi_ft.c -@@ -125,7 +125,7 @@ static void - delete_inc_int_info(gs_fapi_server * a_server, - FT_IncrementalRec * a_inc_int_info); - --FT_CALLBACK_DEF(void *) -+static void * - FF_alloc(FT_Memory memory, long size) - { - gs_memory_t *mem = (gs_memory_t *) memory->user; -@@ -133,7 +133,7 @@ FF_alloc(FT_Memory memory, long size) - return (gs_malloc(mem, size, 1, "FF_alloc")); - } - --FT_CALLBACK_DEF(void *) -+static void * - FF_realloc(FT_Memory memory, long cur_size, long new_size, void *block) - { - gs_memory_t *mem = (gs_memory_t *) memory->user; -@@ -153,7 +153,7 @@ FT_CALLBACK_DEF(void *) - return (tmp); - } - --FT_CALLBACK_DEF(void) -+static void - FF_free(FT_Memory memory, void *block) - { - gs_memory_t *mem = (gs_memory_t *) memory->user; --- -2.17.1 - diff --git a/ghostscript-9.53.3.tar.gz b/ghostscript-9.53.3.tar.gz deleted file mode 100644 index 42e228f..0000000 --- a/ghostscript-9.53.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6eaf422f26a81854a230b80fd18aaef7e8d94d661485bd2e97e695b9dce7bf7f -size 52426790 diff --git a/ghostscript-9.54.0.tar.gz b/ghostscript-9.54.0.tar.gz new file mode 100644 index 0000000..5dbeac1 --- /dev/null +++ b/ghostscript-9.54.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0646bb97f6f4d10a763f4919c54fa28b4fbdd3dff8e7de3410431c81762cade0 +size 69936541 diff --git a/ghostscript-mini.changes b/ghostscript-mini.changes index c4b6b7e..a137bd8 100644 --- a/ghostscript-mini.changes +++ b/ghostscript-mini.changes @@ -1,5 +1,43 @@ ------------------------------------------------------------------- -Wed Apr 14 11:57:25 UTC 2021 - Wolfgang Frisch +Fri May 21 13:40:56 CEST 2021 - jsmeix@suse.de + +- Version upgrade to 9.54.0 + Highlights in this release include + (excerpts from the Ghostscript upstream release summary + in https://www.ghostscript.com/doc/9.54.0/News.htm): + * The 9.54.0 release is a maintenance release, + and also adds new functionality. + * Overprint simulation is now available to all output devices, + allowing quality previewing/proofing of PostScript and + PDF jobs that rely on overprint. See the -dOverprint option + documentation in: doc/9.54.0/Use.htm#Overprint + * The "docxwrite" device adds the ability to output + to Microsoft Word "docx" format. + See: doc/9.54.0/VectorDevices.htm#DOCX + * The pdfwrite device is now capable of using the Tesseract OCR + engine when it is built into Ghostscript to improve + searchability and copy and paste functionality when the input + lacks the metadata for that purpose. + See: doc/9.54.0/VectorDevices.htm#UseOCR + * Ghostscript/GhostPDL now includes a "map text to black" + function, where text drawn by an input job (except when drawn + using a Type 3 font) can be forced to draw in solid black. + See: doc/9.54.0/Use.htm#BlackText + * Ghostscript/GhostPDL now supports simple N-up imposition + "internally". See: doc/9.54.0/Use.htm#NupControl + * Our efforts in code hygiene and maintainability continue. + * The usual round of bug fixes, compatibility changes, + and incremental improvements. + * For a list of open issues, or to report problems, please visit + bugs.ghostscript.com + For a release summary see: + https://www.ghostscript.com/doc/9.54.0/News.htm + For details see the News.htm and History9.htm files. +- 41ef9a0bc36b9db7115fbe9623f989bfb47bbade.patch is no longer + needed because it is fixed in the upstream sources. + +------------------------------------------------------------------- +Wed Apr 14 11:56:22 UTC 2021 - Wolfgang Frisch - Hardening: compile with PIC, link as PIE diff --git a/ghostscript-mini.spec b/ghostscript-mini.spec index 7928ebd..e1acebe 100644 --- a/ghostscript-mini.spec +++ b/ghostscript-mini.spec @@ -42,7 +42,7 @@ URL: https://www.ghostscript.com/ # so that we keep additionally the previous version number to upgrade from the previous version: # Starting SLE12/rpm-4.10, one can use tildeversions: 9.15~rc1. #Version: 9.25pre26rc1 -Version: 9.53.3 +Version: 9.54.0 Release: 0 # Normal version for Ghostscript releases is the upstream version: # tarball_version is used below to specify the directory via "setup -n": @@ -66,17 +66,13 @@ Release: 0 #Source0: ghostscript-%{tarball_version}.tar.gz # Normal URLs for Ghostscript releases: # URL for Source0: -# wget -O ghostscript-9.53.3.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9533/ghostscript-9.53.3.tar.gz +# wget -O ghostscript-9.54.0.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9540/ghostscript-9.54.0.tar.gz # URL for MD5 checksums: -# wget -O gs9533.MD5SUMS https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9533/MD5SUMS -# MD5 checksum for Source0: 807a5c4934a814e8a6cd83eff702f212 ghostscript-9.53.3.tar.gz +# wget -O gs9540.MD5SUMS https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9540/MD5SUMS +# MD5 checksum for Source0: 5d571792a8eb826c9f618fb69918d9fc ghostscript-9.54.0.tar.gz Source0: ghostscript-%{version}.tar.gz Source1: apparmor_ghostscript # Patch0...Patch9 is for patches from upstream: -# Patch2 41ef9a0bc36b9db7115fbe9623f989bfb47bbade.patch fixes compilation with FreeType 2.10.3+ -# http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=41ef9a0bc36b9db7115fbe9623f989bfb47bbade -# c.f. https://bugs.ghostscript.com/show_bug.cgi?id=702985 -Patch2: 41ef9a0bc36b9db7115fbe9623f989bfb47bbade.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: # Source100...Source999 is for sources from SUSE which are not intended for upstream: @@ -155,10 +151,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} -# Patch2 41ef9a0bc36b9db7115fbe9623f989bfb47bbade.patch fixes compilation with FreeType 2.10.3+ -# http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=41ef9a0bc36b9db7115fbe9623f989bfb47bbade -# c.f. https://bugs.ghostscript.com/show_bug.cgi?id=702985 -%patch2 -p1 # Patch100 remove-zlib-h-dependency.patch removes dependency on zlib/zlib.h # in makefiles as we do not use the zlib sources from the Ghostscript upstream tarball. # Again use the zlib sources from Ghostscript upstream diff --git a/ghostscript.changes b/ghostscript.changes index 97ba642..428e285 100644 --- a/ghostscript.changes +++ b/ghostscript.changes @@ -1,3 +1,41 @@ +------------------------------------------------------------------- +Fri May 21 13:40:56 CEST 2021 - jsmeix@suse.de + +- Version upgrade to 9.54.0 + Highlights in this release include + (excerpts from the Ghostscript upstream release summary + in https://www.ghostscript.com/doc/9.54.0/News.htm): + * The 9.54.0 release is a maintenance release, + and also adds new functionality. + * Overprint simulation is now available to all output devices, + allowing quality previewing/proofing of PostScript and + PDF jobs that rely on overprint. See the -dOverprint option + documentation in: doc/9.54.0/Use.htm#Overprint + * The "docxwrite" device adds the ability to output + to Microsoft Word "docx" format. + See: doc/9.54.0/VectorDevices.htm#DOCX + * The pdfwrite device is now capable of using the Tesseract OCR + engine when it is built into Ghostscript to improve + searchability and copy and paste functionality when the input + lacks the metadata for that purpose. + See: doc/9.54.0/VectorDevices.htm#UseOCR + * Ghostscript/GhostPDL now includes a "map text to black" + function, where text drawn by an input job (except when drawn + using a Type 3 font) can be forced to draw in solid black. + See: doc/9.54.0/Use.htm#BlackText + * Ghostscript/GhostPDL now supports simple N-up imposition + "internally". See: doc/9.54.0/Use.htm#NupControl + * Our efforts in code hygiene and maintainability continue. + * The usual round of bug fixes, compatibility changes, + and incremental improvements. + * For a list of open issues, or to report problems, please visit + bugs.ghostscript.com + For a release summary see: + https://www.ghostscript.com/doc/9.54.0/News.htm + For details see the News.htm and History9.htm files. +- 41ef9a0bc36b9db7115fbe9623f989bfb47bbade.patch is no longer + needed because it is fixed in the upstream sources. + ------------------------------------------------------------------- Wed Apr 14 11:56:22 UTC 2021 - Wolfgang Frisch diff --git a/ghostscript.spec b/ghostscript.spec index 09ce87c..9e1baa2 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -71,7 +71,7 @@ URL: https://www.ghostscript.com/ # so that we keep additionally the previous version number to upgrade from the previous version: # Starting SLE12/rpm-4.10, one can use tildeversions: 9.15~rc1. #Version: 9.25pre26rc1 -Version: 9.53.3 +Version: 9.54.0 Release: 0 # Normal version for Ghostscript releases is the upstream version: # tarball_version is used below to specify the directory via "setup -n": @@ -95,17 +95,13 @@ Release: 0 #Source0: ghostscript-%{tarball_version}.tar.gz # Normal URLs for Ghostscript releases: # URL for Source0: -# wget -O ghostscript-9.53.3.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9533/ghostscript-9.53.3.tar.gz +# wget -O ghostscript-9.54.0.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9540/ghostscript-9.54.0.tar.gz # URL for MD5 checksums: -# wget -O gs9533.MD5SUMS https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9533/MD5SUMS -# MD5 checksum for Source0: 807a5c4934a814e8a6cd83eff702f212 ghostscript-9.53.3.tar.gz +# wget -O gs9540.MD5SUMS https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9540/MD5SUMS +# MD5 checksum for Source0: 5d571792a8eb826c9f618fb69918d9fc ghostscript-9.54.0.tar.gz Source0: ghostscript-%{version}.tar.gz Source1: apparmor_ghostscript # Patch0...Patch9 is for patches from upstream: -# Patch2 41ef9a0bc36b9db7115fbe9623f989bfb47bbade.patch fixes compilation with FreeType 2.10.3+ -# http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=41ef9a0bc36b9db7115fbe9623f989bfb47bbade -# c.f. https://bugs.ghostscript.com/show_bug.cgi?id=702985 -Patch2: 41ef9a0bc36b9db7115fbe9623f989bfb47bbade.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: # Source100...Source999 is for sources from SUSE which are not intended for upstream: @@ -296,10 +292,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} -# Patch2 41ef9a0bc36b9db7115fbe9623f989bfb47bbade.patch fixes compilation with FreeType 2.10.3+ -# http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=41ef9a0bc36b9db7115fbe9623f989bfb47bbade -# c.f. https://bugs.ghostscript.com/show_bug.cgi?id=702985 -%patch2 -p1 # Patch100 remove-zlib-h-dependency.patch removes dependency on zlib/zlib.h # in makefiles as we do not use the zlib sources from the Ghostscript upstream tarball. # Again use the zlib sources from Ghostscript upstream