stubs: remove KWin fake cmake configs, enable KIdleTime Wayland, add kde-cli-tools

Three fixes from the stub audit:

1. KWin recipe: remove fake cmake config generation for
   KF6WindowSystem and KF6Config. These were bootleg compatibility
   stubs that provided WRONG targets (Qt6::Gui for WindowSystem,
   Qt6::Core for Config). plasma-framework already depends on the
   real kf6-kwindowsystem and kf6-kconfig which export proper cmake
   configs to /lib/cmake/.

2. KIdleTime recipe: enable WITH_WAYLAND=ON (was OFF). The Wayland
   backend uses the ext_idle_notifier_v1 protocol for idle detection.
   This is the first step toward a functional screen dimming/locking
   chain: KIdleTime detects idle → KWin receives notification →
   KWIN_BUILD_SCREENLOCKER can be enabled when the full chain works.

3. Config: re-enable kde-cli-tools. Recipe exists with all
   dependencies (kf6-kio, kf6-kwindowsystem, etc.). Previous
   'direct repo cook fails' resolved by KF6 stack maturity.
This commit is contained in:
2026-07-09 21:20:21 +03:00
parent cbe97f9f75
commit 15018fb50d
3 changed files with 2 additions and 13 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ qt6-sensors = {}
# KF6 Frameworks — explicit real-build surface in alphabetical order
kirigami = {}
kf6-kio = {}
# kde-cli-tools = {} # blocked: direct repo cook fails
kde-cli-tools = {}
kdecoration = {}
kf6-attica = {}
+1 -1
View File
@@ -42,7 +42,7 @@ cmake "${COOKBOOK_SOURCE}" \
-DBUILD_TESTING=OFF \
-DBUILD_QCH=OFF \
-DWITH_X11=OFF \
-DWITH_WAYLAND=OFF \
-DWITH_WAYLAND=ON \
-DQT_SKIP_AUTO_PLUGIN_INCLUSION=ON \
-Wno-dev
-11
View File
@@ -105,17 +105,6 @@ cmake "${COOKBOOK_SOURCE}" \
-Wno-dev 2>&1
cmake --build . -j${COOKBOOK_MAKE_JOBS} 2>&1
cmake --install . --prefix "${STAGE}" 2>&1
# Downstream cmake configs for KF6WindowSystem/KF6Config (needed by plasma-framework, plasma-workspace, plasma-desktop — not KWin itself)
mkdir -p "${STAGE}/lib/cmake/KF6WindowSystem" "${STAGE}/lib/cmake/KF6Config"
cat > "${STAGE}/lib/cmake/KF6WindowSystem/KF6WindowSystemConfig.cmake" << 'EOFCMAKE'
find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
set(KF6WindowSystem_LIBRARIES Qt6::Gui)
EOFCMAKE
cat > "${STAGE}/lib/cmake/KF6Config/KF6ConfigConfig.cmake" << 'EOFCMAKE'
find_package(Qt6 REQUIRED COMPONENTS Core)
set(KF6Config_LIBRARIES Qt6::Core)
EOFCMAKE
"""
[package]