libinput-0.10.0

Introduction to libinput

libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices.

This package is known to build and work properly using an LFS-7.7 systemd platform.

Package Information

libinput Dependencies

Required

libevdev-1.3.2 and mtdev-1.1.5

Optional

Check-0.9.14 and Valgrind-3.10.1 (to build the tests), Doxygen-1.8.9.1 and Graphviz-2.38.0 (to build the documentation) and GTK+-3.14.8 (to build the GUI event viewer)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libinput

Installation of libinput

Install libinput by running the following commands:

./configure --prefix=/usr --disable-static &&
make

If you have the optional Check-0.9.14 and Valgrind-3.10.1 packages installed, the regression tests can be run as the root user with make -C test check-TESTS. Be warned though - the test suite will generate a lot of keyboard/mouse input events, so if you are using a desktop it may issue unwanted clicks or keyboard input in the application that mouse and keyboard are currently focused on. It also generates a lot of kernel input events which may crash some programs that listen for input events due to the large number of events appearing at once.

Now, as the root user:

make install

If Doxygen-1.8.9.1 and Graphviz-2.38.0 were present during the build, you can install the generated documentation by running the following commands as the root user:

install -v -dm755 /usr/share/doc/libinput-0.10.0 &&
cp -rv doc/html/* /usr/share/doc/libinput-0.10.0

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

Contents

Installed Programs: None
Installed Libraries: libinput.so
Installed Directories: /usr/share/doc/libinput-0.10.0

Short Descriptions

libinput.so

contains API functions for handling input devices.

Last updated on 2014-10-26 16:35:43 +0100