1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY ibus-download-http "https://github.com/ibus/ibus/releases/download/&ibus-version;/ibus-&ibus-version;.tar.gz">
|
---|
8 | <!ENTITY ibus-download-ftp " ">
|
---|
9 | <!ENTITY ibus-md5sum "12c5b2e6e9e36fbe8a9f7a2a0501f0e7">
|
---|
10 | <!ENTITY ibus-size "3.3 MB">
|
---|
11 | <!ENTITY ibus-buildsize "52 MB (with tests)">
|
---|
12 | <!ENTITY ibus-time "0.5 SBU (iUsing parallelism=4; with tests)">
|
---|
13 |
|
---|
14 | <!ENTITY ucd-download-http "https://www.unicode.org/Public/zipped/10.0.0/UCD.zip">
|
---|
15 | ]>
|
---|
16 |
|
---|
17 | <sect1 id="ibus" xreflabel="ibus-&ibus-version;">
|
---|
18 | <?dbhtml filename="ibus.html"?>
|
---|
19 |
|
---|
20 | <sect1info>
|
---|
21 | <othername>$LastChangedBy$</othername>
|
---|
22 | <date>$Date$</date>
|
---|
23 | </sect1info>
|
---|
24 |
|
---|
25 | <title>ibus-&ibus-version;</title>
|
---|
26 |
|
---|
27 | <indexterm zone="ibus">
|
---|
28 | <primary sortas="a-ibus">ibus</primary>
|
---|
29 | </indexterm>
|
---|
30 |
|
---|
31 | <sect2 role="package">
|
---|
32 | <title>Introduction to ibus</title>
|
---|
33 |
|
---|
34 | <para>
|
---|
35 | <application>ibus</application> is an Intelligent Input Bus. It is a new
|
---|
36 | input framework for the Linux OS. It provides a fully featured and user
|
---|
37 | friendly input method user interface.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | &lfs90_checked;
|
---|
41 |
|
---|
42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
43 | <itemizedlist spacing="compact">
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (HTTP): <ulink url="&ibus-download-http;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download (FTP): <ulink url="&ibus-download-ftp;"/>
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download MD5 sum: &ibus-md5sum;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Download size: &ibus-size;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated disk space required: &ibus-buildsize;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | <listitem>
|
---|
70 | <para>
|
---|
71 | Estimated build time: &ibus-time;
|
---|
72 | </para>
|
---|
73 | </listitem>
|
---|
74 | </itemizedlist>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
77 | <itemizedlist spacing="compact">
|
---|
78 | <listitem>
|
---|
79 | <para>
|
---|
80 | Required patch:
|
---|
81 | <ulink url="&patch-root;/ibus-&ibus-version;-upstream_fixes-1.patch"/>
|
---|
82 | </para>
|
---|
83 | </listitem>
|
---|
84 | </itemizedlist>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect3">Optional Download</bridgehead>
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect4">Unicode Character Database</bridgehead>
|
---|
89 | <itemizedlist spacing="compact">
|
---|
90 | <listitem>
|
---|
91 | <para>
|
---|
92 | Download: <ulink url="&ucd-download-http;">
|
---|
93 | &ucd-download-http;</ulink>
|
---|
94 | (Unicode Character Database)
|
---|
95 | </para>
|
---|
96 | </listitem>
|
---|
97 | </itemizedlist>
|
---|
98 |
|
---|
99 | <bridgehead renderas="sect3">ibus Dependencies</bridgehead>
|
---|
100 |
|
---|
101 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
102 | <para role="required">
|
---|
103 | <xref linkend="dconf"/>,
|
---|
104 | <xref linkend="iso-codes"/>, and
|
---|
105 | <xref linkend="vala"/>
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
109 | <para role="recommended">
|
---|
110 | <xref linkend="gobject-introspection"/>,
|
---|
111 | <xref linkend="gtk2"/>, and
|
---|
112 | <xref linkend="libnotify"/>
|
---|
113 | </para>
|
---|
114 |
|
---|
115 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
116 | <para role="optional">
|
---|
117 | <xref linkend="dbus-python"/> and
|
---|
118 | <xref linkend="pygobject3"/> (both to build the Python support library),
|
---|
119 | <xref linkend="gtk-doc"/>,
|
---|
120 | <xref linkend="pyxdg"/> (for the <command>ibus-setup</command>), and
|
---|
121 | <xref linkend="libxkbcommon"/>,
|
---|
122 | <xref linkend="wayland"/> (both to build the Wayland support programs), and
|
---|
123 | <ulink url="https://www.emojione.com/">EmojiOne</ulink>
|
---|
124 | </para>
|
---|
125 |
|
---|
126 | <para condition="html" role="usernotes">
|
---|
127 | User Notes: <ulink url="&blfs-wiki;/ibus"/>
|
---|
128 | </para>
|
---|
129 | </sect2>
|
---|
130 |
|
---|
131 | <sect2 role="installation">
|
---|
132 | <title>Installation of ibus</title>
|
---|
133 |
|
---|
134 | <para>If the optional Unicode Character Database was downloaded, install it
|
---|
135 | now as the as the <systemitem class="username">root</systemitem> user:</para>
|
---|
136 |
|
---|
137 | <screen role="root"><userinput>mkdir -p /usr/share/unicode/ucd &&
|
---|
138 | unzip -u ../UCD.zip -d /usr/share/unicode/ucd</userinput></screen>
|
---|
139 |
|
---|
140 | <note><para>Be sure to also remove the --disable-unicode-dict in
|
---|
141 | the configure step below.</para></note>
|
---|
142 |
|
---|
143 | <para>Fix an issue with deprecated schema entries:</para>
|
---|
144 |
|
---|
145 | <screen><userinput>sed -i 's@/desktop/ibus@/org/freedesktop/ibus@g' \
|
---|
146 | data/dconf/org.freedesktop.ibus.gschema.xml</userinput></screen>
|
---|
147 |
|
---|
148 | <para>
|
---|
149 | Fix a security issue and regression caused by
|
---|
150 | <application>GLib-2.62.3</application> and later:
|
---|
151 | </para>
|
---|
152 |
|
---|
153 | <screen><userinput remap="pre">patch -Np1 -i ../ibus-&ibus-version;-upstream_fixes-1.patch</userinput></screen>
|
---|
154 |
|
---|
155 | <para>
|
---|
156 | Install <application>ibus</application> by running the following
|
---|
157 | commands:
|
---|
158 | </para>
|
---|
159 |
|
---|
160 | <screen><userinput>./configure --prefix=/usr \
|
---|
161 | --sysconfdir=/etc \
|
---|
162 | --disable-unicode-dict \
|
---|
163 | --disable-emoji-dict &&
|
---|
164 | rm -f tools/main.c &&
|
---|
165 | make</userinput></screen>
|
---|
166 |
|
---|
167 | <para>
|
---|
168 | To test the results, issue: <command>make -k check</command>.
|
---|
169 | One test may fail for unknown reasons.
|
---|
170 | </para>
|
---|
171 |
|
---|
172 | <para>
|
---|
173 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
174 | </para>
|
---|
175 |
|
---|
176 | <screen role="root"><userinput>make install &&
|
---|
177 | gzip -dfv /usr/share/man/man{{1,5}/ibus*.gz,5/00-upstream-settings.5.gz}</userinput></screen>
|
---|
178 |
|
---|
179 | </sect2>
|
---|
180 |
|
---|
181 | <sect2 role="commands">
|
---|
182 | <title>Command Explanations</title>
|
---|
183 |
|
---|
184 | <!-- <para>
|
---|
185 | <command>sed -ri ... data/ibus.schemas ...</command>: This sed fixes
|
---|
186 | deprecated entries in the gsettings schema templates installed by this
|
---|
187 | package.
|
---|
188 | </para>
|
---|
189 | -->
|
---|
190 | <para>
|
---|
191 | <parameter>--disable-emoji-dict</parameter>: This switch disables the
|
---|
192 | use of emoticon dictionaries. Omit if you installed the optional
|
---|
193 | package.
|
---|
194 | </para>
|
---|
195 |
|
---|
196 | <para>
|
---|
197 | <parameter>--disable-unicode-dict</parameter>: This switch disables the use
|
---|
198 | of unicode dictionaries. Omit if you installed the optional
|
---|
199 | Unicode Character Database.
|
---|
200 | </para>
|
---|
201 |
|
---|
202 | <para>
|
---|
203 | <command>rm -f tools/main.c</command>: This command removes a generated
|
---|
204 | file that was not removed when packaging.
|
---|
205 | </para>
|
---|
206 |
|
---|
207 | <para>
|
---|
208 | <option>--disable-gtk2</option>: This switch disables building
|
---|
209 | the <application>GTK+ 2</application> immodule. Use it if
|
---|
210 | you have not installed <application>GTK+ 2</application>.
|
---|
211 | </para>
|
---|
212 |
|
---|
213 | <para>
|
---|
214 | <option>--enable-python-library</option>: This switch enables
|
---|
215 | building the <application>Python</application> support
|
---|
216 | library. Use it if have installed the optional dependencies.
|
---|
217 | </para>
|
---|
218 |
|
---|
219 | <para>
|
---|
220 | <option>--enable-wayland</option>: This switch enables building
|
---|
221 | the <application>Wayland</application> support programs.
|
---|
222 | Use it if you have installed the optional dependencies.
|
---|
223 | </para>
|
---|
224 |
|
---|
225 | <para>
|
---|
226 | <option>--with-python=python3</option>: This switch makes
|
---|
227 | the <command>configure</command> script look for
|
---|
228 | <application>Python 3</application>. Use it if you want
|
---|
229 | to build the <application>Python 3</application> support
|
---|
230 | library alongside the <application>Python 2</application>
|
---|
231 | one.
|
---|
232 | </para>
|
---|
233 |
|
---|
234 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
235 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
236 |
|
---|
237 | <para>
|
---|
238 | <command>gzip -dfv ...</command>: Decompress installed man pages
|
---|
239 | in accordance with other man pages.
|
---|
240 | </para>
|
---|
241 |
|
---|
242 | </sect2>
|
---|
243 |
|
---|
244 | <sect2 role="content">
|
---|
245 | <title>Contents</title>
|
---|
246 |
|
---|
247 | <segmentedlist>
|
---|
248 | <segtitle>Installed Programs</segtitle>
|
---|
249 | <segtitle>Installed Library</segtitle>
|
---|
250 | <segtitle>Installed Directories</segtitle>
|
---|
251 |
|
---|
252 | <seglistitem>
|
---|
253 | <seg>
|
---|
254 | ibus,
|
---|
255 | ibus-daemon, and
|
---|
256 | ibus-setup
|
---|
257 | </seg>
|
---|
258 | <seg>
|
---|
259 | libibus-1.0.so and
|
---|
260 | im-ibus.so (<application>GTK+ Immodule</application>)
|
---|
261 | </seg>
|
---|
262 | <seg>
|
---|
263 | /etc/dconf/db/ibus.d,
|
---|
264 | /usr/include/ibus-1.0,
|
---|
265 | /usr/share/gtk-doc/html/ibus, and
|
---|
266 | /usr/share/ibus
|
---|
267 | </seg>
|
---|
268 | </seglistitem>
|
---|
269 | </segmentedlist>
|
---|
270 |
|
---|
271 | <variablelist>
|
---|
272 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
273 | <?dbfo list-presentation="list"?>
|
---|
274 | <?dbhtml list-presentation="table"?>
|
---|
275 |
|
---|
276 | <varlistentry id="ibus-daemon">
|
---|
277 | <term><command>ibus-daemon</command></term>
|
---|
278 | <listitem>
|
---|
279 | <para>
|
---|
280 | is the Intelligent Input Bus Daemon.
|
---|
281 | </para>
|
---|
282 | <indexterm zone="ibus ibus-daemon">
|
---|
283 | <primary sortas="b-ibus-daemon">ibus-daemon</primary>
|
---|
284 | </indexterm>
|
---|
285 | </listitem>
|
---|
286 | </varlistentry>
|
---|
287 |
|
---|
288 | <varlistentry id="ibus-setup">
|
---|
289 | <term><command>ibus-setup</command></term>
|
---|
290 | <listitem>
|
---|
291 | <para>
|
---|
292 | is the <application>GTK+</application> program used to configure
|
---|
293 | the <command>ibus-daemon</command>.
|
---|
294 | </para>
|
---|
295 | <indexterm zone="ibus ibus-setup">
|
---|
296 | <primary sortas="b-ibus-setup">ibus-setup</primary>
|
---|
297 | </indexterm>
|
---|
298 | </listitem>
|
---|
299 | </varlistentry>
|
---|
300 |
|
---|
301 | <varlistentry id="libibus-1.0">
|
---|
302 | <term><filename class="libraryfile">libibus-1.0.so</filename></term>
|
---|
303 | <listitem>
|
---|
304 | <para>
|
---|
305 | contains the <application>ibus</application> API functions.
|
---|
306 | </para>
|
---|
307 | <indexterm zone="ibus libibus-1.0">
|
---|
308 | <primary sortas="c-libibus-1.0">libibus-1.0.so</primary>
|
---|
309 | </indexterm>
|
---|
310 | </listitem>
|
---|
311 | </varlistentry>
|
---|
312 |
|
---|
313 | </variablelist>
|
---|
314 |
|
---|
315 | </sect2>
|
---|
316 |
|
---|
317 | </sect1>
|
---|