libwacom-2.19.1

#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-1303

### Chapter 9. General Libraries

- Prev

  libxslt-1.1.45

- Next

  libyaml-0.2.5

- Up
- Home

# libwacom-2.19.1

## Introduction to libwacom

The libwacom package contains a library used to identify graphics tablets from Wacom or various other vendors and their model-specific features.

### Note

This package is known to build and work properly using an LFS 13.1 platform.

### Package Information

- Download (HTTP): https://github.com/linuxwacom/libwacom/releases/download/libwacom-2.19.1/libwacom-2.19.1.tar.xz

- Download MD5 sum: 83baa1eb388d506b670d13a8a18ff224

- Download size: 184 KB

- Estimated disk space required: 17 MB (with tests)

- Estimated build time: less than 0.1 SBU (with tests)

### libwacom Dependencies

#### Required

libevdev-1.13.6 and libgudev-238

#### Recommended

libxml2-2.15.3

#### Optional

Doxygen-1.18.0, git-2.55.0, librsvg-2.62.3, Valgrind-3.27.1 (optional for some tests), and pytest-9.1.1 with python-libevdev and pyudev

## Installation of libwacom

Install libwacom by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup ..            \
          --prefix=/usr       \
          --buildtype=release \
          -D tests=disabled   &&
    ninja

To test the results, issue: ninja test. To run additional tests, install pytest-9.1.1, python-libevdev, and pyudev, then remove the "-D tests=disabled" option from the meson line above.

If upgrading from a previous version of libwacom, remove the old device database installation to prevent a potential duplicated match of devices in case some old database files are not overwritten:

    rm -rf /usr/share/libwacom

Now, as the `root` user:

    ninja install

## Command Explanations

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

`-D tests=disabled`: This parameter disables some of the more advanced tests because they require pytest-9.1.1 and other two Python modules beyond the scope of BLFS to work properly.

## Contents

Installed Programs: libwacom-list-devices, libwacom-list-local-devices, libwacom-show-stylus, and libwacom-update-db
Installed Libraries: libwacom.so
Installed Directories: /usr/include/libwacom-1.0 and /usr/share/libwacom

### Short Descriptions

libwacom-list-devices | lists all tablet devices that are supported by libwacom
libwacom-list-local-devices | lists tablet devices that are connected to the system
libwacom-show-stylus | lists tablet stylus IDs
libwacom-update-db | updates the system according to the current set of tablet data files
`libwacom.so` | contains functions used for accessing Wacom information

- Prev

  libxslt-1.1.45

- Next

  libyaml-0.2.5

- Up
- Home