From patchwork Wed Apr 15 14:04:45 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 86107 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88D96F428F5 for ; Wed, 15 Apr 2026 14:04:53 +0000 (UTC) Received: from a27-23.smtp-out.us-west-2.amazonses.com (a27-23.smtp-out.us-west-2.amazonses.com [54.240.27.23]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.19818.1776261877443292947 for ; Wed, 15 Apr 2026 07:04:45 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=j46ser6a2yusdzubpv7m7ewqgesde2ie header.b=U8QoXsHZ; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=bdCav9AD; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.23, mailfrom: 0101019d91756e11-333d13e2-677d-43d4-86a9-8e745c124dfd-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=j46ser6a2yusdzubpv7m7ewqgesde2ie; d=yoctoproject.org; t=1776261885; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=1tcIQeIkrO2MUoFVb1HZzp5QVi5vgXbE02cgOzeCkuA=; b=U8QoXsHZnNg2SpIoJoUIH3XED0ZjAJ5zKM2ZDfsznoOJya79rGlo8oUrELtDuNlt HpD4DEsp3d7Z2wXbHAj8DAqpbQGVGkk9qGqYJRhti/ssEPK3i7pEM5C31NSOHPdVfoU 58AQ0H9iPb3tr4ziaJs6Afqw6+YpeYOr1iX5rp9Y= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1776261885; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=1tcIQeIkrO2MUoFVb1HZzp5QVi5vgXbE02cgOzeCkuA=; b=bdCav9ADJq2x4d3LG6sIzeiGkqaw0Iu9Tttc6iHhtIVbcB5R68jD3siXp3pn57uI vUnr4fxzQx3ZmIj4DyN2uvFBI0tcMq2MX5EDITjfILt+YN8sfG3B6Nc3JYL/ofK8HEC BYG/MDr0hYBaiyJQPArVB/Pg334ZRXQIJhLCarvc= MIME-Version: 1.0 From: auh@yoctoproject.org To: Hongxu Jia Cc: openembedded-core@lists.openembedded.org Subject: [AUH] ghostscript: upgrading to 10.07.0 SUCCEEDED Message-ID: <0101019d91756e11-333d13e2-677d-43d4-86a9-8e745c124dfd-000000@us-west-2.amazonses.com> Date: Wed, 15 Apr 2026 14:04:45 +0000 Feedback-ID: ::1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2026.04.15-54.240.27.23 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 15 Apr 2026 14:04:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/235262 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *ghostscript* to *10.07.0* has Succeeded. Next steps: - apply the patch: git am 0001-ghostscript-upgrade-10.06.0-10.07.0.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From c39157782b90c7996b114478dc1dc39533385451 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Wed, 15 Apr 2026 09:51:34 +0000 Subject: [PATCH] ghostscript: upgrade 10.06.0 -> 10.07.0 --- .../ghostscript/0001-Fix-32-bit-build.patch | 63 ------------------- ...ace-static-const-double-with-macros-.patch | 4 +- .../avoid-host-contamination.patch | 4 +- .../ghostscript-9.16-Werror-return-type.patch | 2 +- .../ghostscript/ghostscript/out-of-tree.patch | 21 ++++--- ...ript_10.06.0.bb => ghostscript_10.07.0.bb} | 3 +- 6 files changed, 20 insertions(+), 77 deletions(-) delete mode 100644 meta/recipes-extended/ghostscript/ghostscript/0001-Fix-32-bit-build.patch rename meta/recipes-extended/ghostscript/{ghostscript_10.06.0.bb => ghostscript_10.07.0.bb} (95%) diff --git a/meta/recipes-extended/ghostscript/ghostscript/0001-Fix-32-bit-build.patch b/meta/recipes-extended/ghostscript/ghostscript/0001-Fix-32-bit-build.patch deleted file mode 100644 index 8d1e9d46e6..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/0001-Fix-32-bit-build.patch +++ /dev/null @@ -1,63 +0,0 @@ -From 3c0be6e4fcffa63e4a5a1b0aec057cebc4d2562f Mon Sep 17 00:00:00 2001 -From: Ken Sharp -Date: Wed, 10 Sep 2025 08:55:30 +0100 -Subject: [PATCH] Fix 32-bit build - -Bug #708824 "ghostscript 10.06.0 compilation failure on 32-bit archs" - -nbytes shiouldn't be an intptr_t, it doesn't get used for pointer -arithmetic. Previously it was a uint, should be a int64_t, to fit with -all the other devices. - -Checked other warnings, and found a (very minor) one in gdevdbit.c, fix -that while we're here (signed/unsigned mismatch, we don't really care). - -Upstream-Status: Backport [https://github.com/ArtifexSoftware/ghostpdl/commit/3c0be6e4fcffa63e4a5a1b0aec057cebc4d2562f] - -Signed-off-by: Vijay Anusuri ---- - base/gdevdbit.c | 2 +- - base/gdevmpla.c | 6 +++--- - 2 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/base/gdevdbit.c b/base/gdevdbit.c -index e07cc3f3b8..1b5c69325b 100644 ---- a/base/gdevdbit.c -+++ b/base/gdevdbit.c -@@ -191,7 +191,7 @@ gx_default_copy_alpha_hl_color(gx_device * dev, const byte * data, int data_x, - fit_copy(dev, data, data_x, raster, id, x, y, width, height); - row_alpha = data; - out_raster = bitmap_raster(width * (size_t)byte_depth); -- if (check_64bit_multiply(out_raster, ncomps, &product) != 0) -+ if (check_64bit_multiply(out_raster, ncomps, (int64_t *) &product) != 0) - return gs_note_error(gs_error_undefinedresult); - gb_buff = gs_alloc_bytes(mem, product, "copy_alpha_hl_color(gb_buff)"); - if (gb_buff == 0) { -diff --git a/base/gdevmpla.c b/base/gdevmpla.c -index 2f0d522561..ffc5ff42e6 100644 ---- a/base/gdevmpla.c -+++ b/base/gdevmpla.c -@@ -1954,12 +1954,12 @@ mem_planar_strip_copy_rop2(gx_device * dev, - 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 * dev, - 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; diff --git a/meta/recipes-extended/ghostscript/ghostscript/0001-psi-ztype.c-replace-static-const-double-with-macros-.patch b/meta/recipes-extended/ghostscript/ghostscript/0001-psi-ztype.c-replace-static-const-double-with-macros-.patch index 6f310abf2e..534ddf1fb3 100644 --- a/meta/recipes-extended/ghostscript/ghostscript/0001-psi-ztype.c-replace-static-const-double-with-macros-.patch +++ b/meta/recipes-extended/ghostscript/ghostscript/0001-psi-ztype.c-replace-static-const-double-with-macros-.patch @@ -1,4 +1,4 @@ -From 0298799777bd179c455e5ce8d6008b2d84732967 Mon Sep 17 00:00:00 2001 +From 002360316bafe474295be83034576478f65a6029 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 7 Apr 2026 22:40:26 -0700 Subject: [PATCH] psi/ztype.c: replace static const double with macros for @@ -28,6 +28,6 @@ index a01d83f..d454778 100644 + +#define min_int_real ((double)(ALT_MIN_INT) - 1.0) +#define max_int_real ((double)(ALT_MAX_INT) + 1.0) - + #define REAL_CAN_BE_INT(v)\ ((v) > min_int_real && (v) < max_int_real) diff --git a/meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch b/meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch index d191231c7b..0e09eaf4e2 100644 --- a/meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch +++ b/meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch @@ -1,4 +1,4 @@ -From 85905ce3b1bc63f0be9eda9888e40d8e7a803d21 Mon Sep 17 00:00:00 2001 +From 6d40b14e75d742fbccdcd507f0cd425c995fd6e5 Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Thu, 29 Mar 2018 16:02:05 +0800 Subject: [PATCH] avoid host contamination @@ -15,7 +15,7 @@ Signed-off-by: Hongxu Jia 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/devs.mak b/devices/devs.mak -index a5dbc7a..27b55f2 100644 +index 1e44e8d..f4d95da 100644 --- a/devices/devs.mak +++ b/devices/devs.mak @@ -403,7 +403,7 @@ $(DEVOBJ)gdevxalt.$(OBJ) : $(DEVSRC)gdevxalt.c $(GDEVX) $(math__h) $(memory__h)\ diff --git a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.16-Werror-return-type.patch b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.16-Werror-return-type.patch index 0598c3dcd2..48760a008d 100644 --- a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.16-Werror-return-type.patch +++ b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.16-Werror-return-type.patch @@ -1,4 +1,4 @@ -From c23b787f9a38be2cdc57133915c402b69acedd1a Mon Sep 17 00:00:00 2001 +From 960629e0b80998d393b133a17e0f96d7fdfa229a Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Mon, 4 May 2015 22:31:48 -0700 Subject: [PATCH] base/gendev.c: fix for -Werror=return-type diff --git a/meta/recipes-extended/ghostscript/ghostscript/out-of-tree.patch b/meta/recipes-extended/ghostscript/ghostscript/out-of-tree.patch index 202c9d6c7c..d5e19a6154 100644 --- a/meta/recipes-extended/ghostscript/ghostscript/out-of-tree.patch +++ b/meta/recipes-extended/ghostscript/ghostscript/out-of-tree.patch @@ -1,14 +1,21 @@ -Fix the build to do out-of-tree properly. +From 9345c565e87a2456e4d780dee5f4b76e0e4e4854 Mon Sep 17 00:00:00 2001 +From: Ross Burton +Date: Thu, 2 Apr 2026 14:41:42 +0100 +Subject: [PATCH] Fix the build to do out-of-tree properly. The patches are in progress but are being submitted upstream. Upstream-Status: Submitted [https://bugs.ghostscript.com/show_bug.cgi?id=709289] Signed-off-by: Ross Burton +--- + configure.ac | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) -diff -rU3 a/configure.ac b/configure.ac ---- a/configure.ac 2025-09-09 10:36:39.000000000 +0100 -+++ b/configure.ac 2026-03-31 15:35:08.988262612 +0100 -@@ -400,7 +400,7 @@ +diff --git a/configure.ac b/configure.ac +index d01807b..dd00e86 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -400,7 +400,7 @@ if test x"$with_arch_h" = x""; then *) ARCH_CONF_HEADER= if test x"$host" != x"$build"; then @@ -17,7 +24,7 @@ diff -rU3 a/configure.ac b/configure.ac else ARCH_CONF_HEADER= fi -@@ -869,8 +869,8 @@ +@@ -872,8 +872,8 @@ AC_SUBST(PTHREAD_LIBS) AC_SUBST(RECURSIVE_MUTEXATTR) dnl Tesseract/Leptonica detection @@ -28,7 +35,7 @@ diff -rU3 a/configure.ac b/configure.ac OCR_VERSION=0 OCR_SHARED=0 LEPTONICAINCLUDE= -@@ -886,7 +886,7 @@ +@@ -889,7 +889,7 @@ AC_ARG_WITH([tesseract], AS_HELP_STRING([--without-tesseract], if test x$with_tesseract != xno; then AC_MSG_CHECKING([for local Tesseract library source]) diff --git a/meta/recipes-extended/ghostscript/ghostscript_10.06.0.bb b/meta/recipes-extended/ghostscript/ghostscript_10.07.0.bb similarity index 95% rename from meta/recipes-extended/ghostscript/ghostscript_10.06.0.bb rename to meta/recipes-extended/ghostscript/ghostscript_10.07.0.bb index 1363aa281e..1b6cb4aaae 100644 --- a/meta/recipes-extended/ghostscript/ghostscript_10.06.0.bb +++ b/meta/recipes-extended/ghostscript/ghostscript_10.07.0.bb @@ -24,12 +24,11 @@ def gs_verdir(v): SRC_URI = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${@gs_verdir("${PV}")}/${BPN}-${PV}.tar.gz \ file://ghostscript-9.16-Werror-return-type.patch \ file://avoid-host-contamination.patch \ - file://0001-Fix-32-bit-build.patch \ file://out-of-tree.patch \ file://0001-psi-ztype.c-replace-static-const-double-with-macros-.patch \ " -SRC_URI[sha256sum] = "5bd6da34794928cc7e616f288e32bd0be7f9a5ca2d3c206a0af2c19a4e3a318f" +SRC_URI[sha256sum] = "ed6ea62022e3f4d5a6569b6efc9361b63a6d118bfcad8f0beb897c37885b5cad" PACKAGECONFIG ??= "" PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+3"