为ibus添加google拼音输入法
系统环境:Lubuntu 11.10

libgooglepinyin官方主页:http://code.google.com/p/libgooglepinyin/

Dependencies:cmake build-essential opencc mercurial

安装依赖包:
root@lubuntu:~# apt-get install cmake build-essential opencc mercurial

编译、安装libgooglepinyin
root@lubuntu:~# hg clone http://code.google.com/p/libgooglepinyin/
root@lubuntu:~# cd libgooglepinyin
root@lubuntu:~/libgooglepinyin# mkdir build
root@lubuntu:~/libgooglepinyin# cd build
root@lubuntu:~/libgooglepinyin/build# cmake .. -DCMAKE_INSTALL_PREFIX=/usr
root@lubuntu:~/libgooglepinyin/build# make 
root@lubuntu:~/libgooglepinyin/build# make install

编译、安装ibus-googlepinyin
root@lubuntu:~# hg clone http://code.google.com/p/libgooglepinyin.ibus-wrapper/ ibus-googlepinyin
root@lubuntu:~# cd ibus-googlepinyin
root@lubuntu:~/ibus-googlepinyin# mkdir build
root@lubuntu:~/ibus-googlepinyin# cd build
root@lubuntu:~/ibus-googlepinyin/build# cmake .. -DCMAKE_INSTALL_PREFIX=/usr
root@lubuntu:~/ibus-googlepinyin/build# make
root@lubuntu:~/ibus-googlepinyin/build# make install

之后再在ibus里面添加google拼音输入法即可

转自 http://godontop.com/141.html