# kauth 6.27.0 — KDE Frameworks 6 (Capa 2, ADR 0011). Ejecución privilegiada de acciones (KAuth::Action). # Campaña KDE: componente KF6::Auth que kwin exige (KF6 REQUIRED COMPONENTS Auth). Patrón KF6: dynamic, # wrapper zig que filtra -Wl,--fatal-warnings, CMAKE_PREFIX_PATH=/usr, ECM + qttools + dbus. # CMakeLists: Qt6 Gui + Qt6DBus + KF6CoreAddons REQUIRED. El backend polkit (PolkitQt6) es OPCIONAL → # sin él caía al backend "fake"/dummy (no bloquea el build, pero la autorización NO FUNCIONA). # ⚠ RESUELTO 2026-09-08: `polkit-qt-1` ya existe como receta, así que el backend REAL se compila. # Medido antes: el artefacto traía `libKF6AuthCore.so` y el helper, y NINGÚN plugin de backend — # ni siquiera el directorio `kf6/kauth/backend/`. Era el hueco de RUNTIME que reportó # `yupana frontera`: KDE sellaba 1037/1037 y Plasma no podía pedir una contraseña. No usa ki18n. name = "kauth" 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/kauth-6.27.0.tar.xz" sha256 = "741934765f0c9f1c535598203fbad3f1b97231cc683a218a7f39fab948c13eab" [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 \ -DBUILD_TESTING=OFF -DBUILD_PYTHON_BINDINGS=OFF ''' compile = "cmake --build build" install = "DESTDIR=/out cmake --install build" [deps] # `polkit-qt-1` trae el backend de verdad; `polkit`+`glib`+`libffi`/`pcre2`/`zlib` son SU clausura, # que hay que declarar acá porque las deps de takana NO son transitivas. build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "mesa", "libdrm", "libxkbcommon", "wayland", "kcoreaddons", "polkit-qt-1", "polkit", "glib", "libffi", "pcre2", "zlib", # `kwindowsystem` SÓLO hace falta con el backend polkit: sin él el CMake ni lo pide. Lo dijo el # propio configure al fallar («Could NOT find KF6WindowSystem»), no una suposición — el backend # necesita la ventana padre para anclar el diálogo de contraseña. # ⚠ Y con `kwindowsystem` entran las X11, aunque la distro sea Wayland-only: su # `KF6WindowSystemConfig.cmake` hace `find_dependency(X11)` porque se construyó CON soporte X11, # así que se lo impone a todo consumidor. Mismo conjunto que ya declara `breeze`, que también # lo consume. Lo dijo el configure al fallar: «Could NOT find X11». "kwindowsystem", "libX11", "xorgproto", "libXau", "libXdmcp", "libxcb"]