source: general/genutils/ibus.xml@ 494030b

12.1 12.2 gimp3 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128
Last change on this file since 494030b was 494030b, checked in by Bruce Dubbs <bdubbs@…>, 10 months ago

Update to ibus-1.5.29.

  • Property mode set to 100644
File size: 10.4 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 "2e29a7fb0f8c5ffcf42462fda45348fd">
10 <!ENTITY ibus-size "1.4 MB">
11 <!ENTITY ibus-buildsize "54 MB (add 3 MB for tests)">
12 <!ENTITY ibus-time "0.3 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 &lfs120_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="gtk3"/>, and
98 <xref linkend="libnotify"/>
99 </para>
100
101 <bridgehead renderas="sect4">Optional</bridgehead>
102 <para role="optional">
103 <xref linkend="gtk4"/> (to build IM module for it),
104 <xref linkend="dbus-python"/> and
105 <xref linkend="pygobject3"/> (both to build the Python support library),
106 <xref linkend="gtk-doc"/>, and
107 <!--<xref linkend="pyxdg" role="runtime"/>
108 (runtime, for the <command>ibus-setup</command>), and
109 NOTE: The reference to the 'xdg' python module is commented out in the source -->
110 <xref linkend="libxkbcommon"/>,
111 <xref linkend="wayland"/> (both to build the Wayland support programs), and
112 <ulink url="https://www.joypixels.com/">EmojiOne</ulink>
113 </para>
114
115 </sect2>
116
117 <sect2 role="installation">
118 <title>Installation of ibus</title>
119
120 <para>
121 If the optional Unicode Character Database was downloaded, install it
122 now as the <systemitem class="username">root</systemitem> user:
123 </para>
124
125<screen role="root"><userinput>mkdir -p /usr/share/unicode/ucd &amp;&amp;
126unzip -uo ../UCD.zip -d /usr/share/unicode/ucd</userinput></screen>
127<!--
128 <note>
129 <para>
130 Be sure to also remove the - -disable-unicode-dict in
131 the configure step below.
132 </para>
133 </note>
134-->
135 <para>
136 Fix an issue with deprecated schema entries:</para>
137
138<screen><userinput>sed -e 's@/desktop/ibus@/org/freedesktop/ibus@g' \
139 -i data/dconf/org.freedesktop.ibus.gschema.xml</userinput></screen>
140
141 <para>
142 Install <application>ibus</application> by running the following
143 commands:
144 </para>
145
146<screen revision='sysv'><userinput>SAVE_DIST_FILES=1 \
147PYTHON=python3 \
148./autogen.sh --prefix=/usr \
149 --sysconfdir=/etc \
150 --disable-python2 \
151 --disable-appindicator \
152 --disable-emoji-dict \
153 --disable-systemd-services &amp;&amp;
154make</userinput></screen>
155
156<screen revision='systemd'><userinput>SAVE_DIST_FILES=1 \
157PYTHON=python3 \
158./autogen.sh --prefix=/usr \
159 --sysconfdir=/etc \
160 --disable-python2 \
161 --disable-appindicator \
162 --disable-emoji-dict &amp;&amp;
163make</userinput></screen>
164
165 <para>
166 To test the results, issue: <command>make -k check</command>.
167 The test named ibus-compose fails because it uses some locales
168 not installed in LFS.
169 <!-- The log says "No idea to simulate key events in Wayland"
170 in a Mutter wayland session. -->
171 The test named xkb-latin-layouts is known to fail with a recent
172 xkeyboard-config release.
173 </para>
174
175 <para>
176 Now, as the &root; user:
177 </para>
178
179<screen role="root"><userinput>make install</userinput></screen>
180
181 </sect2>
182
183 <sect2 role="commands">
184 <title>Command Explanations</title>
185
186 <para>
187 <parameter>--disable-emoji-dict</parameter>: This switch disables the
188 use of emoticon dictionaries. Omit if you installed the optional
189 package.
190 </para>
191
192 <para>
193 <parameter>--disable-unicode-dict</parameter>: This switch disables the use
194 of unicode dictionaries. Omit if you installed the optional
195 Unicode Character Database.
196 </para>
197
198 <para>
199 <option>--disable-gtk2</option>: This switch disables building
200 the <application>GTK+ 2</application> immodule. Use it if
201 you have not installed <application>GTK+ 2</application>.
202 </para>
203
204 <para>
205 <option>--enable-gtk4</option>: This switch enables building
206 the <application>GTK 4</application> immodule. Use it if
207 you have installed <application>GTK 4</application>.
208 </para>
209
210 <para>
211 <option>--enable-python-library</option>: This switch enables
212 building the <application>Python</application> support
213 library. Use it if you have installed the optional Python modules.
214 </para>
215
216 <para>
217 <option>--enable-wayland</option>: This switch enables building
218 the <application>Wayland</application> support programs.
219 Use it if you have installed the optional dependencies.
220 </para>
221
222 <para>
223 <envar>PYTHON=python3</envar>: This environment variable makes
224 the <command>autogen.sh</command> script look for
225 <application>Python 3</application>. Use it if you want
226 to build the <application>Python 3</application> support
227 library.
228 </para>
229
230 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
231 href="../../xincludes/gtk-doc-rebuild.xml"/>
232<!--
233 <para>
234 <command>gzip -dfv ...</command>: Decompress installed man pages
235 in accordance with other man pages.
236 </para>
237-->
238 </sect2>
239
240 <sect2 role="configuration">
241 <title>Configuring Ibus</title>
242
243 <para>
244 If GTK+-3 or GTK+-2 are installed and
245 <option>--disable-gtk{3,2}</option> are not used, the ibus IM module
246 for GTK+-3 or GTK+-2 will be installed. As the &root; user,
247 update a cache file of GTK+-3 or GTK+-2 so the GTK-based applications
248 can find the newly installed IM module and use ibus as an input
249 method:
250 </para>
251
252 <screen role='nodump'><userinput>gtk-query-immodules-3.0 --update-cache</userinput></screen>
253
254 <para>
255 The command above updates the cache file for GTK+-3. For GTK+-2,
256 use <command>gtk-query-immodules-2.0</command> instead of
257 <command>gtk-query-immodules-3.0</command>. GTK-4 does not require
258 a cache file for IM modules.
259 </para>
260 </sect2>
261
262 <sect2 role="content">
263 <title>Contents</title>
264
265 <segmentedlist>
266 <segtitle>Installed Programs</segtitle>
267 <segtitle>Installed Library</segtitle>
268 <segtitle>Installed Directories</segtitle>
269
270 <seglistitem>
271 <seg>
272 ibus,
273 ibus-daemon, and
274 ibus-setup
275 </seg>
276 <seg>
277 libibus-1.0.so and
278 im-ibus.so (<application>GTK+ Immodule</application>)
279 </seg>
280 <seg>
281 /etc/dconf/db/ibus.d,
282 /usr/include/ibus-1.0,
283 /usr/share/gtk-doc/html/ibus, and
284 /usr/share/ibus
285 </seg>
286 </seglistitem>
287 </segmentedlist>
288
289 <variablelist>
290 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
291 <?dbfo list-presentation="list"?>
292 <?dbhtml list-presentation="table"?>
293
294 <varlistentry id="ibus-daemon">
295 <term><command>ibus-daemon</command></term>
296 <listitem>
297 <para>
298 is the Intelligent Input Bus Daemon
299 </para>
300 <indexterm zone="ibus ibus-daemon">
301 <primary sortas="b-ibus-daemon">ibus-daemon</primary>
302 </indexterm>
303 </listitem>
304 </varlistentry>
305
306 <varlistentry id="ibus-setup">
307 <term><command>ibus-setup</command></term>
308 <listitem>
309 <para>
310 is the <application>GTK+</application> program used to configure
311 the <command>ibus-daemon</command>
312 </para>
313 <indexterm zone="ibus ibus-setup">
314 <primary sortas="b-ibus-setup">ibus-setup</primary>
315 </indexterm>
316 </listitem>
317 </varlistentry>
318
319 <varlistentry id="libibus-1.0">
320 <term><filename class="libraryfile">libibus-1.0.so</filename></term>
321 <listitem>
322 <para>
323 contains the <application>ibus</application> API functions
324 </para>
325 <indexterm zone="ibus libibus-1.0">
326 <primary sortas="c-libibus-1.0">libibus-1.0.so</primary>
327 </indexterm>
328 </listitem>
329 </varlistentry>
330
331 </variablelist>
332
333 </sect2>
334
335</sect1>
Note: See TracBrowser for help on using the repository browser.