glib-2.0: Upgrade 2.86.0 -> 2.86.1
PATCH 1/2 glib-2.0: Upgrade 2.86.0 -> 2.86.1
From: Jörg Sommer <[email protected]>
Overview of changes in GLib 2.86.1, 2025-10-21
==============================================
* Bugs fixed:
- #3745 GIRepository: union fields offsets for compiled typelibs all have
offset 0xffff (unknown) (Philip Chimento)
- #3780 `gio/tests/socket-listener` requires dlsym
- #3781 GLib.OptionContext's get_help() includes width of invisible options
(FeRD (Frank Dana))
- #3783 [CI] Pipeline on 'main' failed for commit c31c4a52 (Tobias Stoeckmann)
- #3784 Memory leak related to g_get_home_dir (Michael Catanzaro)
- #3798 Gio.AppInfo.launch_default_for_uri_async crashes with non-existent
paths (Philip Withnall)
- #3803 GNetworkMonitor's netlink backend doesn't notify connectivity change
(Philip Withnall)
- https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/
- !4755 ghash: Fix entry_is_big for CHERI architecture
- !4756 ghash: Handle all table sizes in iterator
- !4760 gbookmarkfile: Escape icon href and mime-type
- !4773 docs: Add Luca Bacci as a co-maintainer of the Windows code
- !4775 Update Ukrainian translation
- !4776 Update Catalan translation
- !4777 Update Lithuanian translation
- !4778 tests: Fix clang compilation warnings
- !4779 gmem: Replace SIZE_OVERFLOWS with g_size_checked_mul
- !4780 Update Brazilian Portuguese translation
- !4781 Update eu translation
- !4782 Update Korean translation
- !4785 Update Japanese translation
- !4786 Update Galician translations
- !4787 Update Hungarian translation
- !4791 gstrfuncs: Check string length in g_strescape
- !4800 gutils: Improve load_user_special_dirs' user-dirs.dirs parser
- !4802 Update Turkish translation
- !4809 Trivial backport of "gutils: Handle singletons in unlocked functions"
to glib-2-86 branch
- !4814 Backport translation updates to glib-2-86
- !4821 Backport !4820 “gio/tests: Fix a race condition in
/gdbus/connection/flush” to glib-2-86
- !4828 Backport !4827 “ghostutils: Treat 0x80 (and above) as non-ASCII” to
glib-2-86
- !4834 Backport !4810 and !4819, various fixes to user-dirs.dirs handling in
gutils
- !4836 Backport !4835 “Update Portuguese translation” to glib-2-86
- !4839 Update Romanian translation
- !4842 Backport "girnode: Fix computation of union member offsets" to
glib-2-86
- !4848 Update British English translation (2.86)
- !4865 Backport !4859 “gopenuriportal: Fix a crash when the file can’t be
opened” to glib-2-86
- !4867 Backport !4792 “gtype: Use transfer none for types (un)ref functions”
to glib-2-86 - !4872 Fix macOS and msys2 CI builds on glib-2-86 branch
- !4873 Backport !4871 “gnetworkmonitorbase: Add missing notify::connectivity signal” to glib-2-86
* Translation updates:
- Basque (Asier Saratsua Garmendia)
- Catalan (Jordi Mas)
- English (United Kingdom) (Bruce Cowan)
- Esperanto (Kristjan ESPERANTO)
- Galician (Fran Dieguez)
- Hungarian (Balázs Úr)
- Japanese (Makoto Sakaguchi)
- Korean (Changwoo Ryu)
- Lithuanian (Aurimas Černius)
- Portuguese (Hugo Carvalho)
- Portuguese (Brazil) (Rafael Fontenelle)
- Romanian (Antonio Marin)
- Serbian (Милош Поповић)
- Turkish (Sabri Ünal)
- Ukrainian (Yuri Chornoivan)
(From OE-Core rev: 9538bb86a050901e0cc0e6b696517f40e7b5f436)
---
.../{glib-2.0-initial_2.86.0.bb => glib-2.0-initial_2.86.1.bb} | 0
.../glib-2.0/{glib-2.0_2.86.0.bb => glib-2.0_2.86.1.bb} | 0
meta/recipes-core/glib-2.0/glib.inc | 2 +-
3 files changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-core/glib-2.0/{glib-2.0-initial_2.86.0.bb => glib-2.0-initial_2.86.1.bb} (100%)
rename meta/recipes-core/glib-2.0/{glib-2.0_2.86.0.bb => glib-2.0_2.86.1.bb} (100%)meta/recipes-core/glib-2.0/glib-2.0-initial_2.86.1.bb renamed from meta/recipes-core/glib-2.0/glib-2.0-initial_2.86.0.bb +0 -0
meta/recipes-core/glib-2.0/glib-2.0_2.86.1.bb renamed from meta/recipes-core/glib-2.0/glib-2.0_2.86.0.bb +0 -0
meta/recipes-core/glib-2.0/glib.inc +1 -1
@@ -236,7 +236,7 @@ SRC_URI:append:class-native = " file://relocate-modules.patch \ file://0001-meson.build-do-not-enable-pidfd-features-on-native-g.patch \ " -SRC_URI[archive.sha256sum] = "b5739972d737cfb0d6fd1e7f163dfe650e2e03740bb3b8d408e4d1faea580d6d" +SRC_URI[archive.sha256sum] = "119d1708ca022556d6d2989ee90ad1b82bd9c0d1667e066944a6d0020e2d5e57" # Find any meson cross files in FILESPATH that are relevant for the current # build (using siteinfo) and add them to EXTRA_OEMESON.
PATCH 2/2 glib-2.0: upgrade 2.86.1 -> 2.86.3
From: Alexander Kanavin <[email protected]>
(From OE-Core rev: 2041beac5c9cf081c5c23220c6fb259381611111)
Handles CVE-2025-13601, CVE-2025-14087 and CVE-2025-14512.
---
...001-Do-not-write-bindir-into-pkg-config-files.patch | 10 +++++-----
.../files/0001-Fix-DATADIRNAME-on-uclibc-Linux.patch | 2 +-
...1-Install-gio-querymodules-as-libexec_PROGRAM.patch | 6 +++---
...the-warning-about-deprecated-paths-in-schemas.patch | 2 +-
...ts-resources.c-comment-out-a-build-host-only-.patch | 2 +-
.../0001-meson-Run-atomics-test-on-clang-as-well.patch | 6 +++---
...uild-do-not-enable-pidfd-features-on-native-g.patch | 6 +++---
...o-not-hardcode-python-path-into-various-tools.patch | 2 +-
.../recipes-core/glib-2.0/files/relocate-modules.patch | 8 ++++----
meta/recipes-core/glib-2.0/files/skip-timeout.patch | 2 +-
....0-initial_2.86.1.bb => glib-2.0-initial_2.86.3.bb} | 0
.../{glib-2.0_2.86.1.bb => glib-2.0_2.86.3.bb} | 0
meta/recipes-core/glib-2.0/glib.inc | 2 +-
13 files changed, 24 insertions(+), 24 deletions(-)
rename meta/recipes-core/glib-2.0/{glib-2.0-initial_2.86.1.bb => glib-2.0-initial_2.86.3.bb} (100%)
rename meta/recipes-core/glib-2.0/{glib-2.0_2.86.1.bb => glib-2.0_2.86.3.bb} (100%)meta/recipes-core/glib-2.0/files/0001-Do-not-write-bindir-into-pkg-config-files.patch +5 -5
@@ -1,4 +1,4 @@ -From 8981db5d775e04b72fb68b6a4553c87fdaedee65 Mon Sep 17 00:00:00 2001 +From 6fe3965383d94b3030e85ab899955858710fec5c Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <[email protected]> Date: Fri, 15 Feb 2019 11:17:27 +0100 Subject: [PATCH] Do not prefix executables with $bindir in pkg-config files
@@ -15,10 +15,10 @@ Signed-off-by: Alexander Kanavin <[email protected]> 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/gio/meson.build b/gio/meson.build -index 5d91b89..1a8da12 100644 +index 2f8f188..57c48d2 100644 --- a/gio/meson.build +++ b/gio/meson.build -@@ -901,17 +901,18 @@ libgio_dep = declare_dependency(link_with : libgio, +@@ -912,17 +912,18 @@ libgio_dep = declare_dependency(link_with : libgio, pkg.generate(libgio, requires : ['glib-2.0', 'gobject-2.0'], variables : [
@@ -46,10 +46,10 @@ index 5d91b89..1a8da12 100644 uninstalled_variables : [ 'gio=${prefix}/gio/gio', diff --git a/glib/meson.build b/glib/meson.build -index 837960d..97d4af0 100644 +index 209bcbf..a86cfd3 100644 --- a/glib/meson.build +++ b/glib/meson.build -@@ -443,9 +443,10 @@ pkg.generate(libglib, +@@ -464,9 +464,10 @@ pkg.generate(libglib, subdirs : ['glib-2.0'], extra_cflags : ['-I${libdir}/glib-2.0/include'] + win32_cflags, variables : [
meta/recipes-core/glib-2.0/files/0001-Fix-DATADIRNAME-on-uclibc-Linux.patch +1 -1
@@ -1,4 +1,4 @@ -From 48bfc87e9f757cf65ad967520860bfd7526c36f2 Mon Sep 17 00:00:00 2001 +From 966c58aae35f9e2bcef5238e0331a119e0e51abd Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Sat, 15 Mar 2014 22:42:29 -0700 Subject: [PATCH] Fix DATADIRNAME on uclibc/Linux
meta/recipes-core/glib-2.0/files/0001-Install-gio-querymodules-as-libexec_PROGRAM.patch +3 -3
@@ -1,4 +1,4 @@ -From b8dcbf03b315d31759176e9d4fd389e8fda6ffcd Mon Sep 17 00:00:00 2001 +From 0de3a3a791ca32f2330eb3a8ad9da0fe6dce950c Mon Sep 17 00:00:00 2001 From: Jussi Kukkonen <[email protected]> Date: Tue, 22 Mar 2016 15:14:58 +0200 Subject: [PATCH] Install gio-querymodules as libexec_PROGRAM
@@ -13,10 +13,10 @@ Upstream-Status: Inappropriate [OE specific] 1 file changed, 1 insertion(+) diff --git a/gio/meson.build b/gio/meson.build -index 854b95a..5d91b89 100644 +index 39256d3..2f8f188 100644 --- a/gio/meson.build +++ b/gio/meson.build -@@ -1038,6 +1038,7 @@ gio_querymodules = executable('gio-querymodules', 'gio-querymodules.c', 'giomodu +@@ -1049,6 +1049,7 @@ gio_querymodules = executable('gio-querymodules', 'gio-querymodules.c', 'giomodu c_args : gio_c_args, # intl.lib is not compatible with SAFESEH link_args : noseh_link_args,
meta/recipes-core/glib-2.0/files/0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch +1 -1
@@ -1,4 +1,4 @@ -From bdb2772d672e95584585e902689936559c5db05d Mon Sep 17 00:00:00 2001 +From b829f3205e4d8390f02eaa8e7a7bf85e51cbb7ed Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <[email protected]> Date: Fri, 12 Jun 2015 17:08:46 +0300 Subject: [PATCH] Remove the warning about deprecated paths in schemas
meta/recipes-core/glib-2.0/files/0001-gio-tests-resources.c-comment-out-a-build-host-only-.patch +1 -1
@@ -1,4 +1,4 @@ -From 8cb75d3bc368ee108a4b14bc57a92bd0c0b2e10e Mon Sep 17 00:00:00 2001 +From 912e674bb0a3b51dabaa58da1834491ef94e6a2a Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <[email protected]> Date: Wed, 8 Jan 2020 18:22:46 +0100 Subject: [PATCH] gio/tests/resources.c: comment out a build host-only test
meta/recipes-core/glib-2.0/files/0001-meson-Run-atomics-test-on-clang-as-well.patch +3 -3
@@ -1,4 +1,4 @@ -From 502984fe340a76c92e2c04235f43fdcb47728806 Mon Sep 17 00:00:00 2001 +From 26ddae02d7677bcff7c3933ee856d34df41b548f Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Sat, 12 Oct 2019 17:46:26 -0700 Subject: [PATCH] meson: Run atomics test on clang as well
@@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build -index a8bcadc..041b68e 100644 +index dab1d61..cc3a5ed 100644 --- a/meson.build +++ b/meson.build -@@ -2077,7 +2077,7 @@ atomicdefine = ''' +@@ -2092,7 +2092,7 @@ atomicdefine = ''' # We know that we can always use real ("lock free") atomic operations with MSVC if cc.get_id() == 'msvc' or cc.get_id() == 'clang-cl' or cc.links(atomictest, name : 'atomic ops') have_atomic_lock_free = true
meta/recipes-core/glib-2.0/files/0001-meson.build-do-not-enable-pidfd-features-on-native-g.patch +3 -3
@@ -1,4 +1,4 @@ -From d5e566c45a9ab4d7e51104ab176e6eb5f705f91d Mon Sep 17 00:00:00 2001 +From c6cd3c0a66ae8f210185e0cb05b2172dc192ce9e Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <[email protected]> Date: Sat, 16 Sep 2023 22:28:27 +0200 Subject: [PATCH] meson.build: do not enable pidfd features on native glib
@@ -14,10 +14,10 @@ Signed-off-by: Alexander Kanavin <[email protected]> 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build -index 041b68e..155bfd4 100644 +index cc3a5ed..58dd87a 100644 --- a/meson.build +++ b/meson.build -@@ -1075,7 +1075,8 @@ if cc.links('''#include <sys/syscall.h> +@@ -1090,7 +1090,8 @@ if cc.links('''#include <sys/syscall.h> waitid (P_PIDFD, 0, &child_info, WEXITED | WNOHANG); return 0; }''', name : 'pidfd_open(2) system call')
meta/recipes-core/glib-2.0/files/0010-Do-not-hardcode-python-path-into-various-tools.patch +1 -1
@@ -1,4 +1,4 @@ -From 211927d2caa4a81e1131c2210e1db838104a1fb9 Mon Sep 17 00:00:00 2001 +From 40e40230e6a3c52b79c6f92e8c060bd4d93f0374 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <[email protected]> Date: Tue, 3 Oct 2017 10:45:55 +0300 Subject: [PATCH] Do not hardcode python path into various tools
meta/recipes-core/glib-2.0/files/relocate-modules.patch +4 -4
@@ -1,4 +1,4 @@ -From 456bac53f19d3094aa2007054c87d86c9d65b423 Mon Sep 17 00:00:00 2001 +From 14bbc77bc465b42454112bc6a33264c2c3e013e5 Mon Sep 17 00:00:00 2001 From: Ross Burton <[email protected]> Date: Fri, 11 Mar 2016 15:35:55 +0000 Subject: [PATCH] glib-2.0: relocate the GIO module directory for native builds
@@ -18,10 +18,10 @@ Signed-off-by: Jussi Kukkonen <[email protected]> 1 file changed, 7 deletions(-) diff --git a/gio/giomodule.c b/gio/giomodule.c -index 76c2028..6deba7c 100644 +index 38761e4..afa7878 100644 --- a/gio/giomodule.c +++ b/gio/giomodule.c -@@ -1260,11 +1260,6 @@ get_gio_module_dir (void) +@@ -1272,11 +1272,6 @@ get_gio_module_dir (void) g_free (install_dir); #else module_dir = g_strdup (GIO_MODULE_DIR);
@@ -33,7 +33,7 @@ index 76c2028..6deba7c 100644 #include <dlfcn.h> { g_autofree gchar *path = NULL; -@@ -1283,8 +1278,6 @@ get_gio_module_dir (void) +@@ -1295,8 +1290,6 @@ get_gio_module_dir (void) } } }
meta/recipes-core/glib-2.0/files/skip-timeout.patch +1 -1
@@ -1,4 +1,4 @@ -From 51bfcab0b60bd57f4d3463c479fdf47e645cd6fe Mon Sep 17 00:00:00 2001 +From f77b9dd72dd0103c7a28dd7e1cdf6e316ecbf030 Mon Sep 17 00:00:00 2001 From: Ross Burton <[email protected]> Date: Thu, 28 Mar 2024 16:27:09 +0000 Subject: [PATCH] Skip /timeout/rounding test
meta/recipes-core/glib-2.0/glib-2.0-initial_2.86.3.bb renamed from meta/recipes-core/glib-2.0/glib-2.0-initial_2.86.1.bb +0 -0
meta/recipes-core/glib-2.0/glib-2.0_2.86.3.bb renamed from meta/recipes-core/glib-2.0/glib-2.0_2.86.1.bb +0 -0
meta/recipes-core/glib-2.0/glib.inc +1 -1
@@ -236,7 +236,7 @@ SRC_URI:append:class-native = " file://relocate-modules.patch \ file://0001-meson.build-do-not-enable-pidfd-features-on-native-g.patch \ " -SRC_URI[archive.sha256sum] = "119d1708ca022556d6d2989ee90ad1b82bd9c0d1667e066944a6d0020e2d5e57" +SRC_URI[archive.sha256sum] = "b3211d8d34b9df5dca05787ef0ad5d7ca75dec998b970e1aab0001d229977c65" # Find any meson cross files in FILESPATH that are relevant for the current # build (using siteinfo) and add them to EXTRA_OEMESON.