- 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
- 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.
- Replace pkgconfig(libpcre) with pkgconfig(libpcre2-8)
BuildRequires. No longer used by glib (replaced by pcre2
in 2.73.2).
- Drop 99783e0408f8ae9628d2c7a30eb99806087da711.patch for 2.73.x
branch, fixed upstream already.
- 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.
OBS-URL: https://build.opensuse.org/request/show/1004760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glib2?expand=0&rev=256