346.1. plasma-thunderbolt-6.8.2
Thunderbolt page of System Settings and the new-device notifier, over boltd
6.8.2-1 · (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND BSD-3-Clause AND CC0-1.0 · 1.3 SBU · 559.3 KiB, 10 files · 50_desktop, 13 of 92 · ports/core/hardware/plasma-thunderbolt
Homepage: https://invent.kde.org/plasma/plasma-thunderbolt
Why it is in KDOS. The comment above it in script/phases/50_desktop/packages.txt:
The Thunderbolt page and new-device notifier, over boltd.
plasma-thunderbolt is Plasma’s front end to bolt, the Thunderbolt device manager: the Thunderbolt page of System Settings (kcm_bolt), which authorises, trusts and forgets devices, and a module of the KDE daemon (kded_bolt) that raises a notification when an unauthorised device is plugged in and offers to authorise it. Both talk to boltd over org.freedesktop.bolt on the system bus through the port’s own libkbolt.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, kcoreaddons, kcmutils, ki18n, kdbusaddons, knotifications, kirigami, kded, bolt.
Required by (1): kde-plasma.
Sources: plasma-thunderbolt-6.8.2.tar.xz (85.2 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/50_desktop/phase.env && kpkg install plasma-thunderbolt'
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 \
-D KF_SKIP_PO_PROCESSING=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D KF_SKIP_PO_PROCESSING=ON— Skips building the interface translations, which the package-wide English-only rule would remove anyway (see Size and language policy).
Libraries: libkbolt.so.
Directories: /usr/share/licenses/plasma-thunderbolt.
bolt and kded are in depends for run time. boltd is started by the system bus on the first call, through the Exec=/usr/libexec/boltd line of its service file; bolt’s boot script makes that call at start-up on a machine with a Thunderbolt controller, and bolt’s udev rule makes it when a controller appears later.
Enrolling, authorising and managing a device always asks for an administrator’s password, even for a member of wheel at the machine: KDOS’s /etc/polkit-1/rules.d/50-kdos.rules answers the three bolt actions before bolt’s own rule, which would grant them to wheel without one (see What 50-kdos.rules changes). The kded module is a plugin that kded6 loads at login; without it nothing announces a new device.
FindBolt.cmake looks for boltd under /usr/lib/bolt and on the program search path, not in /usr/libexec, so the configure reports bolt as missing even with it installed. The check is a run-time note only and changes nothing in the build.