[packages/ghostpdl] Up to 10.07.1

arekm arekm at pld-linux.org
Sat Aug 22 14:26:08 CEST 2026


commit cd3da777c885276b52bb2e78b91e5ccd076c8d8e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Aug 22 14:25:52 2026 +0200

    Up to 10.07.1

 ghostpdl-types.patch | 26 --------------------------
 ghostpdl.spec        | 33 +++++++++++++++------------------
 2 files changed, 15 insertions(+), 44 deletions(-)
---
diff --git a/ghostpdl.spec b/ghostpdl.spec
index 401250e..9e4d1e9 100644
--- a/ghostpdl.spec
+++ b/ghostpdl.spec
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_with	system_brotli		# system brotli (broken as of 10.06.0)
+%bcond_without	system_brotli		# system brotli
 %bcond_without	system_expat		# system expat
 %bcond_without	system_freetype		# system freetype
 %bcond_without	system_jbig2dec		# system jbig2dec
@@ -13,17 +13,16 @@
 Summary:	PostScript, PDF and XPS interpreter and renderer
 Summary(pl.UTF-8):	Interpreter i renderer PostScriptu, PDF oraz XPS
 Name:		ghostpdl
-Version:	10.06.0
-Release:	2
+Version:	10.07.1
+Release:	1
 License:	AGPL v3+
 Group:		Applications/Graphics
 #Source0Download: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases
-Source0:	https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10060/%{name}-%{version}.tar.xz
-# Source0-md5:	93be1cdd3d374953365ecf7f90afdb8f
+Source0:	https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10071/%{name}-%{version}.tar.xz
+# Source0-md5:	384420bc3c1c630bb37112d9b02ea890
 Patch0:		%{name}-fonts_locations.patch
 Patch1:		%{name}-make.patch
 Patch2:		%{name}-system-libs.patch
-Patch3:		%{name}-types.patch
 URL:		https://ghostscript.com/
 BuildRequires:	autoconf >= 2.63
 BuildRequires:	cups-devel >= 1.5
@@ -33,7 +32,7 @@ BuildRequires:	libidn-devel
 %{?with_system_freetype:BuildRequires:	freetype-devel >= 1:2.13.3}
 %{?with_system_jbig2dec:BuildRequires:	jbig2dec-devel >= 0.20}
 %{?with_system_lcms2:BuildRequires:	lcms2-devel >= 2.10}
-%{?with_system_brotli:BuildRequires:	libbrotli-devel >= 1.0.9}
+%{?with_system_brotli:BuildRequires:	libbrotli-devel >= 1.2.0}
 %{?with_system_libjpeg:BuildRequires:	libjpeg-devel >= 9f}
 BuildRequires:	libpaper-devel
 BuildRequires:	libpng-devel >= 2:1.6.50
@@ -64,11 +63,10 @@ Summary(pl.UTF-8):	Implementacja PCL-5 oraz PCL-XL
 Group:		Applications/Graphics
 URL:		http://ghostscript.com/GhostPCL.html
 Requires:	cups-lib >= 1.5
-%{?with_system_expat:Requires:	expat >= 1:2.6.4}
 %{?with_system_freetype:Requires:	freetype >= 1:2.13.3}
 Requires:	ghostscript = %{version}
 %{?with_system_jbig2dec:Requires:	jbig2dec >= 0.20}
-%{?with_system_brotli:Requires:	libbrotli >= 1.0.9}
+%{?with_system_brotli:Requires:	libbrotli >= 1.2.0}
 %{?with_system_libjpeg:Requires:	libjpeg >= 9f}
 Requires:	libpng >= 2:1.6.50
 %{?with_system_libtiff:Requires:	libtiff >= 4.7.0}
@@ -95,7 +93,7 @@ Requires:	cups-lib >= 1.5
 %{?with_system_freetype:Requires:	freetype >= 1:2.13.3}
 Requires:	ghostscript = %{version}
 %{?with_system_jbig2dec:Requires:	jbig2dec >= 0.20}
