Files
glib2/glib2-suppress-schema-deprecated-path-warning.patch
Dominique Leuenberger feb5c040bc Accepting request 1226951 from home:mgorse:branches:GNOME:Factory
- 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).

OBS-URL: https://build.opensuse.org/request/show/1226951
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2?expand=0&rev=560
2024-11-28 09:07:40 +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);