libwacom-2.9.0

Introduction to libwacom

The libwacom package contains a library used to identify wacom tablets and their model-specific features.

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

libwacom Dependencies

Required

libgudev-238

Recommended

Optional

Doxygen-1.9.8, git-2.43.0, librsvg-2.57.0, Valgrind-3.22.0 (optional for some tests), and pytest-7.4.3 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 \
      -Dtests=disabled    &&
ninja

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

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.

-Dtests=disabled: This parameter disables some of the more advanced tests because they require pytest-7.4.3 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