[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 " ">
|
---|
[c9e1750] | 9 | <!ENTITY ibus-md5sum "3590d33fbd84e041acb75fcee818b504">
|
---|
| 10 | <!ENTITY ibus-size "3.6 MB">
|
---|
| 11 | <!ENTITY ibus-buildsize "66 MB (add 3 MB for tests)">
|
---|
[f238076] | 12 | <!ENTITY ibus-time "0.2 SBU (Using parallelism=4; add 0.6 SBU for tests)">
|
---|
[321223a] | 13 |
|
---|
[6c0ca652] | 14 | <!ENTITY ucd-download-http "https://www.unicode.org/Public/zipped/14.0.0/UCD.zip">
|
---|
[bb535118] | 15 | ]>
|
---|
| 16 |
|
---|
[d47ad20c] | 17 | <sect1 id="ibus" xreflabel="ibus-&ibus-version;">
|
---|
[bb535118] | 18 | <?dbhtml filename="ibus.html"?>
|
---|
| 19 |
|
---|
| 20 |
|
---|
[d47ad20c] | 21 | <title>ibus-&ibus-version;</title>
|
---|
[bb535118] | 22 |
|
---|
| 23 | <indexterm zone="ibus">
|
---|
[d47ad20c] | 24 | <primary sortas="a-ibus">ibus</primary>
|
---|
[bb535118] | 25 | </indexterm>
|
---|
| 26 |
|
---|
| 27 | <sect2 role="package">
|
---|
[d47ad20c] | 28 | <title>Introduction to ibus</title>
|
---|
[bb535118] | 29 |
|
---|
| 30 | <para>
|
---|
[d47ad20c] | 31 | <application>ibus</application> is an Intelligent Input Bus. It is a new
|
---|
[8558044] | 32 | input framework for the Linux OS. It provides a fully featured and user
|
---|
[40273c46] | 33 | friendly input method user interface.
|
---|
[bb535118] | 34 | </para>
|
---|
| 35 |
|
---|
[c9e1750] | 36 | &lfs112_checked;
|
---|
[bb535118] | 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>
|
---|
[8558044] | 71 |
|
---|
[321223a] | 72 | <bridgehead renderas="sect3">Optional Download</bridgehead>
|
---|
| 73 |
|
---|
[cbcf148] | 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>
|
---|
[321223a] | 82 |
|
---|
[d47ad20c] | 83 | <bridgehead renderas="sect3">ibus Dependencies</bridgehead>
|
---|
[bb535118] | 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 86 | <para role="required">
|
---|
[8b5769f] | 87 | <xref linkend="dconf"/>,
|
---|
| 88 | <xref linkend="iso-codes"/>, and
|
---|
| 89 | <xref linkend="vala"/>
|
---|
[bb535118] | 90 | </para>
|
---|
[8558044] | 91 |
|
---|
[bb535118] | 92 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 93 | <para role="recommended">
|
---|
| 94 | <xref linkend="gobject-introspection"/>,
|
---|
[8b5769f] | 95 | <xref linkend="gtk2"/>, and
|
---|
| 96 | <xref linkend="libnotify"/>
|
---|
[bb535118] | 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 100 | <para role="optional">
|
---|
[2d1da1f] | 101 | <xref linkend="gtk3"/> (to build IM module for it),
|
---|
| 102 | <xref linkend="gtk4"/> (to build IM module for it),
|
---|
[bb535118] | 103 | <xref linkend="dbus-python"/> and
|
---|
| 104 | <xref linkend="pygobject3"/> (both to build the Python support library),
|
---|
| 105 | <xref linkend="gtk-doc"/>,
|
---|
[2d1da1f] | 106 | <xref linkend="pyxdg" role="runtime"/>
|
---|
| 107 | (runtime, for the <command>ibus-setup</command>), and
|
---|
[40273c46] | 108 | <xref linkend="libxkbcommon"/>,
|
---|
| 109 | <xref linkend="wayland"/> (both to build the Wayland support programs), and
|
---|
[25ff6d5] | 110 | <ulink url="https://www.joypixels.com/">EmojiOne</ulink>
|
---|
[bb535118] | 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">
|
---|
[d47ad20c] | 119 | <title>Installation of ibus</title>
|
---|
[bb535118] | 120 |
|
---|
[b7a85cd9] | 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>
|
---|
[321223a] | 125 |
|
---|
[7199a09] | 126 | <screen role="root"><userinput>mkdir -p /usr/share/unicode/ucd &&
|
---|
| 127 | unzip -uo ../UCD.zip -d /usr/share/unicode/ucd</userinput></screen>
|
---|
[321223a] | 128 |
|
---|
[b7a85cd9] | 129 | <note>
|
---|
| 130 | <para>
|
---|
| 131 | Be sure to also remove the --disable-unicode-dict in
|
---|
| 132 | the configure step below.
|
---|
| 133 | </para>
|
---|
| 134 | </note>
|
---|
[63256d93] | 135 |
|
---|
[b7a85cd9] | 136 | <para>
|
---|
| 137 | Fix an issue with deprecated schema entries:</para>
|
---|
[3ca1da7] | 138 |
|
---|
[c4098e0] | 139 | <screen><userinput>sed -i 's@/desktop/ibus@/org/freedesktop/ibus@g' \
|
---|
[63256d93] | 140 | data/dconf/org.freedesktop.ibus.gschema.xml</userinput></screen>
|
---|
| 141 |
|
---|
[bb535118] | 142 | <para>
|
---|
[d47ad20c] | 143 | Install <application>ibus</application> by running the following
|
---|
[bb535118] | 144 | commands:
|
---|
| 145 | </para>
|
---|
| 146 |
|
---|
[f238076] | 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 &&
|
---|
| 153 | rm -f tools/main.c &&
|
---|
| 154 | make</userinput></screen>
|
---|
| 155 |
|
---|
| 156 | <screen revision='systemd'><userinput>./configure --prefix=/usr \
|
---|
| 157 | --sysconfdir=/etc \
|
---|
| 158 | --disable-python2 \
|
---|
| 159 | --disable-emoji-dict \
|
---|
[36690560] | 160 | --disable-unicode-dict &&
|
---|
| 161 | rm -f tools/main.c &&
|
---|
[3ca1da7] | 162 | make</userinput></screen>
|
---|
[bb535118] | 163 |
|
---|
| 164 | <para>
|
---|
| 165 | To test the results, issue: <command>make -k check</command>.
|
---|
[7f5b105a] | 166 | The test named ibus-compose fails because it uses some locales
|
---|
| 167 | not installed in LFS.
|
---|
[c9e1750] | 168 | The test named ibus-keypress is known to fail in a Wayland based desktop
|
---|
[7f5b105a] | 169 | environment.
|
---|
| 170 | The test named test-override-ibus.py is known to fail if Python
|
---|
| 171 | support library is enabled.
|
---|
[bb535118] | 172 | </para>
|
---|
| 173 |
|
---|
| 174 | <para>
|
---|
| 175 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 176 | </para>
|
---|
| 177 |
|
---|
[483f57a] | 178 | <screen role="root"><userinput>make install &&
|
---|
| 179 | gzip -dfv /usr/share/man/man{{1,5}/ibus*.gz,5/00-upstream-settings.5.gz}</userinput></screen>
|
---|
[bb535118] | 180 |
|
---|
| 181 | </sect2>
|
---|
| 182 |
|
---|
| 183 | <sect2 role="commands">
|
---|
| 184 | <title>Command Explanations</title>
|
---|
| 185 |
|
---|
[40273c46] | 186 | <para>
|
---|
[8558044] | 187 | <parameter>--disable-emoji-dict</parameter>: This switch disables the
|
---|
| 188 | use of emoticon dictionaries. Omit if you installed the optional
|
---|
[40273c46] | 189 | package.
|
---|
| 190 | </para>
|
---|
| 191 |
|
---|
[321223a] | 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 |
|
---|
[8b5769f] | 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 |
|
---|
[bb535118] | 203 | <para>
|
---|
| 204 | <option>--disable-gtk2</option>: This switch disables building
|
---|
[30712eb] | 205 | the <application>GTK+ 2</application> immodule. Use it if
|
---|
[bb535118] | 206 | you have not installed <application>GTK+ 2</application>.
|
---|
| 207 | </para>
|
---|
| 208 |
|
---|
[2d1da1f] | 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 |
|
---|
[bb535118] | 215 | <para>
|
---|
| 216 | <option>--enable-python-library</option>: This switch enables
|
---|
[30712eb] | 217 | building the <application>Python</application> support
|
---|
[b7a85cd9] | 218 | library. Use it if you have installed the optional dependencies.
|
---|
[bb535118] | 219 | </para>
|
---|
| 220 |
|
---|
| 221 | <para>
|
---|
| 222 | <option>--enable-wayland</option>: This switch enables building
|
---|
[30712eb] | 223 | the <application>Wayland</application> support programs.
|
---|
[bb535118] | 224 | Use it if you have installed the optional dependencies.
|
---|
| 225 | </para>
|
---|
| 226 |
|
---|
| 227 | <para>
|
---|
| 228 | <option>--with-python=python3</option>: This switch makes
|
---|
[30712eb] | 229 | the <command>configure</command> script look for
|
---|
[bb535118] | 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 |
|
---|
[483f57a] | 239 | <para>
|
---|
| 240 | <command>gzip -dfv ...</command>: Decompress installed man pages
|
---|
| 241 | in accordance with other man pages.
|
---|
| 242 | </para>
|
---|
| 243 |
|
---|
[bb535118] | 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>
|
---|
[8558044] | 256 | ibus,
|
---|
| 257 | ibus-daemon, and
|
---|
[a172df1] | 258 | ibus-setup
|
---|
[bb535118] | 259 | </seg>
|
---|
| 260 | <seg>
|
---|
[8558044] | 261 | libibus-1.0.so and
|
---|
[a172df1] | 262 | im-ibus.so (<application>GTK+ Immodule</application>)
|
---|
[bb535118] | 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>
|
---|
[4c24eb0a] | 282 | is the Intelligent Input Bus Daemon
|
---|
[bb535118] | 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
|
---|
[4c24eb0a] | 295 | the <command>ibus-daemon</command>
|
---|
[bb535118] | 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>
|
---|
[4c24eb0a] | 307 | contains the <application>ibus</application> API functions
|
---|
[bb535118] | 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>
|
---|