diff options
author | wiz <wiz@pkgsrc.org> | 2020-09-18 11:18:29 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2020-09-18 11:18:29 +0000 |
commit | ecbe7bdd1cae61468bf141f3290ac593b2a1c781 (patch) | |
tree | 77d7be8f760a4bf29a5f3a122f6fba39f683551d /devel | |
parent | 32d38bb169b699450fd388af3f4ec446ea271023 (diff) | |
download | pkgsrc-ecbe7bdd1cae61468bf141f3290ac593b2a1c781.tar.gz |
glib2: disable deprecation warnings
glib2 complains about it, but gsettings-desktop-schemas is actively
using these paths and not planning to stop anytime soon.
This deprecation warning causes lots of unnecessary warnings in
pkgin upgrade logs.
Bump PKGREVISION.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/glib2/Makefile | 4 | ||||
-rw-r--r-- | devel/glib2/distinfo | 3 | ||||
-rw-r--r-- | devel/glib2/patches/patch-gio_glib-compile-schemas.c | 24 |
3 files changed, 29 insertions, 2 deletions
diff --git a/devel/glib2/Makefile b/devel/glib2/Makefile index 0273a2aacad..d9545b99e24 100644 --- a/devel/glib2/Makefile +++ b/devel/glib2/Makefile @@ -1,7 +1,9 @@ -# $NetBSD: Makefile,v 1.274 2020/06/30 11:59:19 adam Exp $ +# $NetBSD: Makefile,v 1.275 2020/09/18 11:18:29 wiz Exp $ .include "Makefile.common" +PKGREVISION= 1 + CATEGORIES= devel gnome COMMENT= Some useful routines for C programming (glib2) diff --git a/devel/glib2/distinfo b/devel/glib2/distinfo index 827a9f06d30..9df64c36018 100644 --- a/devel/glib2/distinfo +++ b/devel/glib2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.274 2020/08/19 09:34:35 adam Exp $ +$NetBSD: distinfo,v 1.275 2020/09/18 11:18:29 wiz Exp $ SHA1 (glib-2.64.5.tar.xz) = be12160d2b91a152721279d27b00f8affbf9501b RMD160 (glib-2.64.5.tar.xz) = f1d1dd687d98b796b0d6219e6053ced097034c15 @@ -7,6 +7,7 @@ Size (glib-2.64.5.tar.xz) = 4778456 bytes SHA1 (patch-gio_gcredentialsprivate.h) = dab92e07f8357a7dc1a569e37f65f9b199aee281 SHA1 (patch-gio_gdbus-2.0_codegen_meson.build) = ec8ce89da08059ebf953d84a1dca5a2b380349f4 SHA1 (patch-gio_giomodule.c) = d704699b2f457a08fff9219fe697e5fd2cc582ed +SHA1 (patch-gio_glib-compile-schemas.c) = 4fc8e8ba62bef01762007ebf21569053374808d0 SHA1 (patch-gio_gresource-tool.c) = ad0e59f48f5f98ea66be568dbe2e5a5d1ac602fc SHA1 (patch-gio_gunixcredentialsmessage.c) = c13119ddd6262db7c03e53857e987f0c495d3312 SHA1 (patch-gio_gunixmounts.c) = 13af07fffe898457edd0d8db4296a60fccba913d diff --git a/devel/glib2/patches/patch-gio_glib-compile-schemas.c b/devel/glib2/patches/patch-gio_glib-compile-schemas.c new file mode 100644 index 00000000000..4d1409986d6 --- /dev/null +++ b/devel/glib2/patches/patch-gio_glib-compile-schemas.c @@ -0,0 +1,24 @@ +$NetBSD: patch-gio_glib-compile-schemas.c,v 1.1 2020/09/18 11:18:29 wiz Exp $ + +gsettings-desktop-schemas uses deprecated paths and is not going to stop +anytime soon, see +https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/issues/27 + +--- gio/glib-compile-schemas.c.orig 2020-08-18 11:06:36.941520700 +0000 ++++ gio/glib-compile-schemas.c +@@ -1232,6 +1232,7 @@ parse_state_start_schema (ParseState *s + return; + } + ++#if 0 + if (path && (g_str_has_prefix (path, "/apps/") || + g_str_has_prefix (path, "/desktop/") || + g_str_has_prefix (path, "/system/"))) +@@ -1244,6 +1245,7 @@ parse_state_start_schema (ParseState *s + g_printerr ("%s\n", message); + g_free (message); + } ++#endif + + state->schema_state = schema_state_new (path, gettext_domain, + extends, extends_name, list_of); |