misc/ibus: updated for version 1.3.7.

Signed-off-by: Michiel van Wessem <michiel@slackbuilds.org>
This commit is contained in:
Grissiom 2010-08-10 01:26:57 +01:00 committed by Michiel van Wessem
parent 114a93ebc7
commit 7d4d482d41
4 changed files with 24 additions and 8 deletions

View file

@ -6,7 +6,8 @@ After installing at least one engine (e.g. PinYin engine) and enabling it
in ibus-setup, ibus itself should be fully functional. If you want to use in ibus-setup, ibus itself should be fully functional. If you want to use
ibus as your primary input method, you should remove the scim package. ibus as your primary input method, you should remove the scim package.
This requires GConf and pyxdg. This requires pyxdg. By default, it does not need GConf. But you can let it
use GConf explicitly by setting USE_GCONF=yes. GConf can be found in SBo.
If you use qt applications, then you probably want ibus-qt as well. If you use qt applications, then you probably want ibus-qt as well.
After installing, ibus will automatically be started in an xdg-compliant After installing, ibus will automatically be started in an xdg-compliant

View file

@ -25,9 +25,15 @@ preserve_perms() {
preserve_perms etc/profile.d/ibus.sh.new preserve_perms etc/profile.d/ibus.sh.new
preserve_perms etc/profile.d/ibus.csh.new preserve_perms etc/profile.d/ibus.csh.new
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \ schema_install() {
chroot . gconftool-2 --makefile-install-rule \ GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
/etc/gconf/schemas/ibus.schemas 1>/dev/null chroot . gconftool-2 --makefile-install-rule "$1" 1>/dev/null
}
SCHEMA_FILE="/etc/gconf/schemas/ibus.schemas"
if [ -r "$SCHEMA_FILE" ]; then
schema_install "$SCHEMA_FILE"
fi
if [ -x /usr/bin/update-desktop-database ]; then if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1

View file

@ -28,7 +28,7 @@
# Feedback (especially improvements) is encouraged! :-) # Feedback (especially improvements) is encouraged! :-)
PRGNAM=ibus PRGNAM=ibus
VERSION=${VERSION:-1.3.5} VERSION=${VERSION:-1.3.7}
BUILD=${BUILD:-2} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -60,6 +60,13 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
USE_GCONF=${USE_GCONF:-"no"}
if [ "$USE_GCONF" = "yes" ]; then
conf_opt="--enable-gconf"
else
conf_opt="--disable-gconf --enable-memconf"
fi
set -e set -e
rm -rf $PKG rm -rf $PKG
@ -80,9 +87,11 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \ --libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-memconf \
--sysconfdir=/etc \ --sysconfdir=/etc \
--localstatedir=/var \ --localstatedir=/var \
--with-html-dir=/usr/share/gtk-doc/html \ --with-html-dir=/usr/share/gtk-doc/html \
$conf_opt \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux
make make

View file

@ -1,8 +1,8 @@
PRGNAM="ibus" PRGNAM="ibus"
VERSION="1.3.5" VERSION="1.3.7"
HOMEPAGE="http://code.google.com/p/ibus/" HOMEPAGE="http://code.google.com/p/ibus/"
DOWNLOAD="http://ibus.googlecode.com/files/ibus-1.3.5.tar.gz" DOWNLOAD="http://ibus.googlecode.com/files/ibus-1.3.7.tar.gz"
MD5SUM="9f92b8e47d2c0bee67cf3e25f7b8c52d" MD5SUM="5a2acbda6cad23f6403c88347ac60e2d"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Grissiom" MAINTAINER="Grissiom"