source: general/genutils/ibus.xml@ 8b73dc1

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 8b73dc1 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
RevLine 
[bb535118]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 " ">
[b62222b]9 <!ENTITY ibus-md5sum "48b91ca9b06a16b090b1794012b2bdcc">
[25ff6d5]10 <!ENTITY ibus-size "3.4 MB">
[b62222b]11 <!ENTITY ibus-buildsize "58 MB (with tests)">
12 <!ENTITY ibus-time "1.0 SBU (Using parallelism=4; with tests)">
[321223a]13
[7199a09]14 <!ENTITY ucd-download-http "https://www.unicode.org/Public/zipped/13.0.0/UCD.zip">
[bb535118]15]>
16
[d47ad20c]17<sect1 id="ibus" xreflabel="ibus-&ibus-version;">
[bb535118]18 <?dbhtml filename="ibus.html"?>
19
20 <sect1info>
21 <date>$Date$</date>
22 </sect1info>
23
[d47ad20c]24 <title>ibus-&ibus-version;</title>
[bb535118]25
26 <indexterm zone="ibus">
[d47ad20c]27 <primary sortas="a-ibus">ibus</primary>
[bb535118]28 </indexterm>
29
30 <sect2 role="package">
[d47ad20c]31 <title>Introduction to ibus</title>
[bb535118]32
33 <para>
[d47ad20c]34 <application>ibus</application> is an Intelligent Input Bus. It is a new
[22c91155]35 input framework for the Linux OS. It provides a fully featured and user
[40273c46]36 friendly input method user interface.
[bb535118]37 </para>
38
[d437f756]39 &lfs101_checked;
[bb535118]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>
[dde790ee]74
[321223a]75 <bridgehead renderas="sect3">Optional Download</bridgehead>
76
[22c91155]77 <bridgehead renderas="sect4">Unicode Character Database</bridgehead>
[321223a]78 <itemizedlist spacing="compact">
79 <listitem>
80 <para>
[7199a09]81 Download: <ulink url="&ucd-download-http;"> &ucd-download-http;</ulink>
[f858bd7]82 (Unicode Character Database)
[321223a]83 </para>
84 </listitem>
85 </itemizedlist>
86
[d47ad20c]87 <bridgehead renderas="sect3">ibus Dependencies</bridgehead>
[bb535118]88
89 <bridgehead renderas="sect4">Required</bridgehead>
90 <para role="required">
[8b5769f]91 <xref linkend="dconf"/>,
92 <xref linkend="iso-codes"/>, and
93 <xref linkend="vala"/>
[bb535118]94 </para>
95
96 <bridgehead renderas="sect4">Recommended</bridgehead>
97 <para role="recommended">
98 <xref linkend="gobject-introspection"/>,
[8b5769f]99 <xref linkend="gtk2"/>, and
100 <xref linkend="libnotify"/>
[bb535118]101 </para>
102
103 <bridgehead renderas="sect4">Optional</bridgehead>
104 <para role="optional">
[2d1da1f]105 <xref linkend="gtk3"/> (to build IM module for it),
106 <xref linkend="gtk4"/> (to build IM module for it),
[bb535118]107 <xref linkend="dbus-python"/> and
108 <xref linkend="pygobject3"/> (both to build the Python support library),
109 <xref linkend="gtk-doc"/>,
[2d1da1f]110 <xref linkend="pyxdg" role="runtime"/>
111 (runtime, for the <command>ibus-setup</command>), and
[40273c46]112 <xref linkend="libxkbcommon"/>,
113 <xref linkend="wayland"/> (both to build the Wayland support programs), and
[25ff6d5]114 <ulink url="https://www.joypixels.com/">EmojiOne</ulink>
[bb535118]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">
[d47ad20c]123 <title>Installation of ibus</title>
[bb535118]124
[b7a85cd9]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>
[321223a]129
[7199a09]130<screen role="root"><userinput>mkdir -p /usr/share/unicode/ucd &amp;&amp;
131unzip -uo ../UCD.zip -d /usr/share/unicode/ucd</userinput></screen>
[321223a]132
[b7a85cd9]133 <note>
134 <para>
135 Be sure to also remove the --disable-unicode-dict in
136 the configure step below.
137 </para>
138 </note>
[63256d93]139
[b7a85cd9]140 <para>
141 Fix an issue with deprecated schema entries:</para>
[3ca1da7]142
[c4098e0]143<screen><userinput>sed -i 's@/desktop/ibus@/org/freedesktop/ibus@g' \
[63256d93]144 data/dconf/org.freedesktop.ibus.gschema.xml</userinput></screen>
145
[bb535118]146 <para>
[d47ad20c]147 Install <application>ibus</application> by running the following
[bb535118]148 commands:
149 </para>
150
[f3f96f3]151<screen><userinput>./configure --prefix=/usr \
152 --sysconfdir=/etc \
[321223a]153 --disable-unicode-dict \
[f3f96f3]154 --disable-emoji-dict &amp;&amp;
[8b5769f]155rm -f tools/main.c &amp;&amp;
[3ca1da7]156make</userinput></screen>
[bb535118]157
158 <para>
159 To test the results, issue: <command>make -k check</command>.
[b9c590d0]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.
[bb535118]163 </para>
164
165 <para>
166 Now, as the <systemitem class="username">root</systemitem> user:
167 </para>
168
[483f57a]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>
[bb535118]171
172 </sect2>
173
174 <sect2 role="commands">
175 <title>Command Explanations</title>
176
[40273c46]177 <para>
[321223a]178 <parameter>--disable-emoji-dict</parameter>: This switch disables the
179 use of emoticon dictionaries. Omit if you installed the optional
[40273c46]180 package.
181 </para>
182
[321223a]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
[8b5769f]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
[bb535118]194 <para>
195 <option>--disable-gtk2</option>: This switch disables building
[30712eb]196 the <application>GTK+ 2</application> immodule. Use it if
[bb535118]197 you have not installed <application>GTK+ 2</application>.
198 </para>
199
[2d1da1f]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
[bb535118]206 <para>
207 <option>--enable-python-library</option>: This switch enables
[30712eb]208 building the <application>Python</application> support
[b7a85cd9]209 library. Use it if you have installed the optional dependencies.
[bb535118]210 </para>
211
212 <para>
213 <option>--enable-wayland</option>: This switch enables building
[30712eb]214 the <application>Wayland</application> support programs.
[bb535118]215 Use it if you have installed the optional dependencies.
216 </para>
217
218 <para>
219 <option>--with-python=python3</option>: This switch makes
[30712eb]220 the <command>configure</command> script look for
[bb535118]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
[483f57a]230 <para>
231 <command>gzip -dfv ...</command>: Decompress installed man pages
232 in accordance with other man pages.
233 </para>
234
[bb535118]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>
[a172df1]247 ibus,
248 ibus-daemon, and
249 ibus-setup
[bb535118]250 </seg>
251 <seg>
[a172df1]252 libibus-1.0.so and
253 im-ibus.so (<application>GTK+ Immodule</application>)
[bb535118]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>
[4c24eb0a]273 is the Intelligent Input Bus Daemon
[bb535118]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
[4c24eb0a]286 the <command>ibus-daemon</command>
[bb535118]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>
[4c24eb0a]298 contains the <application>ibus</application> API functions
[bb535118]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.