Vine Linux 4.0 RC2 の備忘録

ATOK for Linuxの導入についての備忘録.
普通にインストールしてしまうと,

# ./setupatok
This software is furnished under an end user agreement and may be used or copied only in
 accordance with the terms of such license.
If you accept the terms of the license agreement,Please select "Yes".
If you do not accept the terms of the license agreement,Please select "No".
? (yes/no)yes
"ATOK for Linux" (or "ATOK X for Linux") will be once uninstalled.
Do you want to install "IIIMF"? (Yes/no/abort)Yes
File "gtk.immodules" is not found.

となってしまう.問題は,gtk.immodulesの存在位置をATOKのセットアップ用シェルスクリプトが認識していないことみたい.
そこで,CD-ROMの中身を,HDDに全部コピーして、シェルスクリプトをちょっと書き換える.
bin/IIIMF/setupの23行目と24行目の間に,さらに,bin/IIIMF/uninstall_iiimf.sh の62行目と63行目の間に次を書き込む.

elif [ -f /etc/gtk-2.0/i386/gtk.immodules ] ; then
immodules=/etc/gtk-2.0/i386/gtk.immodules

すると

# ./setupatok
This software is furnished under an end user agreement and may be used or copied only in
 accordance with the terms of such license.
If you accept the terms of the license agreement,Please select "Yes".
If you do not accept the terms of the license agreement,Please select "No".
? (yes/no)
? (yes/no)yes
"ATOK for Linux" (or "ATOK X for Linux") will be once uninstalled.
Do you want to install "IIIMF"? (Yes/no/abort)
[root@aya bin]# ./setupatok
This software is furnished under an end user agreement and may be used or copied only in
 accordance with the terms of such license.
If you accept the terms of the license agreement,Please select "Yes".
If you do not accept the terms of the license agreement,Please select "No".
? (yes/no)yes
"ATOK for Linux" (or "ATOK X for Linux") will be once uninstalled.
Do you want to install "IIIMF"? (Yes/no/abort)Yes
"/etc/gtk-2.0/i386/gtk.immodules" will be changed.
Preparing...                ########################################### [100%]
   1:iiimf-csconv           ########################################### [100%]
Preparing...                ########################################### [100%]
   1:iiimf-protocol-lib     ########################################### [100%]
Preparing...                ########################################### [100%]
   1:iiimf-client-lib       ########################################### [100%]
Preparing...                ########################################### [100%]
   1:iiimf-server           ########################################### [100%]
Preparing...                ########################################### [100%]
   1:iiimf-x                ########################################### [100%]
Preparing...                ########################################### [100%]
   1:iiimf-gtk24            ########################################### [100%]
Preparing...                ########################################### [100%]
   1:iiimf-docs             ########################################### [100%]
Preparing...                ########################################### [100%]
   1:iiimf-rc               ########################################### [100%]
"/etc/gtk-2.0/i386/gtk.immodules" will be changed.
A starting script "IIim" will be generated.
Preparing...                ########################################### [100%]
   1:atokx                  ########################################### [100%]
A starting script "atokx2" will be generated.
Installation has been completed.

となって,インストールできる.
あとはアップデートモジュールを手順にしたがってインストール.ただし,ここでも同様に setup_atokupdateの35行目と36行目の間に,上記と同様の修正を加える.
すべての作業が終わったら,ATOKを使いたいユーザで

% setime atokx2

を実行し,再起動.以上でATOK for Linuxが動作するようになる.

ちなみに

上記はわりと面倒くさいやりかた.

# ln -s /etc/gtk-2.0/i386/gtk.immodules /etc/gtk-2.0/

とやれば,ふつうにインストールできます.

それと

環境設定(プロパティ)などが起動しません.
gtk+-2.8 なのが原因なのだろうな.パッチあてても,2.6止まりなので,どうしようもないのかもしれません.解決策知ってる方おられましたら,教えてください.