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

78.2. basu-0.2.1

sd-bus library extracted from systemd (no-systemd sd-bus provider)

0.2.1-1 · LGPL-2.1-or-later · 0.2 SBU · 761.2 KiB, 10 files · 41_system, 182 of 1047 · ports/core/base-libs/basu

Homepage: https://sr.ht/~emersion/basu/

basu is sd-bus, systemd’s D-Bus client library, cut out of the systemd tree so that it builds and runs without systemd. It installs the sd-bus headers under <basu/…>, such as <basu/sd-bus.h>, and programs link it as libbasu through basu.pc; in KDOS that is kdos-tools, the KDOS daemons (kdos-powerd, kdos-settingsd, kdos-sysupdated), three programs of src/desktop (the KRunner runner kdos-runner, the notifier kdos-notice and the firewall settings page kcm-kdos-firewall), fprintd, libei and cmus. KDOS has no systemd, so this is the sd-bus every one of them gets.

Depends on: meson, ninja, libcap.

Required by (10): cmus, fprintd, kcm-kdos-firewall, kdos-notice, kdos-powerd, kdos-runner, kdos-settingsd, kdos-sysupdated, kdos-tools, libei.

Sources: basu-0.2.1.tar.gz (233.6 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 basu'

build.sh:

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

Programs: basuctl.

Libraries: libbasu.so.

Directories: /usr/include/basu, /usr/share/licenses/basu.

meson setup runs getent passwd 65534 and id -u nobody and warns that the local nobody user has UID 99, not the 65534 the nobody-user option expects. The check only prints that warning; the library built is the same.