From 89f59c697239cf8b0e71f9a50f6c661e64bda552 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Wed, 13 Sep 2017 15:52:51 +0200 Subject: [PATCH] glib: update to 2.54.0. --- .../revert-warn-glib-compile-schemas.patch | 33 ------------------- ...evert-warn-glib-compile-schemas.patch.args | 1 - srcpkgs/glib/template | 4 +-- 3 files changed, 2 insertions(+), 36 deletions(-) delete mode 100644 srcpkgs/glib/patches/revert-warn-glib-compile-schemas.patch delete mode 100644 srcpkgs/glib/patches/revert-warn-glib-compile-schemas.patch.args diff --git a/srcpkgs/glib/patches/revert-warn-glib-compile-schemas.patch b/srcpkgs/glib/patches/revert-warn-glib-compile-schemas.patch deleted file mode 100644 index 75b05103cd0..00000000000 --- a/srcpkgs/glib/patches/revert-warn-glib-compile-schemas.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001 -From: Ryan Lortie -Date: Thu, 12 Apr 2012 23:55:34 +0000 -Subject: glib-compile-schemas: warn about bad dconf paths - -For quite some time the recommended usage of GSettings and dconf has -been to use paths like /org/gnome/example/. Use of /apps/ has spilled -over from GConf and is continuing to make its way into a number of -applications as they port. - -glib-compile-schemas will now warn about these types of paths being -used. This generates a lot of noise, but hopefully it will reduce the -number of ported applications making this mistake. ---- -diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c -index cf02389..27d0181 100644 ---- a/gio/glib-compile-schemas.c -+++ b/gio/glib-compile-schemas.c -@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState *state, - 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); - --- -cgit v0.9.0.2 diff --git a/srcpkgs/glib/patches/revert-warn-glib-compile-schemas.patch.args b/srcpkgs/glib/patches/revert-warn-glib-compile-schemas.patch.args deleted file mode 100644 index a56a53d1a01..00000000000 --- a/srcpkgs/glib/patches/revert-warn-glib-compile-schemas.patch.args +++ /dev/null @@ -1 +0,0 @@ --Rp1 diff --git a/srcpkgs/glib/template b/srcpkgs/glib/template index 8ac1df3e3ee..cca522ee576 100644 --- a/srcpkgs/glib/template +++ b/srcpkgs/glib/template @@ -1,6 +1,6 @@ # Template build file for 'glib' pkgname=glib -version=2.52.3 +version=2.54.0 revision=1 build_style=gnu-configure configure_args="--enable-libelf --disable-fam --with-pcre=system --enable-static" @@ -11,7 +11,7 @@ maintainer="Juan RP " homepage="http://www.gtk.org/" license="LGPL-2.1" distfiles="${GNOME_SITE}/glib/${version%.*}/glib-$version.tar.xz" -checksum=25ee7635a7c0fcd4ec91cbc3ae07c7f8f5ce621d8183511f414ded09e7e4e128 +checksum=fe22998ff0394ec31e6e5511c379b74011bee61a4421bca7fcab223dfbe0fc6a if [ "$CROSS_BUILD" ]; then hostmakedepends+=" glib-devel"