gegl: upgrade 0.4.64 -> 0.4.66

Add 0001-gegl-Add-gegl-arm.def-file.patch to fix compile fails on qemuarm.

  Problem found in gegl/gegl.def
    the following symbols are in the library,
    but are not listed in the .def-file:
       + gegl_downscale_2x2_arm_neon
       + gegl_downscale_2x2_get_fun_arm_neon
       + gegl_downscale_2x2_nearest_arm_neon
       + gegl_resample_bilinear_arm_neon
       + gegl_resample_boxfilter_arm_neon
       + gegl_resample_nearest_arm_neon

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Liu Yiding 2025-12-22 14:47:40 +08:00 committed by Khem Raj
parent 7a34d7963e
commit fe1c785d45
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 57 additions and 2 deletions

View File

@ -0,0 +1,53 @@
From 69c263ae5f3d4a2d251e00c7236efd035db2bb5a Mon Sep 17 00:00:00 2001
From: Bruno Lopes <brunvonlope@outlook.com>
Date: Sat, 13 Dec 2025 08:48:21 -0300
Subject: [PATCH] gegl: Add gegl-arm.def file
Fix def-file problem in arm environment.
Problem found in gegl/gegl.def
the following symbols are in the library,
but are not listed in the .def-file:
+ gegl_downscale_2x2_arm_neon
+ gegl_downscale_2x2_get_fun_arm_neon
+ gegl_downscale_2x2_nearest_arm_neon
+ gegl_resample_bilinear_arm_neon
+ gegl_resample_boxfilter_arm_neon
+ gegl_resample_nearest_arm_neon
Upstream-Status: Backport [https://github.com/GNOME/gegl/commit/69c263ae5f3d4a2d251e00c7236efd035db2bb5a]
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
---
gegl/gegl-arm.def | 6 ++++++
gegl/meson.build | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
create mode 100644 gegl/gegl-arm.def
diff --git a/gegl/gegl-arm.def b/gegl/gegl-arm.def
new file mode 100644
index 000000000..cb8277cf6
--- /dev/null
+++ b/gegl/gegl-arm.def
@@ -0,0 +1,6 @@
+ gegl_downscale_2x2_arm_neon
+ gegl_downscale_2x2_get_fun_arm_neon
+ gegl_downscale_2x2_nearest_arm_neon
+ gegl_resample_bilinear_arm_neon
+ gegl_resample_boxfilter_arm_neon
+ gegl_resample_nearest_arm_neon
diff --git a/gegl/meson.build b/gegl/meson.build
index 0548b069d..85e89bbd2 100644
--- a/gegl/meson.build
+++ b/gegl/meson.build
@@ -102,7 +102,7 @@ if host_cpu_family == 'x86_64'
simd_extra_def = ['gegl-x86_64.def']
elif host_cpu_family == 'arm'
simd_extra = [lib_gegl_arm_neon]
- simd_extra_def = []
+ simd_extra_def = ['gegl-arm.def']
else
simd_extra = []
simd_extra_def = []
--
2.43.0

View File

@ -27,8 +27,10 @@ ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
SHPV = "${@gnome_verdir("${PV}")}"
SRC_URI = "https://download.gimp.org/pub/${BPN}/${SHPV}/${BP}.tar.xz"
SRC_URI[sha256sum] = "0de1c9dd22c160d5e4bdfc388d292f03447cca6258541b9a12fed783d0cf7c60"
SRC_URI = "https://download.gimp.org/pub/${BPN}/${SHPV}/${BP}.tar.xz \
file://0001-gegl-Add-gegl-arm.def-file.patch \
"
SRC_URI[sha256sum] = "92b05855e2190868949d70cea6e9a50b163a6a441242e740a6263975379f993b"
PACKAGECONFIG ??= "gexiv2 libraw librsvg pango poppler sdl2"
PACKAGECONFIG:class-native = "librsvg"