From 5d42cdd2dbea1b9f4046c462501dc8072532203b Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 4 Mar 2015 06:34:35 +0700 Subject: [PATCH] mate-utils: Fix segfault. Signed-off-by: Willy Sudiarto Raharjo --- extra/mate-utils/mate-utils.SlackBuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/extra/mate-utils/mate-utils.SlackBuild b/extra/mate-utils/mate-utils.SlackBuild index 77747f0..1f7cdd4 100644 --- a/extra/mate-utils/mate-utils.SlackBuild +++ b/extra/mate-utils/mate-utils.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=mate-utils VERSION=${VERSION:-1.9.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_msb} if [ -z "$ARCH" ]; then @@ -121,6 +121,13 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION +# Ugly Fix +for F in org.mate.dictionary.gschema.xml org.mate.disk-usage-analyzer.gschema.xml org.mate.screenshot.gschema.xml +do +grep -v xml:lang $PKG/usr/share/glib-2.0/schemas/$F > /tmp/$F +mv /tmp/$F $PKG/usr/share/glib-2.0/schemas/ +done + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh