glfs/general/genutils/ibus.xml
Bruce Dubbs 60ddbaf3c2 Remove ninja, libffi, and python3 as dependencies
for many packages as they are now a part of LFS.


git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19328 af4574ff-66df-0310-9fd7-8a98e5e911e0
2017-10-15 18:23:25 +00:00

264 lines
7.8 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY ibus-download-http "https://github.com/ibus/ibus/releases/download/&ibus-version;/ibus-&ibus-version;.tar.gz">
<!ENTITY ibus-download-ftp " ">
<!ENTITY ibus-md5sum "31ea7c1259c7285bd9d71f3000cbd95b">
<!ENTITY ibus-size "2.3 MB">
<!ENTITY ibus-buildsize "56 MB (with tests)">
<!ENTITY ibus-time "0.7 SBU (with tests)">
]>
<sect1 id="ibus" xreflabel="IBus-&ibus-version;">
<?dbhtml filename="ibus.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>IBus-&ibus-version;</title>
<indexterm zone="ibus">
<primary sortas="a-IBus">IBus</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to IBus</title>
<para>
<application>IBus</application> is an Intelligent Input Bus. It is a new
input framework for Linux OS. It provides a full featured and user
friendly input method user interface.
</para>
&lfs81_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&ibus-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&ibus-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &ibus-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &ibus-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &ibus-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &ibus-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">IBus Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="dconf"/>,
<xref linkend="iso-codes"/>, and
<xref linkend="vala"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="gobject-introspection"/>,
<xref linkend="gtk2"/>, and
<xref linkend="libnotify"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="dbus-python"/> and
<xref linkend="pygobject3"/> (both to build the Python support library),
<xref linkend="gtk-doc"/>,
<xref linkend="pyxdg"/> (for the <command>ibus-setup</command>), and
<xref linkend="libxkbcommon"/>,
<xref linkend="wayland"/> (both to build the Wayland support programs), and
<ulink url="https://www.emojione.com/">EmojiOne</ulink>
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/ibus"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of IBus</title>
<para>Fix an issue with deprecated schema entries:</para>
<screen><userinput>sed -i 's@/desktop/ibus@/org/freedesktop/ibus@g' \
data/ibus.schemas.in \
data/dconf/org.freedesktop.ibus.gschema.xml.in</userinput></screen>
<para>
Install <application>IBus</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-emoji-dict &amp;&amp;
rm -f tools/main.c &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make -k check</command>.
Some tests may fail for unknown reasons.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<command>sed -ri ... data/ibus.schemas ...</command>: This sed fixes
deprecated entries in the gsettings schema templates installed by this
package.
</para>
<para>
<parameter>--disable-emoji-dict</parameter>: This switch disables the use
of emoticon dictionaries. Omit if you installed the optional EmojiOne
package.
</para>
<para>
<command>rm -f tools/main.c</command>: This command removes a generated
file that was not removed when packaging.
</para>
<para>
<option>--disable-gtk2</option>: This switch disables building
the <application>GTK+ 2</application> immodule. Use it if
you have not installed <application>GTK+ 2</application>.
</para>
<para>
<option>--enable-python-library</option>: This switch enables
building the <application>Python</application> support
library. Use it if have installed the optional dependencies.
</para>
<para>
<option>--enable-wayland</option>: This switch enables building
the <application>Wayland</application> support programs.
Use it if you have installed the optional dependencies.
</para>
<para>
<option>--with-python=python3</option>: This switch makes
the <command>configure</command> script look for
<application>Python 3</application>. Use it if you want
to build the <application>Python 3</application> support
library alongside the <application>Python 2</application>
one.
</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/gtk-doc-rebuild.xml"/>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
ibus, ibus-daemon, and ibus-setup
</seg>
<seg>
libibus-1.0.so and im-ibus.so
(<application>GTK+ Immodule</application>)
</seg>
<seg>
/etc/dconf/db/ibus.d,
/usr/include/ibus-1.0,
/usr/lib/python2.7/site-packages/ibus,
/usr/share/gtk-doc/html/ibus, and
/usr/share/ibus
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="ibus-daemon">
<term><command>ibus-daemon</command></term>
<listitem>
<para>
is the Intelligent Input Bus Daemon.
</para>
<indexterm zone="ibus ibus-daemon">
<primary sortas="b-ibus-daemon">ibus-daemon</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="ibus-setup">
<term><command>ibus-setup</command></term>
<listitem>
<para>
is the <application>GTK+</application> program used to configure
the <command>ibus-daemon</command>.
</para>
<indexterm zone="ibus ibus-setup">
<primary sortas="b-ibus-setup">ibus-setup</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libibus-1.0">
<term><filename class="libraryfile">libibus-1.0.so</filename></term>
<listitem>
<para>
contains the <application>IBus</application> API functions.
</para>
<indexterm zone="ibus libibus-1.0">
<primary sortas="c-libibus-1.0">libibus-1.0.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>