From e5567acf70f8294a9e4b434e43a6a7cc0915db176240bc9486bb6f8373f334d5 Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Tue, 26 Mar 2024 09:10:52 +0000 Subject: [PATCH] Accepting request 1161673 from home:jsmeix:branches:Printing Ghostscript version upgrade to 10.03.0 fixes also boo#1221687 OBS-URL: https://build.opensuse.org/request/show/1161673 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=177 --- ghostscript-10.02.1.tar.xz | 3 --- ghostscript-10.03.0.tar.xz | 3 +++ ghostscript.changes | 51 ++++++++++++++++++++++++++++++++++++++ ghostscript.spec | 8 +++--- 4 files changed, 58 insertions(+), 7 deletions(-) delete mode 100644 ghostscript-10.02.1.tar.xz create mode 100644 ghostscript-10.03.0.tar.xz diff --git a/ghostscript-10.02.1.tar.xz b/ghostscript-10.02.1.tar.xz deleted file mode 100644 index a982204..0000000 --- a/ghostscript-10.02.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8c58c948b0721becefcd0029c8db95f9bb3268affc25ea01d4c5a6b07fa1ab08 -size 68017088 diff --git a/ghostscript-10.03.0.tar.xz b/ghostscript-10.03.0.tar.xz new file mode 100644 index 0000000..e98c882 --- /dev/null +++ b/ghostscript-10.03.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f25ff491a726d883f0b0f9c8af9b895c674cf77cddd814aa3824b3223f439ee5 +size 68041176 diff --git a/ghostscript.changes b/ghostscript.changes index 4370ccf..401bd21 100644 --- a/ghostscript.changes +++ b/ghostscript.changes @@ -1,3 +1,54 @@ +------------------------------------------------------------------- +Tue Mar 26 08:21:08 UTC 2024 - Johannes Meixner + +- Version upgrade to 10.03.0: + For openSUSE and SUSE Ghostscript is built '--without-tesseract' + (see the entry below dated 'Mon Jul 18 07:28:54 UTC 2022'). + Highlights in this release include: + See 'Recent Changes in Ghostscript' at Ghostscript upstream + https://ghostscript.readthedocs.io/en/gs10.03.0/News.html + * As of this release (10.03.0) pdfwrite creates PDF files + with XRef streams and ObjStm streams. This can result in + considerably smaller PDF output files. See Vector Devices + https://ghostscript.readthedocs.io/en/latest/VectorDevices.html + for more details. + * Ghostscript/pdfwrite now supports passing through + PDF "Optional Content". + * Our efforts in code hygiene and maintainability continue. + * The usual round of bug fixes, compatibility changes, + and incremental improvements. + Incompatible changes (the release is listed in parentheses): + * (10.03.0) Almost all the "internal" PostScript procedures + defined during the interpreter startup are now "executeonly", + further reducing the attack surface of the interpreter. + The nature of these procedures means there should be no impact + for legitimate usage, but it is possible it will impact uses + which abuse the previous accessibility (even for legitimate + reasons). Such cases may now require "DELAYBIND", See DELAYBIND + https://ghostscript.readthedocs.io/en/latest/Use.html#ddelaybind + * (10.03.0) The "makeimagedevice" non-standard operator has been + removed. It allowed low level access to the graphics library + in a way that was, essentially impossible to secure. + * (10.03.0) The "putdeviceprops", "getdeviceprops", + "finddevice", "copydevice", "findprotodevice" non-standard + operators have all been removed. They provided functionality + that is either accessible through standard operators, + or should not be used by user PostScript. + * (10.03.0) The process of "tidying" the PostScript namespace + should have removed only non-standard and undocumented + operators. Nevertheless, it is possible that any integrations + or utilities that rely on those non-standard and undocumented + operators may stop working or may change behaviour. + If you encounter such a case, please contact us + (Discord https://discord.gg/H9GXKwyPvY + #ghostscript IRC channel https://web.libera.chat/#ghostscript + or the gs-devel mailing list + https://www.ghostscript.com/mailman/index.html would be best), + but remember that free versions of Ghostscript + come with with NO WARRANTY and NO SUPPORT. +- Ghostscript 10.03.0 contains the fix to build with GCC 14 + (boo#1221687) + ------------------------------------------------------------------- Tue Feb 27 10:59:43 UTC 2024 - Dominique Leuenberger diff --git a/ghostscript.spec b/ghostscript.spec index 3463fac..424b5bc 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -1,5 +1,5 @@ # -# spec file for package ghostscript +# spec file # # Copyright (c) 2024 SUSE LLC # @@ -24,13 +24,13 @@ %bcond_without apparmor %endif Name: ghostscript%{psuffix} -Version: 10.02.1 +Version: 10.03.0 Release: 0 Summary: The Ghostscript interpreter for PostScript and PDF License: AGPL-3.0-only Group: Productivity/Office/Other URL: https://www.ghostscript.com/ -Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10021/ghostscript-%{version}.tar.xz +Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10030/ghostscript-10.03.0.tar.xz Source10: apparmor_ghostscript # Patch0...Patch9 is for patches from upstream: # Source10...Source99 is for sources from SUSE which are intended for upstream: @@ -51,7 +51,7 @@ BuildRequires: pkgconfig BuildRequires: update-alternatives BuildRequires: zlib-devel Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives # Provide the additional RPM Provides of the ghostscript-library package # (ghostscript_x11 is provided by the ghostscript-x11 sub-package, see below). # The "Provides: ghostscript_any" is there to support "BuildRequires: ghostscript_any"