Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

129.4. libgudev-238

GObject bindings for libudev (used by upower and NetworkManager)

238-1 · LGPL-2.1-or-later · 0.1 SBU · 108.7 KiB, 12 files · 41_system, 180 of 1047 · ports/core/gtk/libgudev

Homepage: https://gitlab.gnome.org/GNOME/libgudev

libgudev wraps libudev in GObject: a GLib program uses it to enumerate devices, read their udev properties and receive add, change and remove events on the GLib main loop. On KDOS libudev is eudev’s, so no systemd is involved. Its users are the system services and desktop libraries built on GLib, among them upower, networkmanager, modemmanager, udisks2 and the GStreamer plugin packages.

Depends on: meson, eudev, glib.

Required by (17): gimp, gst-plugins-bad, gst-plugins-base, gst-plugins-good, gvfs, iio-sensor-proxy, libfprint, libqmi, libwacom, modemmanager, networkmanager, rhythmbox, switcheroo-control, udisks2, upower, xdg-desktop-portal, xfburn.

Sources: libgudev-238.tar.xz (29.8 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libgudev'

build.sh:

meson setup build --buildtype=release \
	--prefix=/usr --sysconfdir=/etc --libdir=lib \
	-Dintrospection=disabled \
	-Dvapi=disabled \
	-Dtests=disabled
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

Libraries: libgudev-1.0.so.

Directories: /usr/include/gudev-1.0, /usr/share/licenses/libgudev.