# kio 6.27.0 — KDE Frameworks 6 (Capa 3, ADR 0011). EL framework de I/O: protocolos, workers, file dialogs, KRun. # Patrón KF6: dynamic, wrapper zig que filtra -Wl,--fatal-warnings, CMAKE_PREFIX_PATH=/usr, ECM + qttools + dbus. # # Deps del CMakeLists (recorrido subdir por subdir): # Qt6 REQUIRED: Widgets Network Concurrent Xml Test; Qt6GuiPrivate (Qt>=6.10); Qt6 DBus (USE_DBUS ON en Linux). # Qt6::GuiPrivate se linkea SIN condición en src/widgets y src/gui → sólo cabeceras privadas de Qt (no X11), OK. # KF6 REQUIRED (build completo, ni KIOCORE_ONLY ni KIOGUI_ONLY): Config CoreAddons I18n Service Solid Crash # WindowSystem Bookmarks ColorScheme Completion GuiAddons IconThemes ItemViews JobWidgets WidgetsAddons DBusAddons. # KF6 OPTIONAL sellados (se activan): Wallet (kpasswdserver). KF6KDED / KF6DocTools OPTIONAL, NO sellados → salteados. # Cierre transitivo (find_dependency de los .cmake anteriores): kcodecs, kconfigwidgets, sonnet, ktextwidgets, # kxmlgui, karchive, kglobalaccel, knotifications, qtsvg (kiconthemes lo re-exporta) → incluidos abajo. # Sistema: LibMount REQUIRED en Linux (KMountPoint) → util-linux (provee libmount + mount.pc). zlib vía qtbase. # libgcrypt/libgpg-error para el cierre de kwallet. # # ACL (libacl): find_package(ACL) TYPE RECOMMENDED (NO REQUIRED) → NO es blocker; ausente = HAVE_POSIX_ACL desactivado. # NO hay receta `acl`/`libacl` en el catálogo; NO se fuerza. Sin flag: RECOMMENDED no dispara el FATAL del feature_summary. # help worker (LibXslt + LibXml2 TYPE REQUIRED) está GATEADO por `if(KF6DocTools_FOUND)`; DocTools no sellado → subdir # no se compila → LibXslt/LibXml2 NO son blocker. # # WITH_X11=OFF — KIO tiene option(WITH_X11 ... ON). Con HAVE_X11=1, src/kioexec linkea Qt6::GuiPrivate e incluye # , y kpasswdserver/gui usan bloques #if HAVE_X11 sobre la plataforma xcb de Qt. qtbase aquí # se construyó sin soporte X11 nativo (xcb apagado en el gate Capa 0) ⇒ se apaga la integración X11. WITH_WAYLAND queda # ON (default): la integración wayland de KIO pasa por KF6::WindowSystem (no linkea wayland-client directo). mesa set presente. name = "kio" version = "6.27.0" license = "LGPL-2.1-or-later OR LGPL-3.0-or-later" [source] tarball = "https://download.kde.org/stable/frameworks/6.27/kio-6.27.0.tar.xz" sha256 = "fc201b02c277a35ce81414b1de7e6f851e46b0b5d43beb784936a4a6dc6167d0" [build] compiler = "zig-cc" target = "x86_64-linux-musl" link = "dynamic" flags = [] [build.phases] configure = ''' ZW="$PWD/.zwrap"; mkdir -p "$ZW" cat > "$ZW/cc" <<'W' #!/bin/sh a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done exec /opt/zig/zig cc -mcpu=baseline $a W cat > "$ZW/cxx" <<'W' #!/bin/sh a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done exec /opt/zig/zig c++ -mcpu=baseline $a W chmod +x "$ZW/cc" "$ZW/cxx" cmake -B build -G Ninja -Wno-dev \ -DCMAKE_C_COMPILER="$ZW/cc" -DCMAKE_CXX_COMPILER="$ZW/cxx" -DCMAKE_ASM_COMPILER="$ZW/cc" \ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_PREFIX_PATH=/usr \ -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF \ -DWITH_X11=OFF \ -DBUILD_TESTING=OFF -DBUILD_PYTHON_BINDINGS=OFF -DBUILD_DESIGNERPLUGIN=OFF ''' compile = "cmake --build build" install = "DESTDIR=/out cmake --install build" [deps] build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "mesa", "libdrm", "libxkbcommon", "wayland", "gettext-tiny", "qtdeclarative", "qtsvg", "util-linux", "libgcrypt", "libgpg-error", "kcoreaddons", "kcodecs", "kconfig", "ki18n", "kwidgetsaddons", "karchive", "solid", "kguiaddons", "kwindowsystem", "kdbusaddons", "kitemviews", "kcrash", "kcolorscheme", "kcompletion", "kconfigwidgets", "knotifications", "kjobwidgets", "kbookmarks", "sonnet", "ktextwidgets", "kiconthemes", "kglobalaccel", "kservice", "kxmlgui", "kwallet", "libX11", "xorgproto", "libXau", "libXdmcp", "libXext", "libXrender", "libXfixes", "libXi", "libxcb"]