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