From bf05bf1123a8ca6970f5bd94016ea90b4daf3fc3 Mon Sep 17 00:00:00 2001 From: vasilito Date: Wed, 5 Aug 2026 02:24:19 +0300 Subject: [PATCH] x11: promote libxkbfile; clear build dirs stranded by the wip move kcms/keyboard links X11::xkbfile (CMakeLists.txt:37) and cmake aborted with "Target kded_keyboard links to X11::xkbfile but the target was not found". libxkbfile was sitting in recipes/wip/x11; promoted, given its util-macros dependency, and wired into plasma-desktop and the config. Also clears 9 build directories stranded by the earlier `git mv` out of wip. Autotools bakes the absolute srcdir into its generated Makefiles, so a moved recipe keeps building against a path that no longer exists: No rule to make target '.../recipes/wip/x11/libxkbfile/source/src/cout.c', needed by 'cout.lo' The cook-side auto-invalidation added earlier only inspects CMakeCache.txt, so autotools recipes are not covered by it -- these were latent failures that would have surfaced one package at a time (libx11, libxcb, libxdmcp, libxft, libxrender, x11proto, x11proto-kb, xcb-proto, xtrans). Verified: cook libxkbfile - successful, libxkbfile.a staged. --- config/redbear-full.toml | 1 + local/recipes/kde/plasma-desktop/recipe.toml | 2 ++ recipes/{wip => }/x11/libxkbfile/recipe.toml | 4 +++- 3 files changed, 6 insertions(+), 1 deletion(-) rename recipes/{wip => }/x11/libxkbfile/recipe.toml (79%) diff --git a/config/redbear-full.toml b/config/redbear-full.toml index cb81e51923..7a145dcc65 100644 --- a/config/redbear-full.toml +++ b/config/redbear-full.toml @@ -291,6 +291,7 @@ libxfixes = {} libxi = {} libxrender = {} libxft = {} +libxkbfile = {} util-macros = {} xcb-util = {} xcb-util-image = {} diff --git a/local/recipes/kde/plasma-desktop/recipe.toml b/local/recipes/kde/plasma-desktop/recipe.toml index fc94706b7f..e1ce343caf 100644 --- a/local/recipes/kde/plasma-desktop/recipe.toml +++ b/local/recipes/kde/plasma-desktop/recipe.toml @@ -23,6 +23,8 @@ dependencies = [ # recipe's sysroot cmake reports X11 as missing even though the libraries # exist -- the same gap libxcb had. "libx11", + # kcms/keyboard links X11::xkbfile (CMakeLists.txt:37) + "libxkbfile", "libxext", "libxfixes", "libxi", diff --git a/recipes/wip/x11/libxkbfile/recipe.toml b/recipes/x11/libxkbfile/recipe.toml similarity index 79% rename from recipes/wip/x11/libxkbfile/recipe.toml rename to recipes/x11/libxkbfile/recipe.toml index 12babbf4ce..25228ddeb8 100644 --- a/recipes/wip/x11/libxkbfile/recipe.toml +++ b/recipes/x11/libxkbfile/recipe.toml @@ -10,7 +10,9 @@ autotools_recursive_regenerate """ [build] -dependencies =[ +dependencies = [ + # XORG_MACROS_VERSION() in configure.ac -- autoreconf fails without it. + "util-macros", "libpthread-stubs", "libx11", "libxau",