Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
f8330ece25 | |||
3cb1ae323e | |||
6c77056311 | |||
485fab8227 |
BIN
ghostscript-10.05.0.tar.gz
(Stored with Git LFS)
BIN
ghostscript-10.05.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
ghostscript-10.05.1.tar.gz
Normal file
3
ghostscript-10.05.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:121861b6d29b2461dec6575c9f3cab665b810bd408d4ec02c86719fa708b0a49
|
||||||
|
size 89707690
|
@@ -1,3 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 4 07:14:46 UTC 2025 - Johannes Meixner <jsmeix@suse.com>
|
||||||
|
|
||||||
|
- Version upgrade to 10.05.1
|
||||||
|
See 'Recent Changes in Ghostscript' at Ghostscript upstream
|
||||||
|
https://ghostscript.readthedocs.io/en/gs10.05.1/News.html
|
||||||
|
* This release addresses CVEs:
|
||||||
|
+ CVE-2025-46646
|
||||||
|
+ CVE-2025-48708 (bsc#1243701)
|
||||||
|
* The 10.05.1 patch release addresses:
|
||||||
|
+ An overflow issue in Freetype on platforms
|
||||||
|
where long is a 4 byte (rather than 8 byte) type
|
||||||
|
(Microsoft Windows, for example) causing corrupted
|
||||||
|
glyph rendering at higher resolutions
|
||||||
|
+ An issue with embedded files, affecting Zugferd
|
||||||
|
format PDF creation.
|
||||||
|
+ Broken logic in PDF Optional Content processing
|
||||||
|
+ Potential slow down due to searching for identifiable
|
||||||
|
font files
|
||||||
|
+ A small number of extreme edge case segmentation faults.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 10 19:39:55 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
|
||||||
|
|
||||||
|
- add -std=gnu11 to CFLAGS to fix gcc15 compile time error, and to
|
||||||
|
still allow build on Leap 15.6
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 1 09:56:06 UTC 2025 - Johannes Meixner <jsmeix@suse.com>
|
Tue Apr 1 09:56:06 UTC 2025 - Johannes Meixner <jsmeix@suse.com>
|
||||||
|
|
||||||
|
@@ -24,25 +24,25 @@
|
|||||||
%bcond_without apparmor
|
%bcond_without apparmor
|
||||||
%endif
|
%endif
|
||||||
Name: ghostscript%{psuffix}
|
Name: ghostscript%{psuffix}
|
||||||
Version: 10.05.0
|
Version: 10.05.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The Ghostscript interpreter for PostScript and PDF
|
Summary: The Ghostscript interpreter for PostScript and PDF
|
||||||
License: AGPL-3.0-only
|
License: AGPL-3.0-only
|
||||||
Group: Productivity/Office/Other
|
Group: Productivity/Office/Other
|
||||||
URL: https://www.ghostscript.com/
|
URL: https://www.ghostscript.com/
|
||||||
# Use "osc service manualrun" to fetch Source0:
|
# Use "osc service manualrun" to fetch Source0:
|
||||||
Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10050/ghostscript-%{version}.tar.gz
|
Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10051/ghostscript-%{version}.tar.gz
|
||||||
# How to manually (i.e. without "osc service") find the Source0 URL at Ghostscript upstream
|
# How to manually (i.e. without "osc service") find the Source0 URL at Ghostscript upstream
|
||||||
# (example for the Ghostscript 10.05.1 release):
|
# (example for the Ghostscript 10.05.1 release):
|
||||||
# Go to https://www.ghostscript.com
|
# Go to https://www.ghostscript.com
|
||||||
# -> [Download] or "Releases" https://ghostscript.com/releases/index.html
|
# -> [Download] or "Releases" https://ghostscript.com/releases/index.html
|
||||||
# -> "Ghostscript" https://ghostscript.com/releases/gsdnld.htm
|
# -> "Ghostscript" https://ghostscript.com/releases/gsdnld.htm
|
||||||
# -> "Ghostscript 10.05.0 Source for all platforms / Ghostscript AGPL Release"
|
# -> "Ghostscript 10.05.1 Source for all platforms / Ghostscript AGPL Release"
|
||||||
# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10050/ghostscript-10.05.0.tar.gz
|
# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10051/ghostscript-10.05.1.tar.gz
|
||||||
# and "MD5 Checksums"
|
# and "MD5 Checksums"
|
||||||
# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10050/MD5SUMS
|
# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10051/MD5SUMS
|
||||||
# and on https://ghostscript.com/releases/index.html
|
# and on https://ghostscript.com/releases/index.html
|
||||||
# -> "release notes" https://ghostscript.readthedocs.io/en/gs10.05.0/News.html
|
# -> "release notes" https://ghostscript.readthedocs.io/en/gs10.05.1/News.html
|
||||||
Source10: apparmor_ghostscript
|
Source10: apparmor_ghostscript
|
||||||
# Patch0...Patch9 is for patches from upstream:
|
# Patch0...Patch9 is for patches from upstream:
|
||||||
# Source10...Source99 is for sources from SUSE which are intended for upstream:
|
# Source10...Source99 is for sources from SUSE which are intended for upstream:
|
||||||
@@ -183,7 +183,7 @@ rm -rf openjpeg
|
|||||||
# Derive build timestamp from latest changelog entry
|
# Derive build timestamp from latest changelog entry
|
||||||
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%{s})
|
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%{s})
|
||||||
# Set our preferred architecture-specific flags for the compiler and linker:
|
# Set our preferred architecture-specific flags for the compiler and linker:
|
||||||
export CFLAGS="%{optflags} -fno-strict-aliasing -fPIC"
|
export CFLAGS="%{optflags} -fno-strict-aliasing -fPIC -std=gnu11"
|
||||||
export CXXFLAGS="%{optflags} -fno-strict-aliasing -fPIC"
|
export CXXFLAGS="%{optflags} -fno-strict-aliasing -fPIC"
|
||||||
export LDFLAGS="-pie"
|
export LDFLAGS="-pie"
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
@@ -271,6 +271,25 @@ popd
|
|||||||
rm %{buildroot}%{_bindir}/ijs_client_example
|
rm %{buildroot}%{_bindir}/ijs_client_example
|
||||||
rm %{buildroot}%{_bindir}/ijs_server_example
|
rm %{buildroot}%{_bindir}/ijs_server_example
|
||||||
rm %{buildroot}%{_libdir}/libijs.la
|
rm %{buildroot}%{_libdir}/libijs.la
|
||||||
|
# Remove pdf2dsc which was removed in Ghostscript 10.05.0
|
||||||
|
# because in Ghostscript 10.x pdf2dsc can no longer work as intended
|
||||||
|
# see https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=2c315570de78df902f8f15312728d9e1b00cac44
|
||||||
|
# but in Ghostscript 10.05.1 pdf2dsc was put back
|
||||||
|
# see https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=528d324a7968ad89401ebb60dfdb22f9fdfeeb6b
|
||||||
|
# and https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=0e23e5009c7e2a65a2f707146f2dffe8a362ab86
|
||||||
|
# regardless that pdf2dsc can still no longer work as intended
|
||||||
|
# according to the git commit 528d324a7968ad89401ebb60dfdb22f9fdfeeb6b message
|
||||||
|
# which reads (excerpts)
|
||||||
|
# > After feedback from users (AUCTeX and gv) put back the pdf2dsc utility
|
||||||
|
# > but note in the comments that this is now unsupported code (in truth
|
||||||
|
# > I think it always was, but this makes it explicit).
|
||||||
|
# > Because the PostScript program uses undocumented parts of the old
|
||||||
|
# > 'written in PostScript' PDF interpreter portions of it probably don't
|
||||||
|
# > work and it may fail altogether at some point.
|
||||||
|
# Because openSUSE cannot support software which is not supported by upstream
|
||||||
|
# the unsupported pdf2dsc is kept removed from Ghostscript:
|
||||||
|
rm %{buildroot}%{_datadir}/ghostscript/%{version}/lib/pdf2dsc.ps
|
||||||
|
rm %{buildroot}%{_bindir}/pdf2dsc
|
||||||
# Install examples:
|
# Install examples:
|
||||||
EXAMPLESDIR=%{buildroot}%{_datadir}/ghostscript/%{version}/examples
|
EXAMPLESDIR=%{buildroot}%{_datadir}/ghostscript/%{version}/examples
|
||||||
test -d $EXAMPLESDIR || install -d $EXAMPLESDIR
|
test -d $EXAMPLESDIR || install -d $EXAMPLESDIR
|
||||||
|
Reference in New Issue
Block a user