Accepting request 124314 from GNOME:Factory
Add patch to suppress deprecated paths in schema warnings; fixes rh#814053 (patched build tested, works). (forwarded request 124266 from dimstar) OBS-URL: https://build.opensuse.org/request/show/124314 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glib2?expand=0&rev=131
This commit is contained in:
commit
685bec234c
20
glib2-suppress-schema-deprecated-path-warning.patch
Normal file
20
glib2-suppress-schema-deprecated-path-warning.patch
Normal file
@ -0,0 +1,20 @@
|
||||
Index: glib-2.32.3/gio/glib-compile-schemas.c
|
||||
===================================================================
|
||||
--- glib-2.32.3.orig/gio/glib-compile-schemas.c
|
||||
+++ glib-2.32.3/gio/glib-compile-schemas.c
|
||||
@@ -1204,12 +1204,14 @@ 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/")))
|
||||
g_printerr ("warning: Schema '%s' has path '%s'. Paths starting with "
|
||||
"'/apps/', '/desktop/' or '/system/' are deprecated.\n", id, path);
|
||||
-
|
||||
+*/
|
||||
+
|
||||
state->schema_state = schema_state_new (path, gettext_domain,
|
||||
extends, extends_name, list_of);
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 8 02:29:24 UTC 2012 - badshah400@gmail.com
|
||||
|
||||
- Add glib2-suppress-schema-deprecated-path-warning.patch to
|
||||
suppress warnings about deprecated paths in schemas (rh#814053).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 18 13:56:57 UTC 2012 - gber@opensuse.org
|
||||
|
||||
|
@ -46,6 +46,8 @@ Patch10: glib2-bgo569829-gettext-gkeyfile.patch
|
||||
Patch11: glib2-fate300461-gettext-gkeyfile-suse.patch
|
||||
# PATCH-FIX-UPSTREAM glib2-force-fam-for-remote-fs.patch bgo#592211 hpj@novell.com -- Try monitoring files on NFS mounts via FAM before falling back to inotify.
|
||||
Patch12: glib2-force-fam-for-remote-fs.patch
|
||||
# PATCH-FIX-OPENSUSE glib2-suppress-schema-deprecated-path-warning.patch rh#814053 badshah400@gmail.com -- Suppress the deprecated path warning since it fills up screen unnecessarily during package installations/upgrade.
|
||||
Patch13: glib2-suppress-schema-deprecated-path-warning.patch
|
||||
BuildRequires: automake
|
||||
BuildRequires: fam-devel
|
||||
BuildRequires: fdupes
|
||||
@ -255,6 +257,7 @@ translation-update-upstream
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
%patch12 -p1
|
||||
%patch13 -p1
|
||||
cp -a %{S:1} %{S:2} %{S:3} %{S:5} .
|
||||
cp -a %{S:4} gnome_defaults.conf
|
||||
if ! test -f %{_datadir}/aclocal/gtk-doc.m4 ; then
|
||||
|
Loading…
Reference in New Issue
Block a user