Introduction to libxkbcommon
libxkbcommon is a keymap compiler and
support library which processes a reduced subset of keymaps as
defined by the XKB specification.
This package is known to build and work properly
using an LFS 12.4 platform.
Package Information
https://github.com/lfs-book/libxkbcommon/blob/lfs/action/README.md
in case the new release doesn't show up in the fork.
libxkbcommon Dependencies
Required
xkeyboard-config-2.46 (runtime)
Recommended
libxcb-1.17.0,
Wayland-1.24.0, and
wayland-protocols-1.45
Optional
"doxygen" (for generating the documentation) and
Xvfb
Xorg-Server-21.1.21 or
Xwayland-24.1.9)
Installation of libxkbcommon
Prepare libxkbcommon by running the following
commands:
meson setup build \
--prefix=/usr \
--buildtype=release \
-D enable-docs=falseninja -C build
To test the results, ensure Xvfb and
xkeyboard-config are available, then issue:
ninja -C build test
Now Install, as the root user:
ninja -C build install
Command Explanations
-D enable-docs=true: This switch enables
documentation generation. "doxygen" is
required.
mv -v /usr/share/doc/libxkbcommon{,-1.13.0}:
If you built the documentation, use this command to install
it in a versioned directory.
Contents
Installed Programs:
xkbcli
Installed Libraries:
libxkbcommon.so,
libxkbcommon-x11.so, and
libxkbregistry.so
Installed Directories:
/usr/include/xkbcommon,
/usr/libexec/xkbcommon, and
(optionally) /usr/share/doc/libxkbcommon-1.13.0
Short Descriptions
xkbcli |
provides a debugger and compiler for XKB keymaps
|
libxkbcommon.so
|
contains the libxkbcommon API functions
|
libxkbcommon-x11.so
|
contains the libxkbcommon X11 specific API
functions
|
libxkbregistry.so
|
contains a list of available XKB models, layouts, and variants for a
given ruleset
|