[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 " ">
|
---|
[059e4c3] | 9 | <!ENTITY ibus-md5sum "12c5b2e6e9e36fbe8a9f7a2a0501f0e7">
|
---|
| 10 | <!ENTITY ibus-size "3.3 MB">
|
---|
| 11 | <!ENTITY ibus-buildsize "52 MB (with tests)">
|
---|
| 12 | <!ENTITY ibus-time "0.5 SBU (iUsing 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 |
|
---|
[ad112fd5] | 40 | &lfs90_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>
|
---|
| 75 |
|
---|
[ff300ac9] | 76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 77 | <itemizedlist spacing="compact">
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>
|
---|
| 80 | Required patch:
|
---|
| 81 | <ulink url="&patch-root;/ibus-&ibus-version;-upstream_fixes-1.patch"/>
|
---|
| 82 | </para>
|
---|
| 83 | </listitem>
|
---|
| 84 | </itemizedlist>
|
---|
| 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
|
---|
[4f5369a] | 123 | <ulink url="https://www.emojione.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 |
|
---|
[321223a] | 134 | <para>If the optional Unicode Character Database was downloaded, install it
|
---|
| 135 | now as the as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 136 |
|
---|
[e7303f27] | 137 | <screen role="root"><userinput>mkdir -p /usr/share/unicode/ucd &&
|
---|
[321223a] | 138 | unzip -u ../UCD.zip -d /usr/share/unicode/ucd</userinput></screen>
|
---|
| 139 |
|
---|
[22c91155] | 140 | <note><para>Be sure to also remove the --disable-unicode-dict in
|
---|
[321223a] | 141 | the configure step below.</para></note>
|
---|
[63256d93] | 142 |
|
---|
[3ca1da7] | 143 | <para>Fix an issue with deprecated schema entries:</para>
|
---|
| 144 |
|
---|
[c4098e0] | 145 | <screen><userinput>sed -i 's@/desktop/ibus@/org/freedesktop/ibus@g' \
|
---|
[63256d93] | 146 | data/dconf/org.freedesktop.ibus.gschema.xml</userinput></screen>
|
---|
| 147 |
|
---|
[ff300ac9] | 148 | <para>
|
---|
| 149 | Fix a security issue and regression caused by
|
---|
| 150 | <application>GLib-2.62.3</application> and later:
|
---|
| 151 | </para>
|
---|
| 152 |
|
---|
| 153 | <screen><userinput remap="pre">patch -Np1 -i ../ibus-&ibus-version;-upstream_fixes-1.patch</userinput></screen>
|
---|
| 154 |
|
---|
[bb535118] | 155 | <para>
|
---|
[d47ad20c] | 156 | Install <application>ibus</application> by running the following
|
---|
[bb535118] | 157 | commands:
|
---|
| 158 | </para>
|
---|
| 159 |
|
---|
[f3f96f3] | 160 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 161 | --sysconfdir=/etc \
|
---|
[321223a] | 162 | --disable-unicode-dict \
|
---|
[f3f96f3] | 163 | --disable-emoji-dict &&
|
---|
[8b5769f] | 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>.
|
---|
[5cd7055] | 169 | One test may fail for unknown reasons.
|
---|
[bb535118] | 170 | </para>
|
---|
| 171 |
|
---|
| 172 | <para>
|
---|
| 173 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 174 | </para>
|
---|
| 175 |
|
---|
| 176 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 177 |
|
---|
| 178 | </sect2>
|
---|
| 179 |
|
---|
| 180 | <sect2 role="commands">
|
---|
| 181 | <title>Command Explanations</title>
|
---|
| 182 |
|
---|
[5cd7055] | 183 | <!-- <para>
|
---|
[c4098e0] | 184 | <command>sed -ri ... data/ibus.schemas ...</command>: This sed fixes
|
---|
[92d69d1] | 185 | deprecated entries in the gsettings schema templates installed by this
|
---|
| 186 | package.
|
---|
| 187 | </para>
|
---|
[5cd7055] | 188 | -->
|
---|
[40273c46] | 189 | <para>
|
---|
[321223a] | 190 | <parameter>--disable-emoji-dict</parameter>: This switch disables the
|
---|
| 191 | use of emoticon dictionaries. Omit if you installed the optional
|
---|
[40273c46] | 192 | package.
|
---|
| 193 | </para>
|
---|
| 194 |
|
---|
[321223a] | 195 | <para>
|
---|
| 196 | <parameter>--disable-unicode-dict</parameter>: This switch disables the use
|
---|
| 197 | of unicode dictionaries. Omit if you installed the optional
|
---|
| 198 | Unicode Character Database.
|
---|
| 199 | </para>
|
---|
| 200 |
|
---|
[8b5769f] | 201 | <para>
|
---|
| 202 | <command>rm -f tools/main.c</command>: This command removes a generated
|
---|
| 203 | file that was not removed when packaging.
|
---|
| 204 | </para>
|
---|
| 205 |
|
---|
[bb535118] | 206 | <para>
|
---|
| 207 | <option>--disable-gtk2</option>: This switch disables building
|
---|
[30712eb] | 208 | the <application>GTK+ 2</application> immodule. Use it if
|
---|
[bb535118] | 209 | you have not installed <application>GTK+ 2</application>.
|
---|
| 210 | </para>
|
---|
| 211 |
|
---|
| 212 | <para>
|
---|
| 213 | <option>--enable-python-library</option>: This switch enables
|
---|
[30712eb] | 214 | building the <application>Python</application> support
|
---|
[bb535118] | 215 | library. Use it if have installed the optional dependencies.
|
---|
| 216 | </para>
|
---|
| 217 |
|
---|
| 218 | <para>
|
---|
| 219 | <option>--enable-wayland</option>: This switch enables building
|
---|
[30712eb] | 220 | the <application>Wayland</application> support programs.
|
---|
[bb535118] | 221 | Use it if you have installed the optional dependencies.
|
---|
| 222 | </para>
|
---|
| 223 |
|
---|
| 224 | <para>
|
---|
| 225 | <option>--with-python=python3</option>: This switch makes
|
---|
[30712eb] | 226 | the <command>configure</command> script look for
|
---|
[bb535118] | 227 | <application>Python 3</application>. Use it if you want
|
---|
| 228 | to build the <application>Python 3</application> support
|
---|
| 229 | library alongside the <application>Python 2</application>
|
---|
| 230 | one.
|
---|
| 231 | </para>
|
---|
| 232 |
|
---|
| 233 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 234 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 235 |
|
---|
| 236 | </sect2>
|
---|
| 237 |
|
---|
| 238 | <sect2 role="content">
|
---|
| 239 | <title>Contents</title>
|
---|
| 240 |
|
---|
| 241 | <segmentedlist>
|
---|
| 242 | <segtitle>Installed Programs</segtitle>
|
---|
| 243 | <segtitle>Installed Library</segtitle>
|
---|
| 244 | <segtitle>Installed Directories</segtitle>
|
---|
| 245 |
|
---|
| 246 | <seglistitem>
|
---|
| 247 | <seg>
|
---|
[a172df1] | 248 | ibus,
|
---|
| 249 | ibus-daemon, and
|
---|
| 250 | ibus-setup
|
---|
[bb535118] | 251 | </seg>
|
---|
| 252 | <seg>
|
---|
[a172df1] | 253 | libibus-1.0.so and
|
---|
| 254 | im-ibus.so (<application>GTK+ Immodule</application>)
|
---|
[bb535118] | 255 | </seg>
|
---|
| 256 | <seg>
|
---|
| 257 | /etc/dconf/db/ibus.d,
|
---|
| 258 | /usr/include/ibus-1.0,
|
---|
| 259 | /usr/share/gtk-doc/html/ibus, and
|
---|
| 260 | /usr/share/ibus
|
---|
| 261 | </seg>
|
---|
| 262 | </seglistitem>
|
---|
| 263 | </segmentedlist>
|
---|
| 264 |
|
---|
| 265 | <variablelist>
|
---|
| 266 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 267 | <?dbfo list-presentation="list"?>
|
---|
| 268 | <?dbhtml list-presentation="table"?>
|
---|
| 269 |
|
---|
| 270 | <varlistentry id="ibus-daemon">
|
---|
| 271 | <term><command>ibus-daemon</command></term>
|
---|
| 272 | <listitem>
|
---|
| 273 | <para>
|
---|
| 274 | is the Intelligent Input Bus Daemon.
|
---|
| 275 | </para>
|
---|
| 276 | <indexterm zone="ibus ibus-daemon">
|
---|
| 277 | <primary sortas="b-ibus-daemon">ibus-daemon</primary>
|
---|
| 278 | </indexterm>
|
---|
| 279 | </listitem>
|
---|
| 280 | </varlistentry>
|
---|
| 281 |
|
---|
| 282 | <varlistentry id="ibus-setup">
|
---|
| 283 | <term><command>ibus-setup</command></term>
|
---|
| 284 | <listitem>
|
---|
| 285 | <para>
|
---|
| 286 | is the <application>GTK+</application> program used to configure
|
---|
| 287 | the <command>ibus-daemon</command>.
|
---|
| 288 | </para>
|
---|
| 289 | <indexterm zone="ibus ibus-setup">
|
---|
| 290 | <primary sortas="b-ibus-setup">ibus-setup</primary>
|
---|
| 291 | </indexterm>
|
---|
| 292 | </listitem>
|
---|
| 293 | </varlistentry>
|
---|
| 294 |
|
---|
| 295 | <varlistentry id="libibus-1.0">
|
---|
| 296 | <term><filename class="libraryfile">libibus-1.0.so</filename></term>
|
---|
| 297 | <listitem>
|
---|
| 298 | <para>
|
---|
[d47ad20c] | 299 | contains the <application>ibus</application> API functions.
|
---|
[bb535118] | 300 | </para>
|
---|
| 301 | <indexterm zone="ibus libibus-1.0">
|
---|
| 302 | <primary sortas="c-libibus-1.0">libibus-1.0.so</primary>
|
---|
| 303 | </indexterm>
|
---|
| 304 | </listitem>
|
---|
| 305 | </varlistentry>
|
---|
| 306 |
|
---|
| 307 | </variablelist>
|
---|
| 308 |
|
---|
| 309 | </sect2>
|
---|
| 310 |
|
---|
| 311 | </sect1>
|
---|