summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gdk-pixbuf
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-08-19 09:26:53 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-21 22:51:42 +0100
commita5f2ae764a85928a357d64dea32ceadf58c80ae9 (patch)
treed44119dae86342b1a2921608a3a11c9bc381bd5f /meta/recipes-gnome/gdk-pixbuf
parent304d1c917e61a6827e05333a556650a74b2145ac (diff)
downloadpoky-a5f2ae764a85928a357d64dea32ceadf58c80ae9.tar.gz
gdk-pixbuf: update 2.42.8 -> 2.42.9
Disable manpages, as they require rst2man. (From OE-Core rev: 06fc6230823753f2325da7e0916eccc4daac5c6a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gdk-pixbuf')
-rw-r--r--meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Add-use_prebuilt_tools-option.patch18
-rw-r--r--meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/fatal-loader.patch20
-rw-r--r--meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.9.bb (renamed from meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.8.bb)12
3 files changed, 28 insertions, 22 deletions
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Add-use_prebuilt_tools-option.patch b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Add-use_prebuilt_tools-option.patch
index a8206a4507..02cc9a2a70 100644
--- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Add-use_prebuilt_tools-option.patch
+++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Add-use_prebuilt_tools-option.patch
@@ -1,4 +1,4 @@
1From ba73bb0f3d2023839bc3b681c49b7ec1192cceb4 Mon Sep 17 00:00:00 2001 1From f81b60ebcbbfd9548c8aa1e388662c429068d1e3 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Sat, 8 May 2021 21:58:54 +0200 3Date: Sat, 8 May 2021 21:58:54 +0200
4Subject: [PATCH] Add use_prebuilt_tools option 4Subject: [PATCH] Add use_prebuilt_tools option
@@ -18,7 +18,7 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
18 5 files changed, 42 insertions(+), 19 deletions(-) 18 5 files changed, 42 insertions(+), 19 deletions(-)
19 19
20diff --git a/gdk-pixbuf/meson.build b/gdk-pixbuf/meson.build 20diff --git a/gdk-pixbuf/meson.build b/gdk-pixbuf/meson.build
21index 8b0590b..7331491 100644 21index 54ff9dd..2e321cf 100644
22--- a/gdk-pixbuf/meson.build 22--- a/gdk-pixbuf/meson.build
23+++ b/gdk-pixbuf/meson.build 23+++ b/gdk-pixbuf/meson.build
24@@ -342,13 +342,20 @@ foreach bin: gdkpixbuf_bin 24@@ -342,13 +342,20 @@ foreach bin: gdkpixbuf_bin
@@ -45,16 +45,18 @@ index 8b0590b..7331491 100644
45 # load the installed cache; we always build it by default 45 # load the installed cache; we always build it by default
46 loaders_cache = custom_target('loaders.cache', 46 loaders_cache = custom_target('loaders.cache',
47diff --git a/meson.build b/meson.build 47diff --git a/meson.build b/meson.build
48index 7a1409b..0bc73eb 100644 48index 813bd43..a93e6f7 100644
49--- a/meson.build 49--- a/meson.build
50+++ b/meson.build 50+++ b/meson.build
51@@ -403,16 +403,16 @@ subdir('gdk-pixbuf') 51@@ -369,18 +369,18 @@ subdir('gdk-pixbuf')
52 # i18n 52 # i18n
53 subdir('po') 53 subdir('po')
54 54
55-if not meson.is_cross_build() 55-if not meson.is_cross_build()
56+if not meson.is_cross_build() or get_option('use_prebuilt_tools') 56+if not meson.is_cross_build() or get_option('use_prebuilt_tools')
57 subdir('tests') 57 if get_option('tests')
58 subdir('tests')
59 endif
58- subdir('thumbnailer') 60- subdir('thumbnailer')
59 endif 61 endif
60+subdir('thumbnailer') 62+subdir('thumbnailer')
@@ -69,10 +71,10 @@ index 7a1409b..0bc73eb 100644
69 gdk_pixbuf_bindir, 71 gdk_pixbuf_bindir,
70 gdk_pixbuf_libdir, 72 gdk_pixbuf_libdir,
71diff --git a/meson_options.txt b/meson_options.txt 73diff --git a/meson_options.txt b/meson_options.txt
72index 0ee6718..cc29855 100644 74index d198d99..1c899e9 100644
73--- a/meson_options.txt 75--- a/meson_options.txt
74+++ b/meson_options.txt 76+++ b/meson_options.txt
75@@ -49,4 +49,8 @@ option('gio_sniffing', 77@@ -53,4 +53,8 @@ option('gio_sniffing',
76 description: 'Perform file type detection using GIO (Unused on MacOS and Windows)', 78 description: 'Perform file type detection using GIO (Unused on MacOS and Windows)',
77 type: 'boolean', 79 type: 'boolean',
78 value: true) 80 value: true)
@@ -82,7 +84,7 @@ index 0ee6718..cc29855 100644
82+ value: false) 84+ value: false)
83 85
84diff --git a/tests/meson.build b/tests/meson.build 86diff --git a/tests/meson.build b/tests/meson.build
85index 7c6cb11..1029e6a 100644 87index 28c2525..d97c02d 100644
86--- a/tests/meson.build 88--- a/tests/meson.build
87+++ b/tests/meson.build 89+++ b/tests/meson.build
88@@ -5,6 +5,12 @@ 90@@ -5,6 +5,12 @@
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/fatal-loader.patch b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/fatal-loader.patch
index 25410b11ea..dd580f8162 100644
--- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/fatal-loader.patch
+++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/fatal-loader.patch
@@ -1,4 +1,4 @@
1From f00603d58d844422363b896ea7d07aaf48ddaa66 Mon Sep 17 00:00:00 2001 1From b511bd1efb43ffc49c753e309717a242ec686ef1 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@intel.com> 2From: Ross Burton <ross.burton@intel.com>
3Date: Tue, 1 Apr 2014 17:23:36 +0100 3Date: Tue, 1 Apr 2014 17:23:36 +0100
4Subject: [PATCH] gdk-pixbuf: add an option so that loader errors are fatal 4Subject: [PATCH] gdk-pixbuf: add an option so that loader errors are fatal
@@ -14,10 +14,10 @@ Signed-off-by: Ross Burton <ross.burton@intel.com>
14 1 file changed, 15 insertions(+), 4 deletions(-) 14 1 file changed, 15 insertions(+), 4 deletions(-)
15 15
16diff --git a/gdk-pixbuf/queryloaders.c b/gdk-pixbuf/queryloaders.c 16diff --git a/gdk-pixbuf/queryloaders.c b/gdk-pixbuf/queryloaders.c
17index 312aa78..b813d99 100644 17index 1d39b44..2b00815 100644
18--- a/gdk-pixbuf/queryloaders.c 18--- a/gdk-pixbuf/queryloaders.c
19+++ b/gdk-pixbuf/queryloaders.c 19+++ b/gdk-pixbuf/queryloaders.c
20@@ -212,7 +212,7 @@ write_loader_info (GString *contents, const char *path, GdkPixbufFormat *info) 20@@ -216,7 +216,7 @@ write_loader_info (GString *contents, const char *path, GdkPixbufFormat *info)
21 g_string_append_c (contents, '\n'); 21 g_string_append_c (contents, '\n');
22 } 22 }
23 23
@@ -26,7 +26,7 @@ index 312aa78..b813d99 100644
26 query_module (GString *contents, const char *dir, const char *file) 26 query_module (GString *contents, const char *dir, const char *file)
27 { 27 {
28 char *path; 28 char *path;
29@@ -221,6 +221,7 @@ query_module (GString *contents, const char *dir, const char *file) 29@@ -225,6 +225,7 @@ query_module (GString *contents, const char *dir, const char *file)
30 void (*fill_vtable) (GdkPixbufModule *module); 30 void (*fill_vtable) (GdkPixbufModule *module);
31 gpointer fill_info_ptr; 31 gpointer fill_info_ptr;
32 gpointer fill_vtable_ptr; 32 gpointer fill_vtable_ptr;
@@ -34,7 +34,7 @@ index 312aa78..b813d99 100644
34 34
35 if (g_path_is_absolute (file)) 35 if (g_path_is_absolute (file))
36 path = g_strdup (file); 36 path = g_strdup (file);
37@@ -270,10 +271,13 @@ query_module (GString *contents, const char *dir, const char *file) 37@@ -274,10 +275,13 @@ query_module (GString *contents, const char *dir, const char *file)
38 g_module_error()); 38 g_module_error());
39 else 39 else
40 g_fprintf (stderr, "Cannot load loader %s\n", path); 40 g_fprintf (stderr, "Cannot load loader %s\n", path);
@@ -47,8 +47,8 @@ index 312aa78..b813d99 100644
47+ return ret; 47+ return ret;
48 } 48 }
49 49
50 #ifdef G_OS_WIN32 50 #if defined(G_OS_WIN32) && defined(GDK_PIXBUF_RELOCATABLE)
51@@ -314,6 +318,7 @@ int main (int argc, char **argv) 51@@ -318,6 +322,7 @@ int main (int argc, char **argv)
52 gint first_file = 1; 52 gint first_file = 1;
53 GFile *pixbuf_libdir_file; 53 GFile *pixbuf_libdir_file;
54 gchar *pixbuf_libdir; 54 gchar *pixbuf_libdir;
@@ -56,7 +56,7 @@ index 312aa78..b813d99 100644
56 56
57 #ifdef G_OS_WIN32 57 #ifdef G_OS_WIN32
58 gchar *libdir; 58 gchar *libdir;
59@@ -452,7 +457,9 @@ int main (int argc, char **argv) 59@@ -456,7 +461,9 @@ int main (int argc, char **argv)
60 } 60 }
61 modules = g_list_sort (modules, (GCompareFunc)strcmp); 61 modules = g_list_sort (modules, (GCompareFunc)strcmp);
62 for (l = modules; l != NULL; l = l->next) 62 for (l = modules; l != NULL; l = l->next)
@@ -67,7 +67,7 @@ index 312aa78..b813d99 100644
67 g_list_free_full (modules, g_free); 67 g_list_free_full (modules, g_free);
68 g_free (moduledir); 68 g_free (moduledir);
69 #else 69 #else
70@@ -468,7 +475,8 @@ int main (int argc, char **argv) 70@@ -472,7 +479,8 @@ int main (int argc, char **argv)
71 infilename = g_locale_to_utf8 (infilename, 71 infilename = g_locale_to_utf8 (infilename,
72 -1, NULL, NULL, NULL); 72 -1, NULL, NULL, NULL);
73 #endif 73 #endif
@@ -77,7 +77,7 @@ index 312aa78..b813d99 100644
77 } 77 }
78 g_free (cwd); 78 g_free (cwd);
79 } 79 }
80@@ -486,5 +494,8 @@ int main (int argc, char **argv) 80@@ -490,5 +498,8 @@ int main (int argc, char **argv)
81 81
82 g_free (pixbuf_libdir); 82 g_free (pixbuf_libdir);
83 83
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.8.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.9.bb
index fb6829a7d1..d33718e3ea 100644
--- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.8.bb
+++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.9.bb
@@ -23,7 +23,7 @@ SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \
23 file://0001-Add-use_prebuilt_tools-option.patch \ 23 file://0001-Add-use_prebuilt_tools-option.patch \
24 " 24 "
25 25
26SRC_URI[sha256sum] = "84acea3acb2411b29134b32015a5b1aaa62844b19c4b1ef8b8971c6b0759f4c6" 26SRC_URI[sha256sum] = "28f7958e7bf29a32d4e963556d241d0a41a6786582ff6a5ad11665e0347fc962"
27 27
28inherit meson pkgconfig gettext pixbufcache ptest-gnome upstream-version-is-even gobject-introspection gi-docgen lib_package 28inherit meson pkgconfig gettext pixbufcache ptest-gnome upstream-version-is-even gobject-introspection gi-docgen lib_package
29 29
@@ -44,11 +44,13 @@ PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg"
44PACKAGECONFIG[tiff] = "-Dtiff=enabled,-Dtiff=disabled,tiff" 44PACKAGECONFIG[tiff] = "-Dtiff=enabled,-Dtiff=disabled,tiff"
45PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false" 45PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false"
46 46
47EXTRA_OEMESON:class-target = " \ 47EXTRA_OEMESON = "-Dman=false"
48
49EXTRA_OEMESON:append:class-target = " \
48 -Duse_prebuilt_tools=true \ 50 -Duse_prebuilt_tools=true \
49" 51"
50 52
51EXTRA_OEMESON:class-nativesdk = " \ 53EXTRA_OEMESON:append:class-nativesdk = " \
52 -Duse_prebuilt_tools=true \ 54 -Duse_prebuilt_tools=true \
53" 55"
54 56
@@ -95,9 +97,11 @@ do_install:append() {
95 97
96} 98}
97 99
98# Remove a bad fuzzing attempt that sporadically fails without a way to reproduce
99do_install_ptest() { 100do_install_ptest() {
101 # Remove a bad fuzzing attempt that sporadically fails without a way to reproduce
100 rm ${D}/${datadir}/installed-tests/gdk-pixbuf/pixbuf-randomly-modified.test 102 rm ${D}/${datadir}/installed-tests/gdk-pixbuf/pixbuf-randomly-modified.test
103 # https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/215
104 rm ${D}/${datadir}/installed-tests/gdk-pixbuf/pixbuf-jpeg.test
101} 105}
102 106
103do_install:append:class-native() { 107do_install:append:class-native() {