[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 " ">
|
---|
[a172df1] | 9 | <!ENTITY ibus-md5sum "8bb26453d0d1fa58e56c22668aaa8786">
|
---|
| 10 | <!ENTITY ibus-size "2.4 MB">
|
---|
| 11 | <!ENTITY ibus-buildsize "43 MB (with tests)">
|
---|
| 12 | <!ENTITY ibus-time "0.5 SBU (with tests)">
|
---|
[bb535118] | 13 | ]>
|
---|
| 14 |
|
---|
[7b1bc743] | 15 | <sect1 id="ibus" xreflabel="IBus-&ibus-version;">
|
---|
[bb535118] | 16 | <?dbhtml filename="ibus.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>IBus-&ibus-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="ibus">
|
---|
| 26 | <primary sortas="a-IBus">IBus</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to IBus</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | <application>IBus</application> is an Intelligent Input Bus. It is a new
|
---|
[40273c46] | 34 | input framework for Linux OS. It provides a full featured and user
|
---|
| 35 | friendly input method user interface.
|
---|
[bb535118] | 36 | </para>
|
---|
| 37 |
|
---|
[f81d69a2] | 38 | &lfs82_checked;
|
---|
[bb535118] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&ibus-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&ibus-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &ibus-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &ibus-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &ibus-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &ibus-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">IBus Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 77 | <para role="required">
|
---|
[8b5769f] | 78 | <xref linkend="dconf"/>,
|
---|
| 79 | <xref linkend="iso-codes"/>, and
|
---|
| 80 | <xref linkend="vala"/>
|
---|
[bb535118] | 81 | </para>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 84 | <para role="recommended">
|
---|
| 85 | <xref linkend="gobject-introspection"/>,
|
---|
[8b5769f] | 86 | <xref linkend="gtk2"/>, and
|
---|
| 87 | <xref linkend="libnotify"/>
|
---|
[bb535118] | 88 | </para>
|
---|
| 89 |
|
---|
| 90 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 91 | <para role="optional">
|
---|
| 92 | <xref linkend="dbus-python"/> and
|
---|
| 93 | <xref linkend="pygobject3"/> (both to build the Python support library),
|
---|
| 94 | <xref linkend="gtk-doc"/>,
|
---|
| 95 | <xref linkend="pyxdg"/> (for the <command>ibus-setup</command>), and
|
---|
[40273c46] | 96 | <xref linkend="libxkbcommon"/>,
|
---|
| 97 | <xref linkend="wayland"/> (both to build the Wayland support programs), and
|
---|
[4f5369a] | 98 | <ulink url="https://www.emojione.com/">EmojiOne</ulink>
|
---|
[bb535118] | 99 | </para>
|
---|
| 100 |
|
---|
| 101 | <para condition="html" role="usernotes">
|
---|
| 102 | User Notes: <ulink url="&blfs-wiki;/ibus"/>
|
---|
| 103 | </para>
|
---|
| 104 | </sect2>
|
---|
| 105 |
|
---|
| 106 | <sect2 role="installation">
|
---|
| 107 | <title>Installation of IBus</title>
|
---|
| 108 |
|
---|
[3ca1da7] | 109 | <para>Fix an issue with deprecated schema entries:</para>
|
---|
| 110 |
|
---|
[c4098e0] | 111 | <screen><userinput>sed -i 's@/desktop/ibus@/org/freedesktop/ibus@g' \
|
---|
| 112 | data/ibus.schemas.in \
|
---|
| 113 | data/dconf/org.freedesktop.ibus.gschema.xml.in</userinput></screen>
|
---|
[3ca1da7] | 114 |
|
---|
[bb535118] | 115 | <para>
|
---|
| 116 | Install <application>IBus</application> by running the following
|
---|
| 117 | commands:
|
---|
| 118 | </para>
|
---|
| 119 |
|
---|
[f3f96f3] | 120 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 121 | --sysconfdir=/etc \
|
---|
| 122 | --disable-emoji-dict &&
|
---|
[8b5769f] | 123 | rm -f tools/main.c &&
|
---|
[3ca1da7] | 124 | make</userinput></screen>
|
---|
[bb535118] | 125 |
|
---|
| 126 | <para>
|
---|
| 127 | To test the results, issue: <command>make -k check</command>.
|
---|
| 128 | Some tests may fail for unknown reasons.
|
---|
| 129 | </para>
|
---|
| 130 |
|
---|
| 131 | <para>
|
---|
| 132 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
| 135 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 136 |
|
---|
| 137 | </sect2>
|
---|
| 138 |
|
---|
| 139 | <sect2 role="commands">
|
---|
| 140 | <title>Command Explanations</title>
|
---|
| 141 |
|
---|
[92d69d1] | 142 | <para>
|
---|
[c4098e0] | 143 | <command>sed -ri ... data/ibus.schemas ...</command>: This sed fixes
|
---|
[92d69d1] | 144 | deprecated entries in the gsettings schema templates installed by this
|
---|
| 145 | package.
|
---|
| 146 | </para>
|
---|
| 147 |
|
---|
[40273c46] | 148 | <para>
|
---|
| 149 | <parameter>--disable-emoji-dict</parameter>: This switch disables the use
|
---|
| 150 | of emoticon dictionaries. Omit if you installed the optional EmojiOne
|
---|
| 151 | package.
|
---|
| 152 | </para>
|
---|
| 153 |
|
---|
[8b5769f] | 154 | <para>
|
---|
| 155 | <command>rm -f tools/main.c</command>: This command removes a generated
|
---|
| 156 | file that was not removed when packaging.
|
---|
| 157 | </para>
|
---|
| 158 |
|
---|
[bb535118] | 159 | <para>
|
---|
| 160 | <option>--disable-gtk2</option>: This switch disables building
|
---|
[30712eb] | 161 | the <application>GTK+ 2</application> immodule. Use it if
|
---|
[bb535118] | 162 | you have not installed <application>GTK+ 2</application>.
|
---|
| 163 | </para>
|
---|
| 164 |
|
---|
| 165 | <para>
|
---|
| 166 | <option>--enable-python-library</option>: This switch enables
|
---|
[30712eb] | 167 | building the <application>Python</application> support
|
---|
[bb535118] | 168 | library. Use it if have installed the optional dependencies.
|
---|
| 169 | </para>
|
---|
| 170 |
|
---|
| 171 | <para>
|
---|
| 172 | <option>--enable-wayland</option>: This switch enables building
|
---|
[30712eb] | 173 | the <application>Wayland</application> support programs.
|
---|
[bb535118] | 174 | Use it if you have installed the optional dependencies.
|
---|
| 175 | </para>
|
---|
| 176 |
|
---|
| 177 | <para>
|
---|
| 178 | <option>--with-python=python3</option>: This switch makes
|
---|
[30712eb] | 179 | the <command>configure</command> script look for
|
---|
[bb535118] | 180 | <application>Python 3</application>. Use it if you want
|
---|
| 181 | to build the <application>Python 3</application> support
|
---|
| 182 | library alongside the <application>Python 2</application>
|
---|
| 183 | one.
|
---|
| 184 | </para>
|
---|
| 185 |
|
---|
| 186 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 187 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 188 |
|
---|
| 189 | </sect2>
|
---|
| 190 |
|
---|
| 191 | <sect2 role="content">
|
---|
| 192 | <title>Contents</title>
|
---|
| 193 |
|
---|
| 194 | <segmentedlist>
|
---|
| 195 | <segtitle>Installed Programs</segtitle>
|
---|
| 196 | <segtitle>Installed Library</segtitle>
|
---|
| 197 | <segtitle>Installed Directories</segtitle>
|
---|
| 198 |
|
---|
| 199 | <seglistitem>
|
---|
| 200 | <seg>
|
---|
[a172df1] | 201 | ibus,
|
---|
| 202 | ibus-daemon, and
|
---|
| 203 | ibus-setup
|
---|
[bb535118] | 204 | </seg>
|
---|
| 205 | <seg>
|
---|
[a172df1] | 206 | libibus-1.0.so and
|
---|
| 207 | im-ibus.so (<application>GTK+ Immodule</application>)
|
---|
[bb535118] | 208 | </seg>
|
---|
| 209 | <seg>
|
---|
| 210 | /etc/dconf/db/ibus.d,
|
---|
| 211 | /usr/include/ibus-1.0,
|
---|
| 212 | /usr/share/gtk-doc/html/ibus, and
|
---|
| 213 | /usr/share/ibus
|
---|
| 214 | </seg>
|
---|
| 215 | </seglistitem>
|
---|
| 216 | </segmentedlist>
|
---|
| 217 |
|
---|
| 218 | <variablelist>
|
---|
| 219 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 220 | <?dbfo list-presentation="list"?>
|
---|
| 221 | <?dbhtml list-presentation="table"?>
|
---|
| 222 |
|
---|
| 223 | <varlistentry id="ibus-daemon">
|
---|
| 224 | <term><command>ibus-daemon</command></term>
|
---|
| 225 | <listitem>
|
---|
| 226 | <para>
|
---|
| 227 | is the Intelligent Input Bus Daemon.
|
---|
| 228 | </para>
|
---|
| 229 | <indexterm zone="ibus ibus-daemon">
|
---|
| 230 | <primary sortas="b-ibus-daemon">ibus-daemon</primary>
|
---|
| 231 | </indexterm>
|
---|
| 232 | </listitem>
|
---|
| 233 | </varlistentry>
|
---|
| 234 |
|
---|
| 235 | <varlistentry id="ibus-setup">
|
---|
| 236 | <term><command>ibus-setup</command></term>
|
---|
| 237 | <listitem>
|
---|
| 238 | <para>
|
---|
| 239 | is the <application>GTK+</application> program used to configure
|
---|
| 240 | the <command>ibus-daemon</command>.
|
---|
| 241 | </para>
|
---|
| 242 | <indexterm zone="ibus ibus-setup">
|
---|
| 243 | <primary sortas="b-ibus-setup">ibus-setup</primary>
|
---|
| 244 | </indexterm>
|
---|
| 245 | </listitem>
|
---|
| 246 | </varlistentry>
|
---|
| 247 |
|
---|
| 248 | <varlistentry id="libibus-1.0">
|
---|
| 249 | <term><filename class="libraryfile">libibus-1.0.so</filename></term>
|
---|
| 250 | <listitem>
|
---|
| 251 | <para>
|
---|
| 252 | contains the <application>IBus</application> API functions.
|
---|
| 253 | </para>
|
---|
| 254 | <indexterm zone="ibus libibus-1.0">
|
---|
| 255 | <primary sortas="c-libibus-1.0">libibus-1.0.so</primary>
|
---|
| 256 | </indexterm>
|
---|
| 257 | </listitem>
|
---|
| 258 | </varlistentry>
|
---|
| 259 |
|
---|
| 260 | </variablelist>
|
---|
| 261 |
|
---|
| 262 | </sect2>
|
---|
| 263 |
|
---|
| 264 | </sect1>
|
---|