[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 " ">
|
---|
[25ff6d5] | 9 | <!ENTITY ibus-md5sum "717975f7de5b7a6eb89a5966db3e6c2e">
|
---|
| 10 | <!ENTITY ibus-size "3.4 MB">
|
---|
| 11 | <!ENTITY ibus-buildsize "77 MB (with tests)">
|
---|
| 12 | <!ENTITY ibus-time "0.5 SBU (Using parallelism=4; with tests)">
|
---|
[321223a] | 13 |
|
---|
| 14 | <!ENTITY ucd-download-http "https://www.unicode.org/Public/zipped/10.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 |
|
---|
[56229a7e] | 40 | &lfs91_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 |
|
---|
[ff300ac9] | 76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 77 | <itemizedlist spacing="compact">
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>
|
---|
| 80 | Required patch:
|
---|
[dde790ee] | 81 | <ulink url="&patch-root;/ibus-&ibus-version;-wayland_display-1.patch"/>
|
---|
[ff300ac9] | 82 | </para>
|
---|
| 83 | </listitem>
|
---|
| 84 | </itemizedlist>
|
---|
[dde790ee] | 85 |
|
---|
[321223a] | 86 | <bridgehead renderas="sect3">Optional Download</bridgehead>
|
---|
| 87 |
|
---|
[22c91155] | 88 | <bridgehead renderas="sect4">Unicode Character Database</bridgehead>
|
---|
[321223a] | 89 | <itemizedlist spacing="compact">
|
---|
| 90 | <listitem>
|
---|
| 91 | <para>
|
---|
| 92 | Download: <ulink url="&ucd-download-http;">
|
---|
[f858bd7] | 93 | &ucd-download-http;</ulink>
|
---|
| 94 | (Unicode Character Database)
|
---|
[321223a] | 95 | </para>
|
---|
| 96 | </listitem>
|
---|
| 97 | </itemizedlist>
|
---|
| 98 |
|
---|
[d47ad20c] | 99 | <bridgehead renderas="sect3">ibus Dependencies</bridgehead>
|
---|
[bb535118] | 100 |
|
---|
| 101 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 102 | <para role="required">
|
---|
[8b5769f] | 103 | <xref linkend="dconf"/>,
|
---|
| 104 | <xref linkend="iso-codes"/>, and
|
---|
| 105 | <xref linkend="vala"/>
|
---|
[bb535118] | 106 | </para>
|
---|
| 107 |
|
---|
| 108 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 109 | <para role="recommended">
|
---|
| 110 | <xref linkend="gobject-introspection"/>,
|
---|
[8b5769f] | 111 | <xref linkend="gtk2"/>, and
|
---|
| 112 | <xref linkend="libnotify"/>
|
---|
[bb535118] | 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
|
---|
[40273c46] | 121 | <xref linkend="libxkbcommon"/>,
|
---|
| 122 | <xref linkend="wayland"/> (both to build the Wayland support programs), and
|
---|
[25ff6d5] | 123 | <ulink url="https://www.joypixels.com/">EmojiOne</ulink>
|
---|
[bb535118] | 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">
|
---|
[d47ad20c] | 132 | <title>Installation of ibus</title>
|
---|
[bb535118] | 133 |
|
---|
[dde790ee] | 134 | <para>
|
---|
| 135 | Fix an issue with ibus identifying itself in Wayland sessions:
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
| 138 | <screen><userinput remap="pre">patch -Np1 -i ../ibus-&ibus-version;-wayland_display-1.patch</userinput></screen>
|
---|
| 139 |
|
---|
[b7a85cd9] | 140 | <para>
|
---|
| 141 | If the optional Unicode Character Database was downloaded, install it
|
---|
| 142 | now as the <systemitem class="username">root</systemitem> user:
|
---|
| 143 | </para>
|
---|
[321223a] | 144 |
|
---|
[e7303f27] | 145 | <screen role="root"><userinput>mkdir -p /usr/share/unicode/ucd &&
|
---|
[321223a] | 146 | unzip -u ../UCD.zip -d /usr/share/unicode/ucd</userinput></screen>
|
---|
| 147 |
|
---|
[b7a85cd9] | 148 | <note>
|
---|
| 149 | <para>
|
---|
| 150 | Be sure to also remove the --disable-unicode-dict in
|
---|
| 151 | the configure step below.
|
---|
| 152 | </para>
|
---|
| 153 | </note>
|
---|
[63256d93] | 154 |
|
---|
[b7a85cd9] | 155 | <para>
|
---|
| 156 | Fix an issue with deprecated schema entries:</para>
|
---|
[3ca1da7] | 157 |
|
---|
[c4098e0] | 158 | <screen><userinput>sed -i 's@/desktop/ibus@/org/freedesktop/ibus@g' \
|
---|
[63256d93] | 159 | data/dconf/org.freedesktop.ibus.gschema.xml</userinput></screen>
|
---|
| 160 |
|
---|
[bb535118] | 161 | <para>
|
---|
[d47ad20c] | 162 | Install <application>ibus</application> by running the following
|
---|
[bb535118] | 163 | commands:
|
---|
| 164 | </para>
|
---|
| 165 |
|
---|
[f3f96f3] | 166 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 167 | --sysconfdir=/etc \
|
---|
[321223a] | 168 | --disable-unicode-dict \
|
---|
[f3f96f3] | 169 | --disable-emoji-dict &&
|
---|
[8b5769f] | 170 | rm -f tools/main.c &&
|
---|
[3ca1da7] | 171 | make</userinput></screen>
|
---|
[bb535118] | 172 |
|
---|
| 173 | <para>
|
---|
| 174 | To test the results, issue: <command>make -k check</command>.
|
---|
[5cd7055] | 175 | One test may fail for unknown reasons.
|
---|
[bb535118] | 176 | </para>
|
---|
| 177 |
|
---|
| 178 | <para>
|
---|
| 179 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 180 | </para>
|
---|
| 181 |
|
---|
[483f57a] | 182 | <screen role="root"><userinput>make install &&
|
---|
| 183 | gzip -dfv /usr/share/man/man{{1,5}/ibus*.gz,5/00-upstream-settings.5.gz}</userinput></screen>
|
---|
[bb535118] | 184 |
|
---|
| 185 | </sect2>
|
---|
| 186 |
|
---|
| 187 | <sect2 role="commands">
|
---|
| 188 | <title>Command Explanations</title>
|
---|
| 189 |
|
---|
[b7a85cd9] | 190 | <!-- <para>
|
---|
[c4098e0] | 191 | <command>sed -ri ... data/ibus.schemas ...</command>: This sed fixes
|
---|
[92d69d1] | 192 | deprecated entries in the gsettings schema templates installed by this
|
---|
| 193 | package.
|
---|
| 194 | </para>
|
---|
[5cd7055] | 195 | -->
|
---|
[40273c46] | 196 | <para>
|
---|
[321223a] | 197 | <parameter>--disable-emoji-dict</parameter>: This switch disables the
|
---|
| 198 | use of emoticon dictionaries. Omit if you installed the optional
|
---|
[40273c46] | 199 | package.
|
---|
| 200 | </para>
|
---|
| 201 |
|
---|
[321223a] | 202 | <para>
|
---|
| 203 | <parameter>--disable-unicode-dict</parameter>: This switch disables the use
|
---|
| 204 | of unicode dictionaries. Omit if you installed the optional
|
---|
| 205 | Unicode Character Database.
|
---|
| 206 | </para>
|
---|
| 207 |
|
---|
[8b5769f] | 208 | <para>
|
---|
| 209 | <command>rm -f tools/main.c</command>: This command removes a generated
|
---|
| 210 | file that was not removed when packaging.
|
---|
| 211 | </para>
|
---|
| 212 |
|
---|
[bb535118] | 213 | <para>
|
---|
| 214 | <option>--disable-gtk2</option>: This switch disables building
|
---|
[30712eb] | 215 | the <application>GTK+ 2</application> immodule. Use it if
|
---|
[bb535118] | 216 | you have not installed <application>GTK+ 2</application>.
|
---|
| 217 | </para>
|
---|
| 218 |
|
---|
| 219 | <para>
|
---|
| 220 | <option>--enable-python-library</option>: This switch enables
|
---|
[30712eb] | 221 | building the <application>Python</application> support
|
---|
[b7a85cd9] | 222 | library. Use it if you have installed the optional dependencies.
|
---|
[bb535118] | 223 | </para>
|
---|
| 224 |
|
---|
| 225 | <para>
|
---|
| 226 | <option>--enable-wayland</option>: This switch enables building
|
---|
[30712eb] | 227 | the <application>Wayland</application> support programs.
|
---|
[bb535118] | 228 | Use it if you have installed the optional dependencies.
|
---|
| 229 | </para>
|
---|
| 230 |
|
---|
| 231 | <para>
|
---|
| 232 | <option>--with-python=python3</option>: This switch makes
|
---|
[30712eb] | 233 | the <command>configure</command> script look for
|
---|
[bb535118] | 234 | <application>Python 3</application>. Use it if you want
|
---|
| 235 | to build the <application>Python 3</application> support
|
---|
| 236 | library alongside the <application>Python 2</application>
|
---|
| 237 | one.
|
---|
| 238 | </para>
|
---|
| 239 |
|
---|
| 240 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 241 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 242 |
|
---|
[483f57a] | 243 | <para>
|
---|
| 244 | <command>gzip -dfv ...</command>: Decompress installed man pages
|
---|
| 245 | in accordance with other man pages.
|
---|
| 246 | </para>
|
---|
| 247 |
|
---|
[bb535118] | 248 | </sect2>
|
---|
| 249 |
|
---|
| 250 | <sect2 role="content">
|
---|
| 251 | <title>Contents</title>
|
---|
| 252 |
|
---|
| 253 | <segmentedlist>
|
---|
| 254 | <segtitle>Installed Programs</segtitle>
|
---|
| 255 | <segtitle>Installed Library</segtitle>
|
---|
| 256 | <segtitle>Installed Directories</segtitle>
|
---|
| 257 |
|
---|
| 258 | <seglistitem>
|
---|
| 259 | <seg>
|
---|
[a172df1] | 260 | ibus,
|
---|
| 261 | ibus-daemon, and
|
---|
| 262 | ibus-setup
|
---|
[bb535118] | 263 | </seg>
|
---|
| 264 | <seg>
|
---|
[a172df1] | 265 | libibus-1.0.so and
|
---|
| 266 | im-ibus.so (<application>GTK+ Immodule</application>)
|
---|
[bb535118] | 267 | </seg>
|
---|
| 268 | <seg>
|
---|
| 269 | /etc/dconf/db/ibus.d,
|
---|
| 270 | /usr/include/ibus-1.0,
|
---|
| 271 | /usr/share/gtk-doc/html/ibus, and
|
---|
| 272 | /usr/share/ibus
|
---|
| 273 | </seg>
|
---|
| 274 | </seglistitem>
|
---|
| 275 | </segmentedlist>
|
---|
| 276 |
|
---|
| 277 | <variablelist>
|
---|
| 278 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 279 | <?dbfo list-presentation="list"?>
|
---|
| 280 | <?dbhtml list-presentation="table"?>
|
---|
| 281 |
|
---|
| 282 | <varlistentry id="ibus-daemon">
|
---|
| 283 | <term><command>ibus-daemon</command></term>
|
---|
| 284 | <listitem>
|
---|
| 285 | <para>
|
---|
| 286 | is the Intelligent Input Bus Daemon.
|
---|
| 287 | </para>
|
---|
| 288 | <indexterm zone="ibus ibus-daemon">
|
---|
| 289 | <primary sortas="b-ibus-daemon">ibus-daemon</primary>
|
---|
| 290 | </indexterm>
|
---|
| 291 | </listitem>
|
---|
| 292 | </varlistentry>
|
---|
| 293 |
|
---|
| 294 | <varlistentry id="ibus-setup">
|
---|
| 295 | <term><command>ibus-setup</command></term>
|
---|
| 296 | <listitem>
|
---|
| 297 | <para>
|
---|
| 298 | is the <application>GTK+</application> program used to configure
|
---|
| 299 | the <command>ibus-daemon</command>.
|
---|
| 300 | </para>
|
---|
| 301 | <indexterm zone="ibus ibus-setup">
|
---|
| 302 | <primary sortas="b-ibus-setup">ibus-setup</primary>
|
---|
| 303 | </indexterm>
|
---|
| 304 | </listitem>
|
---|
| 305 | </varlistentry>
|
---|
| 306 |
|
---|
| 307 | <varlistentry id="libibus-1.0">
|
---|
| 308 | <term><filename class="libraryfile">libibus-1.0.so</filename></term>
|
---|
| 309 | <listitem>
|
---|
| 310 | <para>
|
---|
[d47ad20c] | 311 | contains the <application>ibus</application> API functions.
|
---|
[bb535118] | 312 | </para>
|
---|
| 313 | <indexterm zone="ibus libibus-1.0">
|
---|
| 314 | <primary sortas="c-libibus-1.0">libibus-1.0.so</primary>
|
---|
| 315 | </indexterm>
|
---|
| 316 | </listitem>
|
---|
| 317 | </varlistentry>
|
---|
| 318 |
|
---|
| 319 | </variablelist>
|
---|
| 320 |
|
---|
| 321 | </sect2>
|
---|
| 322 |
|
---|
| 323 | </sect1>
|
---|