forked from pool/ghostscript
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
This commit is contained in:
parent
15068e1197
commit
e88f5efcbe
@ -1,50 +0,0 @@
|
||||
From 41ef9a0bc36b9db7115fbe9623f989bfb47bbade Mon Sep 17 00:00:00 2001
|
||||
From: Chris Liddell <chris.liddell@artifex.com>
|
||||
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
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6eaf422f26a81854a230b80fd18aaef7e8d94d661485bd2e97e695b9dce7bf7f
|
||||
size 52426790
|
3
ghostscript-9.54.0.tar.gz
Normal file
3
ghostscript-9.54.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0646bb97f6f4d10a763f4919c54fa28b4fbdd3dff8e7de3410431c81762cade0
|
||||
size 69936541
|
@ -1,5 +1,43 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 14 11:57:25 UTC 2021 - Wolfgang Frisch <wolfgang.frisch@suse.com>
|
||||
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 <wolfgang.frisch@suse.com>
|
||||
|
||||
- Hardening: compile with PIC, link as PIE
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 <wolfgang.frisch@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user