257.19. kded-6.31.0
KDE Frameworks: kded6, the daemon that hosts session modules
6.31.0-1 · LGPL-2.0-only AND LGPL-2.0-or-later · 0.5 SBU · 210.3 KiB, 12 files · 43_toolkits, 54 of 344 · ports/core/kf6/kded
Homepage: https://invent.kde.org/frameworks/kded
Why it is in KDOS. The comment above the 61 ports from karchive to kfilemetadata in script/phases/43_toolkits/packages.d/kf6.txt:
The libraries KDE applications are built on, without Plasma.
KDED is kded6, the session daemon that hosts KDE’s background modules: plugins in the kf6/kded namespace that a desktop or a library installs and that kded6 loads at login or the first time something on the session bus asks for them. kio’s trash and remote:/ notifiers run in it, as do the Plasma modules for the status notifier watcher, the display configuration and the keyboard layout. The daemon is D-Bus activatable as org.kde.kded6, and plasma-workspace starts it with the session.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kconfig, kcoreaddons, kcrash, kdbusaddons, kdoctools, kservice.
Required by (11): bluedevil, kde-inotify-survey, kded-kdos, kio, kio-zeroconf, plasma-desktop, plasma-thunderbolt, plasma-vault, plasma-welcome, plasma-workspace, print-manager.
Sources: kded-6.31.0.tar.xz (36.5 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install kded'
build.sh:
cmake -S . -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D KDE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
-D BUILD_TESTING=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
rm -rf "$PKG/usr/lib/systemd"
Programs: kded6.
Directories: /usr/lib/cmake/KF6KDED, /usr/share/licenses/kded.
The install puts a systemd user unit, plasma-kded6.service, under /usr/lib/systemd; build.sh removes the directory, since KDOS ships no systemd unit (see No systemd). The D-Bus service file it installs beside the unit starts /usr/bin/kded6 directly, so activation works without it.
kdoctools, optional upstream and in depends, builds the manual page of kded6. KF_SKIP_PO_PROCESSING is not passed: the port’s only translations are those of that manual page, which kdoctools_install() builds whatever the switch says, and kpkg’s language rule removes from the package (see Size and language policy).