Merge pull request #888 from Rmys/master
glib2:rebuild deprecated-no-warn-patch
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
diff -Naur a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
|
||||
--- a/gio/glib-compile-schemas.c 2018-09-21 15:23:52.000000000 +0100
|
||||
+++ b/gio/glib-compile-schemas.c 2019-02-10 14:37:30.034879344 +0000
|
||||
@@ -1233,19 +1233,6 @@
|
||||
return;
|
||||
}
|
||||
|
||||
- if (path && (g_str_has_prefix (path, "/apps/") ||
|
||||
- g_str_has_prefix (path, "/desktop/") ||
|
||||
- g_str_has_prefix (path, "/system/")))
|
||||
- {
|
||||
- gchar *message = NULL;
|
||||
- message = g_strdup_printf (_("Warning: Schema “%s” has path “%s”. "
|
||||
- "Paths starting with "
|
||||
- "“/apps/”, “/desktop/” or “/system/” are deprecated."),
|
||||
- id, path);
|
||||
- g_printerr ("%s\n", message);
|
||||
- g_free (message);
|
||||
- }
|
||||
-
|
||||
state->schema_state = schema_state_new (path, gettext_domain,
|
||||
extends, extends_name, list_of);
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<Dependency>libffi-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">revert-warn-glib-compile-schemas.patch</Patch>
|
||||
<Patch level="1">deprecated-no-warn.patch</Patch>
|
||||
<Patch>glib-2.54.3-skip_warnings-1.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
@@ -126,6 +126,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="7">
|
||||
<Date>2019-04-05</Date>
|
||||
<Version>2.54.3</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2018-09-16</Date>
|
||||
<Version>2.54.3</Version>
|
||||
|
||||
Reference in New Issue
Block a user