Documents » Build and use iBus
en

Build and use iBus

NOTE: The input-method project is no longer active on this website so information here may be out of date. Current Oracle Solaris 11 product documentation can be found here. Information about downloading Oracle Solaris 11 can be found here.

Build iBus (1.1.0) on solaris

    $ . /opt/jdsbld/bin/env.sh #or
    $ source /opt/jdsbld/bin/env.csh
    $ mkdir -p ~/packages/SOURCES ~/packages/SPECS

If you like to use your own account rather than gbuild, add the "Software Installation" profile in /etc/user_attr, e.g.,

    # echo "yongsun::::type=normal;profiles=Software Installation" >> /etc/user\//attr
  • Download the extra files required by pkgtool 
    $ svn co svn+ssh://anon@svn.opensolaris.org/svn/jds/spec-files/trunk/include
    $ cp include/*.inc ~/packages/SPECS
    $ wget http://cvs.opensolaris.org/source/raw/jds/spec-files/trunk/ext-sources/default-copyright.txt 
    $ mv default-copyright.txt ~/packages/SOURCES/
  • Checkout the input method repository, refer to Repository page:
    $ hg clone ssh://anon@hg.opensolaris.org/hg/nv-g11n/inputmethod
  • Change directory to inputmethod/specs
    $ ./build-im.sh libanthy.spec libchewing.spec libhangul.spec m17n-lib-core.spec m17n-db.spec gob2.spec ibus*.spec

Use iBus (1.1.0/1.2.0) on solaris

  • iBus 1.1 packages were integrated in snv_125 with various IMEs.
  • And it has been upgraded to 1.2 at snv_129.
  • iBus depends on python2.6.
  • We plan to switch default IM framework from iiimf to iBus in future release (after 2010.03 release).
  • Please file a bug (i18n-l10n category) through bugzilla

How to install iBus

  1. Install iBus pkgs (SUNWibus*) from pkg.opensolaris.org/dev/.
    • SUNWibus is mandatory pkg. The rest of SUNWibus-* pkgs are optional. For example, if you need Japanese input only, you don't need to install SUNWibus-* pkgs other than SUNWibus-anthy.
    • To use m17n IME (SUNWibus-m17n), also install SUNWm17n and SUNWm17n-contrib.
    • <ibus1.2 only> To use Hangul IME on system prior to snv_129, need to upgrade SUNWlibhangul with snv_129 version.
  2. <ibus1.1 only> Change python default from 2.4 to 2.6 (ie, /usr/bin/python -> python2.6).
     

How to setup iBus

  1. Enable iBus service manually through gnome-session-properties(1), System->Preferences->Startup Applications.
  2. Export the following environment variables in $HOME/.profile.
            export GTK_IM_MODULE=ibus
            export XMODIFIERS=@im=ibus
  3. re-login
Tags:
Created by admin on 2009/10/26 12:14
Last modified by Fuyuki Hasegawa on 2010/02/25 07:17

Collectives


XWiki Enterprise 2.7.1.34853 - Documentation