tazpkg rev 897

Modules 'install', 'remove': hide unresolved glib-compile-schemas warnings
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 26 16:05:46 2015 +0200 (2015-12-26)
parents e4257a4c2eb3
children 3af642cd5e69
files modules/install modules/remove
line diff
     1.1 --- a/modules/install	Mon Dec 21 01:45:15 2015 +0200
     1.2 +++ b/modules/install	Sat Dec 26 16:05:46 2015 +0200
     1.3 @@ -544,7 +544,9 @@
     1.4  	# packages 'gtk+', 'gtk+3'
     1.5  	[ -n "$uicon" ] && chroot "$root/" /usr/bin/gtk-update-icon-cache /usr/share/icons/hicolor
     1.6  	# package 'glib'
     1.7 -	[ -n "$uschm" ] && chroot "$root/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
     1.8 +	# hide messages like next because they are unresolved (we may to patch glib to hide them, almost the same)
     1.9 +	# warning: Schema '*' has path '*'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
    1.10 +	[ -n "$uschm" ] && chroot "$root/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas 2>&1 | fgrep -v '/apps/'
    1.11  	# package 'gdk-pixbuf'
    1.12  	[ -n "$upixb" ] && chroot "$root/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
    1.13  	# packages 'busybox', 'kmod', 'depmod'
     2.1 --- a/modules/remove	Mon Dec 21 01:45:15 2015 +0200
     2.2 +++ b/modules/remove	Sat Dec 26 16:05:46 2015 +0200
     2.3 @@ -227,7 +227,9 @@
     2.4  # packages 'gtk+', 'gtk+3'
     2.5  [ -n "$uicon" ] && chroot "$root/" /usr/bin/gtk-update-icon-cache /usr/share/icons/hicolor
     2.6  # package 'glib'
     2.7 -[ -n "$uschm" ] && chroot "$root/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
     2.8 +# hide messages like next because they are unresolved (we may to patch glib to hide them, almost the same)
     2.9 +# warning: Schema '*' has path '*'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
    2.10 +[ -n "$uschm" ] && chroot "$root/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas 2>&1 | fgrep -v '/apps/'
    2.11  # package 'gdk-pixbuf'
    2.12  [ -n "$upixb" ] && chroot "$root/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
    2.13  # packages 'busybox', 'kmod', 'depmod'