#### Beyond Linux® From Scratch (systemd Edition) - Version 11.1

### Chapter 9. General Libraries

- Prev

  libxslt-1.1.35

- Next

  libwpe-1.12.0

- Up
- Home

# libwacom-2.1.0

## Introduction to libwacom

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

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

### Package Information

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

- Download MD5 sum: f726510196dfaec9c92d195bc6cc7f2b

- Download size: 104 KB

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

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

### libwacom Dependencies

#### Required

libgudev-237

#### Recommended

libxml2-2.9.13

#### Optional

Doxygen-1.9.3, git-2.35.1, librsvg-2.52.6, Valgrind-3.18.1 (optional for some tests), and pytest

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libwacom

## Installation of libwacom

Install libwacom by running the following commands:

    mkdir build &&
    cd    build &&

    meson --prefix=/usr --buildtype=release -Dtests=disabled .. &&
    ninja

To test the results, issue: ninja test. To run additional tests, install pytest and 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 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

Last updated on

- Prev

  libxslt-1.1.35

- Next

  libwpe-1.12.0

- Up
- Home