Mail archive
alpine-aports

[alpine-aports] [PATCH] main/glib: prevent deprecation warnings

From: Paul Bredbury <brebs_at_sent.com>
Date: Sun, 10 Feb 2019 15:27:35 +0000

Who would want all of this garbage occasionally filling their screen:

Warning: Schema “org.gnome.crypto.cache” has path “/desktop/gnome/crypto/cache/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.crypto.pgp” has path “/desktop/gnome/crypto/pgp/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.seahorse” has path “/apps/seahorse/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.seahorse.manager” has path “/apps/seahorse/listing/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.locale” has path “/system/locale/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy” has path “/system/proxy/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.http” has path “/system/proxy/http/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.https” has path “/system/proxy/https/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.ftp” has path “/system/proxy/ftp/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.socks” has path “/system/proxy/socks/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.

Removed invalid option "--disable-gtk-doc".
---
 main/glib/APKBUILD | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/main/glib/APKBUILD b/main/glib/APKBUILD
index 78721be6f4..f3c5f2e970 100644
--- a/main/glib/APKBUILD
+++ b/main/glib/APKBUILD
_at_@ -2,7 +2,7 @@
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=glib
 pkgver=2.58.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Common C routines used by Gtk+ and other libs"
 url="https://developer.gnome.org/glib/"
 arch="all"
_at_@ -21,6 +21,10 @@ builddir="$srcdir"/$pkgname-$pkgver
 prepare() {
 	default_prepare
 	cd "$builddir"
+
+	# Prevent deprecation warnings
+	sed -e "s:!(pspec->flags & G_PARAM_DEPRECATED):TRUE:" -i gobject/gobject.c
+
 	NOCONFIGURE=1 ./autogen.sh
 }
 
_at_@ -31,7 +35,6 @@ build() {
 		--host=$CHOST \
 		--prefix=/usr \
 		--mandir=/usr/share/man \
-		--disable-gtk-doc \
 		--disable-compile-warnings \
 		--disable-selinux \
 		--with-pcre=system \
-- 
2.20.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sun Feb 10 2019 - 15:27:35 UTC