glib2/glib2-suppress-schema-deprecated-path-warning.patch
Dominique Leuenberger cb79a1ee9d Accepting request 1072740 from GNOME:Next
- 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
2023-03-20 12:47:33 +00:00

21 lines
738 B
Diff

Index: glib-2.75.3/gio/glib-compile-schemas.c
===================================================================
--- glib-2.75.3.orig/gio/glib-compile-schemas.c
+++ glib-2.75.3/gio/glib-compile-schemas.c
@@ -1231,6 +1231,7 @@ parse_state_start_schema (ParseState *s
return;
}
+/*
if (path && (g_str_has_prefix (path, "/apps/") ||
g_str_has_prefix (path, "/desktop/") ||
g_str_has_prefix (path, "/system/")))
@@ -1243,6 +1244,7 @@ parse_state_start_schema (ParseState *s
g_printerr ("%s\n", message);
g_free (message);
}
+*/
state->schema_state = schema_state_new (path, gettext_domain,
extends, extends_name, list_of);