Debian Codegraph @

README

raw
1 ibus-anthy
2 It is a Japanese input engine for IBus.
3
4
5 Installation
6 ============
7
8 The following is the online document:
9 https://github.com/ibus/ibus/wiki/Install
10
11 #1. Build & Install IBus
12 * Obtain source code
13
14 IBus source code can either be download from IBus download page
15 (https://github.com/ibus/ibus/releases)
16 (If you use ibus for the first time, the download page is more stable than
17 git.)
18
19 $ zcat ibus-xx.tar.gz | tar xfv -
20 $ cd ibus-xx
21
22 * The 'xx' is a version number.
23
24 or obtained from git with following commands:
25
26 $ git clone git://github.com/ibus/ibus.git ibus
27 $ cd ibus
28
29 * 'git clone --help' shows the usage.
30
31 * Build and Install
32 After source code is extracted from tarball or git, use following command
33 to build and install:
34
35 $ ./autogen.sh --prefix='/usr' --sysconfdir='/etc' --libdir='/usr/lib' \
36 --enable-gtk-doc
37 $ make
38 $ sudo make install
39
40 (Change the paths '/usr', '/etc', '/usr/lib' according to your system
41 configuration.)
42
43 or if you use Linux system, probably rpmbuild is easier to build applications.
44
45 # cp ibus-xx.tar.gz /usr/src/$distributer/SOURCE
46 # rpmbuild -bp ibus/ibus.spec.in
47 # rpmbuild -bb ibus/ibus.spec.in
48
49 * Register IBus as a Gtk immodule
50 For i386
51
52 $ sudo update-gtk-immodules i386-redhat-linux-gnu
53
54 or
55
56 $ sudo gtk-query-immodules-2.0-32 \
57 /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so >> \
58 /etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules
59
60 For x86_64
61
62 $ sudo update-gtk-immodules x86_64-redhat-linux-gnu
63
64 or
65
66 $ sudo gtk-query-immodules-2.0-64 \
67 /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so >> \
68 /etc/gtk-2.0/x86_64-redhat-linux-gnu/gtk.immodules
69
70 (Replace the string i386-redhat-linux-gnu or path
71 /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so with the setting that matches
72 your system.)
73
74 * Update icon caches
75
76 $ ls /usr/share/icons/*/*/*/ibus*
77 /usr/share/icons/hicolor/16x16/apps/ibus-keyboard.png
78 /usr/share/icons/hicolor/22x22/apps/ibus-keyboard.png
79 /usr/share/icons/hicolor/24x24/apps/ibus-keyboard.png
80 /usr/share/icons/hicolor/32x32/apps/ibus-keyboard.png
81 /usr/share/icons/hicolor/48x48/apps/ibus-keyboard.png
82 /usr/share/icons/hicolor/scalable/apps/ibus-keyboard.svg
83 $ sudo gtk-update-icon-cache /usr/share/icons/hicolor
84
85
86 #2. Build & Install Anthy
87
88 Download anthy source from Anthy Web
89 (http://en.sourceforge.jp/projects/anthy/)
90
91 $ zcat anthy-xx.tar.gz | tar xfv -
92 $ cd anthy
93 $ ./configure --prefix=/usr
94 $ make
95 $ sudo make install
96
97 * The 'xx' is a version number.
98
99
100 #3. Build & Install Kasumi
101
102 Kasumi is not required but probably useful for you.
103 Download kasumi source from Kasumi Web
104 (http://en.sourceforge.jp/projects/kasumi/)
105
106 $ zcat kasumi-xx.tar.gz | tar xfv -
107 $ cd kasumi
108 $ ./configure --prefix=/usr
109 $ make
110 $ sudo make install
111
112 * The 'xx' is a version number.
113
114
115 #4. Build & Install IBus Anthy
116 Download ibus-anthy source from IBus download page
117 (https://github.com/ibus/ibus-anthy/releases)
118 or
119 Use git clone git://github.com/ibus/ibus-anthy.git ibus-anthy
120
121 $ zcat ibus-anthy-xx.tar.gz | tar xfv -
122 $ cd ibus-anthy
123 $ ./autogen.sh --prefix=/usr
124 $ make
125 $ sudo make install
126
127 * The 'xx' is a version number.
128
129 or if you use Linux system, probably rpmbuild is easier to build applications.
130
131 # cp ibus-anthy-xx.tar.gz /usr/src/$distributer/SOURCE
132 # rpmbuild -bp ibus-anthy/ibus-anthy.spec.in
133 # rpmbuild -bb ibus-anthy/ibus-anthy.spec.in
134
135 or if you use Linux system, probably you can install rpm with yum.
136
137 # yum install --enablerepo=rawhide ibus-anthy
138
139
140 #5. Run iBus
141 * Run ibus-daemon to start ibus daemon with either way:
142
143 * Distribution tool likes im-chooser, im-switch
144 * Add a new /etc/xdg/autostart/ibus.desktop to invoke 'ibus-daemon --xim'
145 * Manual
146
147 $ pkill -9 ibus
148 $ ps -ef | grep ibus
149 $ /usr/bin/ibus-daemon --xim &
150
151 After ibus-daemin is invoked, Run ibus-setup to set the preference,
152 enable input methods, also start ibus daemon.
153
154 e.g.
155
156 $ ps -ef | grep ibus
157 foo 15735 15518 0 11:30 pts/3 00:00:17 /usr/bin/ibus-daemon --xim
158 foo 20037 15735 0 12:58 pts/3 00:00:00 /usr/libexec/ibus-gconf
159 foo 20039 15735 0 12:58 pts/3 00:00:06 python /usr/share/ibus/ui/gtk/main.py
160 foo 20041 1 0 12:58 pts/3 00:00:00 /usr/libexec/ibus-x11 --kill-daemon
161 foo 20042 15735 0 12:58 pts/3 00:00:01 python /usr/share/ibus-anthy/engine/main.py --ibus
162
163
164 #6. Run gnome, kde or old X applications
165 * Set following environment varible for Gtk:
166
167 $ GTK_IM_MODULE=ibus
168
169 For KDE:
170
171 $ QT_IM_MODULE=ibus
172
173 and other X applications
174
175 $ XMODIFIERS="@im=ibus"
176
177 e.g.
178
179 $ env GTK_IM_MODULE=ibus gedit
180
181 To enable input method, Type Ctrl + Space.
182
183
184 Bug Reports
185 ===========
186 https://github.com/ibus/ibus/wiki/BugReport
187
188
189 Questions
190 =========
191 http://groups.google.com/group/ibus-user
192 http://groups.google.com/group/ibus-devel
193 Also refer AUTHORS file
194