From 6c1aca3cb4bb3e99e0e866950a7a4ee79b2cfb4f Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Sun, 18 May 2025 08:33:00 +0200 Subject: gimp: update 3.0.2 -> 3.0.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fetch with gitsm. There is no tarball for this release (yet?) Overview of Changes from GIMP 3.0.2 to GIMP 3.0.4 ================================================= Core: - Make maximum radius for generated brushes consistent across codebase. - Use NDE filter name for undo history. - Module loading improved to be better cross-platform (in particular on macOS both .so and .dylib modules are supported). - Code compliant with GCC 15 (C23). - Filter size updated when its drawable is rotated. - Font loading (at startup) optimized. - Set the proper program name for KDE/Wayland to map the process to the correct desktop file. - "windows-display-*" are hidden from the Shortcuts dialog (they are not meant to be remapped). - Editing non-destructive effects now triggers undo steps. - When migrating from GIMP 2.x to GIMP 3, shortcuts for actions "edit-paste-as-new-layer*" are now converted to "edit-paste-merged*" (and not "edit-paste*" anymore which was confusing and counter-productive). Graphical User Interface: - Highlight selected device in GimpDeviceStatus. - Various theme leak fixes. - UX improvement: GimpViewableDialog (e.g. Fill/Stroke path and more) now has "OK" as default response. - Icon size settings now also applying to Move and Transform icon boxes. - Commit hash is now shown in About dialog in all non-release builds (i.e. even in stable series, when we are in-between releases). - Hide Force slider for Pencil Tool (rather than just making it insensitive). - Define merged titlebar icon colors. - Keep menubar color consistent when out of focus. - We don't show Fx icon for tool-based filters. - Updated splash without micro version in it. - Removed size restrictions on Display Filters. - Don't show hidden tools on toolbox tooltips. - Fix "Keep above" Window Manager hint. - Multi-Window mode on Windows: dock windows' title bars now adapt to the Windows system theme colors too. - Show palette name in Palette Color Selector. Tools: - MyPaint Brush: have consistent options layout compared to other paint tools. - Scissors Select Tool: close the curve on Enter, similar to the Path tool. - Path Tool: connect path on click in design mode. Plug-ins: - Restore GUI to Difference Clouds script. This had been lost since GIMP 2.8! - Fixes in various file format support, such as: DDS, SVG, TIFF, PSD, BMP, ICO… - Screenshot dropdowns replaced by radio buttons, as part of a new UX decision that choice settings with 2 or 3 choices should be dropdown (faster 1-click access), unless there are a lot more settings making the dialog too crowded already. PDB: - Make "gimp-plug-ins-query" public again (yet still not available in libgimp). Build: - Windows Installer: * Make the installer aware of Install, Reinstall and Update modes. * Add Repair mode to Windows installer: in particular we can now fix installations when the previous install directory cannot be accessed anymore. * The feature to delete the config folder on Windows uninstall will now make a backup on the Desktop first (allowing people to delete it themselves, move it, or even restore it later if needed). * Uninstalling while GIMP is running is made impossible (among other issues, it was causing partial uninstallation). * Downgrading is only possible by uninstalling first. * Development warning is shown in dev build of stable series too. * Add fractional scaling support to Installer welcome image. * Restore points now have a timeout to prevent stuckness. - Our AppImage won't ship debug symbols anymore. Better debugging can be set with: export DEBUGINFOD_URLS="https://debuginfod.debian.net" - Windows builds: * Ship babl/GEGL and libgimp headers, static libs and pkg-config files for plug-in developers. * Dedicated file icon for XCF files. * Generate native .pdb CodeView symbols on Windows (smaller debug data files, usable by MSIX and better debugging ability), except on x86 (32-bit). - Crossbuilds are dropped from CI. - Shell scripts used in the meson build are ported to Python (more portable and much faster on some platforms, in particular Windows). - Some build scripts were moved around for reorganization. - Depency requirement bumped: * babl 0.1.114 * GEGL 0.4.62 - New "Inputs" feature for simpler Gitlab pipelines running. - Some in-repository documentation was cleaned up. Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- .../85bdad2b2ca7ba36a01bef945b1c4b193a2fa9d0.patch | 62 ---------- meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb | 136 -------------------- meta-gnome/recipes-gimp/gimp/gimp_3.0.4.bb | 137 +++++++++++++++++++++ 3 files changed, 137 insertions(+), 198 deletions(-) delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/85bdad2b2ca7ba36a01bef945b1c4b193a2fa9d0.patch delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb create mode 100644 meta-gnome/recipes-gimp/gimp/gimp_3.0.4.bb (limited to 'meta-gnome') diff --git a/meta-gnome/recipes-gimp/gimp/gimp/85bdad2b2ca7ba36a01bef945b1c4b193a2fa9d0.patch b/meta-gnome/recipes-gimp/gimp/gimp/85bdad2b2ca7ba36a01bef945b1c4b193a2fa9d0.patch deleted file mode 100644 index 3a2bf27616..0000000000 --- a/meta-gnome/recipes-gimp/gimp/gimp/85bdad2b2ca7ba36a01bef945b1c4b193a2fa9d0.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 85bdad2b2ca7ba36a01bef945b1c4b193a2fa9d0 Mon Sep 17 00:00:00 2001 -From: Nils Philippsen -Date: Wed, 29 Jan 2025 12:51:53 +0100 -Subject: [PATCH] Avoid type names and keywords - -This fixes various errors when compiling with current toolchains and/or --std=c23. - -Signed-off-by: Nils Philippsen - -Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gimp/-/commit/85bdad2b2ca7ba36a01bef945b1c4b193a2fa9d0.patch] -Signed-off-by: Markus Volk ---- - libgimpconfig/gimpconfig-serialize.c | 6 +++--- - plug-ins/selection-to-path/types.h | 13 ++++--------- - 2 files changed, 7 insertions(+), 12 deletions(-) - -diff --git a/libgimpconfig/gimpconfig-serialize.c b/libgimpconfig/gimpconfig-serialize.c -index 377b2371630..b3abca229d1 100644 ---- a/libgimpconfig/gimpconfig-serialize.c -+++ b/libgimpconfig/gimpconfig-serialize.c -@@ -522,10 +522,10 @@ gimp_config_serialize_value (const GValue *value, - - if (G_VALUE_HOLDS_BOOLEAN (value)) - { -- gboolean bool; -+ gboolean boolean; - -- bool = g_value_get_boolean (value); -- g_string_append (str, bool ? "yes" : "no"); -+ boolean = g_value_get_boolean (value); -+ g_string_append (str, boolean ? "yes" : "no"); - return TRUE; - } - -diff --git a/plug-ins/selection-to-path/types.h b/plug-ins/selection-to-path/types.h -index 9b040fa3a19..1521937b15e 100644 ---- a/plug-ins/selection-to-path/types.h -+++ b/plug-ins/selection-to-path/types.h -@@ -19,15 +19,10 @@ - #ifndef TYPES_H - #define TYPES_H - --/* Booleans. */ --typedef enum { false = 0, true = 1 } boolean; -- --/* The X11 library defines `FALSE' and `TRUE', and so we only want to -- define them if necessary. */ --#ifndef FALSE --#define FALSE false --#define TRUE true --#endif /* FALSE */ -+/* Cope with C23 */ -+typedef int boolean; -+#define false FALSE -+#define true TRUE - - /* The usual null-terminated string. */ - typedef char *string; --- -GitLab - diff --git a/meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb b/meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb deleted file mode 100644 index 25a91ed1a5..0000000000 --- a/meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb +++ /dev/null @@ -1,136 +0,0 @@ -SUMMARY = "The GIMP is the GNU Image Manipulation Program" -HOMEPAGE = "http://www.gimp.org" -SECTION = "graphics" -LICENSE = "GPL-3.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e" - -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-native \ - 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" - -LDFLAGS:append:libc-musl = " -lexecinfo" - -inherit meson gtk-icon-cache mime-xdg pkgconfig gettext gobject-introspection vala - -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}', 2)}/gimp-${PV}.tar.xz" -SRC_URI += "file://0001-gimp-cross-compile-fix-for-bz2.patch" -SRC_URI += "file://0002-meson.build-reproducibility-fix.patch" -SRC_URI += "file://0001-meson.build-dont-check-for-lgi.patch" -SRC_URI += "file://0001-meson.build-require-iso-codes-native.patch" -SRC_URI += "file://85bdad2b2ca7ba36a01bef945b1c4b193a2fa9d0.patch" -SRC_URI[sha256sum] = "546ddc30cb2d0e79123c7fcb4d78211e1ee7a6aace91a6a0ad8cbcbf6ea571a2" - -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-native" -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" -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" -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" -PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp" -PACKAGECONFIG[xcursor] = "-Dxcursor=enabled,-Dxcursor=disabled,libxcursor" -PACKAGECONFIG[x11] = "-Dxpm=enabled,-Dxpm=disabled,libxpm libxext libxfixes" - -PACKAGECONFIG ?= " \ - alsa \ - cairo-pdf \ - ghostscript \ - gudev \ - javascript \ - jpeg2000 \ - jpeg-xl \ - lua \ - mng \ - webp \ - ${@oe.utils.conditional('SITEINFO_BITS', '32', '', 'vector-icons', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcursor', '', d)} \ -" - -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 <${WORKDIR}/meson-${PN}.cross <