gimp upgrade
v2 cover gimp upgrade
V1 -> V2: git format-patch -M1
Andreas Müller (6):
babl: upgrade 0.1.62 -> 0.1.74
gegl: upgrade 0.3.18 -> 0.4.20
libmypaint: initial add 1.4.0
mypaint-brushes: initial add 1.3.0
gimp: upgrade 2.8.22 -> 2.10.14
packagegroup-meta-oe: remove babl/gegl/gimp they moved to meta-gnome
.../recipes-gimp/babl/babl_0.1.74.bb | 18 +++-- ...on.build-Give-note-if-sdl2-was-found.patch | 50 ++++++-------- .../recipes-gimp/gegl/gegl_0.4.20.bb | 69 +++++++++++++------ .../recipes-gimp/gimp/gimp_2.10.14.bb | 32 +++++---- .../recipes-gimp/mypaint/libmypaint_git.bb | 24 +++++++ .../mypaint/mypaint-brushes-1.0_git.bb | 12 ++++ .../packagegroups/packagegroup-meta-oe.bb | 4 +- .../gegl/gegl/pkgconfig.patch | 21 ------ .../gimp/gimp/0003-Fix-use-of-gegl-API.patch | 34 --------- .../gimp/gimp/bump_Babl-GEGL_versions.patch | 53 -------------- 10 files changed, 139 insertions(+), 178 deletions(-) rename meta-oe/recipes-graphics/babl/babl_0.1.62.bb => meta-gnome/recipes-gimp/babl/babl_0.1.74.bb (31%) rename meta-oe/recipes-graphics/gimp/gimp/0001-configure-ac-do-not-check-for-freetype-config.patch => meta-gnome/recipes-gimp/gegl/gegl/0001-meson.build-Give-note-if-sdl2-was-found.patch (10%) rename meta-oe/recipes-graphics/gegl/gegl_0.3.18.bb => meta-gnome/recipes-gimp/gegl/gegl_0.4.20.bb (24%) rename meta-oe/recipes-graphics/gimp/gimp_2.8.22.bb => meta-gnome/recipes-gimp/gimp/gimp_2.10.14.bb (49%) create mode 100644 meta-gnome/recipes-gimp/mypaint/libmypaint_git.bb create mode 100644 meta-gnome/recipes-gimp/mypaint/mypaint-brushes-1.0_git.bb delete mode 100644 meta-oe/recipes-graphics/gegl/gegl/pkgconfig.patch delete mode 100644 meta-oe/recipes-graphics/gimp/gimp/0003-Fix-use-of-gegl-API.patch delete mode 100644 meta-oe/recipes-graphics/gimp/gimp/bump_Babl-GEGL_versions.patch
Signature · 1 line
2.21.0
PATCH v2 1/6 babl: upgrade 0.1.62 -> 0.1.74
* babl moved to meson build
* move to meta-gnome: latest gimp requires gexiv2 and nothing but gimp depends on babl
* extend to native build for native gegl (next patch)
* get sources from location gimp's homepage suggests
--- .../recipes-gimp/babl/babl_0.1.74.bb | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) rename meta-oe/recipes-graphics/babl/babl_0.1.62.bb => meta-gnome/recipes-gimp/babl/babl_0.1.74.bb (31%)
meta-gnome/recipes-gimp/babl/babl_0.1.74.bb renamed from meta-oe/recipes-graphics/babl/babl_0.1.62.bb +11 -7
@@ -2,12 +2,16 @@ SUMMARY = "Babl is a dynamic, any to any, pixel format conversion library" LICENSE = "LGPL-3.0" LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6" -inherit gnomebase +GNOMEBASEBUILDCLASS = "meson" -SRC_URI = "http://ftp.gimp.org/pub/${BPN}/0.1/${BP}.tar.bz2" -SRC_URI[md5sum] = "28fa9d43549378ceebe2871d7721dd46" -SRC_URI[sha256sum] = "dc279f174edbcb08821cf37e4ab0bc02e6949369b00b150c759a6c24bfd3f510" +GIR_MESON_OPTION = "enable-gir" -FILES_${PN} += "${libdir}/babl-*/*.so" -FILES_${PN}-dev += "${libdir}/babl-*/*.la" -FILES_${PN}-dbg += "${libdir}/babl-*/.debug/" +inherit setuptools3 gnomebase gobject-introspection + +DEPENDS += "lcms" + +SRC_URI = "https://download.gimp.org/pub/${BPN}/0.1/${BP}.tar.xz" +SRC_URI[md5sum] = "d032853f2678bc95054c39d4f02045c1" +SRC_URI[sha256sum] = "9a710b6950da37ada94cd9e2046cbce26de12473da32a7b79b7d1432fc66ce0e" + +BBCLASSEXTEND = "native"
Signature · 1 line
2.21.0
PATCH v2 2/6 gegl: upgrade 0.3.18 -> 0.4.20
In reply to Andreas Müller* gegl is GPLv3 now
* gegl moved to meson build
* move to meta-gnome: latest gimp requires gexiv2 and nothing but gimp depends on gegl
* add more PACKAGECONFIGs and change defaults slightly: sdl->sdl2 / add gexiv2 by default because gimp requires it anyway
* extend to native: latest gimp requires gegl for manipulation of pngs during build
* get sources from location gimp's homepage suggests
--- ...on.build-Give-note-if-sdl2-was-found.patch | 32 +++++++++ .../recipes-gimp/gegl/gegl_0.4.20.bb | 69 +++++++++++++------ .../gegl/gegl/pkgconfig.patch | 21 ------ 3 files changed, 80 insertions(+), 42 deletions(-) create mode 100644 meta-gnome/recipes-gimp/gegl/gegl/0001-meson.build-Give-note-if-sdl2-was-found.patch rename meta-oe/recipes-graphics/gegl/gegl_0.3.18.bb => meta-gnome/recipes-gimp/gegl/gegl_0.4.20.bb (24%) delete mode 100644 meta-oe/recipes-graphics/gegl/gegl/pkgconfig.patch
meta-gnome/recipes-gimp/gegl/gegl/0001-meson.build-Give-note-if-sdl2-was-found.patch new file +32 -0
@@ -0,0 +1,32 @@ +From 6bed199a73a7af39344cf8e799b665011553600c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> +Date: Sat, 8 Feb 2020 14:29:52 +0100 +Subject: [PATCH] meson.build: Give note if sdl2 was found +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Configure output confused me a bit + +Upstream-Status: Pending + +Signed-off-by: Andreas Müller <[email protected]> +--- + meson.build | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/meson.build b/meson.build +index 9d5b484..296b5f3 100644 +--- a/meson.build ++++ b/meson.build +@@ -374,6 +374,7 @@ message('\n'.join(['', + ' OpenEXR: @0@'.format(openexr.found()), + ' rsvg: @0@'.format(librsvg.found()), + ' SDL: @0@'.format(sdl1.found()), ++' SDL2: @0@'.format(sdl2.found()), + ' libraw: @0@'.format(libraw.found()), + ' Jasper: @0@'.format(jasper.found()), + ' av libs: @0@'.format(avlibs_found), +-- +2.21.0 +
meta-gnome/recipes-gimp/gegl/gegl_0.4.20.bb renamed from meta-oe/recipes-graphics/gegl/gegl_0.3.18.bb +48 -21
82 lines not on this page · raw message
meta-oe/recipes-graphics/gegl/gegl/pkgconfig.patch deleted +0 -21
@@ -1,21 +0,0 @@ -Index: gegl-0.2.0/configure.ac -=================================================================== ---- gegl-0.2.0.orig/configure.ac 2012-04-02 21:56:49.000000000 +0000 -+++ gegl-0.2.0/configure.ac 2014-07-17 21:34:15.312546602 +0000 -@@ -765,15 +765,7 @@ - - have_sdl="no" - if test "x$with_sdl" != "xno"; then -- AC_PATH_PROG(SDL_CONFIG, sdl-config, no) -- if test "$SDL_CONFIG" = "no"; then -- have_sdl="no (SDL library not found)" -- AC_MSG_RESULT([*** Check for SDL library failed.]) -- else -- have_sdl="yes" -- SDL_CFLAGS=`$SDL_CONFIG --cflags` -- SDL_LIBS=`$SDL_CONFIG --libs` -- fi -+ PKG_CHECK_MODULES([SDL], [sdl], [have_sdl="yes"], [have_sdl="no (SDL library not found)"]) - fi - - AM_CONDITIONAL(HAVE_SDL, test "$have_sdl" = "yes")
Signature · 1 line
2.21.0
PATCH v2 3/6 libmypaint: initial add 1.4.0
In reply to Andreas MüllerIt is a dependency for upcoming gimp 2.10.14
--- .../recipes-gimp/mypaint/libmypaint_git.bb | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-gnome/recipes-gimp/mypaint/libmypaint_git.bb
meta-gnome/recipes-gimp/mypaint/libmypaint_git.bb new file +24 -0
@@ -0,0 +1,24 @@ +SUMMARY = "libmypaint is a library for making brushstrokes" +LICENSE = "ISC" +LIC_FILES_CHKSUM = "file://COPYING;md5=9d13203ab4013e5a14dd62105f75d58b" + +DEPENDS = " \ + glib-2.0-native \ + intltool-native \ + glib-2.0 \ + babl \ + json-c \ +" + +inherit autotools gobject-introspection gettext python3native + +SRC_URI = "git://github.com/mypaint/libmypaint.git;protocol=https;branch=libmypaint-v1" +SRCREV = "477cb94b596035b54a255faaf95d13f6a8ee3619" +PV = "1.4.0" +S = "${WORKDIR}/git" + +do_configure_append() { + # autogen uses python2 so generate headers ourselves + cd ${S} + python3 generate.py mypaint-brush-settings-gen.h brushsettings-gen.h +}
Signature · 1 line
2.21.0
PATCH v2 4/6 mypaint-brushes: initial add 1.3.0
In reply to Andreas Müller* it is a (r)dependency for upcoming gimp 2.10.14
* there are 2.x versions available but these are not what gimp requires
--- .../recipes-gimp/mypaint/mypaint-brushes-1.0_git.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-gnome/recipes-gimp/mypaint/mypaint-brushes-1.0_git.bb
meta-gnome/recipes-gimp/mypaint/mypaint-brushes-1.0_git.bb new file +12 -0
@@ -0,0 +1,12 @@ +SUMMARY = "MyPaint brushes" +LICENSE = "CC0-1.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=65d3616852dbf7b1a6d4b53b00626032" + +inherit autotools allarch + +SRC_URI = "git://github.com/mypaint/mypaint-brushes.git;protocol=https;branch=v1.3.x" +SRCREV = "be9fdf9ef6c54e29c7499992f04e29114857b3fc" +PV = "1.3.0+git${SRCPV}" +S = "${WORKDIR}/git" + +FILES_${PN} += "${datadir}/mypaint-data"
Signature · 1 line
2.21.0
PATCH v2 5/6 gimp: upgrade 2.8.22 -> 2.10.14
In reply to Andreas Müller* patches don't apply any more
* get sources from location gimp's homepage suggests
* license checksum was changed by replacing http -> https [1]
[1] https://gitlab.gnome.org/GNOME/gimp/commit/bab75b7365cc87639cd5aaa9840ebe1f6228d556
--- .../recipes-gimp/gimp/gimp_2.10.14.bb | 32 ++++++----- ...-ac-do-not-check-for-freetype-config.patch | 38 ------------- .../gimp/gimp/0003-Fix-use-of-gegl-API.patch | 34 ------------ .../gimp/gimp/bump_Babl-GEGL_versions.patch | 53 ------------------- 4 files changed, 20 insertions(+), 137 deletions(-) rename meta-oe/recipes-graphics/gimp/gimp_2.8.22.bb => meta-gnome/recipes-gimp/gimp/gimp_2.10.14.bb (49%) delete mode 100644 meta-oe/recipes-graphics/gimp/gimp/0001-configure-ac-do-not-check-for-freetype-config.patch delete mode 100644 meta-oe/recipes-graphics/gimp/gimp/0003-Fix-use-of-gegl-API.patch delete mode 100644 meta-oe/recipes-graphics/gimp/gimp/bump_Babl-GEGL_versions.patch
meta-gnome/recipes-gimp/gimp/gimp_2.10.14.bb renamed from meta-oe/recipes-graphics/gimp/gimp_2.8.22.bb +20 -12
@@ -2,40 +2,43 @@ SUMMARY = "The GIMP is the GNU Image Manipulation Program" HOMEPAGE = "http://www.gimp.org" SECTION = "x11/graphics" LICENSE = "GPLv3" -LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" +LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e" DEPENDS = " \ gdk-pixbuf-native \ intltool-native \ libxslt-native \ + gegl-native \ dbus-glib \ gtk+ \ babl \ gegl \ + libmypaint \ + mypaint-brushes-1.0 \ + gexiv2 \ jpeg \ libpng \ libexif \ tiff \ lcms \ poppler \ + poppler-data \ jasper \ bzip2 \ libgudev \ libmng \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxmu libxpm', '', d)} \ " -DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxmu libxpm', '', d)}" inherit features_check gnomebase gtk-icon-cache gtk-doc mime-xdg REQUIRED_DISTRO_FEATURES = "x11" -SRC_URI = "http://ftp.gimp.org/pub/gimp/v2.8/gimp-${PV}.tar.bz2 \ - file://0001-configure-ac-do-not-check-for-freetype-config.patch \ - file://bump_Babl-GEGL_versions.patch \ - file://0003-Fix-use-of-gegl-API.patch \ - " -SRC_URI[md5sum] = "7e4fd7a53b1d3c32dff642ab1a94b44d" -SRC_URI[sha256sum] = "9187a35cc52b110d78124d7b27b68a68ade14a794c2721314bac6134d2a5638a" +SHPV = "${@gnome_verdir("${PV}")}" + +SRC_URI = "https://download.gimp.org/pub/${BPN}/v${SHPV}/${BP}.tar.bz2" +SRC_URI[md5sum] = "a64f2be299755a2da130306cad9b1d26" +SRC_URI[sha256sum] = "df9b0f11c2078eea1de3ebc66529a5d3854c5e28636cd25a8dd077bd9d6ddc54" EXTRA_OECONF = "--disable-python \ --without-webkit \
@@ -46,7 +49,12 @@ do_configure_append() { find ${B} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g } -CFLAGS += "-fPIC" +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" -FILES_${PN}-dbg += "${libdir}/gimp/2.0/*/.debug" -FILES_${PN} += "${datadir}/appdata" +RDEPENDS_${PN} += "mypaint-brushes-1.0"
meta-oe/recipes-graphics/gimp/gimp/0001-configure-ac-do-not-check-for-freetype-config.patch deleted +0 -38
@@ -1,38 +0,0 @@ -From 72ad76841d87e857428693d812a961935284ac62 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> -Date: Thu, 12 Feb 2015 15:57:47 +0100 -Subject: [PATCH] configure-ac: do not check for freetype-config -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -freetype-config is not allowed in our environment - see also binconfig-disabled - -Upstream-Status: inappropriate [OE specific] - -Signed-off-by: Andreas Müller <[email protected]> ---- - configure.ac | 7 ------- - 1 file changed, 7 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 26812b6..abec714 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -647,13 +647,6 @@ if test "x$fontconfig_ok" = xno; then - fi - - --AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) --if test "x$FREETYPE_CONFIG" != "xno" ; then -- AC_MSG_CHECKING([for freetype libraries]) -- FREETYPE_LIBS=`$FREETYPE_CONFIG --libs` -- AC_MSG_RESULT($FREETYPE_LIBS) --fi --AC_SUBST(FREETYPE_LIBS) - - - ########################################## --- -1.9.3 -
meta-oe/recipes-graphics/gimp/gimp/0003-Fix-use-of-gegl-API.patch deleted +0 -34
@@ -1,34 +0,0 @@ -From e1c8f4b8323e3965271a93529eab5774c1a7083c Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Thu, 29 Jun 2017 10:32:14 -0700 -Subject: [PATCH 3/3] Fix use of gegl API - -newer version of gegl does not define GEGL_IS_PARAM_SPEC_MULTILINE - -| core/libappcore.a(gimpparamspecs-duplicate.o): In function `gimp_param_spec_duplicate': -| /usr/src/debug/gimp/2.8.22-r0/gimp-2.8.22/app/core/../../../../../../../../../workspace/sources/gimp/app/core/gimpparamspecs-duplicate.c:70: undefined reference to `GEGL_IS_PARAM_SPEC_MULTILINE' -| collect2: error: ld returned 1 exit status - -Upstream-Status: Pending - -Signed-off-by: Khem Raj <[email protected]> ---- - app/core/gimpparamspecs-duplicate.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/app/core/gimpparamspecs-duplicate.c b/app/core/gimpparamspecs-duplicate.c -index c0b7426..2efaf23 100644 ---- a/app/core/gimpparamspecs-duplicate.c -+++ b/app/core/gimpparamspecs-duplicate.c -@@ -67,7 +67,7 @@ gimp_param_spec_duplicate (GParamSpec *pspec) - spec->default_value, - pspec->flags); - -- if (GEGL_IS_PARAM_SPEC_MULTILINE (pspec)) -+ if (gegl_param_spec_get_property_key(pspec, "multiline")) - { - g_param_spec_set_qdata (new, multiline_quark, - GINT_TO_POINTER (TRUE)); --- -2.13.2 -
meta-oe/recipes-graphics/gimp/gimp/bump_Babl-GEGL_versions.patch deleted +0 -53
53 lines not on this page · raw message
Signature · 1 line
2.21.0
PATCH v2 6/6 packagegroup-meta-oe: remove babl/gegl/gimp they moved to meta-gnome
In reply to Andreas Müller--- meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +2 -2
@@ -172,8 +172,8 @@ RDEPENDS_packagegroup-meta-oe-gnome ="\ " RDEPENDS_packagegroup-meta-oe-graphics ="\ - babl cairomm dietsplash directfb directfb-examples dnfdragora \ - fbgrab fbida fontforge fvwm gegl gimp glm gphoto2 libgphoto2 \ + cairomm dietsplash directfb directfb-examples dnfdragora \ + fbgrab fbida fontforge fvwm glm gphoto2 libgphoto2 \ gtkperf jasper leptonica libmng libsdl2-image libsdl2-mixer libsdl2-net \ libsdl-gfx libsdl-image libsdl-mixer libsdl-net libsdl-ttf \ libvncserver libyui libyui-ncurses lxdm numlockx openbox openjpeg \
Signature · 1 line
2.21.0