source: general/genutils/ibus.xml@ 2d1da1f

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2d1da1f was 2d1da1f, checked in by Xi Ruoyao <xry111@…>, 3 years ago

ibus: add gtk+3 and gtk4 as optional dependencies

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