%general-entities; ]> $LastChangedBy: renodr $ $Date: 2015-09-14 17:42:53 -0500 (Mon, 14 Sep 2015) $ libinput-&libinput-version; libinput 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. &lfs81_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &libinput-md5sum; Download size: &libinput-size; Estimated disk space required: &libinput-buildsize; Estimated build time: &libinput-time; libinput Dependencies Required and Optional and (to run the tests), and (to build the documentation) (to build the GUI event viewer), libunwind (required for tests), and libwacom User Notes: Installation of libinput Install libinput by running the following commands: ./configure $XORG_CONFIG \ --disable-libwacom \ --disable-debug-gui \ --disable-tests \ --disable-documentation \ --with-udev-dir=/lib/udev && make If you want to run the tests, remove --disable-tests from the configure command above. The external library, libunwind, must be installed. To run the tests for this package, valgrind requires a version of the /lib/ld-2.23.so (or later) library with debugging symbols present. Normally in LFS these debugging symbols are stripped at the end of Chapter 6. To get this library, glibc must be rebuilt with the current glibc version using the same compiler that was used to build LFS. The ld-2.23.so can then be renamed to ld-2.23.so.dbg and copied to /lib. Then a symlink needs to be changed: ln -sfv ld-2.23.so.dbg /lib/ld-linux-x86-64.so.2 Adjust the above instruction as needed for a 32-bit system or for a different version of glibc Running the testsuite for this package can cause problems. It creates a number of dummy input devices on the currently running system that can lead to crashing a local X server or a desktop environment. If you understand the risks and have the optional and packages installed, the regression tests can be run as the root user with make check. Note that depending on the system configuration and hardware, some tests may fail. Now, as the root user: make install If and were present during the build, you can install the generated documentation by running the following commands as the root user: install -v -dm755 $XORG_PREFIX/share/doc/libinput-&libinput-version; && cp -rv doc/html/* $XORG_PREFIX/share/doc/libinput-&libinput-version; Command Explanations --disable-libwacom: Remove this option if you have the external library libwacom installed. --disable-debug-gui: This switch disables creation of a visual debug helper for libinput. Remove if you want it, and you have installed. --disable-tests: This switch disables compilation of tests. Remove if you want to run the tests, and you have the external library, libunwind, installed. --disable-documentation: This switch disables generation of the documentation. Remove if you want to generate it, and you have and installed. --with-udev-dir=/lib/udev: This switch specifies where UDev rules and hwdb files will be installed. Contents Installed Programs Installed Libraries Installed Directories libinput, libinput-debug-events, and libinput-list-devices libinput.so $XORG_PREFIX/libexec/libinput and $XORG_PREFIX/share/doc/libinput-&libinput-version; Short Descriptions libinput-debug-events is a debug helper for libinput. libinput-debug-events libinput-list-devices lists local devices as recognized by libinput. libinput-list-devices libinput.so contains API functions for handling input devices. libinput.so