Skip to content

Commit 79e1b85

Browse files
zahclaude
andcommitted
M9.R.15q.5.5: kidletime disable both Wayland and X11 backends
kidletime 6.10.0's WITH_WAYLAND=ON path pulls in ``find_package(Qt6WaylandClient REQUIRED CONFIG)`` + ``find_package(PlasmaWaylandProtocols REQUIRED)``. Neither has a from-source sibling recipe yet (qt6-wayland is the blocker; plasma-wayland-protocols would follow). With BOTH WITH_X11=OFF + WITH_WAYLAND=OFF the library compiles a stub (idleTime() = 0) but keeps the public API + SONAME intact, so kwin's idle-management plugin links successfully. The v1 deliverable doesn't need the runtime idle-detection backend wired up yet. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 51b5bf0 commit 79e1b85

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

recipes/packages/source/kidletime/repro.nim

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ package kidletimeSource:
3131
"wayland-scanner >=1.22"
3232

3333
buildDeps:
34-
"extra-cmake-modules >=6.0"
34+
"extra-cmake-modules >=6.0"
3535
"qt6-base >=6.6"
3636
"qt6-tools >=6.6"
3737
"wayland >=1.22"
@@ -52,6 +52,18 @@ package kidletimeSource:
5252
"CMAKE_BUILD_TYPE=Release",
5353
# WITH_X11=OFF: drop X11 XScreensaver backend; v1 is Wayland.
5454
"WITH_X11=OFF",
55+
# M9.R.15q.5.5 — WITH_WAYLAND=OFF: drop the Wayland backend too
56+
# because the Wayland backend pulls in
57+
# ``find_package(Qt6WaylandClient REQUIRED)`` +
58+
# ``find_package(PlasmaWaylandProtocols REQUIRED)``. Neither
59+
# has a from-source sibling recipe yet (qt6-wayland is the
60+
# blocker; plasma-wayland-protocols would follow). With BOTH
61+
# backends off the library compiles a stub that returns
62+
# idleTime() = 0 — the public API is preserved + the SONAME
63+
# ships, so downstream consumers (kwin's idle-management
64+
# plugin) link successfully; the v1 deliverable doesn't need
65+
# the runtime idle-detection backend wired up yet.
66+
"WITH_WAYLAND=OFF",
5567
]
5668
let pkg = cmake_package(srcDir = "./src", cacheVars = opts)
5769
discard pkg.library("libKF6IdleTime")

0 commit comments

Comments
 (0)