aboutsummaryrefslogtreecommitdiff
path: root/misc/ibus/ibus.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ibus/ibus.SlackBuild')
-rw-r--r--misc/ibus/ibus.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/misc/ibus/ibus.SlackBuild b/misc/ibus/ibus.SlackBuild
index e0bad2cf54267..143d23c4b3785 100644
--- a/misc/ibus/ibus.SlackBuild
+++ b/misc/ibus/ibus.SlackBuild
@@ -89,6 +89,14 @@ CXXFLAGS="$SLKCFLAGS" \
make
make DESTDIR=$PKG install
+# Add kimpanel support; panel.py is harvested from:
+# http://websvn.kde.org/tags/KDE/4.4.3/kdeplasma-addons/applets/kimpanel/backend/ibus/panel.py
+mkdir $PKG/usr/share/ibus/ui/kimpanel
+cat $CWD/panel.py > $PKG/usr/share/ibus/ui/kimpanel/panel.py
+chmod 0755 $PKG/usr/share/ibus/ui/kimpanel/panel.py
+# link the icon to where kimpanel will look for.
+(cd $PKG/usr/share/ibus/icons;ln -s ../../icons/hicolor/scalable/apps/ibus.svg)
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -103,7 +111,7 @@ chmod 755 $PKG/etc/profile.d/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README \
+ AUTHORS COPYING ChangeLog NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SBO > $PKG/usr/doc/$PRGNAM-$VERSION/README.SBO