source: general/genutils/ibus.xml@ cb594b6c

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since cb594b6c was cb594b6c, checked in by Xi Ruoyao <xry111@…>, 11 months ago

general: Remove non-exist User Notes link

Part of User Notes removal by
https://www.linuxfromscratch.org/~xry111/remove-nonexist-usernote.sh

  • Property mode set to 100644
File size: 10.7 KB
Line 
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 "e788203d60e2b9cf56d95f1ee73a6898">
10 <!ENTITY ibus-size "3.7 MB">
11 <!ENTITY ibus-buildsize "66 MB (add 5 MB for tests)">
12 <!ENTITY ibus-time "0.2 SBU (Using parallelism=4; add 0.6 SBU for tests)">
13<!-- Since UCD.zip can be used by gucharmap too, let's use the same version:
14 This prevents version mismatches, since UCD.zip filename is not versioned.
15-->
16 <!ENTITY ucd-download-http "https://www.unicode.org/Public/zipped/&gucharmap-major-version;.0/UCD.zip">
17]>
18
19<sect1 id="ibus" xreflabel="ibus-&ibus-version;">
20 <?dbhtml filename="ibus.html"?>
21
22
23 <title>ibus-&ibus-version;</title>
24
25 <indexterm zone="ibus">
26 <primary sortas="a-ibus">ibus</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to ibus</title>
31
32 <para>
33 <application>ibus</application> is an Intelligent Input Bus. It is a new
34 input framework for the Linux OS. It provides a fully featured and user
35 friendly input method user interface.
36 </para>
37
38 &lfs113_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&ibus-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&ibus-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &ibus-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &ibus-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &ibus-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &ibus-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">Optional Download</bridgehead>
75
76 <itemizedlist spacing="compact">
77 <listitem>
78 <para>
79 Unicode Character Database:
80 <ulink url="&ucd-download-http;"> &ucd-download-http;</ulink>
81 </para>
82 </listitem>
83 </itemizedlist>
84
85 <bridgehead renderas="sect3">ibus Dependencies</bridgehead>
86
87 <bridgehead renderas="sect4">Required</bridgehead>
88 <para role="required">
89 <xref linkend="dconf"/>,
90 <xref linkend="iso-codes"/>, and
91 <xref linkend="vala"/>
92 </para>
93
94 <bridgehead renderas="sect4">Recommended</bridgehead>
95 <para role="recommended">
96 <xref linkend="gobject-introspection"/>,
97 <xref linkend="gtk2"/>, and
98 <xref linkend="libnotify"/>
99 </para>
100
101 <bridgehead renderas="sect4">Optional</bridgehead>
102 <para role="optional">
103 <xref linkend="gtk3"/> (to build IM module for it),
104 <xref linkend="gtk4"/> (to build IM module for it),
105 <xref linkend="dbus-python"/> and
106 <xref linkend="pygobject3"/> (both to build the Python support library),
107 <xref linkend="gtk-doc"/>, and
108 <!--<xref linkend="pyxdg" role="runtime"/>
109 (runtime, for the <command>ibus-setup</command>), and
110 NOTE: The reference to the 'xdg' python module is commented out in the source -->
111 <xref linkend="libxkbcommon"/>,
112 <xref linkend="wayland"/> (both to build the Wayland support programs), and
113 <ulink url="https://www.joypixels.com/">EmojiOne</ulink>
114 </para>
115
116 </sect2>
117
118 <sect2 role="installation">
119 <title>Installation of ibus</title>
120
121 <para>
122 If the optional Unicode Character Database was downloaded, install it
123 now as the <systemitem class="username">root</systemitem> user:
124 </para>
125
126<screen role="root"><userinput>mkdir -p /usr/share/unicode/ucd &amp;&amp;
127unzip -uo ../UCD.zip -d /usr/share/unicode/ucd</userinput></screen>
128
129 <note>
130 <para>
131 Be sure to also remove the --disable-unicode-dict in
132 the configure step below.
133 </para>
134 </note>
135
136 <para>
137 Fix an issue with deprecated schema entries:</para>
138
139<screen><userinput>sed -i 's@/desktop/ibus@/org/freedesktop/ibus@g' \
140 data/dconf/org.freedesktop.ibus.gschema.xml</userinput></screen>
141
142 <para>
143 Install <application>ibus</application> by running the following
144 commands:
145 </para>
146
147<screen revision='sysv'><userinput>./configure --prefix=/usr \
148 --sysconfdir=/etc \
149 --disable-python2 \
150 --disable-emoji-dict \
151 --disable-unicode-dict \
152 --disable-systemd-services &amp;&amp;
153rm -f tools/main.c &amp;&amp;
154make</userinput></screen>
155
156<screen revision='systemd'><userinput>./configure --prefix=/usr \
157 --sysconfdir=/etc \
158 --disable-python2 \
159 --disable-emoji-dict \
160 --disable-unicode-dict &amp;&amp;
161rm -f tools/main.c &amp;&amp;
162make</userinput></screen>
163
164 <para>
165 To test the results, issue: <command>make -k check</command>.
166 The test named ibus-compose fails because it uses some locales
167 not installed in LFS.
168 The test named test-override-ibus.py is known to fail if Python
169 support library is enabled.
170 <!-- xkeyboard-config MR #400 -->
171 </para>
172
173 <para>
174 Now, as the <systemitem class="username">root</systemitem> user:
175 </para>
176
177<screen role="root"><userinput>make install &amp;&amp;
178gzip -dfv /usr/share/man/man{{1,5}/ibus*.gz,5/00-upstream-settings.5.gz}</userinput></screen>
179
180 </sect2>
181
182 <sect2 role="commands">
183 <title>Command Explanations</title>
184
185 <para>
186 <parameter>--disable-emoji-dict</parameter>: This switch disables the
187 use of emoticon dictionaries. Omit if you installed the optional
188 package.
189 </para>
190
191 <para>
192 <parameter>--disable-unicode-dict</parameter>: This switch disables the use
193 of unicode dictionaries. Omit if you installed the optional
194 Unicode Character Database.
195 </para>
196
197 <para>
198 <command>rm -f tools/main.c</command>: This command removes a generated
199 file that was not removed when packaging.
200 </para>
201
202 <para>
203 <option>--disable-gtk2</option>: This switch disables building
204 the <application>GTK+ 2</application> immodule. Use it if
205 you have not installed <application>GTK+ 2</application>.
206 </para>
207
208 <para>
209 <option>--enable-gtk4</option>: This switch enables building
210 the <application>GTK 4</application> immodule. Use it if
211 you have installed <application>GTK 4</application>.
212 </para>
213
214 <para>
215 <option>--enable-python-library</option>: This switch enables
216 building the <application>Python</application> support
217 library. Use it if you have installed the optional dependencies.
218 </para>
219
220 <para>
221 <option>--enable-wayland</option>: This switch enables building
222 the <application>Wayland</application> support programs.
223 Use it if you have installed the optional dependencies.
224 </para>
225
226 <para>
227 <option>--with-python=python3</option>: This switch makes
228 the <command>configure</command> script look for
229 <application>Python 3</application>. Use it if you want
230 to build the <application>Python 3</application> support
231 library alongside the <application>Python 2</application>
232 one.
233 </para>
234
235 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
236 href="../../xincludes/gtk-doc-rebuild.xml"/>
237
238 <para>
239 <command>gzip -dfv ...</command>: Decompress installed man pages
240 in accordance with other man pages.
241 </para>
242
243 </sect2>
244
245 <sect2 role="configuration">
246 <title>Configuring Ibus</title>
247
248 <para>
249 If GTK+-3 or GTK+-2 are installed and
250 <option>--disable-gtk{3,2}</option> are not used, the ibus IM module
251 for GTK+-3 or GTK+-2 will be installed. As the &root; user,
252 update a cache file of GTK+-3 or GTK+-2 so the GTK-based applications
253 can find the newly installed IM module and use ibus as an input
254 method:
255 </para>
256
257 <screen role='nodump'><userinput>gtk-query-immodules-3.0 --update-cache</userinput></screen>
258
259 <para>
260 The command above updates the cache file for GTK+-3. For GTK+-2,
261 use <command>gtk-query-immodules-2.0</command> instead of
262 <command>gtk-query-immodules-3.0</command>. GTK-4 does not require
263 a cache file for IM modules.
264 </para>
265 </sect2>
266
267 <sect2 role="content">
268 <title>Contents</title>
269
270 <segmentedlist>
271 <segtitle>Installed Programs</segtitle>
272 <segtitle>Installed Library</segtitle>
273 <segtitle>Installed Directories</segtitle>
274
275 <seglistitem>
276 <seg>
277 ibus,
278 ibus-daemon, and
279 ibus-setup
280 </seg>
281 <seg>
282 libibus-1.0.so and
283 im-ibus.so (<application>GTK+ Immodule</application>)
284 </seg>
285 <seg>
286 /etc/dconf/db/ibus.d,
287 /usr/include/ibus-1.0,
288 /usr/share/gtk-doc/html/ibus, and
289 /usr/share/ibus
290 </seg>
291 </seglistitem>
292 </segmentedlist>
293
294 <variablelist>
295 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
296 <?dbfo list-presentation="list"?>
297 <?dbhtml list-presentation="table"?>
298
299 <varlistentry id="ibus-daemon">
300 <term><command>ibus-daemon</command></term>
301 <listitem>
302 <para>
303 is the Intelligent Input Bus Daemon
304 </para>
305 <indexterm zone="ibus ibus-daemon">
306 <primary sortas="b-ibus-daemon">ibus-daemon</primary>
307 </indexterm>
308 </listitem>
309 </varlistentry>
310
311 <varlistentry id="ibus-setup">
312 <term><command>ibus-setup</command></term>
313 <listitem>
314 <para>
315 is the <application>GTK+</application> program used to configure
316 the <command>ibus-daemon</command>
317 </para>
318 <indexterm zone="ibus ibus-setup">
319 <primary sortas="b-ibus-setup">ibus-setup</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
323
324 <varlistentry id="libibus-1.0">
325 <term><filename class="libraryfile">libibus-1.0.so</filename></term>
326 <listitem>
327 <para>
328 contains the <application>ibus</application> API functions
329 </para>
330 <indexterm zone="ibus libibus-1.0">
331 <primary sortas="c-libibus-1.0">libibus-1.0.so</primary>
332 </indexterm>
333 </listitem>
334 </varlistentry>
335
336 </variablelist>
337
338 </sect2>
339
340</sect1>
Note: See TracBrowser for help on using the repository browser.