gimp: update 2.10.38 - 3.0.2
v2: dont build with aalib by default
Quoted 745 lines · Markus Volk
------------------------------ GNU Image Manipulation Program Development Branch ------------------------------Overview of Changes from GIMP 3.0.0 to GIMP 3.0.2
=================================================This is a bug-fix only release.
Core:
- Mark some strings translatable.
- Fix crash when choosing a brush in grid view.
- Windows: temporary revert of some Input Device handling code which was breaking pressure sensitivity for some graphics tablets
(though
this revert may make issues with the eraser tip).
- Fix crash when choosing a non-existing font in text tool options.Tools:
- Reorder Line Art Detection options per design decision.
Graphical User Interface:
- Keep headerbar color consistent when out of focus.
- Histogram uses the luminance value of the foreground color as a threshold to lighten or darken the border color for contrast with the histogram itself.
- Improve separation between panels in dark theme.
- Add default response for GimpQueryBox dialogues.
- Spacing between toolbox widgets improved.
- GimpSpinScale slider colors inverted.
- New icons: "gimp-toggle-on" and "gimp-toggle-off" and using them
in
the Search Action's list as icons for toggle actions.Plug-ins:
- Python Console uses the luminance of the background color for
error
text.
- Metadata Editor: fix buffer overflow.
- Gradient Flare: fix crash when setting the size to 0.
- Screenshot: X11 implementation is bypassed (in favor of portals) when running on XWayland.Build:
- Various packaging fixes and cleanup.
- The Windows installer now prompts (only in user installation)
about
deleting GIMP config files when uninstalling.
- GEGL 0.4.58 is now our minimum requirement.
- Windows installer: create Restore Point on system-wide install.Signed-off-by Markus Volk <[email protected] <mailto:[email protected]>>--- ...irst-line-of-compiler-version-string.patch | 30 ---- ...f-load-fix-mismatching-variable-type.patch | 24 ---- .../0001-gimp-cross-compile-fix-for-bz2.patch | 30 ++++ ...1-gimptool-allow-default-CC-override.patch | 85 ------------ ...dd-build-time-library-paths-to-LD_LI.patch | 34 ----- ...001-metadata-shut-up-a-weird-warning.patch | 22 --- ...0002-meson.build-reproducibility-fix.patch | 56 ++++++++ meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb | 101 -------------- meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb | 130 ++++++++++++++++++ 9 files changed, 216 insertions(+), 296 deletions(-) delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/0001-configure-Keep-first-line-of-compiler-version-string.patch delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/0001-file-tiff-load-fix-mismatching-variable-type.patch create mode 100644 meta-gnome/recipes-gimp/gimp/gimp/0001-gimp-cross-compile-fix-for-bz2.patch delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/0001-gimptool-allow-default-CC-override.patch delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/0001-libtool-Do-not-add-build-time-library-paths-to-LD_LI.patch delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/0001-metadata-shut-up-a-weird-warning.patch create mode 100644 meta-gnome/recipes-gimp/gimp/gimp/0002-meson.build-reproducibility-fix.patch delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb create mode 100644 meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bbmeta-gnome/recipes-gimp/gimp/gimp/0001-configure-Keep-first-line-of-compiler-version-string.patch deleted +0
-1---
a/meta-gnome/recipes-gimp/gimp/gimp/0001-configure-Keep-first-line-of-compiler-version-string.patch+++/dev/nullmeta-gnome/recipes-gimp/gimp/gimp/0001-configure-Keep-first-line-of-compiler-version-string.patch deleted +0
-1@@ -1,30 +0,0 @@ -From 5711ccfab40e304ced7f5be39a4083e3fcecff91 Mon Sep 17 00:00:002001
meta-gnome/recipes-gimp/gimp/gimp/0001-configure-Keep-first-line-of-compiler-version-string.patch deleted +0
-3-From: Khem Raj <[email protected] <mailto:[email protected]>> -Date: Wed, 24 May 2023 22:22:41 -0700 -Subject: [PATCH] configure: Keep first line of compiler versionstring
meta-gnome/recipes-gimp/gimp/gimp/0001-configure-Keep-first-line-of-compiler-version-string.patch deleted +0
-5- -Full output of cc -v may contain additional information which could -contain build path information, which is unnessasary - -Upstream-Status: Submitted[<https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/926>]
-Signed-off-by: Khem Raj <[email protected]
<mailto:[email protected]>>
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)meta-gnome/recipes-gimp/gimp/gimp/0001-configure-Keep-first-line-of-compiler-version-string.patch deleted +0
-10- -diff --git a/configure.ac b/configure.ac -index c25415d..68707a0 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -599,7 +599,7 @@ fi - for CC_VERSION_OPT in $CC_VERSION_OPTS; do - # We run $CC, and escape and format its output, in a single step, - # since some shells expand escape sequences in "echo" arguments. -- CC_VERSION="`$CC $CC_VERSION_OPT 2>&1 | sed -e's/\\\\/\\\\\\\\\\\\\\\\/g;s/^/\\\\t/;s/$/\\\\n/' | tr -d '\n'
" -+ CC_VERSION="$CC $CC_VERSION_OPT 2>&1 | head -1 | sed -e 's/\\\\/\\\\\\\\\\\\\\\\/g;s/^/\\\\t/;s/$/\\\\n/' | tr -d '\n'`"meta-gnome/recipes-gimp/gimp/gimp/0001-configure-Keep-first-line-of-compiler-version-string.patch deleted +0
-6- if test $? -eq 0; then - break - fi --- -2.40.1 -meta-gnome/recipes-gimp/gimp/gimp/0001-file-tiff-load-fix-mismatching-variable-type.patch deleted +0
-1---
a/meta-gnome/recipes-gimp/gimp/gimp/0001-file-tiff-load-fix-mismatching-variable-type.patch+++/dev/nullmeta-gnome/recipes-gimp/gimp/gimp/0001-file-tiff-load-fix-mismatching-variable-type.patch deleted +0
-1@@ -1,24 +0,0 @@ -From a2458f1528e5733574bb26ff5452b1329116e6db Mon Sep 17 00:00:002001
meta-gnome/recipes-gimp/gimp/gimp/0001-file-tiff-load-fix-mismatching-variable-type.patch deleted +0
-5-From: Simon Budig <[email protected] <mailto:[email protected]>> -Date: Sat, 20 May 2023 18:40:41 +0200 -Subject: [PATCH] file-tiff-load: fix mismatching variable type - -Upstream-Status: Backport[<https://gitlab.gnome.org/GNOME/gimp/-/commit/a2458f1528e5733574bb26ff5452b1329116e6db>]
-Signed-off-by: Khem Raj <[email protected]
<mailto:[email protected]>>
----
-plug-ins/file-tiff/file-tiff-load.c| 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)meta-gnome/recipes-gimp/gimp/gimp/0001-file-tiff-load-fix-mismatching-variable-type.patch deleted +0
-14- ---- a/plug-ins/file-tiff/file-tiff-load.c -+++ b/plug-ins/file-tiff/file-tiff-load.c -@@ -1301,8 +1301,8 @@ load_image (GFile *file, - - /* any resolution info in the file? */ - { -- gfloat xres = 72.0; -- gfloat yres = 72.0; -+ gdouble xres = 72.0; -+ gdouble yres = 72.0; - gushort read_unit; - GimpUnit unit = GIMP_UNIT_PIXEL; /* invalid unit */ -(quoted diff) +0
-0
b/meta-gnome/recipes-gimp/gimp/gimp/0001-gimp-cross-compile-fix-for-bz2.patch(quoted diff) +1
-0@@ -0,0 +1,30 @@ +From a7e40e19d17404cf5ec4135fc1becd5a90f5e1e1 Mon Sep 17 00:00:002001
(quoted diff) +5
-0+From: Markus Volk <[email protected] <mailto:[email protected]>> +Date: Wed, 25 Dec 2024 07:27:04 +0100 +Subject: [PATCH] gimp: cross-compile fix for bz2 + +autotools bzip2 build does not create pkgconfig files so looking forthe dependency fails.
(quoted diff) +2
-0+ +Signed-off-by: Markus Volk <[email protected]<mailto:[email protected]>>
(quoted diff) +2
-0+ +Upstream-Status: Inappropriate [can probably be removed once bzip2is built with meson or cmake]
+--- + meson.build | 2 +-+ 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +17
-0+ +diff --git a/meson.build b/meson.build +index 4e48f8c64c..d5dce47015 100644 +--- a/meson.build ++++ b/meson.build +@@ -765,7 +765,7 @@ zlib = dependency('zlib') + MIMEtypes += 'image/x-psp' + + # Compiler-provided headers can't be found in crossroads environment +-if not meson.is_cross_build() ++if true + bz2 = cc.find_library('bz2') + else + bz2 = dependency('bzip2') +-- +2.47.1 +meta-gnome/recipes-gimp/gimp/gimp/0001-gimptool-allow-default-CC-override.patch deleted +0
-1---
a/meta-gnome/recipes-gimp/gimp/gimp/0001-gimptool-allow-default-CC-override.patch+++/dev/nullmeta-gnome/recipes-gimp/gimp/gimp/0001-gimptool-allow-default-CC-override.patch deleted +0
-1@@ -1,85 +0,0 @@ -From 7e5b986cb7797a6535fe2471b9a5fb7c00821f51 Mon Sep 17 00:00:002001
-From: Yoann Congal <[email protected]
<mailto:[email protected]>>meta-gnome/recipes-gimp/gimp/gimp/0001-gimptool-allow-default-CC-override.patch deleted +0
-4-Date: Sun, 13 Oct 2024 01:00:10 +0200 -Subject: [PATCH] gimptool: allow default CC override - -From: Yoann Congal <[email protected]<mailto:[email protected]>>
meta-gnome/recipes-gimp/gimp/gimp/0001-gimptool-allow-default-CC-override.patch deleted +0
-8- -In OE, CC contains sysroot path. Storing CC in binary then leads to -non-reproducibility. - -This commit add a new configure option "--with-default-cc='cmd'" for -force the CC stored in gimptool to a reproducible value. - -Upstream-Status: Inappropriate [does not apply on master (upstreamhas moved to meson)]
-Signed-off-by: Yoann Congal <[email protected] <mailto:[email protected]>>
----- app-tools/Makefile.am | 2 +- - configure.ac | 13 +++++++++++++ - tools/Makefile.am | 2 +- - tools/gimptool.c | 2 +-- 4 files changed, 16 insertions(+), 3 deletions(-)
meta-gnome/recipes-gimp/gimp/gimp/0001-gimptool-allow-default-CC-override.patch deleted +0
-27- -diff --git a/app-tools/Makefile.am b/app-tools/Makefile.am -index a7cd4ce..81a3a00 100644 ---- a/app-tools/Makefile.am -+++ b/app-tools/Makefile.am -@@ -67,7 +67,7 @@ AM_CPPFLAGS = \ - -DMANDIR=\""$(mandir)"\" \ - -DGIMPPLUGINDIR=\""$(gimpplugindir)"\" \ - -DGIMPDATADIR=\""$(gimpdatadir)"\" \ -- -DCC=\""$(CC)"\" \ -+ -DDEFAULT_CC=\""@DEFAULT_CC@"\" \ - -DGIMPDIR=\""$(gimpdir)"\" \ - -DGIMP_PLUGIN_VERSION=\""$(GIMP_PLUGIN_VERSION)"\" \ - -I$(top_srcdir) \ -diff --git a/configure.ac b/configure.ac -index a88b7cc..d90b6db 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2457,6 +2457,19 @@ fi - AM_CONDITIONAL(DESKTOP_DATADIR, test "x$with_desktop_dir" != xno) - AC_SUBST(DESKTOP_DATADIR) - -+###################### -+# Determine default CC -+###################### -+ -+AC_ARG_WITH(default-cc, [ --with-default-cc="cmd" default CC toprint in gimptool (default=CC)])
-+
-+if test "x$with_default_cc" != x; then
-+ DEFAULT_CC=$with_default_cc
-+else
-+ DEFAULT_CC=CC
-+fi
-+
-+AC_SUBST(DEFAULT_CC)meta-gnome/recipes-gimp/gimp/gimp/0001-gimptool-allow-default-CC-override.patch deleted +0
-29- - ##################### - # Check for XML tools -diff --git a/tools/Makefile.am b/tools/Makefile.am -index 420b9b1..ccabde8 100644 ---- a/tools/Makefile.am -+++ b/tools/Makefile.am -@@ -87,7 +87,7 @@ AM_CPPFLAGS = \ - -DMANDIR=\""$(mandir)"\" \ - -DGIMPPLUGINDIR=\""$(gimpplugindir)"\" \ - -DGIMPDATADIR=\""$(gimpdatadir)"\" \ -- -DCC=\""$(CC)"\" \ -+ -DDEFAULT_CC=\""@DEFAULT_CC@"\" \ - -DGIMPDIR=\""$(gimpdir)"\" \ - -DGIMP_PLUGIN_VERSION=\""$(GIMP_PLUGIN_VERSION)"\" \ - -I$(top_srcdir) \ -diff --git a/tools/gimptool.c b/tools/gimptool.c -index 21fc043..bbf3fa5 100644 ---- a/tools/gimptool.c -+++ b/tools/gimptool.c -@@ -280,7 +280,7 @@ find_out_env_flags (void) - else if (msvc_syntax) - env_cc = "cl -MD"; - else -- env_cc = CC; -+ env_cc = DEFAULT_CC; - - if (g_ascii_strncasecmp (env_cc, "cl", 2) == 0 && - g_ascii_strncasecmp (env_cc, "clang", 5) != 0)meta-gnome/recipes-gimp/gimp/gimp/0001-libtool-Do-not-add-build-time-library-paths-to-LD_LI.patch deleted +0
-1---
a/meta-gnome/recipes-gimp/gimp/gimp/0001-libtool-Do-not-add-build-time-library-paths-to-LD_LI.patch+++/dev/nullmeta-gnome/recipes-gimp/gimp/gimp/0001-libtool-Do-not-add-build-time-library-paths-to-LD_LI.patch deleted +0
-1@@ -1,34 +0,0 @@ -From c720df90dfe3a3e92e34bfb36a04cc792064a501 Mon Sep 17 00:00:002001
meta-gnome/recipes-gimp/gimp/gimp/0001-libtool-Do-not-add-build-time-library-paths-to-LD_LI.patch deleted +0
-13-From: Khem Raj <[email protected] <mailto:[email protected]>> -Date: Wed, 24 May 2023 22:39:02 -0700 -Subject: [PATCH] libtool: Do not add build time library paths to - LD_LIBRARY_PATH - -This does not serve much purpose on cross builds as it will add build -time paths which are only useful when trying to run these tools from -build area but when they are cross built this is not possible to run -them like this. - -Upstream-Status: Inappropriate [Cross-compile specific] - -Signed-off-by: Khem Raj <[email protected]<mailto:[email protected]>>
----
-ltmain.sh| 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)meta-gnome/recipes-gimp/gimp/gimp/0001-libtool-Do-not-add-build-time-library-paths-to-LD_LI.patch deleted +0
-7- -diff --git a/ltmain.sh b/ltmain.sh -index 134902c..068d74a 100644 ---- a/ltmain.sh -+++ b/ltmain.sh -@@ -5748,7 +5748,7 @@ func_exec_program () - if test yes = "$shlibpath_overrides_runpath" && test -n"$shlibpath_var" && test -n "$temp_rpath"; then
meta-gnome/recipes-gimp/gimp/gimp/0001-libtool-Do-not-add-build-time-library-paths-to-LD_LI.patch deleted +0
-10- $ECHO "\ - # Add our own library path to $shlibpath_var -- $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" -+ $shlibpath_var=\"$shlibpath_var\" - - # Some systems cannot cope with colon-terminated $shlibpath_var - # The second colon is a workaround for a bug in BeOS R4 sed --- -2.40.1 -meta-gnome/recipes-gimp/gimp/gimp/0001-metadata-shut-up-a-weird-warning.patch deleted +0
-1---
a/meta-gnome/recipes-gimp/gimp/gimp/0001-metadata-shut-up-a-weird-warning.patch+++/dev/nullmeta-gnome/recipes-gimp/gimp/gimp/0001-metadata-shut-up-a-weird-warning.patch deleted +0
-1@@ -1,22 +0,0 @@ -From 51311f913d9f417d121f59b83d560c7b4b853d1c Mon Sep 17 00:00:002001
meta-gnome/recipes-gimp/gimp/gimp/0001-metadata-shut-up-a-weird-warning.patch deleted +0
-5-From: Simon Budig <[email protected] <mailto:[email protected]>> -Date: Sat, 20 May 2023 22:25:40 +0200 -Subject: [PATCH] metadata: shut up a weird warning - -Upstream-Status: Backport[<https://gitlab.gnome.org/GNOME/gimp/-/commit/51311f913d9f417d121f59b83d560c7b4b853d1c>]
-Signed-off-by: Khem Raj <[email protected]
<mailto:[email protected]>>
----
-plug-ins/metadata/metadata-editor.c| 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)meta-gnome/recipes-gimp/gimp/gimp/0001-metadata-shut-up-a-weird-warning.patch deleted +0
-8- ---- a/plug-ins/metadata/metadata-editor.c -+++ b/plug-ins/metadata/metadata-editor.c -@@ -2140,7 +2140,7 @@ metadata_dialog_editor_set_metadata (GEx - } - else - { -- if (! g_strv_contains (values,equiv_values[evi]))
-+ if (!g_strv_contains((const gchar *
const *) values, equiv_values[evi]))meta-gnome/recipes-gimp/gimp/gimp/0001-metadata-shut-up-a-weird-warning.patch deleted +0
-3- { - gchar *tmpvalue; -(quoted diff) +0
-0
b/meta-gnome/recipes-gimp/gimp/gimp/0002-meson.build-reproducibility-fix.patch(quoted diff) +1
-0@@ -0,0 +1,56 @@ +From bf19c5687703769e406a8086036d4ed6421c33cb Mon Sep 17 00:00:002001
(quoted diff) +5
-0+From: Markus Volk <[email protected] <mailto:[email protected]>> +Date: Mon, 13 Jan 2025 10:04:33 +0100 +Subject: [PATCH] meson.build: reproducibility fix + +Signed-off-by: Markus Volk <[email protected]<mailto:[email protected]>>
(quoted diff) +29
-0+ +Upstream-Status: Inappropriate [oe-specific] +--- + meson.build | 28 ++++++++++++++-------------- + 1 file changed, 14 insertions(+), 14 deletions(-) + +diff --git a/meson.build b/meson.build +index 97cd621780..e47180db87 100644 +--- a/meson.build ++++ b/meson.build +@@ -1599,23 +1599,23 @@ conf.set('HAVE_FUNC_ATTRIBUTE_DESTRUCTOR', + conf.set_quoted('CC', cc.get_id()) + + cc_version='' +-if cc.get_id() == 'gcc' or cc.get_id() == 'clang' +- cc_cmd = run_command(cc, '-v', check: false) ++#if cc.get_id() == 'gcc' or cc.get_id() == 'clang' ++# cc_cmd = run_command(cc, '-v', check: false) + # Note: the call might actually fail when using ccache. + # See: <https://github.com/mesonbuild/meson/issues/6174> +- if cc_cmd.returncode() == 0 +- cc_version = cc_cmd.stdout() + cc_cmd.stderr() +- endif +-else ++# if cc_cmd.returncode() == 0 ++# cc_version = cc_cmd.stdout() + cc_cmd.stderr() ++# endif ++#else + # Various compilers have various options. Try most common ones.This
(quoted diff) +21
-0+ # list of options comes from autotools checks. +- foreach arg : [ '--version', '-v', '-V', '-qversion' ] +- cc_cmd = run_command(cc, arg, check: false) +- if cc_cmd.returncode() == 0 +- cc_version = cc_cmd.stdout() +- endif +- endforeach +-endif ++# foreach arg : [ '--version', '-v', '-V', '-qversion' ] ++# cc_cmd = run_command(cc, arg, check: false) ++# if cc_cmd.returncode() == 0 ++# cc_version = cc_cmd.stdout() ++# endif ++# endforeach ++#endif + if cc_version == '' + # We didn't manage to get a meaningful verbose version from the + # compiler. Just save its name and version. +-- +2.47.1 +meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb deleted +0
-5@@ -1,101 +0,0 @@ -SUMMARY = "The GIMP is the GNU Image Manipulation Program" -HOMEPAGE = "http://www.gimp.org <http://www.gimp.org/>" -SECTION = "x11/graphics" -LICENSE = "GPL-3.0-only" -LIC_FILES_CHKSUM ="file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e" <file://copying;md5=c678957b0c8e964aa6c70fd77641a71e/>
meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb deleted +0
-31- -DEPENDS = " \ - alsa-lib \ - atk \ - cairo \ - fontconfig \ - freetype \ - gdk-pixbuf-native \ - intltool-native \ - libxslt-native \ - gegl-native \ - dbus-glib \ - gtk+ \ - babl \ - gegl \ - libmypaint \ - mypaint-brushes-1.0 \ - gexiv2 \ - jpeg \ - libmng \ - libpng \ - libexif \ - tiff \ - lcms \ - poppler \ - poppler-data \ - jasper \ - bzip2 \ - libgudev \ - libmng \ - ${@bb.utils.contains<mailto:${@bb.utils.contains>('DISTRO_FEATURES', 'x11', 'libxmu libxpm', '', d)} \
-"meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb deleted +0
-10-DEPENDS:append:libc-musl = " libexecinfo" - -GNOMEBASEBUILDCLASS = "autotools" -inherit features_check gnomebase gtk-icon-cache gtk-doc mime-xdg - -REQUIRED_DISTRO_FEATURES = "x11" - -SHPV = "${@gnome_verdir("${PV}")}" - -SRC_URI ="https://download.gimp.org/pub/${BPN}/v${SHPV}/${BP}.tar.bz2 <https://download.gimp.org/pub/$%7BBPN%7D/v$%7BSHPV%7D/$%7BBP%7D.tar.bz2> \
-
file://0001-configure-Keep-first-line-of-compiler-version-string.patch <file://0001-configure-keep-first-line-of-compiler-version-string.patch/> \
-
file://0001-libtool-Do-not-add-build-time-library-paths-to-LD_LI.patch <file://0001-libtool-do-not-add-build-time-library-paths-to-ld_li.patch/> \
-
file://0001-file-tiff-load-fix-mismatching-variable-type.patch <file://0001-file-tiff-load-fix-mismatching-variable-type.patch/> \
- file://0001-metadata-shut-up-a-weird-warning.patch
<file://0001-metadata-shut-up-a-weird-warning.patch/> \
- file://0001-gimptool-allow-default-CC-override.patch
<file://0001-gimptool-allow-default-cc-override.patch/> \meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb deleted +0
-2- " -SRC_URI[sha256sum] ="
50a845eec11c8831fe8661707950f5b8446e35f30edfb9acf98f85c1133f856e"meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb deleted +0
-7- -EXTRA_OECONF = "--disable-python \ - --without-webkit \ - --disable-check-update \ - --without-wmf" - -EXTRA_OECONF += "${@oe.utils.conditional<mailto:${@oe.utils.conditional>('SITEINFO_BITS', '32', ' --disable-vector-icons', '', d)}"
meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb deleted +0
-3- -do_configure:append() { - find ${B} -name Makefile | xargs sed -is:'-I$(includedir)':'-I.':g
- find ${B} -nameMakefile| xargs sed -i
s:'-I/usr/include':'-I${STAGING_INCDIR}':gmeta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb deleted +0
-21-} - -do_compile:prepend() { - # Let native babl/gegl find their plugins - export BABL_PATH=`find ${STAGING_LIBDIR_NATIVE} -maxdepth 1 -name 'babl-*'` - export GEGL_PATH=`find ${STAGING_LIBDIR_NATIVE} -maxdepth 1 -name 'gegl-*'` -} - -FILES:${PN} += "${datadir}/metainfo" - -RDEPENDS:${PN} += "mypaint-brushes-1.0" - - -# gimptool - -# gimptool needs a CC definition, use current CC without sysroot -python __anonymous() { - import shlex - CC_WITHOUT_SYSROOT = shlex.join(filter(lambda x: not
x.startswith("--sysroot="), shlex.split(d.getVar("CC"))))meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb deleted +0
-9- d.setVar("CC_WITHOUT_SYSROOT", CC_WITHOUT_SYSROOT) -} -EXTRA_OECONF += "--with-default-cc='${CC_WITHOUT_SYSROOT}'" - -# Split gimptool in its own package -PACKAGE_BEFORE_PN += "${PN}-gimptool" -FILES:${PN}-gimptool += "${bindir}/gimptool-2.0" - -# gimptool depends on gimp .pc file being installed and tools tobuild the plugin.
-RDEPENDS:${PN}-gimptool += "${PN}-dev
packagegroup-core-buildessential"meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb deleted +0
-4-INSANE_SKIP:${PN}-gimptool += "dev-deps" - - -CVE_STATUS[CVE-2007-3741] = "not-applicable-platform: This onlyapplies for Mandriva Linux"
-CVE_STATUS[CVE-2009-0581] = "cpe-incorrect: The current version (2.10.38) is not affected."
-CVE_STATUS[CVE-2009-0723] = "cpe-incorrect: The current version (2.10.38) is not affected."
-CVE_STATUS[CVE-2009-0733] = "cpe-incorrect: The current version (2.10.38) is not affected."meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb new file +5
-0@@ -0,0 +1,130 @@ +SUMMARY = "The GIMP is the GNU Image Manipulation Program" +HOMEPAGE = "http://www.gimp.org <http://www.gimp.org/>" +SECTION = "graphics" +LICENSE = "GPL-3.0-only" +LIC_FILES_CHKSUM ="file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e" <file://copying;md5=c678957b0c8e964aa6c70fd77641a71e/>
meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb new file +42
-0+ +DEPENDS = " \ + appstream-glib \ + atk \ + babl \ + bzip2 \ + bison-native \ + cairo \ + fontconfig \ + freetype \ + gdk-pixbuf-native \ + gegl \ + gexiv2 \ + glib-2.0 \ + glib-2.0-native \ + gtk+3 \ + harfbuzz \ + iso-codes \ + jpeg \ + json-glib \ + lcms \ + libarchive \ + libexif \ + libmypaint \ + libpng \ + librsvg \ + librsvg-native \ + libxmu \ + libxslt-native \ + mypaint-brushes-1.0 \ + pango \ + poppler \ + poppler-data \ + python3-pygobject-native \ + tiff \ + xz \ + zlib \ +" + +DEPENDS:append:libc-musl = " libexecinfo" + +inherit meson gtk-icon-cache mime-xdg pkgconfig gettextgobject-introspection vala
meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb new file +10
-0+ +GIR_MESON_OPTION = 'can-crosscompile-gir' +VALA_MESON_OPTION = "vala" +VALA_MESON_ENABLE_FLAG = "enabled" +VALA_MESON_DISABLE_FLAG = "disabled" +GIDOCGEN_MESON_OPTION = "gi-docgen" +GIDOCGEN_MESON_ENABLE_FLAG = "enabled" +GIDOCGEN_MESON_DISABLE_FLAG = "disabled" + +SRC_URI ="https://download.gimp.org/gimp/v${@oe.utils.trim_version('${PV <https://download.gimp.org/gimp/v$%[email protected]_version('$%7BPV>}', 2)}/gimp-${PV}.tar.xz" +SRC_URI += "file://0001-gimp-cross-compile-fix-for-bz2.patch"
<file://0001-gimp-cross-compile-fix-for-bz2.patch/>
+SRC_URI += "file://0002-meson.build-reproducibility-fix.patch"
<file://0002-meson.build-reproducibility-fix.patch/>
+SRC_URI[sha256sum] =
"546ddc30cb2d0e79123c7fcb4d78211e1ee7a6aace91a6a0ad8cbcbf6ea571a2"meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb new file +4
-0+ +PACKAGECONFIG[aa] = "-Daa=enabled,-Daa=disabled,aalib" +PACKAGECONFIG[alsa] = "-Dalsa=enabled,-Dalsa=disabled,alsa-lib" +PACKAGECONFIG[appdata-test] ="-Dappdata-test=enabled,-Dappdata-test=disabled,appstream-glib-native"
meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb new file +3
-0+PACKAGECONFIG[cairo-pdf] = "-Dcairo-pdf=enabled,-Dcairo-pdf=disabled" +PACKAGECONFIG[check-update] = "-Dcheck-update=yes,-Dcheck-update=no" +PACKAGECONFIG[ghostscript] ="-Dghostscript=enabled,-Dghostscript=disabled,ghostscript,ghostscript"
meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb new file +3
-0+PACKAGECONFIG[gudev] = "-Dgudev=enabled,-Dgudev=disabled,libgudev" +PACKAGECONFIG[heif] = "-Dheif=enabled,-Dheif=disabled,libheif" +PACKAGECONFIG[javascript] ="-Djavascript=enabled,-Djavascript=disabled,,gjs" +PACKAGECONFIG[jpeg2000] = "-Djpeg2000=enabled,-Djpeg2000=disabled,jasper" +PACKAGECONFIG[jpeg-xl] = "-Djpeg-xl=enabled,-Djpeg-xl=disabled,libjxl" +PACKAGECONFIG[libunwind] = "-Dlibunwind=true,-Dlibunwind=false,libunwind" +PACKAGECONFIG[libbacktrace] = "-Dlibbacktrace=true,-Dlibbacktrace=false,libbacktrace"
meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb new file +3
-0+PACKAGECONFIG[lua] = "-Dlua=true,-Dlua=false,,luajit lua-lgi" +PACKAGECONFIG[mng] = "-Dmng=enabled,-Dmng=disabled,libmng" +PACKAGECONFIG[openmp] ="-Dopenmp=enabled,-Dopenmp=disabled,gcc-runtime" +PACKAGECONFIG[vector-icons] = "-Dvector-icons=true,-Dvector-icons=false,librsvg shared-mime-info"
meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb new file +2
-0+PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp" +PACKAGECONFIG[xcursor] ="-Dxcursor=enabled,-Dxcursor=disabled,libxcursor" +PACKAGECONFIG[x11] = "-Dxpm=enabled,-Dxpm=disabled,libxpm libxext libxfixes"
meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb new file +14
-0+ +PACKAGECONFIG ?= " \ + alsa \ + cairo-pdf \ + ghostscript \ + gudev \ + javascript \ + jpeg2000 \ + jpeg-xl \ + lua \ + mng \ + vector-icons \ + webp \ + ${@bb.utils.contains<mailto:${@bb.utils.contains>('LICENSE_FLAGS_ACCEPTED', 'commercial', 'heif', '', d)} \
+ ${@bb.utils.contains
<mailto:${@bb.utils.contains>('DISTRO_FEATURES', 'x11', 'x11 xcursor', '', d)} \
+"meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb new file +23
-0+ +PACKAGECONFIG:remove:riscv32 = "lua" +PACKAGECONFIG:remove:riscv64 = "lua" +PACKAGECONFIG:remove:powerpc64 = "lua" +PACKAGECONFIG:remove:powerpc64le = "lua" + +EXTRA_OEMESON += " \ + -Dshmem-type=posix \ + -Dlinux-input=enabled \ + --buildtype release \ + --cross-file=${WORKDIR}/meson-${PN}.cross \ +" + +do_write_config:append() { + cat >${WORKDIR}/meson-${PN}.cross <<EOF +[binaries] +gjs = '${bindir}/gjs' +luajit = '${bindir}/luajit' +EOF +} + +do_configure:append () { + sed -i -e "s|build_by_default: true|build_by_default: false|"${S}/gimp-data/images/meson.build
meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb new file +10
-0+} + +do_install:prepend() { + sed -i -e "s|${B}||" ${B}/app/widgets/gimplanguagestore-data.h + sed -i -e "s|${B}||" ${B}/plug-ins/file-bmp/huffman.h +} + +FILES:${PN} += "${datadir}/metainfo" + +RDEPENDS:${PN} = "mypaint-brushes-1.0 glib-networkingpython3-pygobject"
--
2.49.0-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#116307): <https://lists.openembedded.org/g/openembedded-devel/message/116307>
Mute This Topic: <https://lists.openembedded.org/mt/111929688/3618223>
Group Owner: [email protected] <mailto:[email protected]>
Unsubscribe: <https://lists.openembedded.org/g/openembedded-devel/unsub> [[email protected] <mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-