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