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

### Chapter 25. Graphical Environment Libraries

- Prev

  libadwaita-1.9.0

- Next

  libhandy-1.8.3

- Up
- Home

# libei-1.5.0

## Introduction to libei

The libei package contains a set of libraries for handling emulated inputs. It is primarily aimed at the Wayland stack.

### 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

- Download (HTTP): https://gitlab.freedesktop.org/libinput/libei/-/archive/1.5.0/libei-1.5.0.tar.bz2

- Download MD5 sum: 3afe06351cfb6e47bd48f284b1213205

- Download size: 184 KB

- Estimated disk space required: 5.7 MB

- Estimated build time: less than 0.1 SBU

### libei Dependencies

#### Required

attrs-25.4.0

#### Optional

libevdev-1.13.6, libxkbcommon-1.13.1, libxml2-2.15.3, munit, and structlog

## Installation of libei

Install libei by running the following commands:

    mkdir build &&
    cd    build &&

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

This package does come with a test suite, but it requires an external dependency. If you have both munit and structlog installed, and you wish to run the test suite, run the following commands:

    meson configure -D tests=enabled &&
    ninja test

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 switch avoids a dependency on munit. Remove this switch if you have munit installed and wish to run the test suite.

## Contents

Installed Programs: None
Installed Libraries: libei.so, libeis.so, and liboeffis.so
Installed Directories: /usr/include/libei-1.0

### Short Descriptions

`libei.so` | provides a client side implementation for handling Emulated Input
`libeis.so` | provides a server side implementation for handling Emulated Input
`liboffis` | provides DBus communication services between libei and the XDG RemoteDesktop portal

- Prev

  libadwaita-1.9.0

- Next

  libhandy-1.8.3

- Up
- Home