aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/ibus-chewing/doinst.sh13
-rw-r--r--misc/ibus-chewing/ibus-chewing.SlackBuild10
-rw-r--r--misc/ibus-chewing/ibus-chewing.info10
3 files changed, 15 insertions, 18 deletions
diff --git a/misc/ibus-chewing/doinst.sh b/misc/ibus-chewing/doinst.sh
index b6a7713475b70..56b9e419c11ed 100644
--- a/misc/ibus-chewing/doinst.sh
+++ b/misc/ibus-chewing/doinst.sh
@@ -1,9 +1,6 @@
-schema_install() {
- SCHEMA="$1"
- GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
- chroot . gconftool-2 --makefile-install-rule \
- /etc/gconf/schemas/$SCHEMA \
- 1>/dev/null
-}
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
-schema_install ibus-chewing.schemas
diff --git a/misc/ibus-chewing/ibus-chewing.SlackBuild b/misc/ibus-chewing/ibus-chewing.SlackBuild
index 2962f5619ab68..e6b2888c2e3c9 100644
--- a/misc/ibus-chewing/ibus-chewing.SlackBuild
+++ b/misc/ibus-chewing/ibus-chewing.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ibus-chewing
-VERSION=${VERSION:-1.3.10}
+VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,10 +59,10 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION-Source
-tar xvf $CWD/$PRGNAM-$VERSION-Source.tar.gz
-cd $PRGNAM-$VERSION-Source
-tar xvf $CWD/cmake-fedora-0.8.1-modules-only.tar.gz
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+tar xvf $CWD/cmake-fedora-2.9.2-modules-only.tar.gz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
diff --git a/misc/ibus-chewing/ibus-chewing.info b/misc/ibus-chewing/ibus-chewing.info
index 0546e439a64a6..09f9b97310fb3 100644
--- a/misc/ibus-chewing/ibus-chewing.info
+++ b/misc/ibus-chewing/ibus-chewing.info
@@ -1,10 +1,10 @@
PRGNAM="ibus-chewing"
-VERSION="1.3.10"
+VERSION="1.6.1"
HOMEPAGE="https://github.com/ibus/ibus/wiki"
-DOWNLOAD="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ibus/ibus-chewing-1.3.10-Source.tar.gz \
- http://slackware.uk/sbosrcarch/by-name/misc/ibus-chewing/cmake-fedora-0.8.1-modules-only.tar.gz"
-MD5SUM="2a447828ca9290dd6bdf2336b2889bb0 \
- eb24ff0ec5b7646dd1b077f3b379712b"
+DOWNLOAD="https://github.com/definite/ibus-chewing/archive/1.6.1/ibus-chewing-1.6.1.tar.gz \
+ https://releases.pagure.org/cmake-fedora/cmake-fedora-2.9.2-modules-only.tar.gz"
+MD5SUM="65a947645ceaef03fc18cd6ebbeddb22 \
+ 21f19ada6922886c060d46d5a36c6269"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gob2 ibus libchewing"