summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-09-17 11:38:48 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-18 08:53:10 +0100
commitd8ad963a2280d7e6995734ddcb620bd10af70b34 (patch)
treefe4922d5d7be399890d5f18e94c30c0749a66934 /meta/recipes-core/glib-2.0
parenta990c6ce157e897cde950de2e7c161e2bc9ec9a8 (diff)
downloadpoky-d8ad963a2280d7e6995734ddcb620bd10af70b34.tar.gz
glib-2.0: update 2.76.4 -> 2.78.0
Add a patch so that native glib executables do not error out on systems with kernels less than 5.4. (From OE-Core rev: 404d9187f2be1f99be740e10b3d4cc23e482027d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glib-2.0')
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch74
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-portal-support-Fix-snap-test-ordering-race.patch107
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/0001-glocalfile-Sum-apparent-size-only-for-files-and-syml.patch105
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/0001-meson.build-do-not-enable-pidfd-features-on-native-g.patch32
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch20
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0_2.78.0.bb (renamed from meta/recipes-core/glib-2.0/glib-2.0_2.76.4.bb)8
-rw-r--r--meta/recipes-core/glib-2.0/glib.inc1
7 files changed, 84 insertions, 263 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch b/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch
index 9bdd99d8a2..0d44ddf299 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch
+++ b/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch
@@ -1,4 +1,4 @@
1From 4a41bf7b050168726cc4fad4c1c72fc7c18ab779 Mon Sep 17 00:00:00 2001 1From 9ec4eedeb3f67db0bff09f5d859318d05ff47964 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 15 Feb 2019 11:17:27 +0100 3Date: Fri, 15 Feb 2019 11:17:27 +0100
4Subject: [PATCH] Do not write $bindir into pkg-config files 4Subject: [PATCH] Do not write $bindir into pkg-config files
@@ -16,46 +16,46 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
16 2 files changed, 11 insertions(+), 11 deletions(-) 16 2 files changed, 11 insertions(+), 11 deletions(-)
17 17
18diff --git a/gio/meson.build b/gio/meson.build 18diff --git a/gio/meson.build b/gio/meson.build
19index 36b5bad..137e75a 100644 19index a320c0f..86ce7c4 100644
20--- a/gio/meson.build 20--- a/gio/meson.build
21+++ b/gio/meson.build 21+++ b/gio/meson.build
22@@ -862,14 +862,14 @@ pkg.generate(libgio, 22@@ -884,14 +884,14 @@ pkg.generate(libgio,
23 'schemasdir=' + join_paths('${datadir}', schemas_subdir), 23 'dtdsdir=' + '${datadir}' / dtds_subdir,
24 'bindir=' + join_paths('${prefix}', get_option('bindir')), 24 'bindir=' + '${prefix}' / get_option('bindir'),
25 'giomoduledir=' + pkgconfig_giomodulesdir, 25 'giomoduledir=' + pkgconfig_giomodulesdir,
26- 'gio=' + join_paths('${bindir}', 'gio'), 26- 'gio=' + '${bindir}' / 'gio',
27- 'gio_querymodules=@0@'.format(pkgconfig_multiarch_bindir / 'gio-querymodules'), 27- 'gio_querymodules=' + pkgconfig_multiarch_bindir / 'gio-querymodules',
28- 'glib_compile_schemas=@0@'.format(pkgconfig_multiarch_bindir / 'glib-compile-schemas'), 28- 'glib_compile_schemas=' + pkgconfig_multiarch_bindir / 'glib-compile-schemas',
29- 'glib_compile_resources=' + join_paths('${bindir}', 'glib-compile-resources'), 29- 'glib_compile_resources=' + '${bindir}' / 'glib-compile-resources',
30- 'gdbus=' + join_paths('${bindir}', 'gdbus'), 30- 'gdbus=' + '${bindir}' /'gdbus',
31- 'gdbus_codegen=' + join_paths('${bindir}', 'gdbus-codegen'), 31- 'gdbus_codegen=' + '${bindir}' / 'gdbus-codegen',
32- 'gresource=' + join_paths('${bindir}', 'gresource'), 32- 'gresource=' + '${bindir}' / 'gresource',
33- 'gsettings=' + join_paths('${bindir}', 'gsettings')], 33- 'gsettings=' + '${bindir}' / 'gsettings',
34+ 'gio=gio', 34+ 'gio=gio',
35+ 'gio_querymodules=gio-querymodules', 35+ 'gio_querymodules=gio-querymodules',
36+ 'glib_compile_schemas=glib-compile-schemas', 36+ 'glib_compile_schemas=glib-compile-schemas',
37+ 'glib_compile_resources=glib-compile-resources', 37+ 'glib_compile_resources=glib-compile-resources',
38+ 'gdbus=gdbus', 38+ 'gdbus=gdbus',
39+ 'gdbus_codegen=gdbus-codegen', 39+ 'gdbus_codegen=gdbus-codegen',
40+ 'gresource=gresource', 40+ 'gresource=gresource',
41+ 'gsettings=gsettings'], 41+ 'gsettings=gsettings',
42 ],
42 version : glib_version, 43 version : glib_version,
43 install_dir : glib_pkgconfigreldir, 44 install_dir : glib_pkgconfigreldir,
44 filebase : 'gio-2.0',
45diff --git a/glib/meson.build b/glib/meson.build 45diff --git a/glib/meson.build b/glib/meson.build
46index c365901..c3d6601 100644 46index c26a35e..1d8ca6b 100644
47--- a/glib/meson.build 47--- a/glib/meson.build
48+++ b/glib/meson.build 48+++ b/glib/meson.build
49@@ -397,9 +397,9 @@ pkg.generate(libglib, 49@@ -447,9 +447,9 @@ pkg.generate(libglib,
50 subdirs : ['glib-2.0'], 50 variables : [
51 extra_cflags : ['-I${libdir}/glib-2.0/include'] + win32_cflags, 51 'bindir=' + '${prefix}' / get_option('bindir'),
52 variables : ['bindir=' + join_paths('${prefix}', get_option('bindir')), 52 'datadir=' + '${prefix}' / get_option('datadir'),
53- 'glib_genmarshal=' + join_paths('${bindir}', 'glib-genmarshal'), 53- 'glib_genmarshal=' + '${bindir}' / 'glib-genmarshal',
54- 'gobject_query=' + join_paths('${bindir}', 'gobject-query'), 54- 'gobject_query=' + '${bindir}' / 'gobject-query',
55- 'glib_mkenums=' + join_paths('${bindir}', 'glib-mkenums')], 55- 'glib_mkenums=' + '${bindir}' / 'glib-mkenums',
56+ 'glib_genmarshal=glib-genmarshal', 56+ 'glib_genmarshal=glib-genmarshal',
57+ 'gobject_query=gobject-query', 57+ 'gobject_query=gobject-query',
58+ 'glib_mkenums=glib-mkenums'], 58+ 'glib_mkenums=glib-mkenums',
59 version : glib_version, 59 'glib_valgrind_suppressions=' + '${datadir}' /
60 install_dir : glib_pkgconfigreldir, 60 valgrind_suppression_file_install_subdir /
61 filebase : 'glib-2.0', 61 fs.name(valgrind_suppression_file),
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-portal-support-Fix-snap-test-ordering-race.patch b/meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-portal-support-Fix-snap-test-ordering-race.patch
deleted file mode 100644
index 9e2bc1338b..0000000000
--- a/meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-portal-support-Fix-snap-test-ordering-race.patch
+++ /dev/null
@@ -1,107 +0,0 @@
1From f47503cc5ae10de6dee319ba6cff257eddabf33e Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Tue, 30 May 2023 11:52:38 +0100
4Subject: [PATCH] gio/tests/portal-support: Fix snap test ordering race
5
6When the gnome test runner executes the tests, the test appear to execute in disk
7order. This means it sometimes works and sometimes we see breakage in portal-support-snap
8and portal-support-snap-classic.
9
10The issue is that some tests create config files but some don't. If they run
11in the wrong order, tests see config files they shouldn't and break.
12
13Fix this by deleting the files after each test run, properly cleaning up after
14themselves. The cleanup code is based upon gtestutils.c:rm_rf().
15
16Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/glib/-/commit/c63cf19d9a8a6ae315a7f9a3fe4ea60c8cf5dece]
17
18Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19---
20 gio/tests/portal-support-snap-classic.c | 3 +++
21 gio/tests/portal-support-snap.c | 3 +++
22 gio/tests/portal-support-utils.c | 27 +++++++++++++++++++++++++
23 gio/tests/portal-support-utils.h | 2 ++
24 4 files changed, 35 insertions(+)
25
26diff --git a/gio/tests/portal-support-snap-classic.c b/gio/tests/portal-support-snap-classic.c
27index 8c0ed90c2..5b67865e7 100644
28--- a/gio/tests/portal-support-snap-classic.c
29+++ b/gio/tests/portal-support-snap-classic.c
30@@ -66,6 +66,9 @@ tests_teardown (SetupData *setup_data,
31 else
32 g_unsetenv ("SNAP");
33
34+ cleanup_snapfiles (setup_data->snap_path);
35+ cleanup_snapfiles (setup_data->bin_path);
36+
37 g_clear_pointer (&setup_data->old_path, g_free);
38 g_clear_pointer (&setup_data->old_snap, g_free);
39 }
40diff --git a/gio/tests/portal-support-snap.c b/gio/tests/portal-support-snap.c
41index 7dd14d82f..cd904678f 100644
42--- a/gio/tests/portal-support-snap.c
43+++ b/gio/tests/portal-support-snap.c
44@@ -67,6 +67,9 @@ tests_teardown (SetupData *setup_data,
45 else
46 g_unsetenv ("SNAP");
47
48+ cleanup_snapfiles (setup_data->snap_path);
49+ cleanup_snapfiles (setup_data->bin_path);
50+
51 g_clear_pointer (&setup_data->old_path, g_free);
52 g_clear_pointer (&setup_data->old_snap, g_free);
53 }
54diff --git a/gio/tests/portal-support-utils.c b/gio/tests/portal-support-utils.c
55index ae7073a3a..b7ee22630 100644
56--- a/gio/tests/portal-support-utils.c
57+++ b/gio/tests/portal-support-utils.c
58@@ -26,6 +26,33 @@
59 #include <glib.h>
60 #include <glib/gstdio.h>
61
62+
63+void
64+cleanup_snapfiles (const gchar *path)
65+{
66+ GDir *dir = NULL;
67+ const gchar *entry;
68+
69+ dir = g_dir_open (path, 0, NULL);
70+ if (dir == NULL)
71+ {
72+ /* Assume it’s a file. Ignore failure. */
73+ (void) g_remove (path);
74+ return;
75+ }
76+
77+ while ((entry = g_dir_read_name (dir)) != NULL)
78+ {
79+ gchar *sub_path = g_build_filename (path, entry, NULL);
80+ cleanup_snapfiles (sub_path);
81+ g_free (sub_path);
82+ }
83+
84+ g_dir_close (dir);
85+
86+ g_rmdir (path);
87+}
88+
89 void
90 create_fake_snapctl (const char *path,
91 const char *supported_op)
92diff --git a/gio/tests/portal-support-utils.h b/gio/tests/portal-support-utils.h
93index 40c035b43..defbdcd4e 100644
94--- a/gio/tests/portal-support-utils.h
95+++ b/gio/tests/portal-support-utils.h
96@@ -23,6 +23,8 @@
97
98 #include <glib.h>
99
100+void cleanup_snapfiles (const gchar *path);
101+
102 void create_fake_snap_yaml (const char *snap_path,
103 gboolean is_classic);
104
105--
1062.39.2
107
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/0001-glocalfile-Sum-apparent-size-only-for-files-and-syml.patch b/meta/recipes-core/glib-2.0/glib-2.0/0001-glocalfile-Sum-apparent-size-only-for-files-and-syml.patch
deleted file mode 100644
index a881b25ef3..0000000000
--- a/meta/recipes-core/glib-2.0/glib-2.0/0001-glocalfile-Sum-apparent-size-only-for-files-and-syml.patch
+++ /dev/null
@@ -1,105 +0,0 @@
1From d1a2117dc18dbcf87685891de7e2898108b66fc9 Mon Sep 17 00:00:00 2001
2From: Joan Bruguera <joanbrugueram@gmail.com>
3Date: Thu, 23 Mar 2023 02:24:30 +0000
4Subject: [PATCH] glocalfile: Sum apparent size only for files and symlinks
5
6Since GNU Coreutils 9.2 (commit 110bcd28386b1f47a4cd876098acb708fdcbbb25),
7`du --apparent-size` (including `du --bytes`) no longer counts all kinds of
8files (directories, FIFOs, etc.), but only those for which `st_size` in
9`struct stat` is defined by POSIX, namely regular files and symlinks
10(and also rarely supported memory objects).
11
12This aligns the behaviour of GLib's `G_FILE_MEASURE_APPARENT_SIZE` flag
13with the new GNU Coreutils `du` and correct POSIX use.
14
15Note that this may be a breaking change for some uses.
16
17Link: https://lists.gnu.org/archive/html/bug-coreutils/2023-03/msg00007.html
18Fixes: https://gitlab.gnome.org/GNOME/glib/-/issues/2965
19
20Upstream-Status: Backport
21Signed-off-by: Alexander Kanavin <alex@linutronix.de>
22---
23 gio/gioenums.h | 3 +++
24 gio/glocalfile.c | 37 +++++++++++++++++++++++++++++++++++++
25 2 files changed, 40 insertions(+)
26
27diff --git a/gio/gioenums.h b/gio/gioenums.h
28index 7fd74a43e..c820cd36d 100644
29--- a/gio/gioenums.h
30+++ b/gio/gioenums.h
31@@ -224,6 +224,9 @@ typedef enum {
32 * sizes. Normally, the block-size is used, if available, as this is a
33 * more accurate representation of disk space used.
34 * Compare with `du --apparent-size`.
35+ * Since GLib 2.78. and similarly to `du` since GNU Coreutils 9.2, this will
36+ * ignore the sizes of file types other than regular files and links, as the
37+ * sizes of other file types are not specified in a standard way.
38 * @G_FILE_MEASURE_NO_XDEV: Do not cross mount point boundaries.
39 * Compare with `du -x`.
40 *
41diff --git a/gio/glocalfile.c b/gio/glocalfile.c
42index 67d4b99fb..dbb56902d 100644
43--- a/gio/glocalfile.c
44+++ b/gio/glocalfile.c
45@@ -86,6 +86,9 @@
46 #define FILE_READ_ONLY_VOLUME 0x00080000
47 #endif
48
49+#ifndef S_ISREG
50+#define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
51+#endif
52 #ifndef S_ISDIR
53 #define S_ISDIR(m) (((m) & _S_IFMT) == _S_IFDIR)
54 #endif
55@@ -2777,6 +2780,39 @@ g_local_file_measure_size_of_contents (gint fd,
56 MeasureState *state,
57 GError **error);
58
59+/*
60+ * _g_stat_is_size_usable:
61+ * @buf: a #GLocalFileStat.
62+ *
63+ * Checks if the file type is such that the `st_size` field of `struct stat` is
64+ * well-defined by POSIX.
65+ * (see https://pubs.opengroup.org/onlinepubs/009696799/basedefs/sys/stat.h.html)
66+ *
67+ * This behaviour is aligned with `du` from GNU Coreutils 9.2+
68+ * (see https://lists.gnu.org/archive/html/bug-coreutils/2023-03/msg00007.html)
69+ * and makes apparent size sums well-defined; formerly, they depended on the
70+ * implementation, and could differ across filesystems.
71+ *
72+ * Returns: %TRUE if the size field is well-defined, %FALSE otherwise.
73+ **/
74+inline static gboolean
75+_g_stat_is_size_usable (const GLocalFileStat *buf)
76+{
77+#ifndef HAVE_STATX
78+ /* Memory objects are defined by POSIX, but are not supported by statx nor Windows */
79+#ifdef S_TYPEISSHM
80+ if (S_TYPEISSHM (buf))
81+ return TRUE;
82+#endif
83+#ifdef S_TYPEISTMO
84+ if (S_TYPEISTMO (buf))
85+ return TRUE;
86+#endif
87+#endif
88+
89+ return S_ISREG (_g_stat_mode (buf)) || S_ISLNK (_g_stat_mode (buf));
90+}
91+
92 static gboolean
93 g_local_file_measure_size_of_file (gint parent_fd,
94 GSList *name,
95@@ -2836,6 +2872,7 @@ g_local_file_measure_size_of_file (gint parent_fd,
96 state->disk_usage += _g_stat_blocks (&buf) * G_GUINT64_CONSTANT (512);
97 else
98 #endif
99+ if (_g_stat_is_size_usable (&buf))
100 state->disk_usage += _g_stat_size (&buf);
101
102 if (S_ISDIR (_g_stat_mode (&buf)))
103--
1042.39.2
105
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/0001-meson.build-do-not-enable-pidfd-features-on-native-g.patch b/meta/recipes-core/glib-2.0/glib-2.0/0001-meson.build-do-not-enable-pidfd-features-on-native-g.patch
new file mode 100644
index 0000000000..788f420d11
--- /dev/null
+++ b/meta/recipes-core/glib-2.0/glib-2.0/0001-meson.build-do-not-enable-pidfd-features-on-native-g.patch
@@ -0,0 +1,32 @@
1From 9aa9574861fad39d0679025e35fe1e188345f685 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Sat, 16 Sep 2023 22:28:27 +0200
4Subject: [PATCH] meson.build: do not enable pidfd features on native glib
5 builds
6
7We still use host distros like alma 8 with kernels older than 5.4,
8where these features are not implemented.
9
10Upstream-Status: Inappropriate [oe-core specific]
11Signed-off-by: Alexander Kanavin <alex@linutronix.de>
12---
13 meson.build | 3 ++-
14 1 file changed, 2 insertions(+), 1 deletion(-)
15
16diff --git a/meson.build b/meson.build
17index 1c36993..bbf97fc 100644
18--- a/meson.build
19+++ b/meson.build
20@@ -981,7 +981,8 @@ if cc.links('''#include <sys/syscall.h>
21 waitid (P_PIDFD, 0, &child_info, WEXITED | WNOHANG);
22 return 0;
23 }''', name : 'pidfd_open(2) system call')
24- glib_conf.set('HAVE_PIDFD', 1)
25+ #requires kernel 5.4+
26+ #glib_conf.set('HAVE_PIDFD', 1)
27 endif
28
29 # Check for __uint128_t (gcc) by checking for 128-bit division
30--
312.30.2
32
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch b/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch
index 3dba599fc0..841fedef8a 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch
+++ b/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch
@@ -1,4 +1,4 @@
1From 38e401969a2ff8269919cbeacec733a67f041735 Mon Sep 17 00:00:00 2001 1From b90d13900dd2777c2ab90c5b0be1a872c10a17da Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@intel.com> 2From: Ross Burton <ross.burton@intel.com>
3Date: Fri, 11 Mar 2016 15:35:55 +0000 3Date: Fri, 11 Mar 2016 15:35:55 +0000
4Subject: [PATCH] glib-2.0: relocate the GIO module directory for native builds 4Subject: [PATCH] glib-2.0: relocate the GIO module directory for native builds
@@ -13,25 +13,28 @@ Signed-off-by: Ross Burton <ross.burton@intel.com>
13 13
14Port patch to 2.48 14Port patch to 2.48
15Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> 15Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
16
16--- 17---
17 gio/giomodule.c | 5 ----- 18 gio/giomodule.c | 7 -------
18 1 file changed, 5 deletions(-) 19 1 file changed, 7 deletions(-)
19 20
20diff --git a/gio/giomodule.c b/gio/giomodule.c 21diff --git a/gio/giomodule.c b/gio/giomodule.c
21index 11ce7d8..cc27ecd 100644 22index 17fabe6..8021208 100644
22--- a/gio/giomodule.c 23--- a/gio/giomodule.c
23+++ b/gio/giomodule.c 24+++ b/gio/giomodule.c
24@@ -1271,9 +1271,6 @@ get_gio_module_dir (void) 25@@ -1271,11 +1271,6 @@ get_gio_module_dir (void)
25 g_free (install_dir); 26 g_free (install_dir);
26 #else 27 #else
27 module_dir = g_strdup (GIO_MODULE_DIR); 28 module_dir = g_strdup (GIO_MODULE_DIR);
28-#ifdef __APPLE__ 29-#ifdef __APPLE__
29-#include "TargetConditionals.h" 30-#include "TargetConditionals.h"
30-#if TARGET_OS_OSX 31-/* Only auto-relocate on macOS, not watchOS etc; older macOS SDKs only define TARGET_OS_MAC */
32-#if (defined (TARGET_OS_OSX) && TARGET_OS_OSX) || \
33- (!defined (TARGET_OS_OSX) && defined (TARGET_OS_MAC) && TARGET_OS_MAC)
31 #include <dlfcn.h> 34 #include <dlfcn.h>
32 { 35 {
33 g_autofree gchar *path = NULL; 36 g_autofree gchar *path = NULL;
34@@ -1292,8 +1289,6 @@ get_gio_module_dir (void) 37@@ -1294,8 +1289,6 @@ get_gio_module_dir (void)
35 } 38 }
36 } 39 }
37 } 40 }
@@ -40,6 +43,3 @@ index 11ce7d8..cc27ecd 100644
40 #endif 43 #endif
41 } 44 }
42 45
43--
442.30.2
45
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.76.4.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.78.0.bb
index 64a3c6d80c..500e4e873e 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.76.4.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.78.0.bb
@@ -14,12 +14,12 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \
14 file://0001-Do-not-write-bindir-into-pkg-config-files.patch \ 14 file://0001-Do-not-write-bindir-into-pkg-config-files.patch \
15 file://0001-meson-Run-atomics-test-on-clang-as-well.patch \ 15 file://0001-meson-Run-atomics-test-on-clang-as-well.patch \
16 file://0001-gio-tests-resources.c-comment-out-a-build-host-only-.patch \ 16 file://0001-gio-tests-resources.c-comment-out-a-build-host-only-.patch \
17 file://0001-gio-tests-portal-support-Fix-snap-test-ordering-race.patch \
18 file://0001-glocalfile-Sum-apparent-size-only-for-files-and-syml.patch \
19 " 17 "
20SRC_URI:append:class-native = " file://relocate-modules.patch" 18SRC_URI:append:class-native = " file://relocate-modules.patch \
19 file://0001-meson.build-do-not-enable-pidfd-features-on-native-g.patch \
20 "
21 21
22SRC_URI[sha256sum] = "5a5a191c96836e166a7771f7ea6ca2b0069c603c7da3cba1cd38d1694a395dda" 22SRC_URI[sha256sum] = "44eaab8b720877ce303c5540b657b126f12dc94972d9880b52959f43fb537b30"
23 23
24# Find any meson cross files in FILESPATH that are relevant for the current 24# Find any meson cross files in FILESPATH that are relevant for the current
25# build (using siteinfo) and add them to EXTRA_OEMESON. 25# build (using siteinfo) and add them to EXTRA_OEMESON.
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index 878dd107de..c314594d49 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -54,6 +54,7 @@ FILES:${PN} = "${libdir}/lib*${SOLIBS} \
54 ${libdir}/gio \ 54 ${libdir}/gio \
55 ${libexecdir}/*gio-querymodules \ 55 ${libexecdir}/*gio-querymodules \
56 ${libexecdir}/*gio-launch-desktop \ 56 ${libexecdir}/*gio-launch-desktop \
57 ${datadir}/glib-2.0/dtds \
57 ${datadir}/glib-2.0/schemas" 58 ${datadir}/glib-2.0/schemas"
58 59
59FILES:${PN}-utils += "${bindir}/glib-genmarshal \ 60FILES:${PN}-utils += "${bindir}/glib-genmarshal \