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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.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 2d0650b was ff300ac9, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Update to gnome-control-center-3.34.2
ibus: Apply a patch to fix a security issue and correct a regression caused by glib-2.62.3

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22455 af4574ff-66df-0310-9fd7-8a98e5e911e0

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