ibus is an Intelligent Input Bus. It is a new input framework for the Linux OS. It provides a fully featured and user friendly input method user interface.
This package is known to build and work properly using an LFS-10.1 platform.
Download (HTTP): https://github.com/ibus/ibus/releases/download/1.5.24/ibus-1.5.24.tar.gz
Download MD5 sum: 48b91ca9b06a16b090b1794012b2bdcc
Download size: 3.4 MB
Estimated disk space required: 58 MB (with tests)
Estimated build time: 1.0 SBU (Using parallelism=4; with tests)
Download: https://www.unicode.org/Public/zipped/13.0.0/UCD.zip (Unicode Character Database)
DConf-0.40.0, ISO Codes-4.6.0, and Vala-0.52.0
gobject-introspection-1.68.0, GTK+-2.24.33, and libnotify-0.7.9
D-Bus Python-1.2.16 and PyGObject-3.40.1 (both to build the Python support library), GTK-Doc-1.33.2, PyXDG-0.27 (for the ibus-setup), and libxkbcommon-1.2.1, Wayland-1.19.0 (both to build the Wayland support programs), and EmojiOne
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/ibus
If the optional Unicode Character Database was downloaded, install
it now as the root
user:
mkdir -p /usr/share/unicode/ucd && unzip -uo ../UCD.zip -d /usr/share/unicode/ucd
Be sure to also remove the --disable-unicode-dict in the configure step below.
Fix an issue with deprecated schema entries:
sed -i 's@/desktop/ibus@/org/freedesktop/ibus@g' \ data/dconf/org.freedesktop.ibus.gschema.xml
Install ibus by running the following commands:
./configure --prefix=/usr \ --sysconfdir=/etc \ --disable-unicode-dict \ --disable-emoji-dict && rm -f tools/main.c && make
To test the results, issue: make -k check. The test named ibus-compose fails because it uses some locales not installed in LFS. The test named ibus-keypress is known to fail in Wayland based desktop environment.
Now, as the root
user:
make install && gzip -dfv /usr/share/man/man{{1,5}/ibus*.gz,5/00-upstream-settings.5.gz}
--disable-emoji-dict
: This
switch disables the use of emoticon dictionaries. Omit if you
installed the optional package.
--disable-unicode-dict
:
This switch disables the use of unicode dictionaries. Omit if you
installed the optional Unicode Character Database.
rm -f tools/main.c: This command removes a generated file that was not removed when packaging.
--disable-gtk2
: This switch disables
building the GTK+ 2 immodule. Use
it if you have not installed GTK+
2.
--enable-python-library
: This switch
enables building the Python
support library. Use it if you have installed the optional
dependencies.
--enable-wayland
: This switch enables
building the Wayland support
programs. Use it if you have installed the optional dependencies.
--with-python=python3
: This switch
makes the configure
script look for Python 3. Use it
if you want to build the Python 3
support library alongside the Python
2 one.
--enable-gtk-doc
: Use this parameter if
GTK-Doc is installed and you wish
to rebuild and install the API documentation.
gzip -dfv ...: Decompress installed man pages in accordance with other man pages.
Last updated on 2021-03-01 13:01:14 -0600