Anonymous avatar Anonymous committed 74ed31d

Update ibus to 1.5.4

Signed-off-by: Lee Pak Hong <benreilly@vector.Linux.net>;

Comments (0)

Files changed (4)

var/vabs/ibus/src/ibus.SlackBuild

 ##Thanks to the people at http://slackbuilds.org for the references drawn from thier SlackBuild.
 
 NAME="ibus"            #Enter package Name!
-VERSION=${VERSION:-"1.3.9"}      #Enter package Version!
+VERSION=${VERSION:-"1.5.4"}      #Enter package Version!
 VER=$(echo ${VERSION}|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"stretchedthin"}   #Enter your Name!
 LINK=${LINK:-"http://${NAME}.googlecode.com/files/${NAME}-${VERSION}.tar.gz"}  #Enter URL for package here!
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-""} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
-MAKEDEPENDS=${MAKEDEPENDS:-"pyxdg GConf ORBit2 graphite2 dbus-python iso-codes"} #Add deps needed TO BUILD this package here.
+MAKEDEPENDS=${MAKEDEPENDS:-"pyxdg GConf ORBit2 dbus-glib gtk+2 graphite2 \
+dbus-python libnotify vala gobject-introspection iso-codes"} #Add deps needed TO BUILD this package here.
 #----------------------------------------------------------------------------
 
 # DO NOT EXECUTE if NORUN is set to 1
 if [[ "$ARCH" = i?86 ]]; then
   ARCH=i586
   SLKCFLAGS="-O2 -march=i586 -mtune=i686"
-  CONFIGURE_TRIPLET="i486-vector-linux"
+  CONFIGURE_TRIPLET="i586-vector-linux"
   LIBDIRSUFFIX=""
 elif [ "$ARCH" = "x86_64" ]; then
   SLKCFLAGS="-O2 -fpic"
 # Put any Patches here *NOTE this only works if all 
 # your patches use the -p1 strip option!
 #-----------------------------------------------------
