public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Wang Mingyu < wangmy@fujitsu.com>
To: openembedded-core@lists.openembedded.org
Cc: Wang Mingyu <wangmy@fujitsu.com>
Subject: [OE-core] [PATCH 09/49] ghostscript: upgrade 10.06.0 -> 10.07.0
Date: Tue, 21 Apr 2026 17:55:19 +0800	[thread overview]
Message-ID: <20260421095559.1856-9-wangmy@fujitsu.com> (raw)
In-Reply-To: <20260421095559.1856-1-wangmy@fujitsu.com>

From: Wang Mingyu <wangmy@fujitsu.com>

0001-Fix-32-bit-build.patch
removed since it's included in 10.07.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 .../ghostscript/0001-Fix-32-bit-build.patch   | 63 -------------------
 ...ript_10.06.0.bb => ghostscript_10.07.0.bb} |  3 +-
 2 files changed, 1 insertion(+), 65 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 <Ken.Sharp@artifex.com>
-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 <vanusuri@mvista.com>
----
- 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_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"
-- 
2.43.0



  parent reply	other threads:[~2026-04-21  9:56 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-21  9:55 [OE-core] [PATCH 01/49] acpica: upgrade 20251212 -> 20260408 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 02/49] adwaita-icon-theme: upgrade 49.0 -> 50.0 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 03/49] ccache: upgrade 4.13.2 -> 4.13.3 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 04/49] dhcpcd: upgrade 10.3.0 -> 10.3.1 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 05/49] diffoscope: upgrade 314 -> 317 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 06/49] dos2unix: upgrade 7.5.4 -> 7.5.5 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 07/49] epiphany: upgrade 49.7 -> 50.3 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 08/49] fastfloat: upgrade 8.2.4 -> 8.2.5 Wang Mingyu
2026-04-21  9:55 ` Wang Mingyu [this message]
2026-04-21  9:55 ` [OE-core] [PATCH 10/49] groff: upgrade 1.24.0 -> 1.24.1 Wang Mingyu
2026-04-24 13:04   ` Jonas Gorski
2026-04-21  9:55 ` [OE-core] [PATCH 11/49] gsettings-desktop-schemas: upgrade 50.0 -> 50.1 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 12/49] gtk+3: upgrade 3.24.51 -> 3.24.52 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 13/49] gtk4: upgrade 4.22.1 -> 4.22.2 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 14/49] hwdata: upgrade 0.405 -> 0.406 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 15/49] libadwaita: upgrade 1.8.4 -> 1.9.0 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 16/49] libcap: upgrade 2.77 -> 2.78 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 17/49] libmicrohttpd: upgrade 1.0.2 -> 1.0.5 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 18/49] lzip: upgrade 1.25 -> 1.26 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 19/49] mesa: upgrade 26.0.3 -> 26.0.5 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 20/49] meson: upgrade 1.10.2 -> 1.11.0 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 21/49] pango: upgrade 1.57.0 -> 1.57.1 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 22/49] pciutils: upgrade 3.14.0 -> 3.15.0 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 23/49] python3-build: upgrade 1.4.0 -> 1.4.3 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 24/49] python3-chardet: upgrade 6.0.0.post1 -> 7.4.3 Wang Mingyu
2026-04-22 10:20   ` Alexander Kanavin
     [not found]   ` <18A8A69CD5F34DFB.1892986@lists.openembedded.org>
2026-04-22 10:49     ` Alexander Kanavin
2026-04-21  9:55 ` [OE-core] [PATCH 25/49] python3-dtschema: upgrade 2025.12 -> 2026.4 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 26/49] python3-editables: upgrade 0.5 -> 0.6 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 27/49] python3-lxml: upgrade 6.0.2 -> 6.0.4 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 28/49] python3-maturin: upgrade 1.12.4 -> 1.13.1 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 29/49] python3-pdm-backend: upgrade 2.4.7 -> 2.4.8 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 30/49] python3-pdm: upgrade 2.26.6 -> 2.26.7 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 31/49] python3-poetry-core: upgrade 2.3.1 -> 2.3.2 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 32/49] python3-pyasn1: upgrade 0.6.2 -> 0.6.3 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 33/49] python3-pygments: upgrade 2.19.2 -> 2.20.0 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 34/49] python3-pygobject: upgrade 3.56.1 -> 3.56.2 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 35/49] python3-pytest: upgrade 9.0.2 -> 9.0.3 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 36/49] python3-setuptools-rust: upgrade 1.12.0 -> 1.12.1 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 37/49] python3-shacl2code: upgrade 0.0.24 -> 1.0.1 Wang Mingyu
2026-04-22  6:05   ` Mathieu Dubois-Briand
2026-04-22 13:25     ` Richard Purdie
2026-04-21  9:55 ` [OE-core] [PATCH 38/49] python3-testtools: upgrade 2.8.7 -> 2.9.0 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 39/49] python3-uv-build: upgrade 0.10.10 -> 0.11.7 Wang Mingyu
2026-04-22  6:10   ` Mathieu Dubois-Briand
2026-04-21  9:55 ` [OE-core] [PATCH 40/49] python3-zipp: upgrade 3.23.0 -> 3.23.1 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 41/49] re2c: upgrade 4.4 -> 4.5.1 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 42/49] repo: upgrade 2.61.1 -> 2.62 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 43/49] resolvconf: upgrade 1.94 -> 1.95 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 44/49] sqlite3: upgrade 3.51.3 -> 3.53.0 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 45/49] stress-ng: upgrade 0.20.01 -> 0.21.00 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 46/49] u-boot: upgrade 2026.01 -> 2026.04 Wang Mingyu
2026-04-22  6:02   ` Mathieu Dubois-Briand
2026-04-21  9:55 ` [OE-core] [PATCH 47/49] vala: upgrade 0.56.18 -> 0.56.19 Wang Mingyu
2026-04-21  9:55 ` [OE-core] [PATCH 48/49] wayland-protocols: upgrade 1.47 -> 1.48 Wang Mingyu
2026-04-21  9:55 ` [PATCH 49/49] xserver-xorg: upgrade 21.1.21 -> 21.1.22 Wang Mingyu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260421095559.1856-9-wangmy@fujitsu.com \
    --to=wangmy@fujitsu.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox