[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 " ">
|
---|
[292b9866] | 9 | <!ENTITY ibus-md5sum "a2be6f200dd9ada2501474a6877a73ef">
|
---|
[a1e15c4] | 10 | <!ENTITY ibus-size "2.7 MB">
|
---|
| 11 | <!ENTITY ibus-buildsize "73 MB (with tests)">
|
---|
| 12 | <!ENTITY ibus-time "0.6 SBU (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
|
---|
[40273c46] | 36 | input framework for Linux OS. It provides a full featured and user
|
---|
| 37 | friendly input method user interface.
|
---|
[bb535118] | 38 | </para>
|
---|
| 39 |
|
---|
[1dd75873] | 40 | &lfs83_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 |
|
---|
[321223a] | 76 | <bridgehead renderas="sect3">Optional Download</bridgehead>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Clang</bridgehead>
|
---|
| 79 | <itemizedlist spacing="compact">
|
---|
| 80 | <listitem>
|
---|
| 81 | <para>
|
---|
| 82 | Download: <ulink url="&ucd-download-http;">
|
---|
[f858bd7] | 83 | &ucd-download-http;</ulink>
|
---|
| 84 | (Unicode Character Database)
|
---|
[321223a] | 85 | </para>
|
---|
| 86 | </listitem>
|
---|
| 87 | </itemizedlist>
|
---|
| 88 |
|
---|
[d47ad20c] | 89 | <bridgehead renderas="sect3">ibus Dependencies</bridgehead>
|
---|
[bb535118] | 90 |
|
---|
| 91 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 92 | <para role="required">
|
---|
[8b5769f] | 93 | <xref linkend="dconf"/>,
|
---|
| 94 | <xref linkend="iso-codes"/>, and
|
---|
| 95 | <xref linkend="vala"/>
|
---|
[bb535118] | 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 99 | <para role="recommended">
|
---|
| 100 | <xref linkend="gobject-introspection"/>,
|
---|
[8b5769f] | 101 | <xref linkend="gtk2"/>, and
|
---|
| 102 | <xref linkend="libnotify"/>
|
---|
[bb535118] | 103 | </para>
|
---|
| 104 |
|
---|
| 105 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 106 | <para role="optional">
|
---|
| 107 | <xref linkend="dbus-python"/> and
|
---|
| 108 | <xref linkend="pygobject3"/> (both to build the Python support library),
|
---|
| 109 | <xref linkend="gtk-doc"/>,
|
---|
| 110 | <xref linkend="pyxdg"/> (for the <command>ibus-setup</command>), and
|
---|
[40273c46] | 111 | <xref linkend="libxkbcommon"/>,
|
---|
| 112 | <xref linkend="wayland"/> (both to build the Wayland support programs), and
|
---|
[4f5369a] | 113 | <ulink url="https://www.emojione.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 |
|
---|
[321223a] | 124 | <para>If the optional Unicode Character Database was downloaded, install it
|
---|
| 125 | now as the as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 126 |
|
---|
| 127 | <screen><userinput>mkdir -p /usr/share/unicode/ucd &&
|
---|
| 128 | unzip -u ../UCD.zip -d /usr/share/unicode/ucd</userinput></screen>
|
---|
| 129 |
|
---|
| 130 | <note><para>Be sure to also remove the disable-unicode-dict in
|
---|
| 131 | the configure step below.</para></note>
|
---|
| 132 |
|
---|
[3ca1da7] | 133 | <para>Fix an issue with deprecated schema entries:</para>
|
---|
| 134 |
|
---|
[c4098e0] | 135 | <screen><userinput>sed -i 's@/desktop/ibus@/org/freedesktop/ibus@g' \
|
---|
| 136 | data/ibus.schemas.in \
|
---|
| 137 | data/dconf/org.freedesktop.ibus.gschema.xml.in</userinput></screen>
|
---|
[3ca1da7] | 138 |
|
---|
[bb535118] | 139 | <para>
|
---|
[d47ad20c] | 140 | Install <application>ibus</application> by running the following
|
---|
[bb535118] | 141 | commands:
|
---|
| 142 | </para>
|
---|
| 143 |
|
---|
[f3f96f3] | 144 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 145 | --sysconfdir=/etc \
|
---|
[321223a] | 146 | --disable-unicode-dict \
|
---|
[f3f96f3] | 147 | --disable-emoji-dict &&
|
---|
[8b5769f] | 148 | rm -f tools/main.c &&
|
---|
[3ca1da7] | 149 | make</userinput></screen>
|
---|
[bb535118] | 150 |
|
---|
| 151 | <para>
|
---|
| 152 | To test the results, issue: <command>make -k check</command>.
|
---|
| 153 | Some tests may fail for unknown reasons.
|
---|
| 154 | </para>
|
---|
| 155 |
|
---|
| 156 | <para>
|
---|
| 157 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 158 | </para>
|
---|
| 159 |
|
---|
| 160 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 161 |
|
---|
| 162 | </sect2>
|
---|
| 163 |
|
---|
| 164 | <sect2 role="commands">
|
---|
| 165 | <title>Command Explanations</title>
|
---|
| 166 |
|
---|
[92d69d1] | 167 | <para>
|
---|
[c4098e0] | 168 | <command>sed -ri ... data/ibus.schemas ...</command>: This sed fixes
|
---|
[92d69d1] | 169 | deprecated entries in the gsettings schema templates installed by this
|
---|
| 170 | package.
|
---|
| 171 | </para>
|
---|
| 172 |
|
---|
[40273c46] | 173 | <para>
|
---|
[321223a] | 174 | <parameter>--disable-emoji-dict</parameter>: This switch disables the
|
---|
| 175 | use of emoticon dictionaries. Omit if you installed the optional
|
---|
[40273c46] | 176 | package.
|
---|
| 177 | </para>
|
---|
| 178 |
|
---|
[321223a] | 179 | <para>
|
---|
| 180 | <parameter>--disable-unicode-dict</parameter>: This switch disables the use
|
---|
| 181 | of unicode dictionaries. Omit if you installed the optional
|
---|
| 182 | Unicode Character Database.
|
---|
| 183 | </para>
|
---|
| 184 |
|
---|
[8b5769f] | 185 | <para>
|
---|
| 186 | <command>rm -f tools/main.c</command>: This command removes a generated
|
---|
| 187 | file that was not removed when packaging.
|
---|
| 188 | </para>
|
---|
| 189 |
|
---|
[bb535118] | 190 | <para>
|
---|
| 191 | <option>--disable-gtk2</option>: This switch disables building
|
---|
[30712eb] | 192 | the <application>GTK+ 2</application> immodule. Use it if
|
---|
[bb535118] | 193 | you have not installed <application>GTK+ 2</application>.
|
---|
| 194 | </para>
|
---|
| 195 |
|
---|
| 196 | <para>
|
---|
| 197 | <option>--enable-python-library</option>: This switch enables
|
---|
[30712eb] | 198 | building the <application>Python</application> support
|
---|
[bb535118] | 199 | library. Use it if have installed the optional dependencies.
|
---|
| 200 | </para>
|
---|
| 201 |
|
---|
| 202 | <para>
|
---|
| 203 | <option>--enable-wayland</option>: This switch enables building
|
---|
[30712eb] | 204 | the <application>Wayland</application> support programs.
|
---|
[bb535118] | 205 | Use it if you have installed the optional dependencies.
|
---|
| 206 | </para>
|
---|
| 207 |
|
---|
| 208 | <para>
|
---|
| 209 | <option>--with-python=python3</option>: This switch makes
|
---|
[30712eb] | 210 | the <command>configure</command> script look for
|
---|
[bb535118] | 211 | <application>Python 3</application>. Use it if you want
|
---|
| 212 | to build the <application>Python 3</application> support
|
---|
| 213 | library alongside the <application>Python 2</application>
|
---|
| 214 | one.
|
---|
| 215 | </para>
|
---|
| 216 |
|
---|
| 217 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 218 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 219 |
|
---|
| 220 | </sect2>
|
---|
| 221 |
|
---|
| 222 | <sect2 role="content">
|
---|
| 223 | <title>Contents</title>
|
---|
| 224 |
|
---|
| 225 | <segmentedlist>
|
---|
| 226 | <segtitle>Installed Programs</segtitle>
|
---|
| 227 | <segtitle>Installed Library</segtitle>
|
---|
| 228 | <segtitle>Installed Directories</segtitle>
|
---|
| 229 |
|
---|
| 230 | <seglistitem>
|
---|
| 231 | <seg>
|
---|
[a172df1] | 232 | ibus,
|
---|
| 233 | ibus-daemon, and
|
---|
| 234 | ibus-setup
|
---|
[bb535118] | 235 | </seg>
|
---|
| 236 | <seg>
|
---|
[a172df1] | 237 | libibus-1.0.so and
|
---|
| 238 | im-ibus.so (<application>GTK+ Immodule</application>)
|
---|
[bb535118] | 239 | </seg>
|
---|
| 240 | <seg>
|
---|
| 241 | /etc/dconf/db/ibus.d,
|
---|
| 242 | /usr/include/ibus-1.0,
|
---|
| 243 | /usr/share/gtk-doc/html/ibus, and
|
---|
| 244 | /usr/share/ibus
|
---|
| 245 | </seg>
|
---|
| 246 | </seglistitem>
|
---|
| 247 | </segmentedlist>
|
---|
| 248 |
|
---|
| 249 | <variablelist>
|
---|
| 250 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 251 | <?dbfo list-presentation="list"?>
|
---|
| 252 | <?dbhtml list-presentation="table"?>
|
---|
| 253 |
|
---|
| 254 | <varlistentry id="ibus-daemon">
|
---|
| 255 | <term><command>ibus-daemon</command></term>
|
---|
| 256 | <listitem>
|
---|
| 257 | <para>
|
---|
| 258 | is the Intelligent Input Bus Daemon.
|
---|
| 259 | </para>
|
---|
| 260 | <indexterm zone="ibus ibus-daemon">
|
---|
| 261 | <primary sortas="b-ibus-daemon">ibus-daemon</primary>
|
---|
| 262 | </indexterm>
|
---|
| 263 | </listitem>
|
---|
| 264 | </varlistentry>
|
---|
| 265 |
|
---|
| 266 | <varlistentry id="ibus-setup">
|
---|
| 267 | <term><command>ibus-setup</command></term>
|
---|
| 268 | <listitem>
|
---|
| 269 | <para>
|
---|
| 270 | is the <application>GTK+</application> program used to configure
|
---|
| 271 | the <command>ibus-daemon</command>.
|
---|
| 272 | </para>
|
---|
| 273 | <indexterm zone="ibus ibus-setup">
|
---|
| 274 | <primary sortas="b-ibus-setup">ibus-setup</primary>
|
---|
| 275 | </indexterm>
|
---|
| 276 | </listitem>
|
---|
| 277 | </varlistentry>
|
---|
| 278 |
|
---|
| 279 | <varlistentry id="libibus-1.0">
|
---|
| 280 | <term><filename class="libraryfile">libibus-1.0.so</filename></term>
|
---|
| 281 | <listitem>
|
---|
| 282 | <para>
|
---|
[d47ad20c] | 283 | contains the <application>ibus</application> API functions.
|
---|
[bb535118] | 284 | </para>
|
---|
| 285 | <indexterm zone="ibus libibus-1.0">
|
---|
| 286 | <primary sortas="c-libibus-1.0">libibus-1.0.so</primary>
|
---|
| 287 | </indexterm>
|
---|
| 288 | </listitem>
|
---|
| 289 | </varlistentry>
|
---|
| 290 |
|
---|
| 291 | </variablelist>
|
---|
| 292 |
|
---|
| 293 | </sect2>
|
---|
| 294 |
|
---|
| 295 | </sect1>
|
---|