summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/ibus-chewing/README3
-rw-r--r--misc/ibus-chewing/ibus-chewing.SlackBuild30
-rw-r--r--misc/ibus-chewing/ibus-chewing.info8
-rw-r--r--misc/ibus-chewing/slack-desc2
4 files changed, 20 insertions, 23 deletions
diff --git a/misc/ibus-chewing/README b/misc/ibus-chewing/README
index 6538760e23..7a20d52b77 100644
--- a/misc/ibus-chewing/README
+++ b/misc/ibus-chewing/README
@@ -1,3 +1,4 @@
-ibus-chewing is a Traditional Chinese input engine for ibus input framework.
+ibus-chewing is a Traditional Chinese input engine for ibus input
+framework.
This requires libchewing, ibus and gob2.
diff --git a/misc/ibus-chewing/ibus-chewing.SlackBuild b/misc/ibus-chewing/ibus-chewing.SlackBuild
index 9b4cf847a9..7f51d002eb 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.6.20100730}
+VERSION=${VERSION:-1.3.9.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -31,7 +31,6 @@ if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -55,12 +54,12 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $PRGNAM-$VERSION-Source
tar xvf $CWD/$PRGNAM-$VERSION-Source.tar.gz
cd $PRGNAM-$VERSION-Source
chown -R root:root .
@@ -70,25 +69,22 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+# This cmake script doesn't support out-of-source build
+
+cmake \
+ -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
-cd ..
+ -DSYSCONF_INSTALL_DIR=/etc \
+ -DDOC_DIR=/usr/doc \
+ -DCMAKE_BUILD_TYPE=Release
+make VERBOSE=1
+make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL README RELEASE-NOTES.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/misc/ibus-chewing/ibus-chewing.info b/misc/ibus-chewing/ibus-chewing.info
index b661bc19e0..28495b226d 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.6.20100730"
+VERSION="1.3.9.2"
HOMEPAGE="http://code.google.com/p/ibus"
-DOWNLOAD="http://ibus.googlecode.com/files/ibus-chewing-1.3.6.20100730-Source.tar.gz"
-MD5SUM="3994d082da2d373dfdaf00a40046351e"
+DOWNLOAD="http://ibus.googlecode.com/files/ibus-chewing-1.3.9.2-Source.tar.gz"
+MD5SUM="8d177d67647944f5d1f9cca0654eaccb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Guan-Zhong Huang"
EMAIL="imprazaguy@gmail.com"
-APPROVED="dsomero"
+APPROVED="Niels Horn"
diff --git a/misc/ibus-chewing/slack-desc b/misc/ibus-chewing/slack-desc
index 4ada144e1e..c8a7101fc0 100644
--- a/misc/ibus-chewing/slack-desc
+++ b/misc/ibus-chewing/slack-desc
@@ -5,7 +5,7 @@
# exactly 11 lines for the formatting to be correct. It's also customary to
# leave one space after the ':'.
- |-----handy-ruler------------------------------------------------------|
+ |-----handy-ruler------------------------------------------------------|
ibus-chewing: ibus-chewing (chewing engine for ibus input framework)
ibus-chewing:
ibus-chewing: ibus-chewing is a Traditional Chinese input engine for ibus input