diff options
Diffstat (limited to 'source/l/glib2')
-rw-r--r-- | source/l/glib2/doinst.sh | 4 | ||||
-rwxr-xr-x | source/l/glib2/glib2.SlackBuild | 4 | ||||
-rw-r--r-- | source/l/glib2/libglib2.csh | 2 |
3 files changed, 7 insertions, 3 deletions
diff --git a/source/l/glib2/doinst.sh b/source/l/glib2/doinst.sh index 60a19898..95b61fff 100644 --- a/source/l/glib2/doinst.sh +++ b/source/l/glib2/doinst.sh @@ -25,3 +25,7 @@ for file in etc/profile.d/libglib2.csh.new etc/profile.d/libglib2.sh.new ; do fi config $file done + +# Try to run this. If it fails, no biggie. +chroot . /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/ 1> /dev/null 2> /dev/null + diff --git a/source/l/glib2/glib2.SlackBuild b/source/l/glib2/glib2.SlackBuild index b662e37f..2cf57f5e 100755 --- a/source/l/glib2/glib2.SlackBuild +++ b/source/l/glib2/glib2.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -114,5 +114,5 @@ cat $CWD/slack-desc > $PKG/install/slack-desc zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $TMP/glib2-$VERSION-$ARCH-$BUILD.txz +/sbin/makepkg -l y -c n --prepend $TMP/glib2-$VERSION-$ARCH-$BUILD.txz diff --git a/source/l/glib2/libglib2.csh b/source/l/glib2/libglib2.csh index 584f06bf..a1b67561 100644 --- a/source/l/glib2/libglib2.csh +++ b/source/l/glib2/libglib2.csh @@ -18,7 +18,7 @@ # using a UTF-8 locale. Hopefully we're correct. echo $LANG | grep -iq UTF if ($status == 0) then - export G_FILENAME_ENCODING="@locale" + setenv G_FILENAME_ENCODING "@locale" endif # It doesn't hurt to export this since G_FILENAME_ENCODING takes priority |