diff options
author | Takao Fujiwara <tfujiwar@redhat.com> | 2010-01-15 11:21:32 +0900 |
---|---|---|
committer | Takao Fujiwara <tfujiwar@redhat.com> | 2010-01-15 11:21:32 +0900 |
commit | e21b1fc31da27d27dc8c8b08cef780cf0725b937 (patch) | |
tree | 15582bcaa027f8abd75208ff7f79d2ca9a42c913 | |
parent | 6e95720cefb8da30ada3c686df8f9c636b2418bd (diff) | |
download | ibus-anthy-e21b1fc31da27d27dc8c8b08cef780cf0725b937.tar.gz |
Update kasumi installation.
-rw-r--r-- | README | 24 | ||||
-rw-r--r-- | ibus-anthy.spec.in | 5 |
2 files changed, 25 insertions, 4 deletions
@@ -80,9 +80,10 @@ your system.) #2. Build & Install Anthy Download anthy source from Anthy Web - (http://sourceforge.jp/projects/anthy/) + (http://en.sourceforge.jp/projects/anthy/) $ zcat anthy-xx.tar.gz | tar xfv - + $ cd anthy $ ./configure --prefix=/usr $ make $ sudo make install @@ -90,7 +91,22 @@ your system.) * The 'xx' is a version number. -#3. Build & Install IBus Anthy +#3. Build & Install Kasumi + + Kasumi is not required but probably useful for you. + Download kasumi source from Kasumi Web + (http://en.sourceforge.jp/projects/kasumi/) + + $ zcat kasumi-xx.tar.gz | tar xfv - + $ cd kasumi + $ ./configure --prefix=/usr + $ make + $ sudo make install + + * The 'xx' is a version number. + + +#4. Build & Install IBus Anthy Download ibus-anthy source from IBus download page (http://code.google.com/p/ibus/downloads/list) or @@ -105,7 +121,7 @@ your system.) * The 'xx' is a version number. -#4. Run iBus +#5. Run iBus * Run ibus-daemon to start ibus daemon with either way: * Distribution tool likes im-chooser, im-switch @@ -129,7 +145,7 @@ foo 20041 1 0 12:58 pts/3 00:00:00 /usr/libexec/ibus-x11 --kill-daemon foo 20042 15735 0 12:58 pts/3 00:00:01 python /usr/share/ibus-anthy/engine/main.py --ibus -#5. Run gnome, kde or old X applications +#6. Run gnome, kde or old X applications * Set following environment varible for Gtk: $ GTK_IM_MODULE=ibus diff --git a/ibus-anthy.spec.in b/ibus-anthy.spec.in index 531d616..ada402b 100644 --- a/ibus-anthy.spec.in +++ b/ibus-anthy.spec.in @@ -1,4 +1,6 @@ %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%{!?enable_kasumi: %define enable_kasumi 0} + Name: @PACKAGE_NAME@ Version: @PACKAGE_VERSION@ Release: 1%{?dist} @@ -20,6 +22,9 @@ BuildRequires: intltool Requires: ibus >= 1.2.0.20100111 Requires: anthy +%if %enable_kasumi +Requires: kasumi +%endif %description The Anthy engine for IBus platform. It provides Japanese input method from |