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

### Chapter 9. General Libraries

- Prev

  libxslt-1.1.34

- Next

  libyaml-0.2.4

- Up
- Home

# libwacom-1.8

## 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-10.1 platform.

### Package Information

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

- Download MD5 sum: 979e39b480bb08f36e48f67746eb3ec5

- Download size: 504 KB

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

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

### libwacom Dependencies

#### Required

libgudev-234

#### Recommended

libxml2-2.9.10

#### Optional

Doxygen-1.9.1, git-2.30.1, librsvg-2.50.3, Valgrind-3.16.1 (optional for some tests), and pytest

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

## Installation of libwacom

Install libwacom by running the following commands:

    mkdir build &&
    cd    build &&

    meson --prefix=/usr -Dudev-dir=/lib/udev -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

`-Dudev-dir=/lib/udev`: This parameter sets the proper installation directory for udev rules.

`-Dtests=disabled`: This parameter disables some of the more advanced tests because they require pytest to work properly.

## Contents

Installed Programs: libwacom-list-local-devices
Installed Libraries: libwacom.so
Installed Directories: /usr/include/libwacom-1.0 and /usr/share/libwacom

### Short Descriptions

libwacom-list-local-devices | lists tablet devices that are connected to the system
`libwacom.so` | contains functions used for accessing Wacom information

Last updated on 2021-02-19 22:13:48 -0800

- Prev

  libxslt-1.1.34

- Next

  libyaml-0.2.4

- Up
- Home