diff options
author | Khem Raj <raj.khem@gmail.com> | 2024-05-20 16:33:35 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-05-23 08:44:42 -0700 |
commit | 7b02f14be9cd394778f5c52f2519a85afe6d553f (patch) | |
tree | ee78e60fb06ea2c4ade23c9fee05fb203c114eb3 /meta-gnome | |
parent | d6dd4b89b610d5448e4dc900b8a0c9d98fb3dda0 (diff) | |
download | meta-openembedded-7b02f14be9cd394778f5c52f2519a85afe6d553f.tar.gz |
gimp: Upgrade to 2.10.38
Fix build with GCC-14 with few backports while here
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r-- | meta-gnome/recipes-gimp/gimp/gimp/0001-file-tiff-load-fix-mismatching-variable-type.patch | 24 | ||||
-rw-r--r-- | meta-gnome/recipes-gimp/gimp/gimp/0001-metadata-shut-up-a-weird-warning.patch | 22 | ||||
-rw-r--r-- | meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb (renamed from meta-gnome/recipes-gimp/gimp/gimp_2.10.36.bb) | 7 |
3 files changed, 51 insertions, 2 deletions
diff --git a/meta-gnome/recipes-gimp/gimp/gimp/0001-file-tiff-load-fix-mismatching-variable-type.patch b/meta-gnome/recipes-gimp/gimp/gimp/0001-file-tiff-load-fix-mismatching-variable-type.patch new file mode 100644 index 0000000000..13b3dda144 --- /dev/null +++ b/meta-gnome/recipes-gimp/gimp/gimp/0001-file-tiff-load-fix-mismatching-variable-type.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From a2458f1528e5733574bb26ff5452b1329116e6db Mon Sep 17 00:00:00 2001 | ||
2 | From: Simon Budig <simon@budig.de> | ||
3 | Date: Sat, 20 May 2023 18:40:41 +0200 | ||
4 | Subject: [PATCH] file-tiff-load: fix mismatching variable type | ||
5 | |||
6 | Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gimp/-/commit/a2458f1528e5733574bb26ff5452b1329116e6db] | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmai.com> | ||
8 | --- | ||
9 | plug-ins/file-tiff/file-tiff-load.c | 6 +++--- | ||
10 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
11 | |||
12 | --- a/plug-ins/file-tiff/file-tiff-load.c | ||
13 | +++ b/plug-ins/file-tiff/file-tiff-load.c | ||
14 | @@ -1301,8 +1301,8 @@ load_image (GFile *file, | ||
15 | |||
16 | /* any resolution info in the file? */ | ||
17 | { | ||
18 | - gfloat xres = 72.0; | ||
19 | - gfloat yres = 72.0; | ||
20 | + gdouble xres = 72.0; | ||
21 | + gdouble yres = 72.0; | ||
22 | gushort read_unit; | ||
23 | GimpUnit unit = GIMP_UNIT_PIXEL; /* invalid unit */ | ||
24 | |||
diff --git a/meta-gnome/recipes-gimp/gimp/gimp/0001-metadata-shut-up-a-weird-warning.patch b/meta-gnome/recipes-gimp/gimp/gimp/0001-metadata-shut-up-a-weird-warning.patch new file mode 100644 index 0000000000..4f04ac8250 --- /dev/null +++ b/meta-gnome/recipes-gimp/gimp/gimp/0001-metadata-shut-up-a-weird-warning.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | From 51311f913d9f417d121f59b83d560c7b4b853d1c Mon Sep 17 00:00:00 2001 | ||
2 | From: Simon Budig <simon@budig.de> | ||
3 | Date: Sat, 20 May 2023 22:25:40 +0200 | ||
4 | Subject: [PATCH] metadata: shut up a weird warning | ||
5 | |||
6 | Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gimp/-/commit/51311f913d9f417d121f59b83d560c7b4b853d1c] | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | plug-ins/metadata/metadata-editor.c | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | --- a/plug-ins/metadata/metadata-editor.c | ||
13 | +++ b/plug-ins/metadata/metadata-editor.c | ||
14 | @@ -2140,7 +2140,7 @@ metadata_dialog_editor_set_metadata (GEx | ||
15 | } | ||
16 | else | ||
17 | { | ||
18 | - if (! g_strv_contains (values, equiv_values[evi])) | ||
19 | + if (! g_strv_contains ((const gchar * const *) values, equiv_values[evi])) | ||
20 | { | ||
21 | gchar *tmpvalue; | ||
22 | |||
diff --git a/meta-gnome/recipes-gimp/gimp/gimp_2.10.36.bb b/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb index 4526839ad6..833341f850 100644 --- a/meta-gnome/recipes-gimp/gimp/gimp_2.10.36.bb +++ b/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb | |||
@@ -46,8 +46,11 @@ SHPV = "${@gnome_verdir("${PV}")}" | |||
46 | 46 | ||
47 | SRC_URI = "https://download.gimp.org/pub/${BPN}/v${SHPV}/${BP}.tar.bz2 \ | 47 | SRC_URI = "https://download.gimp.org/pub/${BPN}/v${SHPV}/${BP}.tar.bz2 \ |
48 | file://0001-configure-Keep-first-line-of-compiler-version-string.patch \ | 48 | file://0001-configure-Keep-first-line-of-compiler-version-string.patch \ |
49 | file://0001-libtool-Do-not-add-build-time-library-paths-to-LD_LI.patch" | 49 | file://0001-libtool-Do-not-add-build-time-library-paths-to-LD_LI.patch \ |
50 | SRC_URI[sha256sum] = "3d3bc3c69a4bdb3aea9ba2d5385ed98ea03953f3857aafd1d6976011ed7cdbb2" | 50 | file://0001-file-tiff-load-fix-mismatching-variable-type.patch \ |
51 | file://0001-metadata-shut-up-a-weird-warning.patch \ | ||
52 | " | ||
53 | SRC_URI[sha256sum] = "50a845eec11c8831fe8661707950f5b8446e35f30edfb9acf98f85c1133f856e" | ||
51 | 54 | ||
52 | EXTRA_OECONF = "--disable-python \ | 55 | EXTRA_OECONF = "--disable-python \ |
53 | --without-webkit \ | 56 | --without-webkit \ |