* [PATCH][v2 0/6] gimp upgrade
@ 2020-02-09 15:10 Andreas Müller
2020-02-09 15:10 ` [PATCH][v2 1/6] babl: upgrade 0.1.62 -> 0.1.74 Andreas Müller
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Andreas Müller @ 2020-02-09 15:10 UTC (permalink / raw)
To: openembedded-devel
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
--
2.21.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH][v2 1/6] babl: upgrade 0.1.62 -> 0.1.74
2020-02-09 15:10 [PATCH][v2 0/6] gimp upgrade Andreas Müller
@ 2020-02-09 15:10 ` Andreas Müller
2020-02-09 15:10 ` [PATCH][v2 2/6] gegl: upgrade 0.3.18 -> 0.4.20 Andreas Müller
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Andreas Müller @ 2020-02-09 15:10 UTC (permalink / raw)
To: openembedded-devel
* 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
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
.../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%)
diff --git a/meta-oe/recipes-graphics/babl/babl_0.1.62.bb b/meta-gnome/recipes-gimp/babl/babl_0.1.74.bb
similarity index 31%
rename from meta-oe/recipes-graphics/babl/babl_0.1.62.bb
rename to meta-gnome/recipes-gimp/babl/babl_0.1.74.bb
index 4a7dbcab3..59921d344 100644
--- a/meta-oe/recipes-graphics/babl/babl_0.1.62.bb
+++ b/meta-gnome/recipes-gimp/babl/babl_0.1.74.bb
@@ -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"
--
2.21.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH][v2 2/6] gegl: upgrade 0.3.18 -> 0.4.20
2020-02-09 15:10 [PATCH][v2 0/6] gimp upgrade Andreas Müller
2020-02-09 15:10 ` [PATCH][v2 1/6] babl: upgrade 0.1.62 -> 0.1.74 Andreas Müller
@ 2020-02-09 15:10 ` Andreas Müller
2020-02-09 15:10 ` [PATCH][v2 3/6] libmypaint: initial add 1.4.0 Andreas Müller
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Andreas Müller @ 2020-02-09 15:10 UTC (permalink / raw)
To: openembedded-devel
* 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
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
...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
diff --git a/meta-gnome/recipes-gimp/gegl/gegl/0001-meson.build-Give-note-if-sdl2-was-found.patch b/meta-gnome/recipes-gimp/gegl/gegl/0001-meson.build-Give-note-if-sdl2-was-found.patch
new file mode 100644
index 000000000..6a49f1d7c
--- /dev/null
+++ b/meta-gnome/recipes-gimp/gegl/gegl/0001-meson.build-Give-note-if-sdl2-was-found.patch
@@ -0,0 +1,32 @@
+From 6bed199a73a7af39344cf8e799b665011553600c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
+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 <schnitzeltony@gmail.com>
+---
+ 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
+
diff --git a/meta-oe/recipes-graphics/gegl/gegl_0.3.18.bb b/meta-gnome/recipes-gimp/gegl/gegl_0.4.20.bb
similarity index 24%
rename from meta-oe/recipes-graphics/gegl/gegl_0.3.18.bb
rename to meta-gnome/recipes-gimp/gegl/gegl_0.4.20.bb
index 0db0f793d..5e7a1bb84 100644
--- a/meta-oe/recipes-graphics/gegl/gegl_0.3.18.bb
+++ b/meta-gnome/recipes-gimp/gegl/gegl_0.4.20.bb
@@ -1,34 +1,61 @@
SUMMARY = "GEGL (Generic Graphics Library) is a graph based image processing framework"
-LICENSE = "LGPL-3.0"
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
-DEPENDS = "babl librsvg glib-2.0 gtk+ pango cairo expat zlib libpng jpeg virtual/libsdl json-glib intltool-native"
-
-EXTRA_OECONF = "--disable-docs"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f1a8bfcbc85304df454b65d378b299c7"
+
+DEPENDS = " \
+ intltool-native \
+ babl \
+ glib-2.0 \
+ pango \
+ cairo \
+ expat \
+ zlib \
+ \
+ json-glib \
+"
+
+GNOMEBASEBUILDCLASS = "meson"
inherit features_check gnomebase vala gobject-introspection
REQUIRED_DISTRO_FEATURES = "x11"
-PACKAGECONFIG ??= ""
-PACKAGECONFIG[jasper] = "--with-jasper,--without-jasper,jasper"
-PACKAGECONFIG[avformat] = "--with-libavformat,--without-libavformat,libav"
-PACKAGECONFIG[lcms] = "--with-lcms,--without-lcms,lcms"
-PACKAGECONFIG[tiff] = "--with-libtiff,--without-libtiff,tiff"
-PACKAGECONFIG[webp] = "--with-webp,--without-webp,webp"
-
-SRC_URI = "http://ftp.gimp.org/pub/${BPN}/0.3/${BP}.tar.bz2 \
- file://pkgconfig.patch "
-SRC_URI[md5sum] = "6e5c6f229261478dc436a38c84405b2a"
-SRC_URI[sha256sum] = "d7858ef26ede136d14e3de188a9e9c0de7707061a9fb96d7d615fab4958491fb"
-
-LDFLAGS += "-lm"
+SHPV = "${@gnome_verdir("${PV}")}"
+
+SRC_URI = " \
+ https://download.gimp.org/pub/${BPN}/${SHPV}/${BP}.tar.xz \
+ file://0001-meson.build-Give-note-if-sdl2-was-found.patch \
+"
+SRC_URI[md5sum] = "37433eb00f8a4b0d1ae9e975aaedfa26"
+SRC_URI[sha256sum] = "23bd8bb42b20de7c2a8c314eeb5301dc20141feda20a4b1ed455020b69b73dff"
+
+PACKAGECONFIG ??= "gexiv2 jpeg libpng librsvg sdl2"
+PACKAGECONFIG_class-native = "libpng librsvg"
+
+PACKAGECONFIG[jasper] = "-Djasper=enabled,-Djasper=disabled,jasper"
+PACKAGECONFIG[gexiv2] = "-Dgexiv2=enabled,-Dgexiv2=disabled,gexiv2"
+PACKAGECONFIG[graphviz] = "-Dgraphviz=enabled,-Dgraphviz=disabled,graphviz"
+PACKAGECONFIG[jpeg] = "-Dlibjpeg=enabled,-Dlibjpeg=disabled,jpeg"
+PACKAGECONFIG[lcms] = "-Dlcms=enabled,-Dlcms=disabled,lcms"
+PACKAGECONFIG[libav] = "-Dlibav=enabled,-Dlibav=disabled,libav"
+PACKAGECONFIG[libpng] = "-Dlibpng=enabled,-Dlibpng=disabled,libpng"
+PACKAGECONFIG[librsvg] = "-Dlibrsvg=enabled,-Dlibrsvg=disabled,librsvg"
+PACKAGECONFIG[sdl] = "-Dsdl1=enabled,-Dsdl1=disabled,virtual/libsdl"
+PACKAGECONFIG[sdl2] = "-Dsdl2=enabled,-Dsdl2=disabled,virtual/libsdl2"
+PACKAGECONFIG[tiff] = "-Dlibtiff=enabled,-Dlibtiff=disabled,tiff"
+PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,webp"
# There are a couple of non-symlink .so files installed into libdir, which need to go into main package
-FILES_${PN}_append = " ${libdir}/gegl-0.3/*.so ${libdir}/gegl-0.3/*.json ${libdir}/libgegl-npd-0.3.so ${libdir}/libgegl-sc-0.3.so"
-FILES_${PN}-dev_append = " ${libdir}/gegl-0.3/*.la ${libdir}/libgegl-0.3.so"
-FILES_${PN}-dev_remove = "${libdir}/lib*.so"
+FILES_${PN} += " \
+ ${libdir}/*.so \
+ ${libdir}/gegl-${SHPV}/*.json \
+ ${libdir}/gegl-${SHPV}/*.so \
+"
+FILES_SOLIBSDEV = "${libdir}/libgegl-${SHPV}${SOLIBSDEV}"
# Fails to build with thumb-1 (qemuarm)
# gegl-0.2.0/operations/common/matting-global.c: In function 'matting_process':
# gegl-0.2.0/operations/common/matting-global.c:463:1: internal compiler error: in patch_jump_insn, at cfgrtl.c:1275
ARM_INSTRUCTION_SET = "arm"
+
+BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-graphics/gegl/gegl/pkgconfig.patch b/meta-oe/recipes-graphics/gegl/gegl/pkgconfig.patch
deleted file mode 100644
index d145b625f..000000000
--- a/meta-oe/recipes-graphics/gegl/gegl/pkgconfig.patch
+++ /dev/null
@@ -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")
--
2.21.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH][v2 3/6] libmypaint: initial add 1.4.0
2020-02-09 15:10 [PATCH][v2 0/6] gimp upgrade Andreas Müller
2020-02-09 15:10 ` [PATCH][v2 1/6] babl: upgrade 0.1.62 -> 0.1.74 Andreas Müller
2020-02-09 15:10 ` [PATCH][v2 2/6] gegl: upgrade 0.3.18 -> 0.4.20 Andreas Müller
@ 2020-02-09 15:10 ` Andreas Müller
2020-02-09 15:10 ` [PATCH][v2 4/6] mypaint-brushes: initial add 1.3.0 Andreas Müller
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Andreas Müller @ 2020-02-09 15:10 UTC (permalink / raw)
To: openembedded-devel
It is a dependency for upcoming gimp 2.10.14
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
.../recipes-gimp/mypaint/libmypaint_git.bb | 24 +++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 meta-gnome/recipes-gimp/mypaint/libmypaint_git.bb
diff --git a/meta-gnome/recipes-gimp/mypaint/libmypaint_git.bb b/meta-gnome/recipes-gimp/mypaint/libmypaint_git.bb
new file mode 100644
index 000000000..2ca80f3e6
--- /dev/null
+++ b/meta-gnome/recipes-gimp/mypaint/libmypaint_git.bb
@@ -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
+}
--
2.21.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH][v2 4/6] mypaint-brushes: initial add 1.3.0
2020-02-09 15:10 [PATCH][v2 0/6] gimp upgrade Andreas Müller
` (2 preceding siblings ...)
2020-02-09 15:10 ` [PATCH][v2 3/6] libmypaint: initial add 1.4.0 Andreas Müller
@ 2020-02-09 15:10 ` Andreas Müller
2020-02-09 15:10 ` [PATCH][v2 5/6] gimp: upgrade 2.8.22 -> 2.10.14 Andreas Müller
2020-02-09 15:10 ` [PATCH][v2 6/6] packagegroup-meta-oe: remove babl/gegl/gimp they moved to meta-gnome Andreas Müller
5 siblings, 0 replies; 7+ messages in thread
From: Andreas Müller @ 2020-02-09 15:10 UTC (permalink / raw)
To: openembedded-devel
* it is a (r)dependency for upcoming gimp 2.10.14
* there are 2.x versions available but these are not what gimp requires
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
.../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
diff --git a/meta-gnome/recipes-gimp/mypaint/mypaint-brushes-1.0_git.bb b/meta-gnome/recipes-gimp/mypaint/mypaint-brushes-1.0_git.bb
new file mode 100644
index 000000000..d4d08fe8d
--- /dev/null
+++ b/meta-gnome/recipes-gimp/mypaint/mypaint-brushes-1.0_git.bb
@@ -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"
--
2.21.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH][v2 5/6] gimp: upgrade 2.8.22 -> 2.10.14
2020-02-09 15:10 [PATCH][v2 0/6] gimp upgrade Andreas Müller
` (3 preceding siblings ...)
2020-02-09 15:10 ` [PATCH][v2 4/6] mypaint-brushes: initial add 1.3.0 Andreas Müller
@ 2020-02-09 15:10 ` Andreas Müller
2020-02-09 15:10 ` [PATCH][v2 6/6] packagegroup-meta-oe: remove babl/gegl/gimp they moved to meta-gnome Andreas Müller
5 siblings, 0 replies; 7+ messages in thread
From: Andreas Müller @ 2020-02-09 15:10 UTC (permalink / raw)
To: openembedded-devel
* 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
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
.../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
diff --git a/meta-oe/recipes-graphics/gimp/gimp_2.8.22.bb b/meta-gnome/recipes-gimp/gimp/gimp_2.10.14.bb
similarity index 49%
rename from meta-oe/recipes-graphics/gimp/gimp_2.8.22.bb
rename to meta-gnome/recipes-gimp/gimp/gimp_2.10.14.bb
index 718f8998c..045958d0a 100644
--- a/meta-oe/recipes-graphics/gimp/gimp_2.8.22.bb
+++ b/meta-gnome/recipes-gimp/gimp/gimp_2.10.14.bb
@@ -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"
diff --git a/meta-oe/recipes-graphics/gimp/gimp/0001-configure-ac-do-not-check-for-freetype-config.patch b/meta-oe/recipes-graphics/gimp/gimp/0001-configure-ac-do-not-check-for-freetype-config.patch
deleted file mode 100644
index fecd0121c..000000000
--- a/meta-oe/recipes-graphics/gimp/gimp/0001-configure-ac-do-not-check-for-freetype-config.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 72ad76841d87e857428693d812a961935284ac62 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
-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 <schnitzeltony@googlemail.com>
----
- 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
-
diff --git a/meta-oe/recipes-graphics/gimp/gimp/0003-Fix-use-of-gegl-API.patch b/meta-oe/recipes-graphics/gimp/gimp/0003-Fix-use-of-gegl-API.patch
deleted file mode 100644
index 7da78e205..000000000
--- a/meta-oe/recipes-graphics/gimp/gimp/0003-Fix-use-of-gegl-API.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From e1c8f4b8323e3965271a93529eab5774c1a7083c Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-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 <raj.khem@gmail.com>
----
- 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
-
diff --git a/meta-oe/recipes-graphics/gimp/gimp/bump_Babl-GEGL_versions.patch b/meta-oe/recipes-graphics/gimp/gimp/bump_Babl-GEGL_versions.patch
deleted file mode 100644
index b71bf329e..000000000
--- a/meta-oe/recipes-graphics/gimp/gimp/bump_Babl-GEGL_versions.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-Bump acceptable versions of babl and gegl.
-
-Patch is taken from debian:
-https://packages.debian.org/stretch/gimp
-
-Upstream-Status: Inappropriate [OE specific]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-diff --git a/app/sanity.c b/app/sanity.c
-index febddfb..85fea55 100644
---- a/app/sanity.c
-+++ b/app/sanity.c
-@@ -351,7 +351,7 @@ sanity_check_babl (void)
-
- #define BABL_REQUIRED_MAJOR 0
- #define BABL_REQUIRED_MINOR 1
--#define BABL_REQUIRED_MICRO 10
-+#define BABL_REQUIRED_MICRO 12
-
- babl_get_version (&babl_major_version,
- &babl_minor_version,
-@@ -388,7 +388,7 @@ sanity_check_gegl (void)
- gint gegl_micro_version;
-
- #define GEGL_REQUIRED_MAJOR 0
--#define GEGL_REQUIRED_MINOR 2
-+#define GEGL_REQUIRED_MINOR 3
- #define GEGL_REQUIRED_MICRO 0
-
- gegl_get_version (&gegl_major_version,
-diff --git a/configure.ac b/configure.ac
-index 26812b6..4252fe9 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -40,8 +40,8 @@ m4_define([gimp_stable],
- m4_define([gimp_full_name], [GNU Image Manipulation Program])
-
- # required versions of other packages
--m4_define([babl_required_version], [0.1.10])
--m4_define([gegl_required_version], [0.2.0])
-+m4_define([babl_required_version], [0.1.12])
-+m4_define([gegl_required_version], [0.3.0])
- m4_define([glib_required_version], [2.30.2])
- m4_define([atk_required_version], [2.2.0])
- m4_define([gtk_required_version], [2.24.10])
-@@ -519,7 +519,7 @@ AC_SUBST(ISO_CODES_LOCALEDIR)
- ###############################
-
- PKG_CHECK_MODULES(BABL, babl >= babl_required_version)
--PKG_CHECK_MODULES(GEGL, gegl-0.2 >= gegl_required_version)
-+PKG_CHECK_MODULES(GEGL, gegl-0.3 >= gegl_required_version)
- PKG_CHECK_MODULES(ATK, atk >= atk_required_version)
-
- AM_PATH_GLIB_2_0(glib_required_version, :,
--
2.21.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH][v2 6/6] packagegroup-meta-oe: remove babl/gegl/gimp they moved to meta-gnome
2020-02-09 15:10 [PATCH][v2 0/6] gimp upgrade Andreas Müller
` (4 preceding siblings ...)
2020-02-09 15:10 ` [PATCH][v2 5/6] gimp: upgrade 2.8.22 -> 2.10.14 Andreas Müller
@ 2020-02-09 15:10 ` Andreas Müller
5 siblings, 0 replies; 7+ messages in thread
From: Andreas Müller @ 2020-02-09 15:10 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
index d5789a758..07f71c8a5 100644
--- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
+++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
@@ -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 \
--
2.21.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-02-09 15:11 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-09 15:10 [PATCH][v2 0/6] gimp upgrade Andreas Müller
2020-02-09 15:10 ` [PATCH][v2 1/6] babl: upgrade 0.1.62 -> 0.1.74 Andreas Müller
2020-02-09 15:10 ` [PATCH][v2 2/6] gegl: upgrade 0.3.18 -> 0.4.20 Andreas Müller
2020-02-09 15:10 ` [PATCH][v2 3/6] libmypaint: initial add 1.4.0 Andreas Müller
2020-02-09 15:10 ` [PATCH][v2 4/6] mypaint-brushes: initial add 1.3.0 Andreas Müller
2020-02-09 15:10 ` [PATCH][v2 5/6] gimp: upgrade 2.8.22 -> 2.10.14 Andreas Müller
2020-02-09 15:10 ` [PATCH][v2 6/6] packagegroup-meta-oe: remove babl/gegl/gimp they moved to meta-gnome Andreas Müller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.