|
Install
Installation related topics, including building and testing.
Package Dependenciesibus itself
ibus-qt
Individual Input Method Dependenciesibus-anthy
ibus-chewing
ibus-hangul
ibus-pinyin & demo engine
Build & Install IBusObtain source codeIBus source code can either be download from IBus download page or obtained from git with following commands: $ git clone git://github.com/phuang/ibus.git ibus $ cd ibus Build and InstallAfter source code is extracted from tarball or git, use following command to build and install: $ ./autogen.sh --prefix='/usr' --sysconfdir='/etc' --libdir='/usr/lib' --enable-gtk-doc $ make $ sudo make install (Change the paths '/usr', '/etc', '/usr/lib' according to your system configuration.) Register IBus as a Gtk immoduleFor i386$ sudo update-gtk-immodules i386-redhat-linux-gnu or $ gtk-query-immodules-2.0-32 /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so For x86_64$ sudo update-gtk-immodules x86_64-redhat-linux-gnu or $ gtk-query-immodules-2.0-64 /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so (Replace the string i386-redhat-linux-gnu or path /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so with the setting that matches your system.) Build & Install IBus componentsBuild & Install IBus Qt input method plugin$ git clone git://github.com/phuang/ibus-qt.git ibus-qt $ cd ibus-qt $ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug $ make $ sudo make install Build & Install PinYin engine$ git clone git://github.com/phuang/ibus-pinyin.git ibus-pinyin $ cd ibus-pinyin $ ./autogen.sh --prefix=/usr $ make $ sudo make install Build & Install Anthy engine$ git clone git://github.com/fujiwarat/ibus-anthy.git ibus-anthy $ cd ibus-anthy $ ./autogen.sh --prefix=/usr $ make $ sudo make install Build & Install Chewing engine
git clone git://github.com/definite/ibus-chewing.git cd ibus-chewing cmake . -DCMAKE_INSTALL_PREFIX='/usr' -DLIBEXEC_DIR='/usr/libexec' make make uninstall_schemas sudo make install make install_schemas
make help Build & Install Hangul engine$ git clone git://github.com/phuang/ibus-hangul.git ibus-hangul $ cd ibus-hangul $ ./autogen.sh --prefix=/usr $ make $ sudo make install Build & Install M17n engine$ git clone git://github.com/phuang/ibus-m17n.git ibus-m17n $ cd ibus-m17n $ ./autogen.sh --prefix=/usr $ make $ sudo make install RPMIBus itself and most of the components support source RPM building: $ make srpm and RPM building: $ make rpm The built RPMs are usually in dir ${ARCH} or RPMS/${ARCH}. Following RPMs will be built by default:
End users only need first three, only components and input method developer need the rest. RPMs can be install by either: $ sudo rpm -hiv <rpm file list> or with yum: $ sudo yum localinstall <rpm file list> or with PackageKit: $ sudo pkcon install <rpm file list> or any other GUI package manager that supports RPM. Test iBusRun iBusRun ibus-setup to set the preference, enable input methods, also start ibus daemon. Run ibus-daemon to start ibus daemon immediately. Run gnome, kde or old X applicationsSet following environment varible for Gtk: $ GTK_IM_MODULE=ibus For KDE: $ QT_IM_MODULE=ibus and other X applications $ XMODIFIERS="@im=ibus" |
Sign in to add a comment
+ autopoint --force ./autogen.sh: 1: autopoint: not found what should I do?
weishigogo,
Which package did you encounter this problem?
autopoint命令在gettext包中。。。
有deb包发布吗?
zengkid: ubuntu 好像是 liliaobin 在打包
./autogen.sh: 1: autopoint: not found in pinyin
Can someone explain how to build with the qt4 im module?
wait for deb package
I have the same question "./autogen.sh: 1: autopoint: not found "
The three export variables by themselves didn't work. I needed these too:
export GDM_LANG=zh_CN.UTF-8/GB18030 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 export LANGUAGE=en_US.UTF-8 export LC_CTYPE=zh_CN.UTF-8 export XMODIFIERS="@im=ibus" export XIM=ibus export XIM_ARGS="-d" export XIM_PROGRAM_SETS_ITSELF_AS_DAEMON=yes export DEPENDS="ibus" export XIM_PROGRAM=/usr/bin/ibus-daemon export GTK_IM_MODULE=ibus export QT_IM_MODULE=ibus export SMB_CODESET=GB18030
Hope it helps somebody having issues!
build ibus 1.2 on ubuntu 9.04 you need these package:
hunspell,gettext,cvs,autoconf,libtool,docbook,libgconf2-dev,debhelper,html2text,libgtk2.0-dev,gtk-doc-tools ,autoconf
Here is build instructions on Ubuntu Jaunty: $ sudo apt-get install hunspell gettext cvs autoconf libtool docbook libgconf2-dev debhelper html2text libgtk2.0-dev gtk-doc-tools $ git ... $ cd .. $ ./autogen.sh --prefix=... --lib=...
The build-dep of debian packages are not right anyway.
dionmoult,
What distribution did you work with?
I run cmake . -DCMAKE_INSTALL_PREFIX='/usr' -DLIBEXEC_DIR='/usr/libexec'
But it show this error: -- checking for module 'chewing>=0.3.2' -- package 'chewing>=0.3.2' not found -- Configuring incomplete, errors occurred!
libchewing 0.3.2 already installed in the system. I use Fedora11. What should I do?
I get the following error trying to install jyutping input
teddue@Selma:~/Downloads/ibus-tables/ibus-table-jyutping-1.2.0.20090824$ ./autogen.sh --prefix='/usr' --sysconfdir='/etc' --libdir='/usr/lib' --enable-gtk-doc + aclocal -I m4 ./autogen.sh: 1: aclocal: not found
I'm running Ubunu 9.10 Karmic Koala, amd64