Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: libgmodule-2_0-0 | Distribution: openSUSE Tumbleweed |
Version: 2.82.2 | Vendor: openSUSE |
Release: 3.1 | Build date: Wed Nov 27 18:40:33 2024 |
Group: System/Libraries | Build host: reproducible |
Size: 39681 | Source RPM: glib2-2.82.2-3.1.src.rpm |
Packager: http://bugs.opensuse.org | |
Url: https://gitlab.gnome.org/GNOME/glib/ | |
Summary: General-Purpose Utility Library -- Library for Modules |
GLib is a general-purpose utility library, which provides many useful data types, macros, type conversions, string utilities, file utilities, a main loop abstraction, and so on. The libgmodule library provides a portable way to dynamically load object files (commonly known as 'plug-ins').
LGPL-2.1-or-later
* Wed Nov 27 2024 Michael Gorse <[email protected]> - Have the glib2-tools postun trigger exit normally if glib2-compile-schemas can't be run. Fixes error when uninstalling if libgio is uninstalled first (bsc#1231463). * Thu Oct 17 2024 Bjørn Lie <[email protected]> - Update to version 2.82.2: + Bugs fixed: - glib/gvariant: incorrect use of G_ANALYZER_ANALYZING - Multicast cannot be joined on Mac OS on non-default interface - glib/gvariant: Fix check for G_ANALYZER_ANALYZING - macos: Fix URL launcher - gopenuriportal: Fix two memory leaks - gio: Fix multicast iface selection on macOS - gdatainputstream: Fix length return value on UTF-8 validation failure + Updated translations. * Fri Sep 20 2024 Bjørn Lie <[email protected]> - Update to version 2.82.1: + Fix a potential buffer overflow in `GSocks4aProxy` (boo#1233282 CVE-2024-52533). + Bugs fixed: - Test /unix-mounts/get-mount-entries fails unless libmount is enabled - Buffer overflow in set_connect_msg() - tests: Test against a sample mtab file in unix-mounts for getmntent() - tests: Run lint tests with detected bash - docs(glib): Fix link in string-utils ref - Move to Apple Silicon based runner - gsocks4aproxy: Fix a single byte buffer overflow in connect messages + Updated translations. * Tue Aug 27 2024 [email protected] - remove dependency on /usr/bin/python3 using %python3_fix_shebang{,_path} macros, [bsc#1212476] * Mon Aug 26 2024 Bjørn Lie <[email protected]> - Update to version 2.82.0: + Change the default value of -Dglib_debug from `auto` to `enabled` for developers — distributions will almost certainly want to override it to `-Dglib_debug=disabled` for package release builds though. + Revert per-instance locking changes in `GCancellable` as they introduced new races. + Bugs fixed: - Investigate trampoline performance implications in g_mutex_lock_impl() changes - Default value for glib_debug meson option - wrong comment in gmessage.c:escape_string - Should check for epoll_create1 rather than epoll_create - Gio.MenuModel docs have an outdated UI example - gunixmounts: Fix use of uninitialised variable - tests: Run expected-to-hang cancellable tests in subprocesses - CI/msys2-mingw32: Set the G_DEBUGGER environment variable - Revert "GCancellable: Use per-instance mutex logic instead of global critical sections” - Various small backports - Backport “gthread: Move thread _impl functions to static inlines for speed” + Updated translations. - Pass glib_debug=disabled to meson as recommended by upstream and pass sysprof=disabled to meson, avoid pulling in extra dependencies. - Drop python enviroment fix, no longer needed. * Mon Aug 26 2024 Bjørn Lie <[email protected]> - Update to version 2.80.5: + Bugs fixed: - Fix gsocketclient-slow test on FreeBSD - glib-private: fix build under Cygwin - tests: Fix compilation of resolver-parsing test on FreeBSD - introspection: Correct GIO-Windows pkg-config name + Updated translations * Mon Jul 08 2024 Bjørn Lie <[email protected]> - Update to version 2.80.4: + Bugs fixed: - GLib unit tests fail on macOS runner due to localhost being out of addresses - Random failures to build glib 2.80.3 - Backport !4111 “gioerror: Map EADDRNOTAVAIL to G_IO_ERROR_CONNECTION_REFUSED” to glib-2-80 - Backport !3373 and !4117 “Handle files >4GB in g_file_load_contents()“ to glib-2-80 - Backport !4020 and !4122: fixes to GIR install locations and build race fixes - Backport !4110 “gthreadedresolver: ref-sink returned records in lookup_records()” to glib-2-80 * Tue Jun 11 2024 Dominique Leuenberger <[email protected]> - Update to version 2.80.3: + Bugs fixed: - g_socket_client_connect_to_host_async leaks memory when target host doesn't respond to ARP. - gi_repository_find_by_gtype is nondeterministic. - Crash in error path of g_dbus_connection_export_menu_model(). - Backport !4057 “gdbusmessage: Clean the cached arg0 when setting the message body” to glib-2-80. - Backport !4058 “Tests: Build fixes when running `meson test` without previous builds“ to glib-2-80 - Partially backport !4059 “tests: Fix various memory leaks and valgrind / ASAN errors” to glib-2-80 - Backport !4066 “Fix several GCC 14 warnings to please msys2-mingw32 CI” to glib-2-80 - Backport !4065 “girepository: Don't assume a bitfield has a fixed size” to glib-2-80 - Backport !4073 “gmenuexporter: Fix a NULL pointer dereference on an error handling path” to glib-2-80 - Backport !4078 “tests: Fix clang compilation failure due to unrecognised option in pragma” to glib-2-80. - Backport !4033 “girepository: Keep an ordered list of the loaded typelibs” to glib-2-80 - Backport !4104 “gsocketclient: Fix a leak of the task data on an error path” to glib-2-80 + Updated translations. * Mon May 13 2024 Dominique Leuenberger <[email protected]> - Update to version 2.80.2: + Fix a regression with IBus caused by the fix for CVE-2024-34397. + Fix installation directory of the GVariant specification. + Bugs fixed: - GVariant specification installed in wrong directory. - Backport "gdbusconnection: Fix test signal subscription ordering" to glib-2-80. - Backport “Correct installation directory of GVariant specification” to glib-2-80. - Backport “gdbusconnection: Allow name owners to have the syntax of a well-known name” to glib-2-80. - Changes from version 2.80.1 + Fix CVE-2024-34397: GDBus signal subscriptions for well-known names are vulnerable to unicast spoofing (boo#1224044). + Updated translations. * Tue Apr 02 2024 Dirk Müller <[email protected]> - require dbus-launch only if dbus-service is wanted. This helps with stripping down container-only builds (jsc#PED-8153) * Mon Mar 18 2024 Dominique Leuenberger <[email protected]> - Fold typelib-1_0-GioUnix-2_0 into typeib-1_0-Gio-2_0: gjs loads GioUnix as platform-specific overlay to Gio transparently. Any consumer that wants Gio needs GioUnix on Unix-like systems (boo#1211604). * Fri Mar 08 2024 Dominique Leuenberger <[email protected]> - Update to version 2.80.0: + Bugs fixed: - GLib: string malformed for gettext. - Add missing argument placeholders to several command-line tools. - g_warn_if_fail: Document as always evaluating expr. - docs: . Fix a typo in the macros docs page. . Specify gi-docgen as a native dependency. . Fix building with docs enabled and introspection disabled. . Minor improvements to GSignal documentation. + Updated translations. * Wed Mar 06 2024 Dominique Leuenberger <[email protected]> - Create glib2-stage1: build glib2 without intrsospection. This intermediate glib2-stage1-devel is used to the build gobject-introspection, which in turn is needed to build the real glib2 packages. * Tue Feb 27 2024 Dominique Leuenberger <[email protected]> - Update to version 2.79.3: + Various consistency improvements to the command line libgirepository tools * Tue Feb 13 2024 Dominique Leuenberger <[email protected]> - Update to version 2.79.2: + More work to reduce lock contention and improve performance in GObject. + More API changes to libgirepository, which is now stable as of this release. + Import `g-ir-compiler`, `g-ir-generate` and `g-ir-inspect` from gobject-introspection.git and update them to work with girepository-2.0, renaming them to `gi-compile-repository`, `gi-decompile-typelib` and`gi-inspect-typelib`. + Add new `GLibUnix-2.0.gir`, `GLibWin32-2.0.gir`, `GioUnix-2.0.gir` and `GioWin32-2.0.gir` GIRs which contain platform specific APIs, and are the preferred way for third parties to access those APIs in future; although platform specific APIs which were already exposed in `GLib-2.0.gir` and `Gio-2.0.gir` continue to be listed there; the underlying `.so` files have not changed. * Mon Jan 29 2024 Dominique Leuenberger <[email protected]> - Update to version 2.79.1: + Fix a race condition in `g_object_unref()`, + Various API and build changes to libgirepository as it is not yet API-stable, + Build fixes on big-endian 64-bit systems and mips64el, + Reduce contention on global locks within GObject, + Allow building man pages without the reference documentation, * Tue Jan 16 2024 Dominique Leuenberger <[email protected]> - Update to version 2.79.0+158: + Port to gi-docgen and drop gtk-doc support — dependencies have changed, and Meson needs `-Ddocumentation` now rather than `-Dgtk_doc. + Move libgirepository into glib.git from gobject-introspection.git — but tools like `g-ir-scanner` are currently still in gobject-introspection.git. For the moment, glib.git needs to be built twice, once with `-Dintrospection=false`, then build gobject-introspection.git, then re-build glib.git with `-Dintrospection=true`. This process will evolve throughout the GLib 2.80 cycle. The API and ABI of libgirepository has changed, and accordingly its version number has been bumped from 1.0 to 2.0 (note: the version number of `GIRepository-*.gir` has been bumped from 2.0 to 3.0. + Match behaviour for `GAppInfo` searches has changed. + Rename `GTK_USE_PORTAL` environment variable to `GIO_USE_PORTALS`. + Bump Meson dependency to 1.2.0 and depend on Python `packaging` module. - Add pkgconfig(gobject-introspection-1.0) BuildRequires: new dependency. - For doc flavor: replace gtk-doc BuildRequires with pkgconfig(gi-docgen), following upstreams port to gi-docgen. - Convert to source service for easier updating. * Thu Dec 07 2023 Bjørn Lie <[email protected]> - Update to version 2.78.3: + Fix a crash-causing regression in xdgmime + Bugs fixed: - Crash in __gio_xdg_cache_mime_type_subclass - Backport “xdgmime: Update to upstream commit c2c814d4051f232” to glib-2-78 * Tue Dec 05 2023 Bjørn Lie <[email protected]> - Update to version 2.78.2: + Bugs fixed: - check for #ifdef PTRACE_O_EXITKILL will always fail since it isn't a macro - gsubprocess build-time test intermittently timing out since 2.78.1 - “meson: Improve PTRACE_O_EXITKILL presence check” - “Make GQuark register intentional leaks” - “gsignalgroup: Avoid function call with side effect in g_return_* macro” - “tests: Don't assume that sh optimizes simple commands into exec” - “xdgmime: Handle buggy type definitions with circular inheritance” - “collate: Don't segfault on bad input” * Tue Nov 28 2023 Dominique Leuenberger <[email protected]> - Use %autosetup instead of %setup/%patch. * Wed Oct 25 2023 Bjørn Lie <[email protected]> - Update to version 2.78.1: + Fix truncating files when `g_file_set_contents_full()` is called without `G_FILE_SET_CONTENTS_CONSISTENT` + Fix `-Dlibelf=disabled` on Linux + Bugs fixed: - NetworkManager 1.44.0 crashes repeatedly with glib 2.78.0 - gsubprocess-testprog.c: build error with cygwin (sys/ptrace.h: No such file or directory) - gio clears modification time in microseconds when setting with `set_modification_date_time` - Build of glib 2.78.0 ignores -Dlibelf=disabled - glib-2.78.0 fails at gio/tests/gsubprocess.p/gsubprocess.c.o - Segfault when creating GIO GPropertyAction without properties - `g_file_set_contents_full()` doesn't truncate the file (without `G_FILE_SET_CONTENTS_CONSISTENT`) - guniprop.c: Avoid creating (temporarily) out-of-bounds pointers - Fixes for integer cast warnings when targeting CHERI - Fix test_find_program on FreeBSD - gconstructor.h: Ensure [c|d]tor prototypes are present for MSVC - Fix gutils-user-database test on macOS - Add value annotation to G_TYPE_FUNDAMENTAL_MAX - meson: Fix Windows build with PCRE2 as sibling subproject - gconstructor.h: Ensure [c|d]tor prototypes are present for MSVC - glocalfileinfo: Preserve microseconds for access/modify times - Make sure the `GTask` is freed on a graceful disconnect - Buffer needs to be aligned correctly to receive linux_dirent64. - gtestutils.h: Fix warning with -Wsign-conversion caused by g_assert_cmpint - tests: Drop unnecessary include from gsubprocess-testprog.c - wakeup: do single read when using eventfd() - wakeup: Fix g_wakeup_acknowledge if signal comes in” - Use g_task_return in task threads - build: Fix -Dlibelf=disabled on Linux - gfileutils: Add a missing ftruncate() call when writing files + Updated translations. - Drop 0005-gthreadedresolver-Fix-race.patch: Fixed upstream. * Tue Oct 24 2023 Bjørn Lie <[email protected]> - Use sed call to replace gio-querymodules with gio-querymodules-64 in gio-2.0.pc where appropiate. * Wed Oct 11 2023 Dominique Leuenberger <[email protected]> - Require /usr/bin/dbus-daemon by the devel package: GDBusTest launches an own dbus-daemon with a separate environment, so that test code does not have to rely on the session bus. Ensure consumers of GDBusTest have the needed dep present. - Change the dbus-launch Requires to %{_bindir}/dbus-launch: be flexible about potential future package layout changes. * Thu Sep 28 2023 Samuel Cabrero <[email protected]> - Fix NetworkManager crashing repeatedly with glib 2.78.0; (bsc#1215709); Add patch 0005-gthreadedresolver-Fix-race.patch * Fri Sep 08 2023 Bjørn Lie <[email protected]> - Update to version 2.78.0: + Bugs fixed: - Error handling of invalid GKeyFile string escape sequences changed in GLib 2.77.3 - gdb: Workaround optimized out quark_seq_id - meson: fix `gnetworking.h` install tag - gthread: Annotate g_thread_exit() with G_NORETURN - Fix gutils-user-database unit test + Updated translations. * Mon Sep 04 2023 Luciano Santos <[email protected]> - Update to version 2.77.3: + Bugs fixed: - GSettings schemas default value translations don't work when using l10n=time. - gdbus-codegen eats indentation in RST in XML comments. - g_dbus_connection_export_menu_model() is not thread_safe. - Possible SEGV (null pointer deref) in distribute_method_call(). - arg_data in GOptionEntry is not a list. - Possible SEGV (null pointer deref) in _g_resource_file_new(). - glib-unix: Clean up use of O_NONBLOCK. - gnetworkaddress: use reentrant getservbyname_r() if available. - gio-tool-info: Move translator comments so they’re visible. - gregex: set default max stack size for PCRE2 JIT compiler to 512KiB. - glib-unix: Accept O_CLOEXEC as well as FD_CLOEXEC in g_unix_open_pipe(). - gio: Add gresource.dtd. - gtestutils: Mention not ignoring SIGCHLD in g_test_trap_subprocess() docs. - [th/gchildwatch-fail-message] gmain: improve g_warning() for failure in g_child_watch_dispatch(). - [th/use-localtime-r] use localtime_r() in g_log_writer_format_fields(). - gregex: if JIT stack limit is reached, fall back to interpretive matching. - glib/gfileutils.c: use 64 bits for value in get_tmp_file(). - gkeyfile: Fix overwriting of GError. + Updated translations. - Update https://wiki.gnome.org/Projects/GLib URL tag to https://gitlab.gnome.org/GNOME/glib/, as the former points to the latter. * Mon Sep 04 2023 Bjørn Lie <[email protected]> - Update to version 2.77.2: + Bugs fixed: - g_test_trap_subprocess and g_test_subprocess broken in 2.77.1 - ci: Don’t run pipeline after merging a MR - Fix typos - GTree: Handle node counter overflow and return it as an unsigned value - gspawn, gdataset: Restore nullable callback functions + Updated translations. * Mon Sep 04 2023 Bjørn Lie <[email protected]> - Update to version 2.77.1: + Fix some regressions with `GKeyFile` comment handling. + Improve handling of query and fragment components in `file:` URIs. + Various bugs fixed. + Updated transltations. - Drop glib2-revert-004f48f4.patch: Fixed upstream. * Mon Sep 04 2023 Luciano Santos <[email protected]> - Add glib2-revert-004f48f4.patch: This patch reverts the "build/\ gmodule-2.0.pc: Move compiler flags from Libs to Cglags" MR (glgo#GNOME/glib!3356), as per agreement discussed in said MR. * Mon Sep 04 2023 Bjørn Lie <[email protected]> - Update to version 2.77.0: + Fix `GSocketClient` connecting to a proxy if the port is not specified + Support using `copy_file_range()` in `g_file_copy()`, if available + Improve handling of comments above groups in key files + Re-upgrade missing attribute debugs to criticals in `GFileInfo` + Do not redefine NULL on C++ + Make `g_signal_handlers_block_matched()` work for `G_SIGNAL_MATCH_ID` + Fixes to support building with bionic libc better + Fix potential stack overflow in gspawn on macOS if open file limit is very high + Fix support for `--force-fallback-for libpcre` in meson configuration + Generate specific marshallers in `gdbus-codegen` + Fix build failure on Android with `statx()` support + Improve locking performance of `GSignal` + Improve locking performance of `g_main_context_iterate()` + Add an inline definition of `g_free()` to automatically use `g_free_sized()` if available + Fix race with `waitpid()` and `GChildWatchSource` + Add `glib_valgrind_suppressions` variable to glib pkg-config file + Fix build on macOS SDK 10.11 + Switch to using a separate thread pool and support timeouts in `GThreadedResolver` + Track pending `GTask`s if `G_ENABLE_DEBUG` is defined + Support GSignal fast path and more marshallers in `gobject_gdb.py` + Disable the macOS CI because it’s too unreliable — if you rely on GLib working on macOS, please get in touch and do something to help! + Updated translations. * Mon Sep 04 2023 Bjørn Lie <[email protected]> - Update to version 2.76.5: + Bugs fixed: - Possible SEGV (null pointer deref) in distribute_method_call(). - Possible SEGV (null pointer deref) in _g_resource_file_new(). - Backport !3529 “gmenuexporter: synchronization in org_gtk_Menus_get_interface.” to glib-2-76. - Backport !3547 “glib/gfileutils.c: use 64 bits for value in get_tmp_file()” to glib-2-76. - Backport !3554 “gresourcefile: Fix crash if called with a badly escaped URI” to glib-2-76. - Backport !3555 “gkeyfile: Fix overwriting of GError” to glib-2-76. - Backport !3539 “gdbusmessage: Validate required headers have the right type” to glib-2-76. * Thu Jul 06 2023 Bjørn Lie <[email protected]> - Update to version 2.76.4: + Fix build failure on Android with `statx()` support + Bugs fixed: - glib-compile-schemas failed on directory name with no Latin symbols - Build failure due to statx fields with NDK r25.c - glib-compile-resources: Fix non-ASCII arg parsing on Windows - glib: reset errno to 0 when futex() returns EAGAIN - Avoid stack overflow in gspawn on macOS - glocalfileinfo: Fix incorrect use of struct statx.st_mtimensec on Android + Updated translations. * Tue May 23 2023 Bjørn Lie <[email protected]> - Update to version 2.76.3: + Bugs fixed: glgo#GNOME/GLib#1264, glgo#GNOME/GLib!3402, glgo#GNOME/GLib!3403, glgo#GNOME/GLib!3427, glgo#GNOME/GLib!3428, glgo#GNOME/GLib!3434. + Updated translations. * Fri Apr 21 2023 Bjørn Lie <[email protected]> - Update to version 2.76.2: + Fixed various build failures in less common setups + Fix launching files in Windows via GtkFileLauncher + Bugs fixed: - GMarkupParser documentation completion - Disagreement between runtime and docs on whether interfaces are "classed" - gdbus-example-proxy-subclass.c is not complete - GAppInfoMonitor documentation deficiencies - Check for __kernel_long_t when enabling futex() - Documentation mentions non-existing function `g_value_free` - Not clear that GPollableInputStream methods are undefined if can_poll() returns FALSE - Missing docs for GOption (commandline parser) - GDebugControllerDBus wrong default in documentation - Probably wrong information regarding G_PLATFORM_WIN32 in README.win32.md - Multiple Definition Error When Generating gio/tests/test5.gresource - user docs: GLib.DateTime.format: broken highlighting - GtkFileLauncher: generated paths not recognized on Win32 - Build failed due to NULL pointer redefinition in C++ - Build randomly fails with: 'gmodule/gmodule-visibility.h' file not found - unicode: add tests for g_utf8_normalize() and empty strings - build: Drop old .gitignore files from test directories - tools: Drop check-abis.sh script - docs: Drop section about default branch renaming from README.md - tests: Update Unicode normalisation tests from Unicode 15 - Make clang++ happier when using G_STATIC_ASSERT - gwin32: Avoid use of function call with side effect in g_return_* macro - gsignal: Clarify documentation for GSignalMatchType matching + Updated translations. * Thu Apr 20 2023 Guido Berhoerster <[email protected]> - Add mate-mimeapps.list for MATE-specific MIME associations generated by suse-update-mime-defaults * Wed Mar 22 2023 Bjørn Lie <[email protected]> - Update to version 2.76.1: + Fix build failures in third party C++ projects using `g_strdup()` via C++ qualified symbol lookup. + Downgrade critical warnings from `GFileInfo` about missing attributes to debug messages, as it was affecting too many apps; the critical warnings will be reinstated early in the 2.78 cycle, so apps should continue to fix their ambiguous use of `GFileInfo` API. + Bugs fixed: glgo#GNOME/GLib#159, glgo#GNOME/GLib#352, glgo#GNOME/GLib#919, glgo#GNOME/GLib#2922, glgo#GNOME/GLib#2936, glgo#GNOME/GLib#2943, glgo#GNOME/GLib#2948, glgo#GNOME/GLib!3241, glgo#GNOME/GLib!3315, glgo#GNOME/GLib!3318, glgo#GNOME/GLib!3319, glgo#GNOME/GLib!3321, glgo#GNOME/GLib!3323, glgo#GNOME/GLib!3324, glgo#GNOME/GLib!3325, glgo#GNOME/GLib!3330, glgo#GNOME/GLib!3338. + Updated translations. * Fri Mar 10 2023 Bjørn Lie <[email protected]> - Update to version 2.76.0: + Fix several regressions in handling `GFileInfo` attributes + Bugs fixed: - ETAG_VALUE not set in GFileInfo when requested - File attributes are not set when their value is FALSE/NULL - gfile: Fix file size detection when copying on btrfs - glocalfileinfo: . Mark the lost+found dir as hidden again . Ensure that is-backup is always set + Updated translations. - Rebase patches with quilt. * Wed Mar 08 2023 Dominique Leuenberger <[email protected]> - Update to version 2.75.4: + Emit a critical warning when acquiring the notification queue during GObject finalization. A type's `finalize()` implementation should not call public API that emits property notifications. + Updated translations. * Tue Mar 07 2023 Bjørn Lie <[email protected]> - Rebase glib2-suppress-schema-deprecated-path-warning.patch with quilt. * Fri Feb 24 2023 Dominique Leuenberger <[email protected]> - Fix license files in packages: COPYING in the source tree is a symlink to LICENSES/LGPL-2.1-or-later.txt, but rpm's %license macro copies the symlink, not the target. Explicitly package LICENSES/LGPL-2.1-or-later.txt in this case (boo#1208497). * Fri Feb 24 2023 Dominique Leuenberger <[email protected]> - Update to version 2.75.3: + Drop the implementation of GSlice, and make the API use the system `malloc()` internally. + Use a thread-spawning thread to keep thread scheduler settings consistent; fixes GThreadPool critical warnings due to failing to set scheduler settings in some situations. + GIR annotation improvements for multiple APIs. + Optimise printing of nested maybes in `g_variant_print()`. + Use `tap` test protocol within GLib, and support TAP 13/14. + Fix a regression in glib-compile-schemas 2.75.2 causing schemas and override files to be sorted incorrectly. + Support per-desktop overrides in `GSettingsAction`. + Various optimisations to `GString`. + Reduce allocations in message printing functions if there’s nothing to format. + Add inline version of `g_strdup()`, allowing the compiler to do `NULL` folding and constant folding on `strlen()` calls. + Add a `GPathBuf` API for building and manipulating file paths. + Add `g_string_free_and_steal()` and use it to warn on unused results from`g_string_free (_, FALSE)`. + Add `g_free_sized()` and `g_aligned_free_sized()` to mirror the upcoming `free_sized()` function in C23; use these if porting away from `g_slice_free()`. + Fix underspecified dependencies on generated headers in `meson.build`, which should reduce spurious build failures. + Updated translations. * Fri Feb 24 2023 Dominique Leuenberger <[email protected]> - Update to version 2.75.2: + Add `g_ptr_array_sort_values()` and `g_ptr_array_sort_values_with_data()` APIs. + Some fixes for activation of UWP apps on Windows. + Support Markdown output from `gdbus-codegen`. - Changes from version 2.75.1: + Add new `GFileInfo` properties for large thumbnails. + Fix missing input validation in `GDBusMenuModel`. + Change default `g_desktop_app_info_search()` algorithm to include substring matches. + Various GVariant security fixes when handling untrusted data. + Add support for XDG Activation protocol in `GAppLaunchContext`. + Return `application/x-zerosize` rather than `text/plain` as content type for empty files. + Deprecate `-Druntime_libdir` configure option because it was unused. + Check for snap plugs when accessing portals. + Add `GArray` and `GPtrArray` constructors to take or copy C arrays. + Add `GHashTable` methods to get and steal hash table keys and values as `GPtrArray`s. + Change the default D-Bus system bus socket address from `/var/run/dbus/system_bus_socket` to `/run/dbus/system_bus_socket`, in line with changes in dbus.git. - Drop patches: + glib2-dbus-socket-path.patch: fixed upstream. + glib2-fix-normal-form-handling-in-gvariant.patch: fixed upstream * Thu Feb 23 2023 Alynx Zhou <[email protected]> - Update glib2-fix-normal-form-handling-in-gvariant.patch: Backported from upstream to fix regression on s390x. (bsc#1210135, glgo#GNOME/glib!2978) * Thu Feb 23 2023 Alynx Zhou <[email protected]> - Add glib2-fix-normal-form-handling-in-gvariant.patch: Backported from upstream to fix normal form handling in GVariant. (CVE-2023-24593, CVE-2023-25180, bsc#1209714, bsc#1209713, glgo#GNOME/glib!3125) * Thu Feb 23 2023 Bjørn Lie <[email protected]> - Update to version 2.74.6: + Bugs fixed: glgo#GNOME/GLib!3239 Backport glgo#GNOME/GLib!3237 “Fix safe_wspawnve #define” to glib-2-74. + Updated translations. * Thu Jan 19 2023 Bjørn Lie <[email protected]> - Update to version 2.74.5: + Bugs fixed: glgo#GNOME/GLib#2843, glgo#GNOME/GLib#2881, glgo#GNOME/GLib#2883, glgo#GNOME/GLib!3165, glgo#GNOME/GLib!3166, glgo#GNOME/GLib!3182, glgo#GNOME/GLib!3197, glgo#GNOME/GLib!3204, glgo#GNOME/GLib!3214. + Updated translations. - Drop 1539540.patch: Fixed upstream. * Thu Dec 22 2022 Bjørn Lie <[email protected]> - Update to version 2.74.4: + Fix missing input validation in `GDBusMenuModel`. + Various GVariant security fixes when handling untrusted data. + Bugs fixed: glgo#GNOME/GLib#861, glgo#GNOME/GLib#2121, glgo#GNOME/GLib#2540, glgo#GNOME/GLib#2794, glgo#GNOME/GLib#2797, glgo#GNOME/GLib#2835, glgo#GNOME/GLib#2839, glgo#GNOME/GLib#2840, glgo#GNOME/GLib#2841, glgo#GNOME/GLib#2852, glgo#GNOME/GLib!3114, glgo#GNOME/GLib!3126, glgo#GNOME/GLib!3134, glgo#GNOME/GLib!3138, glgo#GNOME/GLib!3153, glgo#GNOME/GLib!3161, glgo#GNOME/GLib!3164. + Updated translations. - Add 1539540.patch: gthread-posix: need to #include <errno.h>. * Fri Dec 02 2022 Bjørn Lie <[email protected]> - Update to version 2.74.3: + Fix regression in type checking `g_str_equal()` from C++ projects (glgo#GNOME/GLib#2820). + Bugs fixed: - glgo#GNOME/GLib#2820 g_str_equal: New macro version breaks compilation in C++ projects - glgo#GNOME/GLib!3096 Backport !3094 “gstrfuncs: Fix regression in C++ types accepted by g_str_equal()” to glib-2-74 - Changes from version 2.74.2: + Fix GVariant type depths checks on text format variants. + Fix an obscure corner case with FD handling in g_spawn_*() when a process has already closed the standard I/O FDs. + Fix regression in type checking on const arguments to g_str_equal(). + Bugs fixed: glgo#GNOME/GLib#2782 GVariant type depth not checked on typedecls in text format variants. glgo#GNOME/GLib#2795 [regression] gnome-keyring-daemon uses 100% CPU with glib-2.74.1. glgo#GNOME/GLib#2799 Wrong GTask tag on error return path in g_proxy_resolver_lookup_async(). glgo#GNOME/GLib#2809 g_str_equal switched to stricter API (typing). glgo#GNOME/GLib!3017 Backport !3008 “gio/gdesktopappinfo: Free the wrapped argv array on launch failure” to glib-2-74. glgo#GNOME/GLib!3038 Backport !3035 “portal: Fix broken header guard” to glib-2-74. glgo#GNOME/GLib!3039 Backport !3029 “Revert "Handling collision between standard i/o file descriptors and newly created ones" ” to glib-2-74. glgo#GNOME/GLib!3046 Backport !3045 “gproxyresolver: lookup_finish() should better parallel lookup_async()” to glib-2-74. glgo#GNOME/GLib!3063 Backport !3061 “gvariant-parser: Speed up maybe_wrapper() by an order of magnitude” to glib-2-74. glgo#GNOME/GLib!3084 Backport !3082 “gstrfuncs: Fix regression in types accepted by g_str_equal()” to glib-2-74. + Updated translations. - Drop ca905744.patch and a1151bc1.patch: Fixed upstream. - Rebase patches with quilt. * Mon Oct 31 2022 Bjørn Lie <[email protected]> - Add a1151bc1.patch: gio/gdesktopappinfo: Free the wrapped argv array on launch failure. * Mon Oct 31 2022 Dominique Leuenberger <[email protected]> - Add ca905744.patch: Revert "Handling collision between standard i/o file descriptors and newly created ones". The user-visible problem this solves is gnome-keyring-daemon eating 100% CPU. * Wed Oct 26 2022 Bjørn Lie <[email protected]> - Update to version 2.74.1: + Update Unicode data to version 15 + Fix various build failures in different situations + Fix over-eager deprecated property warnings for construct properties + Fix a crash calling `g_param_value_is_valid()` on a `GParamSpecParam` + Fix floating `GVariant` leaks with GObject properties + Add inline optimised version of `g_str_equal()` + Fix `GVariant` type depths checks on text format variants + Fix regression with int64 and double hashing functions on big-endian architectures + Build the API documentation only when building GLib as a shared library + Ignore weird `/etc/localtime` configurations generated by toolbx + Avoid `EINTR` races when closing FDs in `g_spawn_*()` + Bugs fixed: glgo#GNOME/GLib#16, glgo#GNOME/GLib#333, glgo#GNOME/GLib#2735, glgo#GNOME/GLib#2740, glgo#GNOME/GLib#2742, glgo#GNOME/GLib#2748, glgo#GNOME/GLib#2758, glgo#GNOME/GLib#2759, glgo#GNOME/GLib#2766, glgo#GNOME/GLib#2767, glgo#GNOME/GLib#2770, glgo#GNOME/GLib#2774, glgo#GNOME/GLib#2775, glgo#GNOME/GLib#2782, glgo#GNOME/GLib#2787, glgo#GNOME/GLib#2788, glgo#GNOME/GLib!2852, glgo#GNOME/GLib!2857, glgo#GNOME/GLib!2864, glgo#GNOME/GLib!2866, glgo#GNOME/GLib!2880, glgo#GNOME/GLib!2885, glgo#GNOME/GLib!2892, glgo#GNOME/GLib!2896, glgo#GNOME/GLib!2899, glgo#GNOME/GLib!2901, glgo#GNOME/GLib!2903, glgo#GNOME/GLib!2904, glgo#GNOME/GLib!2905, glgo#GNOME/GLib!2907, glgo#GNOME/GLib!2911, glgo#GNOME/GLib!2913, glgo#GNOME/GLib!2915, glgo#GNOME/GLib!2916, glgo#GNOME/GLib!2920, glgo#GNOME/GLib!2922, glgo#GNOME/GLib!2924, glgo#GNOME/GLib!2928, glgo#GNOME/GLib!2931, glgo#GNOME/GLib!2933, glgo#GNOME/GLib!2938, glgo#GNOME/GLib!2939, glgo#GNOME/GLib!2946, glgo#GNOME/GLib!2948, glgo#GNOME/GLib!2949, glgo#GNOME/GLib!2958, glgo#GNOME/GLib!2960, glgo#GNOME/GLib!2973, glgo#GNOME/GLib!2975, glgo#GNOME/GLib!2982, glgo#GNOME/GLib!2983, glgo#GNOME/GLib!2988, glgo#GNOME/GLib!2989, glgo#GNOME/GLib!2995, glgo#GNOME/GLib!2996, glgo#GNOME/GLib!2998, glgo#GNOME/GLib!3010. + Updated translations. - Rebase patches with quilt. - Drop f0dd96c28751f15d0703b384bfc7c314af01caa8.diff: Fixed upstream. * Fri Oct 07 2022 Haochuan Chen <[email protected]> - Add upstream patch to solve GIMP crashes: + f0dd96c28751f15d0703b384bfc7c314af01caa8.diff: glgo#GNOME/GLib!2770 Empty values are not valid GParamSpec. * Sun Sep 18 2022 Bjørn Lie <[email protected]> - Update to version 2.74.0: + Use EPOLL_CLOEXEC by default + Fixed various regression on GRegex as per the PCRE2 porting + Fixed various memory leaks + Bugs fixed: glgo#GNOME/gtksourceview#278, glgo#GNOME/gtksourceview#283, glgo#GNOME/GLib#2688, glgo#GNOME/GLib#2713, glgo#GNOME/GLib#2719, glgo#GNOME/GLib#2729, glgo#GNOME/GLib#2733, glgo#GNOME/GLib#2737, glgo#GNOME/GLib#2741, glgo#GNOME/gtk#4400, glgo#GNOME/GLib!2820, glgo#GNOME/GLib!2855, glgo#GNOME/GLib!2861, glgo#GNOME/GLib!2868, glgo#GNOME/GLib!2873, glgo#GNOME/GLib!2874, glgo#GNOME/GLib!2875, glgo#GNOME/GLib!2876, glgo#GNOME/GLib!2879, glgo#GNOME/GLib!2881, glgo#GNOME/GLib!2882, glgo#GNOME/GLib!2883, glgo#GNOME/GLib!2900. + Updated translations. * Thu Sep 08 2022 Stephan Kulow <[email protected]> - Replace pkgconfig(libpcre) with pkgconfig(libpcre2-8) BuildRequires. No longer used by glib (replaced by pcre2 in 2.73.2). * Mon Aug 29 2022 Bjørn Lie <[email protected]> - Drop 99783e0408f8ae9628d2c7a30eb99806087da711.patch for 2.73.x branch, fixed upstream already. * Thu Aug 25 2022 Bjørn Lie <[email protected]> - Add 99783e0408f8ae9628d2c7a30eb99806087da711.patch: gsocketclient: Fix passing NULL to g_task_get_cancellable(). Fix a regression from commit abddb42d14, where it could pass `NULL` to `g_task_get_cancellable()`, triggering a critical warning. This could happen because the lifetime of `data->task` is not as long as the lifetime of the `ConnectionAttempt`, but the code assumed it was. Fix the problem by keeping a strong ref to that `GCancellable` around until the `ConnectionAttempt` is finished being destroyed. * Sat Aug 06 2022 Bjørn Lie <[email protected]> - Update to version 2.73.3: + Revitalize G_REGEX_OPTIMIZE flag and use it to enable PCRE JIT compiler. + Fix some regressions due to the PCRE2 port. + Fix a pidfd leak that was introduced in the previous release. + Support compilation without a C++ toolchain. + GDBus: Use namespace-friendly protocol for Linux message buses, and optionally other connections. + Fix potential races in multi-threaded signal connections handling. + Add back gio-launch-desktop to redirect stdout/stderr of launched GDesktopAppInfo's to the journal with proper parent + Executables that are invoked when installing other software, typically from packaging system triggers, can now be installed into architecture-dependent locations. Unix OS distributors who install GLib for more than one architecture in parallel (multiarch or multilib installations) should consider building with -Dmultiarch=true, installing the bin/glib-compile-schemas and bin/gio-querymodules symbolic links in packages for the primary architecture, and omitting those symlinks from packages for secondary architectures. + Some enumerators introduced in previous releases have been changed, for better introspection results: - G_MARKUP_PARSE_FLAGS_NONE renamed to G_MARKUP_DEFAULT_FLAGS - G_TLS_CERTIFICATE_FLAGS_NONE renamed to G_TLS_CERTIFICATE_NO_FLAGS - G_APPLICATION_FLAGS_NONE was deprecated, use G_APPLICATION_DEFAULT_FLAGS now. + gfileinfo: Implement xattr attribute removal. + Add support to --delete option to gio set, to unset a file attribute. + Improve default value of glib_debug option: G_ENABLE_DEBUG will be defined only if using `--buildtype=debug` or enabled via `-Dglib_debug`, but it won't ever be set if an optimized build is requested (specifically if the optimization level is not `0` or `g`) as it may be the case when using `--buildtype=debugoptimized`. + Probably the first revision of any GNOME module ever released from Cuba :) + Bugs fixed: glgo#GNOME/Glib#566, glgo#GNOME/Glib#1187, glgo#GNOME/Glib#2509, glgo#GNOME/Glib#2542, glgo#GNOME/Glib#2588, glgo#GNOME/Glib#2682, glgo#GNOME/Glib#2692, glgo#GNOME/Glib#2694, glgo#GNOME/Glib#2699, glgo#GNOME/Glib#2700, glgo#GNOME/Glib#2703, glgo#GNOME/Glib#2705, glgo#GNOME/Glib#2708, glgo#GNOME/Glib!2299, glgo#GNOME/Glib!2759, glgo#GNOME/Glib!2812, glgo#GNOME/Glib!2813, glgo#GNOME/Glib!2814, glgo#GNOME/Glib!2815, glgo#GNOME/Glib!2818, glgo#GNOME/Glib!2822, glgo#GNOME/Glib!2823, glgo#GNOME/Glib!2825, glgo#GNOME/Glib!2826, glgo#GNOME/Glib!2827, glgo#GNOME/Glib!2829, glgo#GNOME/Glib!2830, glgo#GNOME/Glib!2832, glgo#GNOME/Glib!2833, glgo#GNOME/Glib!2835, glgo#GNOME/Glib!2836, glgo#GNOME/Glib!2851, glgo#GNOME/Glib!2853, glgo#GNOME/Glib!2854. + Updated translations. * Wed Aug 03 2022 Dominique Leuenberger <[email protected]> - Update to version 2.73.2: + Replace PCRE1 with PCRE2. + Preserve destruction order in gdataset, fixing various crashes during objects disposal. + Require C99 __VA_ARGS__. + Add NONE or DEFAULT members to most flags types. + GFile: Add some missing async APIs. + Improve internal and process documentation. + Add atomic compare-and-exchange APIs returning previous value. + Add G_DEFINE_ENUM_TYPE and G_DEFINE_ENUM_VALUE macros. + Add platform-independent G_ALWAYS_INLINE and G_NO_INLINE. + Use waitid() on pidfds rather than a global SIGCHLD handler. * Thu Jul 07 2022 Dominique Leuenberger <[email protected]> - Update to version 2.73.1: + Remove the `-Diconv` configure option, as GLib now uses Meson’s built-in logic for finding which iconv implementation to use. + Move gvdb to a Meson subproject and git submodule to avoid duplicating its source. + Add `add_test_setup()` in Meson to allow GLib tests to be run under valgrind with correct settings easily, using `meson test --setup=valgrind`. + Fix deadlocks when disposing non-cancelled inotify `GFileMonitor`s. + Fix `file://` requests in webkit2gtk due to incorrect xdgmime update. + Fix build errors on macOS ≤10.7 for `LOCAL_PEERPID`. + Add new `g_atomic_int_exchange()` and `g_atomic_pointer_exchange()` APIs. + Add new `GListStore:n-items` property to allow easy binding in UIs. + Performance improvements for GObject construction and destruction. + Use a numeric space (U+2007) for padding with some `g_date_time_format()` placeholders. + Fix a slow memory leak in `GSocketClient` when using long-lived `GCancellable`s. * Sun Jul 03 2022 Emily Gonyer <[email protected]> - Update to version 2.72.3 + Bugs fixed: glgo#GNOME/Glib!1941, glgo#GNOME/Glib!2597, glgo#GNOME/Glib!2639, glgo#GNOME/Glib!2670, glgo#GNOME/Glib!2703, glgo#GNOME/Glib!2709, glgo#GNOME/Glib!2720, glgo#GNOME/Glib!2750, glgo#GNOME/Glib!2687. * Tue May 31 2022 Bjørn Lie <[email protected]> - Update to version 2.72.2: + Bugs fixed: glgo#GNOME/GLib#2640, glgo#GNOME/GLib!2605, glgo#GNOME/GLib!2616, glgo#GNOME/GLib!2629, glgo#GNOME/GLib!2643, glgo#GNOME/GLib!2644, glgo#GNOME/GLib!2662, glgo#GNOME/GLib!2691. + Updated translations. * Thu Apr 21 2022 Emily Gonyer <[email protected]> - Update to version 2.72.2: + Fix building projects which use g_warning_once() with clang++. + Fix g_file_trash not deleting directories via portals backend. + A number more compiler warnings fixed for MSVC. + Fix detection of broken poll function on macOS. + Fix spawning subprocesses from GUI programs on Windows. + Bugs fixed: - #2312 gdbus-test-codegen tests leak GWeakRef objects. - #2625 g_warning_once fails to build with clang++. - #2629 g_file_trash doesn't in directories inside a sandbox. - !2495 Cleanup warnings split 6. - !2499 Various contenttype-related test fixes on win32. - !2534 gpowerprofilemonitor: Tweak wording of documentation. - !2540 Various win32 tests skip & fixes. - !2541 meson: simplify lookup of python command. - !2543 ci: Update the Fedora CI image to Fedora 34. - !2556 gdbusconnection: Use g_strv_contains(). - !2557 gdbusmethodinvocation: Fix a leak on early return path. - !2558 Move unit test on g_basename() function to glib/tests/fileutils.c. - !2559 Move tests/relation-test.c to glib/tests/relation.c. - !2560 ci: Update Coverity, mingw and Android CI images to Fedora 34. - !2563 glib: Format GDateTime ISO8601 years as %C%y. - !2564 Move test files on slices from tests/ to glib/tests/. - !2566 tests: Add more tests for GResolver response parsing. - !2573 Backport translation fixes and !2571 meson: Set BROKEN_POLL in macOS builds to glib-2-72. - !2574 Backport !2565 Revert meson: simplify lookup of python command to glib-2-72. - !2587 Backport !2583 Fix trashing sandboxed directories to glib-2-72. - !2588 Backport !2582 glib/win32: fix spawn from GUI regression to glib-2-72. - !2590 Backport !2589 tests: Don't exit gdbus-method-invocation test early on connection close to glib-2-72. - !2593 Backport !2578 atomic: Add a C++ variant of g_atomic_int_compare_and_exchange() to glib-2-72. + Translation updates. * Fri Apr 01 2022 Dirk Müller <[email protected]> - remove provides/obsoletes on glib2-doc, it was split into two packages again - spec-cleaner reorderings * Fri Mar 25 2022 Callum Farmer <[email protected]> - desktop-file-utils: add Budgie desktop environment * Fri Mar 18 2022 Bjørn Lie <[email protected]> - Update to version 2.72.0: + Bugs fixed: glgo#GNOME/GLib#2620, glgo#GNOME/GLib!2538, glgo#GNOME/GLib!2542, glgo#GNOME/GLib!2547, glgo#GNOME/GLib!2548, glgo#GNOME/GLib!2551, glgo#GNOME/GLib!2552. + Updated translations. * Thu Mar 17 2022 Bjørn Lie <[email protected]> - Update to version 2.71.3: + Fix flaky `GDebugController` tests + Numerous small documentation updates + Bugs fixed: glgo#GNOME/GLib#517, glgo#GNOME/GLib#1929, glgo#GNOME/GLib#2589, glgo#GNOME/GLib#2598, glgo#GNOME/GLib#2609, glgo#GNOME/GLib#2611, glgo#GNOME/GLib#2612, glgo#GNOME/GLib#2613, glgo#GNOME/GLib!1707, glgo#GNOME/GLib!2424, glgo#GNOME/GLib!2451, glgo#GNOME/GLib!2466, glgo#GNOME/GLib!2480, glgo#GNOME/GLib!2485, glgo#GNOME/GLib!2490, glgo#GNOME/GLib!2491, glgo#GNOME/GLib!2492, glgo#GNOME/GLib!2493, glgo#GNOME/GLib!2501, glgo#GNOME/GLib!2502, glgo#GNOME/GLib!2503, glgo#GNOME/GLib!2504, glgo#GNOME/GLib!2505, glgo#GNOME/GLib!2506, glgo#GNOME/GLib!2507, glgo#GNOME/GLib!2508, glgo#GNOME/GLib!2509, glgo#GNOME/GLib!2510, glgo#GNOME/GLib!2512, glgo#GNOME/GLib!2513, glgo#GNOME/GLib!2514, glgo#GNOME/GLib!2515, glgo#GNOME/GLib!2516, glgo#GNOME/GLib!2517, glgo#GNOME/GLib!2518, glgo#GNOME/GLib!2519, glgo#GNOME/GLib!2520, glgo#GNOME/GLib!2523, glgo#GNOME/GLib!2524, glgo#GNOME/GLib!2525, glgo#GNOME/GLib!2526, glgo#GNOME/GLib!2527, glgo#GNOME/GLib!2528, glgo#GNOME/GLib!2531. + Updated translations. * Thu Mar 17 2022 Dirk Müller <[email protected]> - Split gtk-docs from -devel package, these are not needed during building projects using glib2 - Use _multibuild as the meson buildprocess is very awkward regarding the documentation - builds single-jobs only and twice (again during %install). This way the rest of distribution waiting for glib2-devel to be available is not blocked by this * Thu Mar 17 2022 Bjørn Lie <[email protected]> - Update to version 2.71.2: + Rework `glib-compile-resources` to output compiler-specific files to reduce compilation time; see the new `--compiler` option. + Add a cross-platform API for aligned memory allocations (`g_aligned_alloc()`, `g_aligned_alloc0()` and `g_aligned_free()`). + Deprecate `force_posix_threads` configure option, since it was a workaround for static linking on Windows. + Add `GBindingGroup` and `GSignalGroup` APIs. + Implement FD remapping support for `g_spawn_async_with_pipes_and_fds()` on Windows. + Add an async file move API, `g_file_move_async()`. + Bugs fixed: glgo#GNOME/GLib#1190, glgo#GNOME/GLib#2329, glgo#GNOME/GLib#2492, glgo#GNOME/GLib#2563, glgo#GNOME/GLib#2574, glgo#GNOME/GLib#2592, glgo#GNOME/GLib#2601, glgo#GNOME/GLib!2235, glgo#GNOME/GLib!2378, glgo#GNOME/GLib!2404, glgo#GNOME/GLib!2433, glgo#GNOME/GLib!2458, glgo#GNOME/GLib!2464, glgo#GNOME/GLib!2465, glgo#GNOME/GLib!2467, glgo#GNOME/GLib!2468, glgo#GNOME/GLib!2469, glgo#GNOME/GLib!2471, glgo#GNOME/GLib!2472, glgo#GNOME/GLib!2473, glgo#GNOME/GLib!2476, glgo#GNOME/GLib!2477, glgo#GNOME/GLib!2481, glgo#GNOME/GLib!2482, glgo#GNOME/GLib!2483, glgo#GNOME/GLib!2484, glgo#GNOME/GLib!2487, glgo#GNOME/GLib!2488. + Updated translations. * Thu Mar 17 2022 Bjørn Lie <[email protected]> - Update to version 2.71.1: + Basic support for static builds on Windows + Add `GDebugController` and a D-Bus implementation which exposes whether debug output is enabled in a process using the `org.gtk.Debugging` D-Bus interface + Support for `AF_UNIX` sockets on Windows 10 (and later) + Several important fixes to GDBus message and GVariant parsing of invalid data + Fix potential data loss due to missing fsync when saving files on btrfs + Fix potential buffer overflows in `garray.c` for very large `GArray`s and `GPtrArray`s + Fix FDs in gspawn not being closed and causing process hangs if `close_range()` fails unexpectedly + Fix `g_find_program_in_path()` not returning an absolute path if `$PATH` is relative + Add support for loading PKCS#12 encrypted files in `GTlsCertificate` + A number of improvements to unit tests + Support `LOCAL_PEERPID` on macOS, giving partial support for PIDs in `GCredentials` on that platform + Add `g_get_user_state_dir()` to support `XDG_STATE_HOME` + Add `g_hash_table_new_similar()` to copy a hash table and its hash/equal functions without its data + Support D-Bus client authentication with `EXTERNAL` on Windows + Add a reStructuredText documentation generator to `gdbus-codegen` + Add a Windows implementation of `GMemoryMonitor` + Bugs fixed: glgo#GNOME/GLib#692, glgo#GNOME/GLib#1190, glgo#GNOME/GLib#2487, glgo#GNOME/GLib#2550, glgo#GNOME/GLib#2557, glgo#GNOME/GLib#2559, glgo#GNOME/GLib#2560, glgo#GNOME/GLib#2564, glgo#GNOME/GLib#2565, glgo#GNOME/GLib#2571, glgo#GNOME/GLib#2572, glgo#GNOME/GLib#2578, glgo#GNOME/GLib#2579, glgo#GNOME/GLib#2580, glgo#GNOME/GLib#2582, glgo#GNOME/GLib#2585, glgo#GNOME/GLib#2586, glgo#GNOME/GLib!2239, glgo#GNOME/GLib!2362, glgo#GNOME/GLib!2384, glgo#GNOME/GLib!2395, glgo#GNOME/GLib!2399, glgo#GNOME/GLib!2400, glgo#GNOME/GLib!2402, glgo#GNOME/GLib!2403, glgo#GNOME/GLib!2405, glgo#GNOME/GLib!2407, glgo#GNOME/GLib!2411, glgo#GNOME/GLib!2412, glgo#GNOME/GLib!2413, glgo#GNOME/GLib!2414, glgo#GNOME/GLib!2417, glgo#GNOME/GLib!2423, glgo#GNOME/GLib!2425, glgo#GNOME/GLib!2426, glgo#GNOME/GLib!2428, glgo#GNOME/GLib!2429, glgo#GNOME/GLib!2431, glgo#GNOME/GLib!2432, glgo#GNOME/GLib!2434, glgo#GNOME/GLib!2440, glgo#GNOME/GLib!2441, glgo#GNOME/GLib!2442, glgo#GNOME/GLib!2447, glgo#GNOME/GLib!2448, glgo#GNOME/GLib!2452, glgo#GNOME/GLib!2453, glgo#GNOME/GLib!2454, glgo#GNOME/GLib!2456, glgo#GNOME/GLib!2459, glgo#GNOME/GLib!2461, glgo#GNOME/GLib!2463. + Updated translations. * Thu Mar 17 2022 Dominique Leuenberger <[email protected]> - Update to version 2.71.0: + Fix network changes not being signalled from NetworkManager. + Fix build when building with --fatal-meson-warnings. + Various fixes to GWeakRef cleanup and toggle refs. + Add `G_DBUS_PROXY_FLAGS_NO_MATCH_RULE` flag for disabling match rules when creating a `GDBusProxy`. + Fix FD remapping in `g_spawn_async_with_pipes_and_fds()` with certain values of target FDs. + Make `GDBusProxy::g-signal` signal detailed with D-Bus signal names. + Emit `launched` signal for D-Bus activation of apps with `GDesktopAppInfo`. + Fix IDs of `GDesktopAppInfo`s which are constructed from a `.desktop` file in a subdirectory. + Add `--interactive` option to `gdbus call`. + Add `G_SUBPROCESS_FLAGS_SEARCH_PATH_FROM_ENVP` to `GSubprocess`. + Lots of bug fixes. + Updated translations. - Rebase glib2-bgo569829-gettext-gkeyfile.patch. * Thu Mar 17 2022 Dominique Leuenberger <[email protected]> - Update to version 2.70.5: + g_time_zone_new_offset() assertion failure if offset >= 25 hours. + glib: fix buffer overflow in g_canonicalize_filename(). + gtimezone: Fix assertion failure when called with a huge offset. + Updated translations. * Fri Feb 11 2022 Bjørn Lie <[email protected]> - Update to version 2.70.4: + Bugs fixed: glgo#GNOME/GLib!2462 “Fix memory leak in gio/gdbusauthmechanismsha1.c” to glib-2-70. + Updated translations. * Wed Jan 26 2022 Bjørn Lie <[email protected]> - Update to version 2.70.3: + Several important fixes to FD handling in gspawn. + Several important fixes to GDBus message and GVariant parsing of invalid data. + Fix potential data loss due to missing fsync when saving files on btrfs. + Bugs fixed: glgo#GNOME/GLib#2503, glgo#GNOME/GLib#2506, glgo#GNOME/GLib#2557, glgo#GNOME/GLib#2572, glgo#GNOME/GLib#2580, glgo#GNOME/GLib!2394, glgo#GNOME/GLib!2415, glgo#GNOME/GLib!2437, glgo#GNOME/GLib!2444, glgo#GNOME/GLib!2455. + Updated translations. * Fri Dec 03 2021 Bjørn Lie <[email protected]> - Update to version 2.70.2: + Fix use of the default log writer with journald namespaces + Fix hang in `dbus-daemon` under `GTestDBus` when `G_MESSAGES_DEBUG=all` is set + Speed up `g_canonicalize_filename()` to avoid pathogenic cases with `..` + Fix URI for pcre subproject as it’s moved upstream + Fix storing GSettings dictionaries on macOS + Speed up ‘remove dot segments’ algorithm in `GUri` to avoid pathogenic cases with `..` + Fix infinite loops in D-Bus message parsing for truncated inputs + Improve correctness of version information returned by `g_get_os_info()` for Windows 10/Server 2019+ + Bugs fixed: glgo#GNOME/GLib#2400, glgo#GNOME/GLib#2426, glgo#GNOME/GLib#2528, glgo#GNOME/GLib#2530, glgo#GNOME/GLib#2537, glgo#GNOME/GLib#2541, glgo#GNOME/GLib!2312, glgo#GNOME/GLib!2313, glgo#GNOME/GLib!2314, glgo#GNOME/GLib!2316, glgo#GNOME/GLib!2320, glgo#GNOME/GLib!2335, glgo#GNOME/GLib!2337, glgo#GNOME/GLib!2340, glgo#GNOME/GLib!2344, glgo#GNOME/GLib!2356, glgo#GNOME/GLib!2359, glgo#GNOME/GLib!2361, glgo#GNOME/GLib!2363, glgo#GNOME/GLib!2366, glgo#GNOME/GLib!2375, glgo#GNOME/GLib!2383. + Updated translations. * Wed Nov 10 2021 Bjørn Lie <[email protected]> - Stop passing fam=true to meson and drop gamin-devel BuildRequires, following upstream default. Following this, drop libgio-fam sub-package. * Thu Oct 28 2021 Bjørn Lie <[email protected]> - Update to version 2.70.1: + Fix network changes not being signalled from NetworkManager. + Fix build when building with --fatal-meson-warnings. + Bugs fixed: glgo#GNOME/GLib#2505, glgo#GNOME/GLib!2245, glgo#GNOME/GLib!2253, glgo#GNOME/GLib!2256, glgo#GNOME/GLib!2259, glgo#GNOME/GLib!2262, glgo#GNOME/GLib!2271, glgo#GNOME/GLib!2276, glgo#GNOME/GLib!2300, glgo#GNOME/GLib!2301, glgo#GNOME/GLib!2302, glgo#GNOME/GLib!2304. - Refresh patches with quilt. * Fri Sep 17 2021 Dominique Leuenberger <[email protected]> - Update to version 2.70.0: + Bug fixed: ci: Replace FreeBSD 11 with FreeBSD 13. + Updated translations. * Thu Sep 16 2021 Stanislav Brabec <[email protected]> - Remove obsolete translation-update-upstream support (jsc#SLE-21105). * Tue Sep 07 2021 Alexei Podvalsky <[email protected]> - desktop-file-utils: add Pantheon desktop environment * Tue Sep 07 2021 Dominique Leuenberger <[email protected]> - Update to version 2.69.3: + g_settings_schema_key_range_check() misbehaves for int versus bool. + Compiling anything with GCC <4.6 spews deprecation warnings. + `g_invoke_closure` bindings API break.. + GPowerProfileMonitorPortal does not notice initial power-saver-enabled status. + doc: Explicitly said, that no null term. is needed. + ci: Use C.UTF-8 locale on FreeBSD 12. + gio: Fix conditions in memory-monitor test. + Updated translations. * Mon Aug 23 2021 Bjørn Lie <[email protected]> - Update to version 2.69.2: + The `DBUS_SESSION_BUS_ADDRESS` environment variable is once more not used if the process is `AT_SECURE` (setuid/setgid/setcap); this change was previously applied and then reverted because it broke gnome-keyring + Add `g_test_fail_printf()`, `g_test_skip_printf()`, `g_test_incomplete_printf()` helper functions for printing messages when tests end prematurely + Add portal implementation of `GPowerProfileMonitor` + Various bugs fixed + Updated translations. * Mon Aug 23 2021 Bjørn Lie <[email protected]> - Update to version 2.69.1: + Support categories in desktop notifications (`GNotification`) + Add `GPowerProfileMonitor` for monitoring when to use less power (due to being on battery power, electricity being expensive or high-carbon, etc.) + Allow static names to be set for `GSource`s to avoid unnecessary string copies + Various bugs fixed + Updated translations. * Mon Aug 23 2021 Dominique Leuenberger <[email protected]> - Update to version 2.69.0: + Fix a crash in `GKeyFile` when parsing a file which contains translations using a `GKeyFile` instance which has loaded another file previously. + Ensure `dlerror()` is used with locking as it’s not thread-safe in some libc implementations. + Drop internal libpcre copy in favour of a subproject from wrapdb. + Optimise grefcount atomic operations. + Fix `g_date_time_format()` return value encoding if `LC_TIME` is not a UTF-8 locale but other locale settings are. + Set app name in freedesktop.org notifications with `GNotification`. + Add PKCS#11 flags to `GTlsPasswordFlags`. - Drop -Dinternal_pcre=false meson parameter: follow upstreams build recipe changes. * Fri Aug 20 2021 Bjørn Lie <[email protected]> - Update to version 2.68.4: + Various bugfixes and backports from master. + Updated translations. - Drop 63e7864.patch: fixed upstream. * Wed Aug 04 2021 Dominique Leuenberger <[email protected]> - Add 63e7864.patch: Fix build with glibc 2.34: use 3 parameters for close_range (boo#1189088). * Fri Jul 30 2021 Yifan Jiang <[email protected]> - Drop patches fixed upstream on SLE and Leap 15.4: + glib2-add-support-for-slim-timezone-format.patch + glib2-fix-6-days-until-the-end-of-the-month.patch + glib2-CVE-2021-27218.patch + glib2-CVE-2021-27219-add-g_memdup2.patch * Thu Jul 15 2021 Dominique Leuenberger <[email protected]> - Silence output in libgio-2_0-0 post scriptlet in case the ENV-mimeapps.list files do not exist: we are ready to create them in this case. An error message is only confusing. * Fri Jun 11 2021 Bjørn Lie <[email protected]> - Update to version 2.68.3: + Bugs fixed: - testfilemonitor test leaks ip_watched_file_t struct - GFile: `g_file_replace_contents()` reports `G_IO_ERROR_WRONG_ETAG` when saving from a symlink - Backport !2128 “inotify: Fix a memory leak” to glib-2-68 - Backport !2136 “tlscertificate: Avoid possible invalid read” to glib-2-68 - Backport !2138 “glocalfileoutputstream: Fix ETag check when replacing through a symlink” to glib-2-68. * Fri May 14 2021 Dominique Leuenberger <[email protected]> - Update to version 2.68.2: + Fix building third-party projects against GLib on CentOS 7. + Bugs fixed: - json-glib does not build with glib 2.68.1. - gmacros: check that __cplusplus or _MSC_VER is defined. - gmacros: missing check if __STDC_VERSION__ is defined. - Backport !2078 “gthreadedresolver: don't ignore flags in lookup_by_name_with_flags” to glib-2-68. * Sat Apr 17 2021 Dominique Leuenberger <[email protected]> - Update to version 2.68.1: + Fix a crash in `GKeyFile` when parsing a file which contains translations using a `GKeyFile` instance which has loaded another file previously. + Pin GIO DLL in memory on Windows. + Updated translations. * Thu Mar 18 2021 Dominique Leuenberger <[email protected]> - Update to version 2.68.0: + Bugs fixed: - build: Drop gconstructor_as_data_h usage from glib-compile-schemas. - glib.supp: Generalize some suppressions. - gbytesicon: Fix error in g_bytes_icon_new() documentation. - glocalfileoutputstream: Tidy up error handling. - tests: Fix copy/paste error in queue test. * Thu Mar 18 2021 Dominique Leuenberger <[email protected]> - Update to version 2.67.6: + Fix a security issue when using `g_file_replace()` with `G_FILE_CREATE_REPLACE_DESTINATION`. + Disallow operations on the empty path with `g_file_new_from_path()`. + Various fixes for GLib when building with clang-cl on Windows. + Updated translations. * Mon Mar 08 2021 Dominique Leuenberger <[email protected]> - Update to version 2.67.5: + Fix more issues with `glib_typeof` macro from 2.67.3–2.67.4. + Fix regression with some FD mappings passed to `g_subprocess_launcher_spawnv()` caused by changes for #2097 in GLib 2.67.4. + Fix detection of `str[n]casecmp()` when building with `clang-cl`. + Use zlib from subproject if configured with `wrap_mode=forcefallback`. + Updated translations. * Thu Mar 04 2021 Alynx Zhou <[email protected]> - Add glib2-CVE-2021-27218.patch: g_byte_array_new_take takes a gsize as length but stores in a guint, this patch will refuse if the length is larger than guint. (bsc#1182328, glgo#GNOME/glib!1944) * Wed Mar 03 2021 Alynx Zhou <[email protected]> - Add glib2-CVE-2021-27219-add-g_memdup2.patch: g_memdup takes a guint as parameter and sometimes leads into an integer overflow, so add a g_memdup2 function which uses gsize to replace it. (bsc#1182362, glgo#GNOME/glib!1927, glgo#GNOME/glib!1933, glgo#GNOME/glib!1943) * Wed Feb 17 2021 Dominique Leuenberger <[email protected]> - Update to version 2.67.4: + Add a `g_string_replace()` function. + Add `G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER` flag to simplify the common case for writing a D-Bus authentication observer, allowing most uses of `GDBusAuthObserver` to be dropped. + Add a new `g_spawn_with_pipes_and_fds()` variant which supports renumbering FDs. + Add new g_memdup2() API to replace g_memdup(), which is vulnerable to a silent integer truncation and heap overflow problem if not used carefully. + Fix various regressions caused by rushed security fixes in 2.66.6. + Fix a silent integer truncation when calling g_byte_array_new_take() for byte arrays bigger than G_MAXUINT. + Fix `g_utf8_strdown()` to fix some issues in Turkish. + Updated translations. * Thu Feb 11 2021 Dominique Leuenberger <[email protected]> - Update to version 2.67.3: + Add new `g_memdup2()` API to replace `g_memdup()`, which is vulnerable to a silent integer truncation and heap overflow problem if not used carefully. + Add new `g_dbus_object_path_escape()` and `g_dbus_object_path_unescape()` APIs to provide one way of escaping arbitrary bytestrings for use in D-Bus object paths. + Use `bash-completion.pc` (if available) to provide the path to install completion files into. + Fix support for public/private trigraphs in `glib-mkenums`. + Add `glib_debug` configure option to allow disabling debug infrastructure in builds with debug symbols enabled. + Fix a regression where `PATH` would always be searched when using `g_spawn()`, even when it wasn’t supposed to. + Override `gio-querymodules` in Meson when used as a submodule. + Updated translations. - Rebase glib2-dbus-socket-path.patch. * Thu Feb 11 2021 Dominique Leuenberger <[email protected]> - Update to version 2.67.2: + Add `gio launch` command to execute programs. + Fix unused parameter warnings in code generated by `gdbus-codegen`. + Officially deprecate `to-pixdata` option for `glib-compile-resources`, in favour of simply embedding more modern image formats in linked-in `GResource` files. + Support querying and running UWP applications on Windows. + Support `gio trash --restore` and `gio trash --list` commands. + No longer read environment variables for GIO module locations when running as setuid. + More progress on fixing compiler warnings. + `GKeyFile` performance improvements. + Improve UDP socket behaviour on Windows. + Add `-Dtests` meson configure option for disabling tests entirely. - Changes from version 1.67.1: + Deprecate `g_time_zone_new()` in favour of `g_time_zone_new_identifier()`, which makes error checking easier. + Remove `volatile` from various public APIs, including `G_DEFINE_*`. You should adjust your code to not use `volatile` for atomic variables, `GOnce` variables, or mostly anything. + Support passing file handles to `gdbus` command line tool. + Add `g_assert_cmpstrv()` test convenience function. + Changes to the behaviour of the `G_URI_FLAGS_SCHEME_NORMALIZE` scheme normalization flag in `GUri`. + Add new `--run-prefix` and `--skip-prefix` options to GTest, to allow running or skipping test suites by prefix. + Fix thread-safety of `GBinding`. + Updated translations. - Rebase glib2-bgo569829-gettext-gkeyfile.patch, glib2-fate300461-gettext-gkeyfile-suse.patch, glib2-dbus-socket-path.patch and glib2-gdbus-codegen-version.patch. * Thu Feb 11 2021 Bjørn Lie <[email protected]> - Update to version 2.66.7: + Fix various regressions caused by rushed security fixes in 2.66.6. + Fix a silent integer truncation when calling `g_byte_array_new_take()` for byte arrays bigger than `G_MAXUINT`. + Disallow using currently-undefined D-Bus connection or server flags to prevent forward-compatibility problems with new security-sensitive flags likely to be released in GLib 2.68. + Bugs fixed: glgo#GNOME/GLib!1933, glgo#GNOME/GLib!1943, glgo#GNOME/GLib!1944, glgo#GNOME/GLib!1945. * Thu Feb 11 2021 Christopher Yeleighton <[email protected]> - disable irrelevant warnings - use macros in spec file - simplify trigger code * Fri Feb 05 2021 Bjørn Lie <[email protected]> - Update to version 2.66.6: + Fix various instances within GLib where `g_memdup()` was vulnerable to a silent integer truncation and heap overflow problem (glgo#GNOME/GLib#2319). * Wed Feb 03 2021 Bjørn Lie <[email protected]> - Update to version 2.66.5: + Fix some issues with handling over-long (invalid) input when parsing for `GDate`. + Don’t load GIO modules or parse other GIO environment variables when `AT_SECURE` is set (i.e. in a setuid/setgid/setcap process). GIO has always been documented as not being safe to use in privileged processes, but people persist in using it unsafely, so these changes should harden things against potential attacks at least a little. Unfortunately they break a couple of projects which were relying on reading `DBUS_SESSION_BUS_ADDRESS`, so GIO continues to read that for setgid/setcap (but not setuid) processes. This loophole will be closed in GLib 2.70 (see issue #2316), which should give modules 6 months to change their behaviour. + Fix `g_spawn()` searching `PATH` when it wasn’t meant to. + Bugs fixed: bgo#2168, bgo#2210, bgo#2305, glgo#GNOME/GLib!1820, glgo#GNOME/GLib!1824, glgo#GNOME/GLib!1831, glgo#GNOME/GLib!1836, glgo#GNOME/GLib!1864, glgo#GNOME/GLib!1872, glgo#GNOME/GLib!1913, glgo#GNOME/GLib!1922. - Rebase/refresh patches: + glib2-dbus-socket-path.patch + glib2-fate300461-gettext-gkeyfile-suse.patch + glib2-gdbus-codegen-version.patch + glib2-suppress-schema-deprecated-path-warning.patch + glib2-bgo569829-gettext-gkeyfile.patch
/usr/lib/libgmodule-2.0.so.0 /usr/lib/libgmodule-2.0.so.0.8200.2 /usr/share/licenses/libgmodule-2_0-0 /usr/share/licenses/libgmodule-2_0-0/LGPL-2.1-or-later.txt
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Dec 10 23:44:39 2024