2012年9月24日 星期一

debian / ubuntu 編譯安裝 fcitx (未完)

fcitx - A Flexible Input Method Framework - Google Project Hosting
wget http://fcitx.googlecode.com/files/fcitx-4.2.6.tar.xz
wget http://fcitx.googlecode.com/files/fcitx-configtool-0.4.5.tar.xz
wget http://fcitx.googlecode.com/files/fcitx-googlepinyin-0.1.6.tar.xz
wget http://fcitx.googlecode.com/files/fcitx-cloudpinyin-0.3.0.tar.xz
wget http://fcitx.googlecode.com/files/fcitx-fbterm-0.2.0.tar.xz
wget http://fcitx.googlecode.com/files/fcitx-4.2.6_dict.tar.xz
wget http://fcitx.googlecode.com/files/table.tar.gz


安裝 fcitx 相依
sudo apt-get install cmake libenchant-dev libxkbfile-dev doxygen libicu-dev

wget http://downloads.sourceforge.net/project/presage/presage/0.8.8/presage-0.8.8.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fpresage%2F&ts=1348505655&use_mirror=nchc
mv presage-0.8.8.tar.gz\?r\=http\:%2F%2Fsourceforge.net%2Fprojects%2Fpresage%2F presage-0.8.8.tar.gz
tar zxf presage-0.8.8.tar.gz
cd presage-0.8.8/
./configure --prefix=/opt/presage
make
make install


安裝 fcitx
xz -d fcitx-4.2.6.tar.xz
tar xf fcitx-4.2.6.tar
cd  fcitx-4.2.6/
mkdir build
cd build/
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/fcitx -DENABLE_DBUS=ON -DENABLE_CAIRO=ON -DENABLE_PANGO=ON -DENABLE_TABLE=ON -DENABLE_GTK2_IM_MODULE=ON -DENABLE_GTK3_IM_MODULE=ON -DENABLE_QT_IM_MODULE=ON  -DENABLE_OPENCC=ON


沒有留言:

張貼留言