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

233.3. udisks2-2.11.2

Disk management daemon and D-Bus API for toolkit applications

2.11.2-1 · GPL-2.0-or-later AND LGPL-2.0-or-later · 1.2 SBU · 16.1 MiB, 183 files · 43_toolkits, 61 of 344 · ports/core/disk/udisks2

Homepage: https://github.com/storaged-project/udisks

Why it is in KDOS. The comment above it in script/phases/43_toolkits/packages.d/disk.txt:

Removable media for the desktop: Solid, the Device Notifier and Dolphin mount through it, and gvfs gives the GTK applications the same devices.

Depends on: glib, gobject-introspection, glib-introspection, polkit, libgudev, eudev, util-linux, acl, libblockdev, libatasmart, lvm2, btrfs-progs, libstoragemgmt, libconfig, dbus, gettext, libxslt, docbook-xsl, docbook-xml.

Required by (11): calibre, dolphin, dolphin-plugins, gnome-disk-utility, gvfs, impression, isoimagewriter, k3b, plasma-disks, qmapshack, solid.

Sources: udisks2-2.11.2.tar.bz2 (1.9 MiB). Every step kpkg takes applies to this port.

Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.

Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install udisks2'

build.sh:

./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib \
	--libexecdir=/usr/lib --localstatedir=/var --disable-static \
	--enable-introspection=yes \
	--enable-daemon \
	--enable-man \
	--disable-gtk-doc \
	--disable-nls \
	--enable-acl \
	--enable-lvm2 \
	--enable-btrfs \
	--disable-iscsi \
	--enable-lsm \
	--enable-smart \
	--disable-fhs-media \
	--with-udevdir=/usr/lib/udev \
	--with-systemdsystemunitdir=no \
	--with-tmpfilesdir=no
make
make DESTDIR=$PKG install

rm -rf "$PKG/usr/lib/modules-load.d" "$PKG/usr/lib/tmpfiles.d"

Programs: udisksctl, umount.udisks2.

Libraries: libudisks2.so.

Directories: /etc/udisks2, /usr/include/udisks2, /usr/lib/udisks2, /usr/share/gtk-doc/html/udisks2, /usr/share/licenses/udisks2, /var/lib/udisks2.