~alpine/aports

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

Paul Bredbury
Details
Message ID
<20190210152735.17599-1-brebs@sent.com>
Sender timestamp
1549812455
DKIM signature
missing
Download raw message
Patch: +5 -2
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
@@ -2,7 +2,7 @@
 # Maintainer: Natanael Copa <ncopa@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"
@@ -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
 }
 
@@ -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@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---