libinput-1.30.1

#### Gaming Linux® From Scratch - Version 13.0

### Chapter 8. Basic X11 Software

- Prev

  libevdev-1.13.6

- Next

  Wayland

- Up
- Home

# libinput-1.30.1

## 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. Xorg and Wayland compositors make heavy use of this package.

- Download: https://gitlab.freedesktop.org/libinput/libinput/-/archive/1.30.1/libinput-1.30.1.tar.gz

### libinput Dependencies

Required
libevdev-1.13.6 and mtdev-1.1.7

## Installation of Libinput

Install libinput by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=/usr             \
                --buildtype=release       \
                -D debug-gui=false        \
                -D tests=false            \
                -D libwacom=false         \
                .. &&

    ninja

Now, as the `root` user:

    ninja install

If you have passed `-D documentation=true` to meson, you can install the generated documentation by running the following commands as the `root` user:

    install -vdm755 /usr/share/doc/libinput-1.30.1/html &&
    cp -rv Documentation/* /usr/share/doc/libinput-1.30.1/html

## Command Explanations

### Note

Inspect `meson_options.txt` or `meson.options` for a full list of options.

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

`-D debug-gui=false`: This switch disables creation of a visual debug helper for libinput. Remove if you want it, and you have GTK3 installed.

`-D libwacom=false`: Remove this option if you have libwacom installed, or if you are installing GNOME.

## Contents

Installed Programs: libinput
Installed Libraries: libinput
Installed Directories: /etc/libinput, /usr/libexec/libinput, /usr/share/libinput, and (optionally) /usr/share/doc/libinput-1.30.1

### Short Descriptions

libinput | is a set of tools to interface with the libinput library
`libinput` | contains API functions for handling input devices

- Prev

  libevdev-1.13.6

- Next

  Wayland

- Up
- Home