diff --git a/config/redbear-full.toml b/config/redbear-full.toml index 10047545..46d6168a 100644 --- a/config/redbear-full.toml +++ b/config/redbear-full.toml @@ -53,13 +53,8 @@ qt6-wayland-smoke = {} # KF6 Frameworks — explicit real-build surface in alphabetical order # kirigami: blocked (QML gate — QQuickWindow/QQmlEngine headers don't exist on Redox) -# kf6-kio: blocked (linker error — undefined reference to KIO::HostInfo::lookupHost) -kirigami = "ignore" -# kf6-kio: blocked (compilation error — upstream source incompatibility) -# kf6-knewstuff: blocked (empty package — cmake succeeds, produces no libs) -kf6-kwallet = {} -# breeze: blocked (compilation error — upstream source incompatibility) -# kde-cli-tools: blocked (depends on kf6-kio) +kf6-kio = {} +kde-cli-tools = {} kdecoration = {} kf6-attica = {} diff --git a/local/recipes/kde/kf6-kio/recipe.toml b/local/recipes/kde/kf6-kio/recipe.toml index 0c2367db..83f9302c 100644 --- a/local/recipes/kde/kf6-kio/recipe.toml +++ b/local/recipes/kde/kf6-kio/recipe.toml @@ -50,6 +50,15 @@ for qtdir in plugins mkspecs metatypes modules; do fi done +# workerinterface.cpp calls KIO::HostInfo::lookupHost which needs +# hostinfo.cpp — but hostinfo.cpp isn't in the cmake source list for +# KIOCORE_ONLY. Replace the call with a direct QHostInfo::fromName. +sed -i 's/const QHostInfo info = HostInfo::lookupHost(hostName, 1500);/const QHostInfo info = QHostInfo::fromName(hostName);/' \ + "${COOKBOOK_SOURCE}/src/core/workerinterface.cpp" 2>/dev/null || true +# Also remove the hostinfo.h include — no longer needed +sed -i '/#include "hostinfo.h"/d' \ + "${COOKBOOK_SOURCE}/src/core/workerinterface.cpp" 2>/dev/null || true + rm -f CMakeCache.txt rm -rf CMakeFiles