- 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. (forwarded request 1179899 from dimstar)
OBS-URL: https://build.opensuse.org/request/show/1180002
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glib2?expand=0&rev=279
- 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.
OBS-URL: https://build.opensuse.org/request/show/1179899
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2?expand=0&rev=544
- 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.
+ Updated translations. (forwarded request 1173695 from dimstar)
OBS-URL: https://build.opensuse.org/request/show/1173983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glib2?expand=0&rev=278
- 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.
+ Updated translations.
OBS-URL: https://build.opensuse.org/request/show/1173695
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2?expand=0&rev=542
- 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.
OBS-URL: https://build.opensuse.org/request/show/1116876
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2?expand=0&rev=525
- 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.
OBS-URL: https://build.opensuse.org/request/show/1108903
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2?expand=0&rev=519
- 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.
- 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.
- Rebase glib2-suppress-schema-deprecated-path-warning.patch with
quilt.
- 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).
- 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.
- 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 glib2-dbus-socket-path.patch: fixed upstream.
OBS-URL: https://build.opensuse.org/request/show/1072740
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2?expand=0&rev=507