From patchwork Sun Oct 5 18:18:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 9171 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4cfrHm6868z3wkk for ; Sun, 05 Oct 2025 18:18:28 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "E8" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4cfrHm1tQZz40G for ; Sun, 05 Oct 2025 18:18:28 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4cfrHm15Skz32gQ for ; Sun, 05 Oct 2025 18:18:28 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4cfrHj11wQz2y4s for ; Sun, 05 Oct 2025 18:18:25 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4cfrHZ5hZXzGT; Sun, 05 Oct 2025 18:18:18 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1759688299; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=X9c8LUTIeKthekoYGmj7iqjezsTdPEaLgz4np7DY/VY=; b=0jA6+VPnZ/US+6RdXTgKevPseUiNRZjUtX8us7pGdY2dXfbdbNT+N8L261fQGYkeFF5K2u VDV3jcNoIgn3+EBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1759688299; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=X9c8LUTIeKthekoYGmj7iqjezsTdPEaLgz4np7DY/VY=; b=cIS3QOkLuHS3HrOO04OE/xJT2gPGDwMr1zw0nO6B0V1u6c5QoDTwlY31Ojy/UOdTbXPylN umSi4U55/TQCUQN6EGmjEwoQDQa5nbGVOgoaMNhqJRcEPTrF0LcHIibLGQIDlx/Hx1DAuA bWAJXZK9x2Sq7XDBv/z+xeLVWNGKWINxK8rMvr/Exud+riMifpKR08+xZycoav9OEuEmOq UrfM2KG4oVDwbj1zOOf1pavuzRiyas6kFEvQZHO1+TXUm6ddfzXHmF0I91xAVv3bAFILog 9Fl76HW4t3cKDa3VmfG7SCkhS9bbKemDBlfY6gV8tyPBNXOWcA6xgp9pgTAJmw== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH 1/2] glib: Update to version 2.86.0 Date: Sun, 5 Oct 2025 20:18:08 +0200 Message-ID: <20251005181809.6819-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - Update from version 2.83.0 to 2.86.0 - Update of rootfile - Changelog 2.86.0 * Rework how platform-specific introspected GIO APIs have to be imported to fix problems with backwards-compatibility provision for it, by removing duplicate platform-specific symbols from `Gio-2.0`. Users of platform-specific GIO APIs should be unaffected, as `GIRepository` will now automatically import `GioWin32-2.0` or `GioUnix-2.0` when asked to import `Gio-2.0`. However, projects generating introspection data which depends on types from either of those platform-specific GIRs must make sure they depend on those GIRs explicitly, rather than just transitively depending on them through `Gio-2.0` (#3744, work by Emmanuele Bassi, Marco Trevisan, Florian Müllner, and others) * Fix file existence queries on Solaris, broken due to unexpected flags handling within `faccessat()` (#3770, work by Niveditha Rau) * Bugs fixed: - #3744 GDesktopAppInfo API disappeared after girepository-2.0 port (Emmanuele Bassi) - #3768 g_test_trap_subprocess does not check G_TEST_SUBPROCESS_INHERIT_STDIN (Philip Withnall) - !4751 gtestutils: Fix a slightly broken example in a doc comment - !4754 Update Polish translation 250825 - !4758 Update Swedish translation - !4762 gio: gmemorymonitorpsi: Replace GRegex with g_str_has_prefix() - !4765 girepository: Add an assertion to help scan-build - !4767 glocalfile: Disable faccessat()-based query_exists on Solaris - !4768 gmessages: Fix win32_keep_fatal_message regression - !4769 docs: Fix typos - !4770 Update Chinese translation - !4771 Update Georgian translation - !4772 po: Update Persian translation. * Translation updates: - Chinese (China) (lumingzh) - Georgian (NorwayFun) - Persian (Danial Behzadi) - Polish (Piotr Drąg) - Swedish (Anders Jonsson) 2.85.4 * Follow symlink (instead of overwriting it) when updating `mimeapps.list` (#3579, work by Rafael Girão) * Bugs fixed: - #3579 mimeapps.list is overwritten if it is a symlink (Rafael Girão) - #3724 Crash in g_hash_table_add after 252645135 elements (Tobias Stoeckmann) - #3743 g_utf8_validate out parameter has wrong type (two) - #3751 meta: clang-format refers to a broken link (Rafael Girão) - #3758 Out-of-bounds read in GMemoryMonitorPoll (Philip Withnall) - #3760 Stack overflow when recursing within g_log_structured() with `G_LOG_FLAG_RECURSION` (Tobias Stoeckmann) - #3761 Regression in g_printf() - can no longer output formatted values containing NUL bytes (Luca Bacci) - #3766 Update sl.po (Slovenian) (Martin) - !4714 gmain: Reformat docs to fully use gi-docgen and match style guide - !4720 Disable GMemoryMonitorPsi on Solaris - !4727 garray: Improve and migrate documentation to gi-docgen - !4735 build: Fix stp files for development versions - !4736 systemtap: Use correct formatters/types - !4738 docs: Add Thomas Haller as a co-maintainer of GObject - !4739 Annotate ref/unref functions as transfer full - !4740 gstrfuncs: Check parameter validity - !4742 garray: Fix g_array_binary_search description - !4743 Update Russian translation - !4744 tests/gio: skip Unix socket-mock tests on Windows - !4747 tests/printf: Use proper compare helper for unsigned types - !4748 gconstructor: Add attribute used for TLS callback pointer * Translation updates: - Russian (jtux270) - Slovenian (Martin) 2.85.3 * Fix encoding of output from `g_print()` and `g_printerr()` when locale is set to `.utf8` on Windows (#3341, work by Luca Bacci) * Bugs fixed: - #3341 `g_print` and `g_printerr` will cause encoding errors on Windows when locale is set to `.utf8` (Luca Bacci) - #3739 Crash in accept_ready() of GThreadedSocketService Under High Load (Philip Withnall) - #3740 Documentation of g_win32_error_message does not contain information about the behaviour when FormatMessageW failed (Philip Withnall) - #3755 AIX: Unwanted symbol needs to be removed for AIX platform: getpwnam_r, getpwuid_r (Parth Patel) - !4706 gthreadpool: Clean up when g_thread_pool_new fails - !4707 tests: Skip slow mainloop test on valgrind - !4708 gfilenamecompleter: Fix g_object_unref() of undefined value - !4709 tests: Connect to GMemoryMonitor signals earlier - !4712 tests/thread-pool: Add a thread-pool fail test - !4713 Fix test error for GMemoryMonitor - !4715 gdbuserror: Reformat docs to fully use gi-docgen and match style guide - !4722 tests: Add missing unistd.h header to thread-pool test - !4723 tests: Add a missing poll condition to socket-listener test - !4724 garray: Pass errors through GByteArray functions - !4725 garray: Add checks to g_ptr_array_extend_and_steal - !4726 Add a basic GFilenameCompleter test - !4728 gbitlock: Fix documentation issues - !4729 [RFC] Tests: do not set a timeout in Python tests - !4730 gstrfuncs: Always treat G_MININT64 in g_ascii_strtoll - !4731 glocalfile: Disable faccessat()-based query_exists on OpenBSD - !4733 gvalue: Reformat docs to fully use gi-docgen and match style guide - !4734 gspawn: Improve docstring for g_spawn_async() 2.85.2 * New Linux PSI based backend for `GMemoryMonitor` as an option to use instead of the existing Low Memory Monitor daemon backend (!4481, work by Kate Hsuan) * Bugs fixed: - #1443 Deadlock between g_module_open() and dlopen() when called from a constructor - #2848 Doc: clarification request regarding g_match_info_fetch_pos return value (Mark Lautman) - #3712 Crash in g_thread_pool_new_full - #3713 call g_file_enumerator_close in g_file_enumerator_finalize is not safe (fbrouille) - #3716 (CVE-2025-7039) (#YWH-PGM9867-104) Buffer Under-read on GLib through glib/gfileutils.c via get_tmp_file() (Michael Catanzaro) - #3721 GFile leak in g_local_file_set_display_name during error handling (Philip Withnall, Michael Catanzaro) - #3725 Deadlock on source_destroy_lock inside g_main_context_unref() and g_source_destroy() (with child sources) (Matthew Waters) - #3726 GApplication sometimes fails to call before_emit (Matthias Clasen) - !4481 gio: gmemorymonitorpsi: Replace GMemoryMonitor backend with kernel PSI event - !4665 gio: enums: Fix GBusNameOwnerFlags's annotation - !4667 Incorrect output parameter handling in closure helper of g_settings_bind_with_mapping_closures - !4669 Add missing `(array zero-terminated=1)` annotations - !4676 Fix IPv6 scope-id from DNS responses being lost - !4680 gbacktrace: Correctly wait for children on Unix - !4681 (CVE-2025-6052) gstring: Improve g_string_expand/g_string_append_len_inline checks - !4682 gio-tool-launch: fix %k field code expansion - !4683 gio-tool-launch: Fix mismatched curly quotes in translatable strings - !4684 garray: Support unallocated zero terminated arrays - !4685 garray: Use g_array_elt_len/pos where appropriate - !4687 gstring: Fix g_string_append_vprintf overflow - !4690 garray: Fix out of boundary write in g_ptr_array_copy - !4692 tests: Fix a minor leak in array-test - !4693 tests: Loosen string comparison assertion in gio-tool.py - !4694 tests: Do not always skip array overflow checks - !4695 garray: Add more element_size > 0 checks - !4698 garray: Avoid exponential growth in g_array_copy - !4699 garray: Set capacity in terminated take functions - !4700 gfileutils: Fix OOB read in g_build_path(name)_va - !4701 gbacktrace: Fix OOB write in stack_trace - !4702 gio/filenamecompleter: Fix leaks - !4703 application: NULL check for options - !4704 tests: Add a regression test for GApplication command line handling 2.85.1 * Re-add the option of a singleton to `GIRepository` (#3664, work by Christian Hergert) * Add support for the `e` flag (O_CLOEXEC) to `g_fopen()` (!4564, work by Luca Bacci and Philip Withnall) * Make the `sysprof` Meson option yield when using GLib as a subproject (!4659, work by Matthias Clasen) * Use the Meson built-in `localedir` option (!4661, work by Kleis Auke Wolthuizen) * Bugs fixed: - #1665 g_file_trash() should return PERMISSION_DENIED if files can't be deleted (Ignacy Kuchciński) - #3664 Lack of g_irepository_get_default() equivalent makes cross-library integration extremely difficult (Christian Hergert) - #3698 Misleading autogenerated hints in the documentation of g_async_queue_pop() (Alicia Boya García) - !4560 glib/gnulib/printf.c: Sync with gnulib - !4564 gstdio: Add support for the `e` flag (O_CLOEXEC) to g_fopen() - !4637 Rework Windows implementation of g_getenv() - !4641 [th/gobj-drop-bit-lock] gobject: drop object_bit_lock() functions - !4642 [th/gobj-empty-notify-queue] gobject: optimize notify-queue handling for a single freeze - !4643 GRegex: apply monospace typeface in description - !4644 gio: add annotations on parameters of 'g_file_monitor_emit_event' and of 'g_vfs_get_file_for_path' - !4645 gregex: Clarify docs for end_pos - !4646 GRegex: update class description - !4649 GAsyncQueue: assert non-null data in push_sorted() - !4650 tests: Add atomics to asyncqueue test global variables - !4651 Meson: Add libglib_static dependency for use in tests - !4652 gobject: clarify in documentation that g_value_set_boxed copies - !4654 Fix buffer overflow in string-test - !4655 gstring: Fix overflow check when expanding the string - !4657 docs: Stop hiding the Unix-like APIs which are in Gio-2.0.gir - !4658 gmarkup: make documentation more discoverable - !4659 Make the sysprof feature yield - !4661 meson: Use the appropriate localedir option 2.85.0 * Preserve mode for existing file when creating a temporary file for atomic updates with g_file_set_contents() (dconf#76, work by Wesley Hershberger) * Fix race conditions between g_main_context_unref() and g_source_*() methods (#803, work by Matthew Waters) * Allow file handles inside nested containers when using the `gdbus call` command (#3624, work by Julian Sparber) * Fix DNS resolution of local addresses in offline mode (#3641, work by Patrick Griffis) * Various performance improvements to GObject locking (various MRs by Thomas Haller) * Prefer matches occurring earlier in the string when searching `GDesktopAppInfo`s, improving search for apps in gnome-shell (!4369, work by Fina Wilke) * Fix thread safety of `GClosure` flags (!4575, !4577, work by Sam James and Philip Withnall) * Bugs fixed: - GNOME/dconf#76 dconf update can set incorrect permissions to dconf system db (Wesley Hershberger) - #490 Not clearly documented behavior of g_key_file_set_comment function. (marklkram) - #803 g_main_context_unref() versus g_source_*() race (Matthew Waters) - #1002 GObject doesn't support removing a weak reference in a GWeakNotify for the same object - #1250 gsocketlistener: Fix IPv4 listen() error-handling resulting in use- after-free - #2377 Document that `g_socket_address_get_native_size()` can return `-1` on errors - #2544 Consider `g_log_always_fatal` for aborting in `g_log_structured_array()` (sid) - #3405 Enable -Wconversion warnings by default (progress towards this, but it is not complete) - #3616 docs: Broken link in GioActionEntry (Philip Withnall) - #3617 Add generalised version of g_date_get_monday_week_of_year() (Philip Withnall) - #3624 `gdbus call` should look for file handles inside nested containers (Julian Sparber) - #3630 2.84.0 build failure on Linux: ../gio/gnetworkmonitornetlink.c:47:10: fatal error: netlink/netlink_route.h: No such file or directory (Philip Withnall) - #3634 test failure with gobject-introspection 1.83.4: warning: element doc:format from state 3 is unknown, ignoring (Philip Withnall) - #3636 gio/trash does not handle special characters well - #3641 GResolver: Local DNS resolution failure in offline mode (Patrick Griffis) - #3642 `g_cancellable_connect()` documentation incorrect (Marco Trevisan (Treviño)) - #3643 g_cancellable_connect(): is it safe to unref cancellable from callback? (Marco Trevisan (Treviño)) - #3649 Crash with some registry key values in GWin32AppInfo (Philip Withnall) - #3656 Set SYSLOG_IDENTIFIER when logging to journald (Axel Karjalainen) - #3657 girepository: Wrong typelib path on Windows - #3663 Cannot use GZlibCompressor in GTK testsuite (Benjamin Otte) - #3684 UAF in GSignalGroup weak notify callbacks (Thomas Haller) - #3686 docs.gtk.org doesn't mention that GSourceFuncs.finalize may be NULL (BZZZZ) - #3693 Random failures in debian-i386-stable - !4185 [th/gobject-no-object-locks-pt1-notify] use `g_datalist_id_update_atomic()` instead of OPTIONAL_BIT_LOCK_NOTIFY - !4247 mappedfile: Avoid some allocations - !4369 gdesktopappinfo: Prefer matches that occur earlier in the match string - !4387 Fix various -Wshorten-64-to-32 warnings - !4484 Memory sanitizer fixes - !4489 gobject: Be consistent in using atomic logic to handle the GParamSpecPool - !4520 [th/gdataset-cleanup] minor cleanups of gdataset - !4536 [th/gobj-closure-array-atomic] use g_datalist_id_update_atomic() for array of closure watches - !4541 gsettings: Port docs to gi-docgen format, add missing annotations and make various improvements - !4544 tests: Don't install runner scripts without installed_tests - !4545 Update French translation - !4547 Update Catalan translation - !4548 Update Turkish translation - !4551 Updated Danish translation - !4552 Update Persian translation - !4553 docs: Document GSignalFlags members added after 2.0 - !4554 Update Indonesian translation - !4555 tests: Add a test for g_object_freeze_notify() being called too often - !4557 gfileinfo: Slightly expand docs for g_file_info_get_attribute_as_string() - !4558 gi: Dynamically set doc-format - !4561 tests: Various fixes to create temporary files in /tmp rather than the build directory - !4562 gdbusnameowning: Convert docs to gi-docgen linking syntax - !4563 giounix-private: Fix macro for checking for epoll_create1() - !4565 Fix LGPL in header - !4567 gutils: make documentation of g_set_prgname() clearer - !4568 docs: Add some detail - !4569 Update Romanian translation - !4570 gspawn-win32: Fix potential integer overflows in argv handling - !4571 gvarianttype: Improve docs on type validation - !4575 gclosure: fix ATOMIC_CHANGE_FIELD to read vint atomically - !4577 gclosure: Allow full set of closure flags to be queried atomically - !4578 [th/bit-lock-and-set] bitlock: add g_bit_lock_and_get() and g_bit_unlock_and_set() API - !4579 tests: Add missing unistd.h include to scannerapi.c - !4581 [th/gobj-no-weak-ref-lock] drop OPTIONAL_BIT_LOCK_WEAK_REFS object lock for `g_object_weak_{ref,unref}()` - !4583 thread: fix Linux detection - !4585 gfile: Expand documentation around file info for inaccessible files - !4586 [th/gobj-doc-weakref] clear #GWeakRef earlier in g_object_run_dispose() and reword docs about #GWeakRef - !4588 gstring: carefully handle gssize parameters - !4590 Various -Wsign-conversion warning fixes - !4591 gthreadedresolver: fix crash in loopback interface check - !4592 gstring: Make len_unsigned unsigned - !4594 Enable -Wsign-conversion for girepository, gthread, gmodule - !4596 docs: Mention how to run the test suite in CONTRIBUTING.md - !4598 gtlsconnection: Fix annotation - !4599 Mark pointer as (type gpointer) - !4601 garray: Fix annotations - !4602 docs: fix typo glong: ULONG_MAX -> LONG_MAX - !4603 Fix GNetworkMonitorNetlink operation under a FreeBSD jail with shared network stack - !4604 cocoa: add support for GBytesIcon in notification backend - !4605 gparamspecs: Use standard min/max constants rather than literals - !4606 gobject, girepository: Fix several -Wsign-conversion warnings on macOS - !4609 Update Portuguese translation - !4610 Update Ukrainian translation - !4613 Update macOS job for new CI runner - !4615 shell: Handle empty comment gracefully - !4619 gslist: Improve documentation for append / prepend / insert methods - !4620 glocalfile: Disable faccessat()-based query_exists on Android - !4621 gallocator: mark as deprecated - !4627 [th/gsignalgroup-dispose] gsignalgroup: make GSignalGroup.dispose() a bit more reentrant - !4628 [th/gdataset-fix-zero-key] fix and cleanup related to using a zero GQuark for keys in GData - !4631 Update German translation - !4632 win32: Only print one OS version - !4633 gzlibcompressor: Convert docs to gi-docgen linking syntax - !4638 docs: Fix formatting of definition lists * Translation updates: - Catalan (Jordi Mas) - Danish (Ask Hjorth Larsen) - French (Vincent Chatelain) - German (Philipp Kiemle) - Indonesian (Andika Triwidada) - Persian (Danial Behzadi) - Portuguese (Hugo Carvalho) - Romanian (Antonio Marin) - Turkish (Sabri Ünal) - Ukrainian (Yuri Chornoivan) 2.84.1 * Fix test failure when building against gobject-introspection ≥1.83.4 (#3634, work by Philip Withnall) * Bugs fixed: - #3630 2.84.0 build failure on Linux: ../gio/gnetworkmonitornetlink.c:47:10: fatal error: netlink/netlink_route.h: No such file or directory (Philip Withnall) - #3634 test failure with gobject-introspection 1.83.4: warning: element doc:format from state 3 is unknown, ignoring (Philip Withnall) - #3636 gio/trash does not handle special characters well - #3642 `g_cancellable_connect()` documentation incorrect (Marco Trevisan (Treviño)) - #3643 g_cancellable_connect(): is it safe to unref cancellable from callback? (Marco Trevisan (Treviño)) - #3649 Crash with some registry key values in GWin32AppInfo (Philip Withnall) - !4484 Memory sanitizer fixes - !4489 gobject: Be consistent in using atomic logic to handle the GParamSpecPool - !4541 gsettings: Port docs to gi-docgen format, add missing annotations and make various improvements - !4544 tests: Don't install runner scripts without installed_tests - !4545 Update French translation - !4547 Update Catalan translation - !4548 Update Turkish translation - !4551 Updated Danish translation - !4552 Update Persian translation - !4553 docs: Document GSignalFlags members added after 2.0 - !4554 Update Indonesian translation - !4555 tests: Add a test for g_object_freeze_notify() being called too often - !4557 gfileinfo: Slightly expand docs for g_file_info_get_attribute_as_string() - !4558 gi: Dynamically set doc-format - !4561 tests: Various fixes to create temporary files in /tmp rather than the build directory - !4562 gdbusnameowning: Convert docs to gi-docgen linking syntax - !4563 giounix-private: Fix macro for checking for epoll_create1() - !4565 Fix LGPL in header - !4567 gutils: make documentation of g_set_prgname() clearer - !4568 docs: Add some detail - !4569 Update Romanian translation - !4570 gspawn-win32: Fix potential integer overflows in argv handling - !4571 gvarianttype: Improve docs on type validation * Translation updates: - Catalan (Jordi Mas) - Danish (Ask Hjorth Larsen) - French (Vincent Chatelain) - Indonesian (Andika Triwidada) - Persian (Danial Behzadi) - Romanian (Antonio Marin) - Turkish (Sabri Ünal) 2.84.0 * Bugs fixed: - #3590 Update Slovenian (sl) translation in glib - !4539 Update Korean translation - !4540 tests: Minor fixes to reference and stream-rw_all tests - !4542 gdebugcontrollerdbus: Fix a minor typo in a code example in the docs - !4543 Update Hungarian translation * Translation updates: - Hungarian (Balázs Úr) - Korean (Changwoo Ryu) - Slovenian (Martin) 2.83.5 * A few improvements for when GLib is used as a subproject (#3625, #3626, work by Simon McVittie) * Fix out-of-order parameters in a marshaller generated by `gdbus-codegen` (!4524, work by Ryan Gonzalez) * Bugs fixed: - #3272 gutils-user-database test crashes in CI with G_DISABLE_ASSERT and -m thorough (Philip Withnall) - #3424 Update the release instructions (Philip Withnall) - #3615 Use of timeout in GApplication example code (Reuben Thomas) - #3625 when GLib is a subproject, check-missing-install-tag.py asserts that the parent project has install tags (Simon McVittie) - #3626 when GLib is a subproject and pcre2 is a subproject, pcre2's tests are run (Simon McVittie) - !4507 [th/gdataset-misc] minor improvements in gdataset.c (around g_datalist_id_remove_multiple()) - !4508 [th/datalist-update-atomic-no-keyid] gdataset: drop "key_id" argument from GDataListUpdateAtomicFunc - !4509 tests: Search the appropriate directories for our GIR XML inputs - !4510 doc: Simplify instructions for testing with Automake - !4511 Update Georgian translation - !4512 Update Czech translation - !4513 [th/gobject-inline-private-call] gobject: avoid GLIB_PRIVATE_CALL() for g_datalist_id_update_atomic - !4514 Update Ukrainian translation - !4515 doc: point to iconv(3) and iconv(3posix) for more details about iconv - !4516 Update Bulgarian translation - !4517 Update file fa.po - !4518 Update Chinese translation - !4521 docs: Fix man page link for xattrs - !4522 Meson: Disable lint+no-valgrind tests when tests option is set to false - !4523 [th/gobj-performance-fixes] improvements and fixes for gobject's `performance.c` benchmark - !4524 gdbus-codegen: Fix callback GUnixFDList parameter order - !4526 [th/gobj-performance-2] more improvements to GObject's `performance.c` and add test "property-set-signaled" - !4527 Updated Lithuanian translation - !4529 Update Portuguese translation - !4531 Update Swedish translation - !4535 Update Galician translations * Translation updates: - Bulgarian (Alexander Shopov) - Chinese (China) (lumingzh) - Czech (AsciiWolf) - Galician (Fran Diéguez) - Georgian (NorwayFun) - Lithuanian (Aurimas Černius) - Persian (Danial Behzadi) - Portuguese (Hugo Carvalho) - Swedish (Anders Jonsson) - Ukrainian (Yuri Chornoivan) 2.83.4 * Fix Python shebang paths so they work on Windows again (#3331, work by Dan Yeaw and others) * Fix refcounting semantics of `g_dbus_connection_register_object_with_closures()` by adding a replacement API (#3560, work by Philip Withnall) * Support static vfuncs in GIRepository (!4457, work by Philip Chimento) * Add support for QNX8.0 (!4466, work by Felix Xing) * Add a soft dependency on C11 — if your toolchain doesn’t support C11, you have six months to tell us before this becomes a hard dependency (!4473) * Port from `net.hadess.PowerProfiles` to `org.freedesktop.UPower.PowerProfiles` for `GPowerProfileMonitorDBus` (!4478, work by Marco Trevisan) * Bugs fixed: - #3331 Windows build broken because of Python paths (Dan Yeaw) - #3448 Use after free in GCancellableSource test (Marco Trevisan (Treviño)) - #3560 Fix refcounting semantics of g_dbus_connection_register_object_with_closures() (Philip Withnall) - #3578 gkeyfile: Honor C in $LANGUAGE as gettext does (Gaël Bonithon) - #3587 g_app_info_launch crashes on macos (Andre Miranda) - #3592 GDBusConnection does not handle serial number overflow (Philip Withnall) - #3595 Toolchain documentation should mention that GLib assumes functions can be called through wrongly-typed function pointers (Demi Obenour) - #3612 cancellable unit test crashes in /cancellable-source/threaded-dispose (Marco Trevisan (Treviño)) - #3613 Potentially revert g_win32_com_clear() due to pulling in windows.h - !3255 Drop TypeNode reference counting - !4046 Add G_OPTION_FLAG_DEPRECATED - !4457 Support static vfuncs in GIRepository - !4461 docs: Update the release documentation for the new release workflow - !4464 gosxappinfo: Fix leak - !4466 Add support for QNX8.0 - !4468 Registry backend fixes - !4471 glib.supp: Ignore once-per-thread leak from SysprofCollector - !4472 gkeyfile: Convert docs to gi-docgen linking syntax - !4473 build: Add a soft dependency on C11 - !4475 docs: Fix invalid references and broken links - !4476 tests: Cleanup python tests and add tests for gi-compile-repository and gi-inspect-typelib - !4477 gcancellable: remove sketchy source ref/unref - !4478 gio/powerprofilemonitordbus: Use newer D-Bus API - !4479 docs: Make docs more markdown-ish - !4483 tests: Fix a memory leak if a callable-info test is skipped - !4486 meson: Fix typo in comment about python shebang - !4487 gio/gfilemonitor: Use atomic API to get / store cancelled state - !4488 gmain: Use atomic logic to handle internal GSource flags - !4490 gio/subprocess: Lock while writing on shared pid and status values - !4491 Update Brazilian Portuguese translation - !4492 gfilemonitor: Various cleanups and minor fixes to property handling - !4493 gdbus: Add g_clear_dbus_signal_subscription() inline convenience function - !4494 gio/subprocess: Initialize pid variable to 0 - !4495 gio/gvolumemonitor: Suggest disconnecting signals - !4496 Update Polish translation for GNOME 48 - !4497 tests: Fix a minor leak in a new GSubprocess test - !4498 gdatetime: Fix integer overflow when parsing very long ISO8601 inputs * Translation updates: - Polish (Piotr Drąg) - Portuguese (Brazil) (Rafael Fontenelle) 2.83.3 * Fix build-time paths appearing in generated `Gio-2.0.gir` and `GioUnix-2.0.gir` files (#3564, work by Simon McVittie) * Fix crash on macOS when opening links (#3568, work by John Ralls) * Bugs fixed: - #3558 Recent `(inout)` changes caused unintended side-effects with `GWeakRef` (Michael Catanzaro) - #3561 Missing nullable annotation on parameter user_data and on the return value of GVfsFileLookupFunc callback (fbrouille) - #3562 GBytes semantics of handling empty strings are inconsistent and confusing (Philip Withnall) - #3563 Bad anchor link in g_signal_connect() documentation - #3564 build-time paths to gio/gunixmounts.h, etc. end up in Gio-2.0.gir, GioUnix-2.0.gir (Simon McVittie) - #3568 Links crash application on MacOS due to lack of machine-id file (John Ralls) - #3569 Requirement of GUnixMountMonitor for a Valid Timestamp from unix_mount_at is not Suffeciently Documented (Philip Withnall) - #3582 gmacros: _G_BOOLEAN_EXPR_IMPL is incompatible with c++ functions marked constexpr - !3885 [th/gdataset-index] add a lookup index (GHashTable) to `GData` - !4392 GWin32: Add g_win32_com_clear() - !4436 docs: Add --generate-md to the gdbus-codegen documentation - !4437 docs: Fix some backslash escaping issues in doc comments - !4440 gio, gobject: Improve reproducibility of enumtypes headers - !4441 gstrfuncs: Drop a redundant paragraph - !4442 Don't define test setups unless we're testing - !4443 build: Make the introspection feature yield - !4444 Fix pointer-to-paramref syntax in docs - !4446 gio: Fix a link to a specifications document - !4449 Add several assertions to help static analysis and fix some GIR annotations - !4450 Fix GCC version detection for GUINT*_SWAP_LE_BE - !4454 gioenums: Add deprecation for FLAGS_NONE - !4455 docs: Use gi-docgen syntax in main-loop.md - !4458 docs: Document more extension points - !4460 docs: Clarify that g_array_unref() works like g_ptr_array_unref(). 2.83.2 * This release has the same code as 2.83.1, but contains a fix for release archive generation which means that 2.83.1 does not have a release archive * Bugs fixed: - !4433 ci: Enable -Dintrospection for dist builds 2.83.1 * Bugs fixed: - #1251 gio/tests/contenttype fails on OS X: "public.directory" != "public.folder" - #3441 Bump minimum supported version of macOS (John Ralls) - #3493 Heap buffer overflow read in utf8_verify_ascii() (Philip Withnall) - #3511 Build failure “'ifunc' is not supported on this target” with muslc (Philip Withnall) - #3517 Silent linked-list corruption in g_static_resource_init() on redundant calls - #3524 Wrong parameter type for g_enum_register_static in GObject-2.0.gir (Jan-Willem Harmannij) - #3526 Segfault in statically linked binary during initialization of ifuncs since 2.83.0 (Philip Withnall) - #3532 g_converter_output_stream_write() can return 0 (Benjamin Otte) - #3540 g_signal_connect on "notify::non-existant-property" doesn't warn for invalid property (Sid) - #3545 Modernize the default value for g_thread_pool_set_max_unused_threads (Matthias Clasen) - #3546 Make the thread name available (Matthias Clasen) - #3548 Fix g_settings_schema_has_key() to work with extended schemas - #3552 Missing nullable annotation for `log_domain` in `GLogFunc` callback (Roberto Leinardi) - #3559 2.82.3 regression: lollypop crashes on startup (Philip Withnall) - !4232 refstring: Fix race between releasing and re-acquiring an interned GRefString - !4382 girepository: gi_object_info_find_signal(): Avoid repeated allocations - !4384 test utils: Make nonfatal assertions an option - !4385 gutf8: Skip ASan instrumentation for load_word - !4389 macos: Add extra content type tests - !4393 Replace procfs linuxism with kinfo freebsdism - !4395 appmonitor: Fix warning building test - !4396 tests: Factor out a function to convert FD to path - !4398 grefstring: Mark a variable as potentially unused - !4399 meson: Add variables to -uninstalled.pc files - !4401 testutils: Documentation improvements - !4403 Revert "CI: Rebuild a slightly newer version of ninja for debian- stable-i386" - !4406 glib/gbytes: Be more careful when saving a GBytes of NULL - !4407 guri: Fix paths starting with ‘//’ when parsing - !4410 threadpool: Simplify pool thread naming - !4411 gdbusconnection: Allow creating connection with cross-namespace - !4412 gmessages: Treat DEBUG_INVOCATION=1 same as G_MESSAGES_DEBUG=all - !4413 gunicode: Update some comments in gunicode.h for Unicode 16.0.0 - !4414 gdbus: Add a few missing `(nullable)` annotations to GDBus method invocation related functions - !4415 gdbus: Fix leak of method invocation when registering an object with closures - !4421 gparam: Add link to constructed vfunc to CONSTRUCT - !4422 docs: Fix dead link in CONTRIBUTING - !4423 gio-tool: Clarify that `gio mount -l` only lists user-interesting things - !4424 ci: Ensure all variables are quoted in .gitlab-ci.yml - !4425 tests: Skip unsupported dbus-appinfo test on GNU/Hurd for the moment - !4428 girepository: Expose gi-compile-repository and gi-* tools in pkg- config - !4429 gdbus: Add nullable annotations for fd list outs - !4432 ci: Add release component to automate tarball publishing Signed-off-by: Adolf Belka --- config/rootfiles/common/glib | 70 +++++------------------------------- lfs/glib | 12 ++++--- 2 files changed, 15 insertions(+), 67 deletions(-) diff --git a/config/rootfiles/common/glib b/config/rootfiles/common/glib index 1f69122e0..debb0176d 100644 --- a/config/rootfiles/common/glib +++ b/config/rootfiles/common/glib @@ -337,22 +337,22 @@ usr/include/glib-2.0/gio/gdebugcontroller.h #usr/lib/glib-2.0/include/glibconfig.h #usr/lib/libgio-2.0.so usr/lib/libgio-2.0.so.0 -usr/lib/libgio-2.0.so.0.8300.0 +usr/lib/libgio-2.0.so.0.8600.0 #usr/lib/libgirepository-2.0.so usr/lib/libgirepository-2.0.so.0 -usr/lib/libgirepository-2.0.so.0.8300.0 +usr/lib/libgirepository-2.0.so.0.8600.0 #usr/lib/libglib-2.0.so usr/lib/libglib-2.0.so.0 -usr/lib/libglib-2.0.so.0.8300.0 +usr/lib/libglib-2.0.so.0.8600.0 #usr/lib/libgmodule-2.0.so usr/lib/libgmodule-2.0.so.0 -usr/lib/libgmodule-2.0.so.0.8300.0 +usr/lib/libgmodule-2.0.so.0.8600.0 #usr/lib/libgobject-2.0.so usr/lib/libgobject-2.0.so.0 -usr/lib/libgobject-2.0.so.0.8300.0 +usr/lib/libgobject-2.0.so.0.8600.0 #usr/lib/libgthread-2.0.so usr/lib/libgthread-2.0.so.0 -usr/lib/libgthread-2.0.so.0.8300.0 +usr/lib/libgthread-2.0.so.0.8600.0 #usr/lib/pkgconfig/gio-2.0.pc #usr/lib/pkgconfig/gio-unix-2.0.pc #usr/lib/pkgconfig/girepository-2.0.pc @@ -375,8 +375,8 @@ usr/lib/libgthread-2.0.so.0.8300.0 #usr/share/gdb/auto-load #usr/share/gdb/auto-load/usr #usr/share/gdb/auto-load/usr/lib -#usr/share/gdb/auto-load/usr/lib/libglib-2.0.so.0.8300.0-gdb.py -#usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.8300.0-gdb.py +#usr/share/gdb/auto-load/usr/lib/libglib-2.0.so.0.8600.0-gdb.py +#usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.8600.0-gdb.py #usr/share/gettext/its #usr/share/gettext/its/gschema.its #usr/share/gettext/its/gschema.loc @@ -408,43 +408,27 @@ usr/lib/libgthread-2.0.so.0.8300.0 #usr/share/locale/ab/LC_MESSAGES #usr/share/locale/ab/LC_MESSAGES/glib20.mo #usr/share/locale/af/LC_MESSAGES/glib20.mo -#usr/share/locale/am -#usr/share/locale/am/LC_MESSAGES #usr/share/locale/am/LC_MESSAGES/glib20.mo #usr/share/locale/an #usr/share/locale/an/LC_MESSAGES #usr/share/locale/an/LC_MESSAGES/glib20.mo -#usr/share/locale/ar -#usr/share/locale/ar/LC_MESSAGES #usr/share/locale/ar/LC_MESSAGES/glib20.mo -#usr/share/locale/as -#usr/share/locale/as/LC_MESSAGES #usr/share/locale/as/LC_MESSAGES/glib20.mo #usr/share/locale/ast/LC_MESSAGES/glib20.mo -#usr/share/locale/az -#usr/share/locale/az/LC_MESSAGES #usr/share/locale/az/LC_MESSAGES/glib20.mo #usr/share/locale/be/LC_MESSAGES/glib20.mo #usr/share/locale/be@latin #usr/share/locale/be@latin/LC_MESSAGES #usr/share/locale/be@latin/LC_MESSAGES/glib20.mo #usr/share/locale/bg/LC_MESSAGES/glib20.mo -#usr/share/locale/bn -#usr/share/locale/bn/LC_MESSAGES #usr/share/locale/bn/LC_MESSAGES/glib20.mo -#usr/share/locale/bn_IN -#usr/share/locale/bn_IN/LC_MESSAGES #usr/share/locale/bn_IN/LC_MESSAGES/glib20.mo -#usr/share/locale/bs -#usr/share/locale/bs/LC_MESSAGES #usr/share/locale/bs/LC_MESSAGES/glib20.mo #usr/share/locale/ca/LC_MESSAGES/glib20.mo #usr/share/locale/ca@valencia #usr/share/locale/ca@valencia/LC_MESSAGES #usr/share/locale/ca@valencia/LC_MESSAGES/glib20.mo #usr/share/locale/cs/LC_MESSAGES/glib20.mo -#usr/share/locale/cy -#usr/share/locale/cy/LC_MESSAGES #usr/share/locale/cy/LC_MESSAGES/glib20.mo #usr/share/locale/da/LC_MESSAGES/glib20.mo #usr/share/locale/de/LC_MESSAGES/glib20.mo @@ -463,8 +447,6 @@ usr/lib/libgthread-2.0.so.0.8300.0 #usr/share/locale/es/LC_MESSAGES/glib20.mo #usr/share/locale/et/LC_MESSAGES/glib20.mo #usr/share/locale/eu/LC_MESSAGES/glib20.mo -#usr/share/locale/fa -#usr/share/locale/fa/LC_MESSAGES #usr/share/locale/fa/LC_MESSAGES/glib20.mo #usr/share/locale/fi/LC_MESSAGES/glib20.mo #usr/share/locale/fr/LC_MESSAGES/glib20.mo @@ -476,14 +458,8 @@ usr/lib/libgthread-2.0.so.0.8300.0 #usr/share/locale/gd/LC_MESSAGES #usr/share/locale/gd/LC_MESSAGES/glib20.mo #usr/share/locale/gl/LC_MESSAGES/glib20.mo -#usr/share/locale/gu -#usr/share/locale/gu/LC_MESSAGES #usr/share/locale/gu/LC_MESSAGES/glib20.mo -#usr/share/locale/he -#usr/share/locale/he/LC_MESSAGES #usr/share/locale/he/LC_MESSAGES/glib20.mo -#usr/share/locale/hi -#usr/share/locale/hi/LC_MESSAGES #usr/share/locale/hi/LC_MESSAGES/glib20.mo #usr/share/locale/hr/LC_MESSAGES/glib20.mo #usr/share/locale/hu/LC_MESSAGES/glib20.mo @@ -494,8 +470,6 @@ usr/lib/libgthread-2.0.so.0.8300.0 #usr/share/locale/ie #usr/share/locale/ie/LC_MESSAGES #usr/share/locale/ie/LC_MESSAGES/glib20.mo -#usr/share/locale/is -#usr/share/locale/is/LC_MESSAGES #usr/share/locale/is/LC_MESSAGES/glib20.mo #usr/share/locale/it/LC_MESSAGES/glib20.mo #usr/share/locale/ja/LC_MESSAGES/glib20.mo @@ -504,8 +478,6 @@ usr/lib/libgthread-2.0.so.0.8300.0 #usr/share/locale/kab/LC_MESSAGES #usr/share/locale/kab/LC_MESSAGES/glib20.mo #usr/share/locale/kk/LC_MESSAGES/glib20.mo -#usr/share/locale/kn -#usr/share/locale/kn/LC_MESSAGES #usr/share/locale/kn/LC_MESSAGES/glib20.mo #usr/share/locale/ko/LC_MESSAGES/glib20.mo #usr/share/locale/ku @@ -519,38 +491,22 @@ usr/lib/libgthread-2.0.so.0.8300.0 #usr/share/locale/mg #usr/share/locale/mg/LC_MESSAGES #usr/share/locale/mg/LC_MESSAGES/glib20.mo -#usr/share/locale/mk -#usr/share/locale/mk/LC_MESSAGES #usr/share/locale/mk/LC_MESSAGES/glib20.mo -#usr/share/locale/ml -#usr/share/locale/ml/LC_MESSAGES #usr/share/locale/ml/LC_MESSAGES/glib20.mo -#usr/share/locale/mn -#usr/share/locale/mn/LC_MESSAGES #usr/share/locale/mn/LC_MESSAGES/glib20.mo -#usr/share/locale/mr -#usr/share/locale/mr/LC_MESSAGES #usr/share/locale/mr/LC_MESSAGES/glib20.mo #usr/share/locale/ms/LC_MESSAGES/glib20.mo #usr/share/locale/nb/LC_MESSAGES/glib20.mo #usr/share/locale/nds #usr/share/locale/nds/LC_MESSAGES #usr/share/locale/nds/LC_MESSAGES/glib20.mo -#usr/share/locale/ne -#usr/share/locale/ne/LC_MESSAGES #usr/share/locale/ne/LC_MESSAGES/glib20.mo #usr/share/locale/nl/LC_MESSAGES/glib20.mo -#usr/share/locale/nn -#usr/share/locale/nn/LC_MESSAGES #usr/share/locale/nn/LC_MESSAGES/glib20.mo #usr/share/locale/oc #usr/share/locale/oc/LC_MESSAGES #usr/share/locale/oc/LC_MESSAGES/glib20.mo -#usr/share/locale/or -#usr/share/locale/or/LC_MESSAGES #usr/share/locale/or/LC_MESSAGES/glib20.mo -#usr/share/locale/pa -#usr/share/locale/pa/LC_MESSAGES #usr/share/locale/pa/LC_MESSAGES/glib20.mo #usr/share/locale/pl/LC_MESSAGES/glib20.mo #usr/share/locale/ps @@ -561,8 +517,6 @@ usr/lib/libgthread-2.0.so.0.8300.0 #usr/share/locale/ro/LC_MESSAGES/glib20.mo #usr/share/locale/ru/LC_MESSAGES/glib20.mo #usr/share/locale/rw/LC_MESSAGES/glib20.mo -#usr/share/locale/si -#usr/share/locale/si/LC_MESSAGES #usr/share/locale/si/LC_MESSAGES/glib20.mo #usr/share/locale/sk/LC_MESSAGES/glib20.mo #usr/share/locale/sl/LC_MESSAGES/glib20.mo @@ -571,16 +525,10 @@ usr/lib/libgthread-2.0.so.0.8300.0 #usr/share/locale/sr@ije #usr/share/locale/sr@ije/LC_MESSAGES #usr/share/locale/sr@ije/LC_MESSAGES/glib20.mo -#usr/share/locale/sr@latin -#usr/share/locale/sr@latin/LC_MESSAGES #usr/share/locale/sr@latin/LC_MESSAGES/glib20.mo #usr/share/locale/sv/LC_MESSAGES/glib20.mo #usr/share/locale/ta/LC_MESSAGES/glib20.mo -#usr/share/locale/te -#usr/share/locale/te/LC_MESSAGES #usr/share/locale/te/LC_MESSAGES/glib20.mo -#usr/share/locale/tg -#usr/share/locale/tg/LC_MESSAGES #usr/share/locale/tg/LC_MESSAGES/glib20.mo #usr/share/locale/th/LC_MESSAGES/glib20.mo #usr/share/locale/tl @@ -605,7 +553,5 @@ usr/lib/libgthread-2.0.so.0.8300.0 #usr/share/locale/yi/LC_MESSAGES #usr/share/locale/yi/LC_MESSAGES/glib20.mo #usr/share/locale/zh_CN/LC_MESSAGES/glib20.mo -#usr/share/locale/zh_HK -#usr/share/locale/zh_HK/LC_MESSAGES #usr/share/locale/zh_HK/LC_MESSAGES/glib20.mo #usr/share/locale/zh_TW/LC_MESSAGES/glib20.mo diff --git a/lfs/glib b/lfs/glib index 34bcdad1c..6f5ea4241 100644 --- a/lfs/glib +++ b/lfs/glib @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2024 IPFire Team # +# Copyright (C) 2007-2025 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,8 @@ include Config -VER = 2.83.0 +VER = 2.86.0 +# https://download.gnome.org/sources/glib/ THISAPP = glib-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +41,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 80e784c8d5bb790afbdaafdfcd321aeb87bd5607251e8fca80119e5114cc4fa48eafb0589cea52977221b96036002c810ff6948cfff7148537c81521c1a01856 +$(DL_FILE)_BLAKE2 = 089fa2d34dacb360943cb18ce95ad880769300540e9f8ce56045cd19d0285526b8058fa79f9f0fede1ae6b4a6d9a73f3aa0f0e0ebfa18e728dbadbee3bd30d0a install : $(TARGET) @@ -71,8 +72,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) $(UPDATE_AUTOMAKE) - cd $(DIR_APP) && meson --prefix=/usr \ - --sysconfdir=/etc \ + cd $(DIR_APP) && meson setup \ + --prefix=/usr \ + --sysconfdir=/etc \ builddir/ cd $(DIR_APP) && ninja -C builddir/ $(MAKETUNING) cd $(DIR_APP) && ninja -C builddir/ install