-%{?with_system_brotli:Requires:	libbrotli >= 1.0.9}
+%{?with_system_brotli:Requires:	libbrotli >= 1.2.0}
 %{?with_system_libjpeg:Requires:	libjpeg >= 9f}
 Requires:	libpng >= 2:1.6.50
 %{?with_system_libtiff:Requires:	libtiff >= 4.7.0}
@@ -115,31 +113,30 @@ oparciu o Ghostscript.
 %patch -P0 -p1
 %patch -P1 -p1
 %patch -P2 -p1
-%patch -P3 -p1
 
 %build
 # use system libs:
-# brotli 1.0.9
+# brotli 1.2.0
 %{?with_system_brotli:%{__rm} -r brotli}
 # expat 2.6.4
 %{?with_system_expat:%{__rm} -r expat}
-# freetype 2.13.3
+# freetype 2.14.2
 %{?with_system_freetype:%{__rm} -r freetype}
 # jbig2dec 0.20
 %{?with_system_jbig2dec:%{__rm} -r jbig2dec}
-# (unmodified) libpng 1.6.50 and zlib 1.2.13
+# (unmodified) libpng 1.6.55 and zlib 1.3.2
 %{__rm} -r libpng zlib
-# libjpeg 9f is built with different configuration (D_MAX_BLOCKS_IN_MCU=64)
+# libjpeg 10 is built with different configuration (D_MAX_BLOCKS_IN_MCU=64)
 %{?with_system_libjpeg:%{__rm} -r jpeg}
 # jpegxr 1.8
 #%{?with_system_jpegxr:%{__rm} -r jpegxr}
-# lcms2mt is thread safe version of lcms2 2.10
-%{?with_system_lcms:%{__rm} -r lcms2mt}
+# lcms2mt is thread safe version of lcms2 2.12
+%{?with_system_lcms2:%{__rm} -r lcms2mt}
 # openjpeg 2.5.3
 %{?with_system_openjp2:%{__rm} -r openjpeg}
 # tesseract 5.5.0, leptonica 1.85.0
 %{?with_system_tesseract:%{__rm} -r tesseract leptonica}
-# libtiff 4.7.0rc2
+# libtiff 4.7.0
 %{?with_system_libtiff:%{__rm} -r tiff}
 
 %{__autoconf}
diff --git a/ghostpdl-types.patch b/ghostpdl-types.patch
deleted file mode 100644
index a8ba413..0000000
--- a/ghostpdl-types.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- ghostscript-10.06.0/base/gdevmpla.c.orig	2025-09-09 11:36:39.000000000 +0200
-+++ ghostscript-10.06.0/base/gdevmpla.c	2025-09-29 19:32:03.738045387 +0200
-@@ -1954,12 +1954,12 @@ mem_planar_strip_copy_rop2(gx_device * d
-         int i;
-         int j;
-         intptr_t chunky_sraster;
--        intptr_t nbytes;
-+        int64_t nbytes;
-         byte **line_ptrs;
-         byte *sbuf, *buf;
- 
-         chunky_sraster = sraster * (intptr_t)mdev->num_planar_planes;
--        if (check_64bit_multiply(height, chunky_sraster, (size_t *)&nbytes) != 0)
-+        if (check_64bit_multiply(height, chunky_sraster, &nbytes) != 0)
-             return gs_note_error(gs_error_undefinedresult);
-         buf = gs_alloc_bytes(mdev->memory, nbytes, "mem_planar_strip_copy_rop(buf)");
-         if (buf == NULL) {
-@@ -2003,7 +2003,7 @@ mem_planar_strip_copy_rop2(gx_device * d
-         intptr_t i;
-         intptr_t chunky_t_raster;
-         int chunky_t_height;
--        intptr_t nbytes;
-+        int64_t nbytes;
-         byte **line_ptrs;
-         byte *tbuf, *buf;
-         gx_strip_bitmap newtex;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghostpdl.git/commitdiff/cd3da777c885276b52bb2e78b91e5ccd076c8d8e



More information about the pld-cvs-commit mailing list