-for i in $CWD/patches/*;do
-  patch -p1 <$i
-  mkdir -p $PKG/usr/doc/${NAME}-${VERSION}/patches/
-  cp $i $PKG/usr/doc/${NAME}-${VERSION}/patches/
-done
+#for i in $CWD/patches/*;do
+#  patch -p1 <$i
+#  mkdir -p $PKG/usr/doc/${NAME}-${VERSION}/patches/
+#  cp $i $PKG/usr/doc/${NAME}-${VERSION}/patches/
+#done
 #-----------------------------------------------------
  
  
   --sysconfdir=/etc \
   --localstatedir=/var \
   --mandir=/usr/man \
-  --with-included-gettext \
-  --disable-debug \
   --with-html-dir=/usr/share/gtk-doc/html \
-  $conf_opt \
+  --disable-gtk3 \
+  --disable-dconf \
+  --disable-schemas-install \
+  --disable-schemas-compile \
+  --enable-introspection=no \
+  --enable-gconf \
+  --enable-python-library \
   --program-prefix="" \
   --program-suffix="" \
   --build=$CONFIGURE_TRIPLET \
 
 make install DESTDIR=$PKG || exit 1
 
+
+#######################################################################
+#Miscellenious tweaks and things outside a normal ./configure go here #
+#######################################################################
+
 # 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
-cp $CWD/panel.py $PKG/usr/share/ibus/ui/kimpanel
-chmod 0755 $PKG/usr/share/ibus/ui/kimpanel/panel.py
+#mkdir $PKG/usr/share/ibus/ui/kimpanel
+#cp $CWD/panel.py $PKG/usr/share/ibus/ui/kimpanel
+#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 .
-cd -
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
-  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+#cd $PKG/usr/share/ibus/icons
+#  ln -s ../../icons/hicolor/scalable/apps/ibus.svg .
+#cd -
 
 # Add profile scripts that set up the environment:
 mkdir -p $PKG/etc/profile.d
 cat $CWD/profile.d/ibus.csh > $PKG/etc/profile.d/ibus.csh.new
 cat $CWD/profile.d/ibus.sh > $PKG/etc/profile.d/ibus.sh.new
 chmod 0755 $PKG/etc/profile.d/*
-#######################################################################
-#Miscellenious tweaks and things outside a normal ./configure go here #
-#######################################################################
-if test -f $CWD/$NAME.png; then
-mkdir -p $PKG/usr/share/pixmaps
-cp $CWD/$NAME.png $PKG/usr/share/pixmaps/$NAME.png; fi
-## Now test for desktop file
-mkdir -p $PKG/usr/share/applications
-if test -f $CWD/${NAME}.desktop; then
-cp $CWD/$NAME.desktop $PKG/usr/share/applications/$NAME.desktop
-fi
-
-
 
 mkdir -p $PKG/usr/doc/${NAME}-${VERSION}
-cp -a AUTHORS COPYING ChangeLog Credits MANIFEST README TODO \
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
 $PKG/usr/doc/${NAME}-${VERSION}
 cat $CWD/${NAME}.SlackBuild > $PKG/usr/doc/${NAME}-${VERSION}/${NAME}.SlackBuild
 
 EOF
 fi
 
-# Add schemas install to the doinst.sh if schemas are found.
-if [ -d $PKG/etc/gconf/schemas ];then
-# Make sure we have gconftool installed
-echo "if [ -x usr/bin/gconftool-2 ]; then" >> $PKG/install/doinst.sh
-( cd $PKG/etc/gconf/schemas
-for schema in *.schemas; do
- # Install schemas
- echo "GCONF_CONFIG_SOURCE=\"xml::etc/gconf/gconf.xml.defaults\" \
-   usr/bin/gconftool-2 --makefile-install-rule \
-   etc/gconf/schemas/${schema} >/dev/null 2>&1" \
-   >> $PKG/install/doinst.sh
-done;
-)
-# Finish off gconf block
-echo "fi" >> $PKG/install/doinst.sh
-fi
-cat $CWD/doinst.sh >> $PKG/install/doinst.sh
-
 
 #if there is a slack-desc in src dir use it
 if test -f $CWD/slack-desc; then

var/vabs/ibus/src/profile.d

-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<html>
- <head>
-  <title>Index of /slackbuilds/14.0/misc/ibus/profile.d</title>
- </head>
- <body>
-<h1>Index of /slackbuilds/14.0/misc/ibus/profile.d</h1>
-<table><tr><th><img src="/icons/blank.gif" alt="[ICO]"></th><th><a href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last modified</a></th><th><a href="?C=S;O=A">Size</a></th><th><a href="?C=D;O=A">Description</a></th></tr><tr><th colspan="5"><hr></th></tr>
-<tr><td valign="top"><img src="/icons/back.gif" alt="[DIR]"></td><td><a href="/slackbuilds/14.0/misc/ibus/">Parent Directory</a></td><td>&nbsp;</td><td align="right">  - </td><td>&nbsp;</td></tr>
-<tr><td valign="top"><img src="/icons/script.gif" alt="[   ]"></td><td><a href="ibus.csh">ibus.csh</a></td><td align="right">15-Apr-2011 04:47  </td><td align="right">546 </td><td>&nbsp;</td></tr>
-<tr><td valign="top"><img src="/icons/text.gif" alt="[TXT]"></td><td><a href="ibus.sh">ibus.sh</a></td><td align="right">27-May-2010 00:51  </td><td align="right">528 </td><td>&nbsp;</td></tr>
-<tr><th colspan="5"><hr></th></tr>
-</table>
-<address>Apache/2.2.24 (Unix) DAV/2 PHP/5.3.27 Server at slackbuilds.org Port 80</address>
-</body></html>

var/vabs/ibus/src/profile.d/ibus.csh

+#!/bin/csh
+
+# ibus - Intelligent Input Bus for Linux / Unix OS. This is used to support the
+# entering of text in non-US-English languages.
+
+[ -x /usr/bin/ibus-daemon ]
+if ($status == 0) then
+  # Enable legacy X applications to use ibus:
+  setenv XMODIFIERS "@im=ibus"
+  # Enable Qt/KDE applications to use ibus.
+  setenv QT_IM_MODULE "ibus"
+  # Enable GTK applications to use ibus:
+  setenv GTK_IM_MODULE "ibus"
+  # Make ibus start automatically if the "magic key" Ctrl-Space is pressed:
+  setenv XIM_PROGRAM "/usr/bin/ibus-daemon -xdrt"
+endif
+

var/vabs/ibus/src/profile.d/ibus.sh

+#!/bin/sh
+
+# ibus - Intelligent Input Bus for Linux / Unix OS. This is used to support the
+# entering of text in non-US-English languages.
+
+if [ -x /usr/bin/ibus-daemon ]; then
+  # Enable legacy X applications to use ibus:
+  export XMODIFIERS="@im=ibus"
+  # Enable Qt/KDE applications to use ibus.
+  export QT_IM_MODULE="ibus"
+  # Enable GTK applications to use ibus:
+  export GTK_IM_MODULE="ibus"
+  # Make ibus start automatically if the "magic key" Ctrl-Space is pressed:
+  export XIM_PROGRAM="/usr/bin/ibus-daemon -xdrt"
+fi
+
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.