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