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 "a2be6f200dd9ada2501474a6877a73ef">
|
---|
10 | <!ENTITY ibus-size "2.7 MB">
|
---|
11 | <!ENTITY ibus-buildsize "73 MB (with tests)">
|
---|
12 | <!ENTITY ibus-time "0.6 SBU (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 Linux OS. It provides a full featured and user
|
---|
37 | friendly input method user interface.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | &lfs82_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">Optional Download</bridgehead>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect4">Clang</bridgehead>
|
---|
79 | <itemizedlist spacing="compact">
|
---|
80 | <listitem>
|
---|
81 | <para>
|
---|
82 | Download: <ulink url="&ucd-download-http;">
|
---|
83 | &ucd-download-http;</ulink>
|
---|
84 | (Unicode Character Database)
|
---|
85 | </para>
|
---|
86 | </listitem>
|
---|
87 | </itemizedlist>
|
---|
88 |
|
---|
89 | <bridgehead renderas="sect3">ibus Dependencies</bridgehead>
|
---|
90 |
|
---|
91 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
92 | <para role="required">
|
---|
93 | <xref linkend="dconf"/>,
|
---|
94 | <xref linkend="iso-codes"/>, and
|
---|
95 | <xref linkend="vala"/>
|
---|
96 | </para>
|
---|
97 |
|
---|
98 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
99 | <para role="recommended">
|
---|
100 | <xref linkend="gobject-introspection"/>,
|
---|
101 | <xref linkend="gtk2"/>, and
|
---|
102 | <xref linkend="libnotify"/>
|
---|
103 | </para>
|
---|
104 |
|
---|
105 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
106 | <para role="optional">
|
---|
107 | <xref linkend="dbus-python"/> and
|
---|
108 | <xref linkend="pygobject3"/> (both to build the Python support library),
|
---|
109 | <xref linkend="gtk-doc"/>,
|
---|
110 | <xref linkend="pyxdg"/> (for the <command>ibus-setup</command>), and
|
---|
111 | <xref linkend="libxkbcommon"/>,
|
---|
112 | <xref linkend="wayland"/> (both to build the Wayland support programs), and
|
---|
113 | <ulink url="https://www.emojione.com/">EmojiOne</ulink>
|
---|
114 | </para>
|
---|
115 |
|
---|
116 | <para condition="html" role="usernotes">
|
---|
117 | User Notes: <ulink url="&blfs-wiki;/ibus"/>
|
---|
118 | </para>
|
---|
119 | </sect2>
|
---|
120 |
|
---|
121 | <sect2 role="installation">
|
---|
122 | <title>Installation of ibus</title>
|
---|
123 |
|
---|
124 | <para>If the optional Unicode Character Database was downloaded, install it
|
---|
125 | now as the as the <systemitem class="username">root</systemitem> user:</para>
|
---|
126 |
|
---|
127 | <screen><userinput>mkdir -p /usr/share/unicode/ucd &&
|
---|
128 | unzip -u ../UCD.zip -d /usr/share/unicode/ucd</userinput></screen>
|
---|
129 |
|
---|
130 | <note><para>Be sure to also remove the disable-unicode-dict in
|
---|
131 | the configure step below.</para></note>
|
---|
132 |
|
---|
133 | <para>Fix an issue with deprecated schema entries:</para>
|
---|
134 |
|
---|
135 | <screen><userinput>sed -i 's@/desktop/ibus@/org/freedesktop/ibus@g' \
|
---|
136 | data/ibus.schemas.in \
|
---|
137 | data/dconf/org.freedesktop.ibus.gschema.xml.in</userinput></screen>
|
---|
138 |
|
---|
139 | <para>
|
---|
140 | Install <application>ibus</application> by running the following
|
---|
141 | commands:
|
---|
142 | </para>
|
---|
143 |
|
---|
144 | <screen><userinput>./configure --prefix=/usr \
|
---|
145 | --sysconfdir=/etc \
|
---|
146 | --disable-unicode-dict \
|
---|
147 | --disable-emoji-dict &&
|
---|
148 | rm -f tools/main.c &&
|
---|
149 | make</userinput></screen>
|
---|
150 |
|
---|
151 | <para>
|
---|
152 | To test the results, issue: <command>make -k check</command>.
|
---|
153 | Some tests may fail for unknown reasons.
|
---|
154 | </para>
|
---|
155 |
|
---|
156 | <para>
|
---|
157 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
158 | </para>
|
---|
159 |
|
---|
160 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
161 |
|
---|
162 | </sect2>
|
---|
163 |
|
---|
164 | <sect2 role="commands">
|
---|
165 | <title>Command Explanations</title>
|
---|
166 |
|
---|
167 | <para>
|
---|
168 | <command>sed -ri ... data/ibus.schemas ...</command>: This sed fixes
|
---|
169 | deprecated entries in the gsettings schema templates installed by this
|
---|
170 | package.
|
---|
171 | </para>
|
---|
172 |
|
---|
173 | <para>
|
---|
174 | <parameter>--disable-emoji-dict</parameter>: This switch disables the
|
---|
175 | use of emoticon dictionaries. Omit if you installed the optional
|
---|
176 | package.
|
---|
177 | </para>
|
---|
178 |
|
---|
179 | <para>
|
---|
180 | <parameter>--disable-unicode-dict</parameter>: This switch disables the use
|
---|
181 | of unicode dictionaries. Omit if you installed the optional
|
---|
182 | Unicode Character Database.
|
---|
183 | </para>
|
---|
184 |
|
---|
185 | <para>
|
---|
186 | <command>rm -f tools/main.c</command>: This command removes a generated
|
---|
187 | file that was not removed when packaging.
|
---|
188 | </para>
|
---|
189 |
|
---|
190 | <para>
|
---|
191 | <option>--disable-gtk2</option>: This switch disables building
|
---|
192 | the <application>GTK+ 2</application> immodule. Use it if
|
---|
193 | you have not installed <application>GTK+ 2</application>.
|
---|
194 | </para>
|
---|
195 |
|
---|
196 | <para>
|
---|
197 | <option>--enable-python-library</option>: This switch enables
|
---|
198 | building the <application>Python</application> support
|
---|
199 | library. Use it if have installed the optional dependencies.
|
---|
200 | </para>
|
---|
201 |
|
---|
202 | <para>
|
---|
203 | <option>--enable-wayland</option>: This switch enables building
|
---|
204 | the <application>Wayland</application> support programs.
|
---|
205 | Use it if you have installed the optional dependencies.
|
---|
206 | </para>
|
---|
207 |
|
---|
208 | <para>
|
---|
209 | <option>--with-python=python3</option>: This switch makes
|
---|
210 | the <command>configure</command> script look for
|
---|
211 | <application>Python 3</application>. Use it if you want
|
---|
212 | to build the <application>Python 3</application> support
|
---|
213 | library alongside the <application>Python 2</application>
|
---|
214 | one.
|
---|
215 | </para>
|
---|
216 |
|
---|
217 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
218 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
219 |
|
---|
220 | </sect2>
|
---|
221 |
|
---|
222 | <sect2 role="content">
|
---|
223 | <title>Contents</title>
|
---|
224 |
|
---|
225 | <segmentedlist>
|
---|
226 | <segtitle>Installed Programs</segtitle>
|
---|
227 | <segtitle>Installed Library</segtitle>
|
---|
228 | <segtitle>Installed Directories</segtitle>
|
---|
229 |
|
---|
230 | <seglistitem>
|
---|
231 | <seg>
|
---|
232 | ibus,
|
---|
233 | ibus-daemon, and
|
---|
234 | ibus-setup
|
---|
235 | </seg>
|
---|
236 | <seg>
|
---|
237 | libibus-1.0.so and
|
---|
238 | im-ibus.so (<application>GTK+ Immodule</application>)
|
---|
239 | </seg>
|
---|
240 | <seg>
|
---|
241 | /etc/dconf/db/ibus.d,
|
---|
242 | /usr/include/ibus-1.0,
|
---|
243 | /usr/share/gtk-doc/html/ibus, and
|
---|
244 | /usr/share/ibus
|
---|
245 | </seg>
|
---|
246 | </seglistitem>
|
---|
247 | </segmentedlist>
|
---|
248 |
|
---|
249 | <variablelist>
|
---|
250 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
251 | <?dbfo list-presentation="list"?>
|
---|
252 | <?dbhtml list-presentation="table"?>
|
---|
253 |
|
---|
254 | <varlistentry id="ibus-daemon">
|
---|
255 | <term><command>ibus-daemon</command></term>
|
---|
256 | <listitem>
|
---|
257 | <para>
|
---|
258 | is the Intelligent Input Bus Daemon.
|
---|
259 | </para>
|
---|
260 | <indexterm zone="ibus ibus-daemon">
|
---|
261 | <primary sortas="b-ibus-daemon">ibus-daemon</primary>
|
---|
262 | </indexterm>
|
---|
263 | </listitem>
|
---|
264 | </varlistentry>
|
---|
265 |
|
---|
266 | <varlistentry id="ibus-setup">
|
---|
267 | <term><command>ibus-setup</command></term>
|
---|
268 | <listitem>
|
---|
269 | <para>
|
---|
270 | is the <application>GTK+</application> program used to configure
|
---|
271 | the <command>ibus-daemon</command>.
|
---|
272 | </para>
|
---|
273 | <indexterm zone="ibus ibus-setup">
|
---|
274 | <primary sortas="b-ibus-setup">ibus-setup</primary>
|
---|
275 | </indexterm>
|
---|
276 | </listitem>
|
---|
277 | </varlistentry>
|
---|
278 |
|
---|
279 | <varlistentry id="libibus-1.0">
|
---|
280 | <term><filename class="libraryfile">libibus-1.0.so</filename></term>
|
---|
281 | <listitem>
|
---|
282 | <para>
|
---|
283 | contains the <application>ibus</application> API functions.
|
---|
284 | </para>
|
---|
285 | <indexterm zone="ibus libibus-1.0">
|
---|
286 | <primary sortas="c-libibus-1.0">libibus-1.0.so</primary>
|
---|
287 | </indexterm>
|
---|
288 | </listitem>
|
---|
289 | </varlistentry>
|
---|
290 |
|
---|
291 | </variablelist>
|
---|
292 |
|
---|
293 | </sect2>
|
---|
294 |
|
---|
295 | </sect1>
|
---|