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

258.1. plasma-wayland-protocols-1.23.0

KDE Plasma Wayland protocol definitions

1.23.0-1 · LGPL-2.1-or-later AND MIT-CMU AND MIT AND BSD-3-Clause · 0.1 SBU · 290.4 KiB, 40 files · 43_toolkits, 28 of 344 · ports/core/kde/plasma-wayland-protocols

Homepage: https://invent.kde.org/libraries/plasma-wayland-protocols

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

The protocol XML kwayland, kwindowsystem and fcitx5 generate their clients from. Nothing is compiled, but ECM asks Qt's qtpaths for its install paths.

Plasma Wayland Protocols is the set of protocol descriptions, in Wayland’s XML, that KWin and the Plasma programs speak beside the standard ones: the shell’s panels and window management, output devices and their management, screen casting, blur, contrast, slide, the decoration palette, DPMS, fake input, the lock-screen overlay and others. It installs only the XML and a CMake package that points at it; every consumer runs wayland-scanner or Qt’s generator on the files itself.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase.

Required by (18): fcitx5, kclock, kguiaddons, kidletime, krdp, krfb, kwayland, kwin, kwindowsystem, libkscreen, libplasma, plasma-integration, plasma-workspace, powerdevil, selenium-webdriver-at-spi, spectacle, xdg-desktop-portal-kde, yakuake.

Sources: plasma-wayland-protocols-1.23.0.tar.xz (48.9 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 plasma-wayland-protocols'

build.sh:

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D BUILD_TESTING=OFF \
	-Wno-dev
DESTDIR=$PKG cmake --install build

Directories: /usr/share/cmake/PlasmaWaylandProtocols, /usr/share/licenses/plasma-wayland-protocols, /usr/share/plasma-wayland-protocols.

It has its own version and its own download directory, stable/plasma-wayland-protocols/, and is not part of the Plasma release set; KWin 6.8.2 requires 1.23.0. BUILD_TESTING is on by default here, and its tests would make the configure require wayland-scanner and the Wayland client library, so build.sh turns it off. There is nothing to compile: cmake --install copies the files straight from the configured tree. qt6-qtbase is in depends all the same, because ECM’s KDEInstallDirs asks Qt’s qtpaths for its prefix and the configure stops without it.