libgudev-238

Introduction to libgudev

The libgudev package contains GObject bindings for libudev.

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

Package Information

Required

GLib-2.86.2 (GObject Introspection required for GNOME)

Optional

"gtk-doc" and "umockdev" and (for testing)

Installation of libgudev

Prepare libgudev by running the following commands:

meson setup build --prefix=/usr --buildtype=release
ninja -C build
[Note]

Note

The testsuite requires umockdev or none of the tests run. To test the results, issue:

ninja -C build test

Now Install the package, as the root user:

ninja -C build install

Command Explanations

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

-D gtk_doc=true: Use this option if GTK-Doc is installed and you wish to build and install the API documentation.

Contents

Installed Program: None
Installed Libraries: libgudev-1.0.so
Installed Directories: /usr/include/gudev-1.0 and /usr/share/gtk-doc/html/gudev

Short Descriptions

libgudev-1.0.so

is a GObject-based wrapper library for libudev