kwin-x11
Build times (auto-updated)
- x86_64: 16m55s (2026-11-28 08:05 UTC, MAKEFLAGS=-j6)
Category: maintained (fresh AUR submission, not yet pushed). Flagged by
https://buildmaster.archlinux32.org/checker/summary.html's consistency
checker as a “missing state file” candidate – Plasma 6.8 dropped the X11
session entirely; this package was never rebuilt past 6.7.5-3 in official
Arch. Not on AUR (resultcount: 0).
Setup (2026-11-16)
Cloned via pkgctl repo clone --protocol=https kwin-x11 (full git history
preserved), per the documented procedure in memory/TOOLING_NOTES.md.
git branch -m main master, remote repointed to
ssh://aur@aur.archlinux.org/kwin-x11. Not pushed – user’s step.
Two upstream # Maintainer: lines (Felix Yan, Antonio Rojas) collapsed into
one # Contributor: each, # Maintainer: set to the user. pkgrel 3 -> 4.
x86_64-only, 32-bit explicitly skipped
See [[kgamma]] for the full reasoning – same wave (kgamma, wacomtablet,
colord-kde), same “Qt6/KF6/Plasma6 doesn’t exist for i686/pentium4 anywhere
in this project” scope finding. User chose x86_64-only adoption, skipping
32-bit toolchain bootstrap entirely. arch=(x86_64) left as-is.
Heaviest of the 4 – large depends=() list (aurorae, breeze,
plasma-activities, kglobalaccel, kscreenlocker, kdecoration, mesa, wayland,
etc.), all confirmed resolvable on x86_64 via extra before building.
Build FAILS – genuine upstream breakage, not a packaging fix (2026-11-16)
cmake --build fails at 56%:
src/globalshortcuts.cpp:20:10: fatal error: kglobalaccel_interface.h: No
such file or directory. Root cause chased down via the extracted source
tree (src/CMakeLists.txt, src/plugins/CMakeLists.txt):
KWIN_BUILD_GLOBALSHORTCUTS(on by default) triggersfind_package(KGlobalAccelD REQUIRED)at the top-levelCMakeLists.txt. This is a separate Arch package,kglobalacceld(extra, 6.8.3-1,plasmagroup) – distinct from the normalkglobalaccel(extra, 6.32.0-1,kf6group) that’s already independs=().kglobalacceldisn’t in this PKGBUILD’sdepends/makedependsat all, yetfind_packagestill succeeded (something else in the build chroot pulled it in transitively) – so the missing-dependency theory alone doesn’t explain the failure.- Checked
kglobalacceld’s actual installed files (pacman -Fl kglobalacceld): it shipskglobalacceld.h,kglobalacceld_export.h,shortcutkeystate.h– nokglobalaccel_interface.hanywhere. Confirmed that header isn’t shipped bykglobalacceleither (only the publicKGlobalAccel/KGlobalShortcutInfo/kglobalaccel.hheaders + the raw D-Bus XML under/usr/share/dbus-1/interfaces/). - Searched
src/CMakeLists.txtfor aqt_add_dbus_interface(...)call that would generatekglobalaccel_interface.hfrom that XML at build time (the pattern this same file uses forkscreenlocker’s andkappmenu’s D-Bus interfaces, e.g. lines 338-345) – there is none for KGlobalAccel. The generation step this header needs simply isn’t wired into kwin-x11’s own build. git logon the AUR-bound clone shows6.7.5-3(“Qt 6.12.0 rebuild”) was the last commit before the package was dropped – no later fix commit exists upstream either. Most likely explanation: this generation step used to come from somewhere in the sharedkwin-source-tree build that both the Wayland (kwin) and X11 (kwin-x11) split packages used, and something aboutkglobalaccel/kglobalacceld’s own CMake exports changed since 6.7.5-3 was last built, silently breaking this split-out tarball’s build – consistent with it never getting fixed because nobody was watching it (X11 session already gone, nothing rebuilds this on a schedule).
Not pursued further: fixing this needs a real source-level CMake
patch (wiring up the missing D-Bus interface generation, matching
whatever kwin’s own still-maintained CMakeLists.txt does today) –
out of scope for a routine packaging-only adoption. Flagging back to the
user rather than guessing at a patch. maintained/kwin-x11 exists with
the git-history/remote/Maintainer-line setup done, but has never
successfully built – don’t attempt repo_release.sh on it again without
either a real upstream-sourced fix or an explicit decision to drop it.
Pushed to AUR (confirmed 2026-11-16)
RPC info now returns resultcount: 1, version 6.7.5-4, maintainer
andreas_baumann – superseding the “Not pushed – user’s step” note
above; must have been pushed shortly after that note was written.
AUR comment (2026-11-16, unanswered)
User guiodic commented: “Build fails. You should use this instead:
https://github.com/guiodic/kwin-x11” – confirms the build failure we
already found independently (kglobalaccel_interface.h missing). Not
yet replied to on AUR.
Real fix found in guiodic’s fork, backported as a local patch (2026-11-16)
guiodic’s fork (github.com/guiodic/kwin-x11, itself a GitHub mirror of
the pre-split kwin monorepo, hence it still carries wayland_server.cpp
etc.) has a branch plasma-6.8-globalshortcuts (5 commits, 2026-10-20)
that does the actual source-level fix:
51081647d9Port global shortcuts to KGlobalAccelD API in Plasma 6.8 – replaces thekglobalaccel_interface.h/KGlobalAccelInterfaceD-Bus-proxy calls insrc/globalshortcuts.cppwith directm_kglobalAccel->keyEvent()/pointerPressed()/axisTriggered()calls againstKGlobalAccelDitself.fd25b50dccdrops the now-deadKGlobalAccelInterfaceforward-decl insrc/globalshortcuts.h.280fcb2294+eca8d24138:src/wayland_server.cpp/.h– KSldApp lost itsAcquiringLockstate (now justUnlocked/Locked) and theLockScreenPresentationWatcherhelper became obsolete; both removed.0bca046653: drops the deadkglobalaccelplugin subdirectory fromsrc/plugins/CMakeLists.txt(it built against the old interface).
Verified against this box’s actual /var/cache/pacman/pkg/ copies of
kglobalacceld-6.8.3-1 and kscreenlocker-6.8.3-1 (extracted
read-only with bsdtar, never installed on the host – see
[[feedback_no_host_installs]]) – KGlobalAccelD::keyEvent,
::pointerPressed, ::axisTriggered and ShortcutKeyState match the
patch exactly, and KSldApp::LockState really is just
Unlocked/Locked now. All 5 commits apply cleanly (patch -Np1
--dry-run, no fuzz) against the vanilla kwin-x11-6.7.5.tar.xz
tarball this PKGBUILD already downloads.
Combined into one local patch file (per [[feedback_patch_files_not_inline]]):
kwin-x11-plasma6.8-globalshortcuts.patch, added to source=() +
sha256sums, applied via a new prepare() with patch -Np1.
pkgrel 4 -> 5 (packaging-only fix, see
[[feedback_pkgrel_vs_pkgver]]). .SRCINFO regenerated. Not yet test-built
or published – next step.
Built and published, 6.7.5-5 (2026-11-16, after a power outage)
First attempt at this build (pid 2316808, started ~19:23 UTC) died mid-build
when the box lost power – kwin-x11-x86_64-live-build.log cuts off abruptly
at 68% (src/wayland/externalbrightness_v1.cpp.o), and left a stale
.building.lock in /data/INSTALL/kwin-x11 (holder pid no longer running,
confirmed via ps). Per [[feedback_check_running_before_relaunch]], verified
nothing was actually running before clearing the lock with rm -rf and
relaunching – repo_build_staged.sh deliberately never auto-expires this
lock, exactly for this scenario.
Rebuilt clean from scratch, the kwin-x11-plasma6.8-globalshortcuts.patch
fix applied without issue – confirms the patch from the previous session’s
investigation was correct. repo_release.sh needs the pkgdir path
(../maintained/kwin-x11), not a bare pkgname – first invocation with just
kwin-x11 failed immediately (cd: .../scripts/kwin-x11 - No such file or
directory) before any lock/build was touched.
namcap flagged a missing hicolor-icon-theme dependency (E) and a few
“maybe not needed” (W) on aurorae/breeze/kdeclarative – not addressed this
round, left as a possible future packaging cleanup.
Signed and published successfully: kwin-x11-6.7.5-5-x86_64.pkg.tar.zst +
kwin-x11-debug-... both confirmed present on the remote
(${REPOSITORY_REMOTE_PATH}/os/x86_64/) via direct repo_ssh listing, per
[[feedback_verify_publish_full_log]] – the “Package matching … not found”
lines during repo_publish.sh are expected/harmless (first-time add of a
package not yet in the remote db), not an error.
2026-11-28: 6.7.5-5 -> 6.7.6-1, the plasma6.8 patch still applies unchanged
Plasma 6.7.6 ships a kwin-x11-6.7.6.tar.xz – the 6.7 branch is still
getting point releases even though 6.8 removed the X11 session this package
exists for. Straight pkgver bump, pkgrel 5 -> 1.
The whole question here was the local patch, and the answer is “no work
needed”. kwin-x11-plasma6.8-globalshortcuts.patch (the backport of
guiodic’s plasma-6.8-globalshortcuts branch, see the 2026-11-16 entry
above) applies to 6.7.6 with zero fuzz and zero offset on all five
files – src/globalshortcuts.cpp, src/globalshortcuts.h,
src/wayland_server.cpp, src/wayland_server.h,
src/plugins/CMakeLists.txt – checked with patch -Np1 --dry-run against
the fresh tarball before bumping anything, then confirmed again in the
real build log. So 6.7.6 did not pick up the upstream fix; this package
still carries it locally, and the same check is the first thing to run on
the next 6.7.x bump. Patch file untouched, its sha256 unchanged, only the
tarball’s sha256 moved.
Surfaced by check_repology_feed.sh, not STATES.txt – .nvchecker.toml
here is source = "manual". See [[kgamma]]’s 2026-11-28 entry.
Built in 17m, not the 43m this file previously recorded – same host,
same MAKEFLAGS=-j6, built back-to-back after kgamma and wacomtablet in one
chain. The 2026-11-16 number was from a cold start right after a power
outage, so treat 17-45m as the real range rather than quoting 43m as the ETA.
namcap output identical to 6.7.5-5’s: the hicolor-icon-theme E, the
“uninstalled QML module” W’s (those modules are kwin-x11’s own, namcap just
can’t see them from outside the package), an unused libxcb-shm W and the
aurorae/breeze/kdeclarative “may not be needed” W’s. Still not addressed –
unchanged known noise, not a regression from this bump.