glib-2.0: upgrade 2.86.4 -> 2.88.0
PATCH 1/1 glib-2.0: upgrade 2.86.4 -> 2.88.0
Deleted patches included in this release.
Refreshed patches and resolved conflicts.
Reworked relocate-modules.patch because of upstream commit which moved the code we were using into macos specific function, so get the code
back to place we need it.
* https://gitlab.gnome.org/GNOME/glib/-/commit/9adec080ab80787eb53ef4dafaa1561e31731a6a
Release notes with filtered "bugs fixed" and "translation updates":
Overview of changes in GLib 2.88.0, 2026-03-16
Overview of changes in GLib 2.87.5, 2026-03-12
* Brown paper bag release to attempt to fix the dist-job in CI; this caused it to be impossible to build a release archive for 2.87.4
Overview of changes in GLib 2.87.4, 2026-03-12
* Avoid installing broken symlinks as part of the test data for the gdatetime tests (!5054 (merged), work by Alessandro Astone)
* Fix g_file_set_contents() with non-ASCII filenames on Windows (#3873 (closed), work by Lukas K.)
Overview of changes in GLib 2.87.3, 2026-02-25
* Improved support for GNotification on Windows (#3867 (closed), #3869 (closed), work by Oscar Pernia Moreno)
* Fix module lookups via GModule on Cygwin (#3741 (closed), work by Ailin Nemui)
* Fix local timezone lookup with nested symlinks in /etc/localtime (#3816 (closed), work by Alessandro Astone)
* Fix ordering and sequential consistency of gatomic memory barriers on MSVC and fallback GCC code paths (#3829 (closed), #3852 (closed), work by Luca Bacci)
* Fix various integer overflow bugs (#3870 (closed), #3871 (closed), #3872 (closed), CVE-2026-1484, CVE-2026-1485, CVE-2026-1489, work by Marco Trevisan)
* Add GSocketControlMessage subclasses for receiving IP_TOS and IPV6_TCLASS (!4846 (merged), work by Jakub Adam)
* Support polling more than 1024 FDs on macOS (!4953 (merged), work by Ihar Hrachyshka)
* Remove platform-specific backward compatibility from GLib-2.0 as it’s impossible to support (#3839 (closed), !4881 (merged), work by Marco Trevisan)
* Improve introspection annotations for delimiters on g_strsplit_set() (this may require changes in introspection bindings)
* Basic support for building and running some functionality on tvOS and watchOS (!4992 (merged), work by Nirbheek Chauhan)
* Add g_get_monotonic_time() variant with nanosecond precision (!5004 (merged), work by Benjamin Otte)
Overview of changes in GLib 2.87.2, 2026-01-19
* Add initial support for GNotification on Windows (#3857 (closed), work by Oscar Pernia Moreno)
Overview of changes in GLib 2.87.1, 2025-12-30
* Several low-risk CVE fixes (#3827 (closed), #3834 (closed), #3845 (closed))
* Fix return type of gi_callable_info_get_closure_native_address() (#3859 (closed), work by Philip Chimento)
* Tweak thread pool handling for GTask threads to prevent stalls (#3840 (closed), work by Ignazio Pillai)
* Respect NO_COLOR environment variable in log output (!4898 (merged), work by Aaron Andersen)
* Update file system type lists to mark more file system types as system ones and to recognise ntfs3 file systems (!4916 (merged) and #3828 (closed), work by Christian Hergert and Alexander Schwinn)
* Add G_GNUC_FLAG_ENUM attribute to mark enums as flags (!4900 (merged), work by Philip Chimento)
* Add a static CRT constructor and fusion manifest XML for GLib utilities on Windows so that stderr can be unbuffered and streams are flushed on exit (#3733 (closed), work by Luca Bacci)
* Fix G_FILE_MONITOR_WATCH_HARD_LINKS on Windows (#3819 (closed), work by Jehan)
Overview of changes in GLib 2.87.0, 2025-11-03
* Update to Unicode 17.0.0 (!4793 (merged), work by Peng Wu)
* Support runtime extensions to gdbus-codegen tool to allow modifying its output in project-specific ways (!4812 (merged), work by Sebastian Wick)
* Use document portal to open all the URIs for snaps (!4822 (merged), work by Marco Trevisan)
* Add g_markup_parse_context_get_offset() API for getting error locations in XML files (!4879 (merged), work by Matthias Clasen)
---
...t-write-bindir-into-pkg-config-files.patch | 4 +-
...-gio-querymodules-as-libexec_PROGRAM.patch | 4 +-
...tetime-ptest-failure-with-glibc-2.43.patch | 78 -------------------
...on-Run-atomics-test-on-clang-as-well.patch | 2 +-
...ot-enable-pidfd-features-on-native-g.patch | 2 +-
.../glib-2.0/files/CVE-2026-0988.patch | 58 --------------
.../glib-2.0/files/relocate-modules.patch | 43 +++++-----
...l_2.86.4.bb => glib-2.0-initial_2.88.0.bb} | 0
...{glib-2.0_2.86.4.bb => glib-2.0_2.88.0.bb} | 0
meta/recipes-core/glib-2.0/glib.inc | 4 +-
10 files changed, 32 insertions(+), 163 deletions(-)
delete mode 100644 meta/recipes-core/glib-2.0/files/0001-glib-2.0-fix-gdatetime-ptest-failure-with-glibc-2.43.patch
delete mode 100644 meta/recipes-core/glib-2.0/files/CVE-2026-0988.patch
rename meta/recipes-core/glib-2.0/{glib-2.0-initial_2.86.4.bb => glib-2.0-initial_2.88.0.bb} (100%)
rename meta/recipes-core/glib-2.0/{glib-2.0_2.86.4.bb => glib-2.0_2.88.0.bb} (100%)meta/recipes-core/glib-2.0/files/0001-Do-not-write-bindir-into-pkg-config-files.patch +2 -2
@@ -18,7 +18,7 @@ diff --git a/gio/meson.build b/gio/meson.build index 2f8f188..57c48d2 100644 --- a/gio/meson.build +++ b/gio/meson.build -@@ -912,17 +912,18 @@ libgio_dep = declare_dependency(link_with : libgio, +@@ -934,17 +934,18 @@ libgio_dep = declare_dependency(link_with : libgio, pkg.generate(libgio, requires : ['glib-2.0', 'gobject-2.0'], variables : [
@@ -49,7 +49,7 @@ diff --git a/glib/meson.build b/glib/meson.build index 209bcbf..a86cfd3 100644 --- a/glib/meson.build +++ b/glib/meson.build -@@ -464,9 +464,10 @@ pkg.generate(libglib, +@@ -480,9 +480,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-Install-gio-querymodules-as-libexec_PROGRAM.patch +2 -2
@@ -16,11 +16,11 @@ diff --git a/gio/meson.build b/gio/meson.build index 39256d3..2f8f188 100644 --- a/gio/meson.build +++ b/gio/meson.build -@@ -1049,6 +1049,7 @@ gio_querymodules = executable('gio-querymodules', 'gio-querymodules.c', 'giomodu +@@ -1071,6 +1071,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, + install_dir: glib_libexecdir, - dependencies : [libgio_dep, libgobject_dep, libgmodule_dep, libglib_dep]) + dependencies : [libgio_dep, libgobject_dep, libgmodule_dep, libglib_dep, app_profile_dep]) glib_compile_schemas = executable('glib-compile-schemas',
meta/recipes-core/glib-2.0/files/0001-glib-2.0-fix-gdatetime-ptest-failure-with-glibc-2.43.patch deleted +0 -78
78 lines not on this page · raw message
meta/recipes-core/glib-2.0/files/0001-meson-Run-atomics-test-on-clang-as-well.patch +1 -1
@@ -17,7 +17,7 @@ diff --git a/meson.build b/meson.build index dab1d61..cc3a5ed 100644 --- a/meson.build +++ b/meson.build -@@ -2092,7 +2092,7 @@ atomicdefine = ''' +@@ -2100,7 +2100,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 +1 -1
@@ -17,7 +17,7 @@ diff --git a/meson.build b/meson.build index cc3a5ed..58dd87a 100644 --- a/meson.build +++ b/meson.build -@@ -1090,7 +1090,8 @@ if cc.links('''#include <sys/syscall.h> +@@ -1098,7 +1098,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/CVE-2026-0988.patch deleted +0 -58
58 lines not on this page · raw message
meta/recipes-core/glib-2.0/files/relocate-modules.patch +25 -18
57 lines not on this page · raw message
meta/recipes-core/glib-2.0/glib-2.0-initial_2.88.0.bb renamed from meta/recipes-core/glib-2.0/glib-2.0-initial_2.86.4.bb +0 -0
meta/recipes-core/glib-2.0/glib-2.0_2.88.0.bb renamed from meta/recipes-core/glib-2.0/glib-2.0_2.86.4.bb +0 -0
meta/recipes-core/glib-2.0/glib.inc +1 -3
@@ -231,14 +231,12 @@ SRC_URI += "\ file://0001-gio-tests-resources.c-comment-out-a-build-host-only-.patch \ file://0010-Do-not-hardcode-python-path-into-various-tools.patch \ file://skip-timeout.patch \ - file://CVE-2026-0988.patch \ - file://0001-glib-2.0-fix-gdatetime-ptest-failure-with-glibc-2.43.patch \ " 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] = "d4e2b5d791d5015ffd8c6971ad8e975a0a55c1a14926cdb25cf843ff00682260" +SRC_URI[archive.sha256sum] = "3546251ccbb3744d4bc4eb48354540e1f6200846572bab68e3a2b7b2b64dfd07" # Find any meson cross files in FILESPATH that are relevant for the current # build (using siteinfo) and add them to EXTRA_OEMESON.