source: general/genutils/ibus.xml@ cbcf148

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since cbcf148 was cbcf148, checked in by Pierre Labastie <pierre.labastie@…>, 15 months ago

ibus: make Optional download closer to template

There shouldn't be any bridgehead between "Optional Download" and
<itemizedlist>. Otherwise, jhalfs does not see the itemized list.
Note that this is a recent change in jhalfs for coping with other
places where there are several itemized lists, and only the first
one should be used...

  • Property mode set to 100644
File size: 9.8 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 "3590d33fbd84e041acb75fcee818b504">
10 <!ENTITY ibus-size "3.6 MB">
11 <!ENTITY ibus-buildsize "66 MB (add 3 MB for tests)">
12 <!ENTITY ibus-time "0.2 SBU (Using parallelism=4; add 0.6 SBU for tests)">
13
14 <!ENTITY ucd-download-http "https://www.unicode.org/Public/zipped/14.0.0/UCD.zip">
15]>
16
17<sect1 id="ibus" xreflabel="ibus-&ibus-version;">
18 <?dbhtml filename="ibus.html"?>
19
20
21 <title>ibus-&ibus-version;</title>
22
23 <indexterm zone="ibus">
24 <primary sortas="a-ibus">ibus</primary>
25 </indexterm>
26
27 <sect2 role="package">
28 <title>Introduction to ibus</title>
29
30 <para>
31 <application>ibus</application> is an Intelligent Input Bus. It is a new
32 input framework for the Linux OS. It provides a fully featured and user
33 friendly input method user interface.
34 </para>
35
36 &lfs112_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&ibus-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&ibus-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &ibus-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &ibus-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &ibus-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &ibus-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">Optional Download</bridgehead>
73
74 <itemizedlist spacing="compact">
75 <listitem>
76 <para>
77 Unicode Character Database:
78 <ulink url="&ucd-download-http;"> &ucd-download-http;</ulink>
79 </para>
80 </listitem>
81 </itemizedlist>
82
83 <bridgehead renderas="sect3">ibus Dependencies</bridgehead>
84
85 <bridgehead renderas="sect4">Required</bridgehead>
86 <para role="required">
87 <xref linkend="dconf"/>,
88 <xref linkend="iso-codes"/>, and
89 <xref linkend="vala"/>
90 </para>
91
92 <bridgehead renderas="sect4">Recommended</bridgehead>
93 <para role="recommended">
94 <xref linkend="gobject-introspection"/>,
95 <xref linkend="gtk2"/>, and
96 <xref linkend="libnotify"/>
97 </para>
98
99 <bridgehead renderas="sect4">Optional</bridgehead>
100 <para role="optional">
101 <xref linkend="gtk3"/> (to build IM module for it),
102 <xref linkend="gtk4"/> (to build IM module for it),
103 <xref linkend="dbus-python"/> and
104 <xref linkend="pygobject3"/> (both to build the Python support library),
105 <xref linkend="gtk-doc"/>,
106 <xref linkend="pyxdg" role="runtime"/>
107 (runtime, for the <command>ibus-setup</command>), and
108 <xref linkend="libxkbcommon"/>,
109 <xref linkend="wayland"/> (both to build the Wayland support programs), and
110 <ulink url="https://www.joypixels.com/">EmojiOne</ulink>
111 </para>
112
113 <para condition="html" role="usernotes">
114 User Notes: <ulink url="&blfs-wiki;/ibus"/>
115 </para>
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 ibus-keypress is known to fail in a Wayland based desktop
169 environment.
170 The test named test-override-ibus.py is known to fail if Python
171 support library is enabled.
172 </para>
173
174 <para>
175 Now, as the <systemitem class="username">root</systemitem> user:
176 </para>
177
178<screen role="root"><userinput>make install &amp;&amp;
179gzip -dfv /usr/share/man/man{{1,5}/ibus*.gz,5/00-upstream-settings.5.gz}</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 <command>rm -f tools/main.c</command>: This command removes a generated
200 file that was not removed when packaging.
201 </para>
202
203 <para>
204 <option>--disable-gtk2</option>: This switch disables building
205 the <application>GTK+ 2</application> immodule. Use it if
206 you have not installed <application>GTK+ 2</application>.
207 </para>
208
209 <para>
210 <option>--enable-gtk4</option>: This switch enables building
211 the <application>GTK 4</application> immodule. Use it if
212 you have installed <application>GTK 4</application>.
213 </para>
214
215 <para>
216 <option>--enable-python-library</option>: This switch enables
217 building the <application>Python</application> support
218 library. Use it if you have installed the optional dependencies.
219 </para>
220
221 <para>
222 <option>--enable-wayland</option>: This switch enables building
223 the <application>Wayland</application> support programs.
224 Use it if you have installed the optional dependencies.
225 </para>
226
227 <para>
228 <option>--with-python=python3</option>: This switch makes
229 the <command>configure</command> script look for
230 <application>Python 3</application>. Use it if you want
231 to build the <application>Python 3</application> support
232 library alongside the <application>Python 2</application>
233 one.
234 </para>
235
236 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
237 href="../../xincludes/gtk-doc-rebuild.xml"/>
238
239 <para>
240 <command>gzip -dfv ...</command>: Decompress installed man pages
241 in accordance with other man pages.
242 </para>
243
244 </sect2>
245
246 <sect2 role="content">
247 <title>Contents</title>
248
249 <segmentedlist>
250 <segtitle>Installed Programs</segtitle>
251 <segtitle>Installed Library</segtitle>
252 <segtitle>Installed Directories</segtitle>
253
254 <seglistitem>
255 <seg>
256 ibus,
257 ibus-daemon, and
258 ibus-setup
259 </seg>
260 <seg>
261 libibus-1.0.so and
262 im-ibus.so (<application>GTK+ Immodule</application>)
263 </seg>
264 <seg>
265 /etc/dconf/db/ibus.d,
266 /usr/include/ibus-1.0,
267 /usr/share/gtk-doc/html/ibus, and
268 /usr/share/ibus
269 </seg>
270 </seglistitem>
271 </segmentedlist>
272
273 <variablelist>
274 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
275 <?dbfo list-presentation="list"?>
276 <?dbhtml list-presentation="table"?>
277
278 <varlistentry id="ibus-daemon">
279 <term><command>ibus-daemon</command></term>
280 <listitem>
281 <para>
282 is the Intelligent Input Bus Daemon
283 </para>
284 <indexterm zone="ibus ibus-daemon">
285 <primary sortas="b-ibus-daemon">ibus-daemon</primary>
286 </indexterm>
287 </listitem>
288 </varlistentry>
289
290 <varlistentry id="ibus-setup">
291 <term><command>ibus-setup</command></term>
292 <listitem>
293 <para>
294 is the <application>GTK+</application> program used to configure
295 the <command>ibus-daemon</command>
296 </para>
297 <indexterm zone="ibus ibus-setup">
298 <primary sortas="b-ibus-setup">ibus-setup</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
302
303 <varlistentry id="libibus-1.0">
304 <term><filename class="libraryfile">libibus-1.0.so</filename></term>
305 <listitem>
306 <para>
307 contains the <application>ibus</application> API functions
308 </para>
309 <indexterm zone="ibus libibus-1.0">
310 <primary sortas="c-libibus-1.0">libibus-1.0.so</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
314
315 </variablelist>
316
317 </sect2>
318
319</sect1>
Note: See TracBrowser for help on using the repository browser.