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

291.4. dolphin-plugins-26.08.2

Dolphin plugins — Git status overlays and actions, Makefile targets and ISO image mounting

26.08.2-1 · GPL-2.0-or-later AND BSD-3-Clause AND CC0-1.0 · 0.4 SBU · 610.4 KiB, 9 files · 44_apps, 131 of 422 · ports/core/files/dolphin-plugins

Homepage: https://invent.kde.org/sdk/dolphin-plugins

dolphin-plugins extends Dolphin. The Git plugin shows each file’s state as an overlay and puts commit, push, pull, checkout and log in the context menu; the Makefile action runs a target from the context menu of a Makefile; the ISO action mounts and unmounts a disc image, and an overlay marks an image that is mounted.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kconfig, kcoreaddons, ki18n, kio, ktextwidgets, kxmlgui, solid, dolphin, git, udisks2.

Required by (1): kde-gear-core.

Sources: dolphin-plugins-26.08.2.tar.xz (341.0 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install dolphin-plugins'

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 \
	-D BUILD_svn=OFF \
	-D BUILD_hg=OFF \
	-D BUILD_bazaar=OFF \
	-D BUILD_dropbox=OFF \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Directories: /usr/lib/qt6/plugins/dolphin/vcs, /usr/lib/qt6/plugins/kf6/overlayicon, /usr/share/licenses/dolphin-plugins.

The version-control plugins build against DolphinVcs, the plugin interface library dolphin installs, which the configure requires. The 44_apps phase holds only ports that nothing depends on, so this dependency moves dolphin, which reaches a toolkit, into 43_toolkits; dolphin-plugins itself, which nothing depends on, stays in 44_apps.

The Git plugin runs git, which is in depends for run time only. The ISO action asks udisks2 over D-Bus to set up a loop device (LoopSetup) and mount it; that runs without a password in an active elogind session under udisks2’s polkit defaults.

Each switch is a BUILD_<directory> option that ECM’s ecm_optional_add_subdirectory() creates; the subdirectories left at their default, on, are git, makefileactions, mountiso and mountedisooverlay.