kde/Plasma: recetas layer-shell-qt + kscreenlocker + plasma5support (hacia plasmashell)
Delta semántico
Ninguna definición cambió: el cambio es de texto, documentación o datos.
3 archivos · +198 −0
diff --git a/recipes/incoming-kde/kscreenlocker.toml b/recipes/incoming-kde/kscreenlocker.toml
new file mode 100644
index 00000000..54054aa0
--- /dev/null
+++ b/recipes/incoming-kde/kscreenlocker.toml
@@ -0,0 +1,77 @@
+# kscreenlocker 6.7.2 — bloqueo/desbloqueo de pantalla de Plasma (greeter + kcheckpass, autenticación PAM).
+# Lo requiere plasma-workspace (find_package(KScreenLocker REQUIRED) dentro de WITH_X11) y provee el
+# ScreenSaverDBusInterfaceConfig.cmake que plasma-workspace también exige. Campaña KDE (ADR 0011), Capa Plasma.
+# Patrón KF6 (dynamic, wrapper zig que filtra -Wl,--fatal-warnings, CMAKE_PREFIX_PATH=/usr) + Ninja.
+#
+# ===================== ESTADO: BLOQUEADORES DUROS =====================
+# find_package REQUIRED del CMakeLists (raíz) NO cubiertos por el catálogo:
+# 1. KF6Screen (find_package(KF6Screen REQUIRED)) → falta receta **libkscreen** (KDE Plasma 6.7.2).
+# BLOQUEADOR DURO, sin flag. Tarball: https://download.kde.org/stable/plasma/6.7.2/libkscreen-6.7.2.tar.xz
+# sha256 408dc2753001a689cadfc77bdcc4a968baa385cae8dd8abce6c3ce422284d078
+# 2. PAM (find_package(PAM REQUIRED), desbloqueo/kcheckpass) → hay receta `recipes/linux-pam.toml`
+# (Linux-PAM 1.6.1, gcc) pero NO está sellada. ACCIÓN: sellarla y promoverla; luego provee libpam.
+# No hay flag para desactivar PAM (es el mecanismo de auth del locker).
+# Cubiertos por el catálogo: PlasmaQuick (lo provee libplasma, ya sellado) · LayerShellQt (receta nueva
+# de esta tanda) · Qt6 DBus/Widgets/Quick · KF6 Crash/KCMUtils/KIO/GlobalAccel/I18n/IdleTime/Notifications/
+# Solid/WindowSystem/XmlGui/Svg (todos sellados) · X11 + XCB (XCB/KEYSYMS/UTIL/XTEST; XTEST=xcb-xtest de
+# libxcb) → SET X11 · Wayland + WaylandScanner (wayland).
+# loginctl/ConsoleKit → RUNTIME (auto-OFF, no bloquea el build).
+# ======================================================================
+name = "kscreenlocker"
+version = "6.7.2"
+
+[source]
+tarball = "https://download.kde.org/stable/plasma/6.7.2/kscreenlocker-6.7.2.tar.xz"
+sha256 = "77f02418b61a62727cb43c03c7ed7772c67b1c2cbc3691e4f36726a4720a1cba"
+
+[build]
+compiler = "zig-cc"
+target = "x86_64-linux-musl"
+link = "dynamic"
+flags = []
+
+[build.phases]
+configure = '''
+# rm -rf po preventivo (gettext-tiny msgfmt crashea con .po grandes; ver kwin). Locker sin traducciones (inglés).
+rm -rf po
+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"
+PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig \
+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]
+build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "qtdeclarative", "qtsvg",
+ "dbus", "extra-cmake-modules", "qttools", "gettext-tiny",
+ "mesa", "libdrm", "libxkbcommon", "wayland", "wayland-protocols",
+ # nuevos de esta tanda / no sellados (bloqueadores):
+ "layer-shell-qt", "libkscreen", "linux-pam",
+ # KF6 REQUIRED COMPONENTS + PlasmaQuick (libplasma):
+ "kcrash", "kcmutils", "kio", "kglobalaccel", "ki18n", "kidletime", "knotifications", "solid",
+ "kwindowsystem", "kxmlgui", "ksvg", "libplasma", "kdeclarative", "kpackage",
+ # cierre transitivo KF6 (find_dependency de kcmutils/kio/kxmlgui/libplasma Config.cmake):
+ "kcoreaddons", "kconfig", "kconfigwidgets", "kcodecs", "kcolorscheme", "kcompletion",
+ "kwidgetsaddons", "kitemviews", "kitemmodels", "karchive", "sonnet", "kjobwidgets",
+ "kbookmarks", "kparts", "kguiaddons", "kiconthemes", "kservice", "kdbusaddons", "kdnssd",
+ "kwallet", "attica", "kglobalacceld", "knewstuff", "plasma-activities",
+ "libgcrypt", "libgpg-error", "openssl", "util-linux", "zlib", "zstd",
+ # SET X11 completo (find_package(X11 REQUIRED) + XCB XCB/KEYSYMS/UTIL/XTEST):
+ "libX11", "xorgproto", "libXau", "libXdmcp", "libXext", "libXrender", "libXfixes", "libXi",
+ "libxcb", "xcb-util", "xcb-util-cursor", "xcb-util-keysyms", "xcb-util-wm",
+ "xcb-util-image", "xcb-util-renderutil"]
diff --git a/recipes/incoming-kde/layer-shell-qt.toml b/recipes/incoming-kde/layer-shell-qt.toml
new file mode 100644
index 00000000..2e8eafef
--- /dev/null
+++ b/recipes/incoming-kde/layer-shell-qt.toml
@@ -0,0 +1,50 @@
+# layer-shell-qt 6.7.2 — integración wlr-layer-shell para Qt/QML. plasmashell la usa para dibujar
+# paneles/fondos como capas del compositor Wayland. Campaña KDE (ADR 0011), Capa Plasma (hacia plasmashell).
+# Patrón KF6 (dynamic, wrapper zig que filtra -Wl,--fatal-warnings, CMAKE_PREFIX_PATH=/usr) + Ninja.
+#
+# find_package REQUIRED del CMakeLists (raíz + src/, src/declarative/): TODOS cubiertos por el catálogo:
+# ECM · Qt6 WaylandClient (qtwayland) + Qml (qtdeclarative) · Qt6WaylandClientPrivate (qtwayland, Qt>=6.10)
+# WaylandScanner + Wayland Client/Server (wayland) · WaylandProtocols (wayland-protocols) · xkbcommon (libxkbcommon)
+# No usa ki18n (sin gettext). Sin bloqueadores.
+name = "layer-shell-qt"
+version = "6.7.2"
+
+[source]
+tarball = "https://download.kde.org/stable/plasma/6.7.2/layer-shell-qt-6.7.2.tar.xz"
+sha256 = "392cd82742f109452f874d14f5d391a823c7b021bdc2446c0f474b3d1e77b129"
+
+[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"
+PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig \
+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]
+build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "qtdeclarative", "qtwayland",
+ "dbus", "extra-cmake-modules", "qttools",
+ "wayland", "wayland-protocols", "libxkbcommon",
+ "mesa", "libdrm"]
diff --git a/recipes/incoming-kde/plasma5support.toml b/recipes/incoming-kde/plasma5support.toml
new file mode 100644
index 00000000..05ec16aa
--- /dev/null
+++ b/recipes/incoming-kde/plasma5support.toml
@@ -0,0 +1,71 @@
+# plasma5support 6.7.2 — biblioteca de compatibilidad/runtime (dataengines estilo Plasma 5, Plasma5Support::*).
+# La consumen applets/plasmoids portados desde Plasma 5. Campaña KDE (ADR 0011), Capa Plasma.
+# Patrón KF6 (dynamic, wrapper zig que filtra -Wl,--fatal-warnings, CMAKE_PREFIX_PATH=/usr) + Ninja.
+#
+# ===================== ESTADO: BLOQUEADOR DURO =====================
+# find_package REQUIRED del CMakeLists (KF6 REQUIRED COMPONENTS ...):
+# - KF6UnitConversion (COMPONENT UnitConversion, dataengine Weather) → falta receta **kunitconversion**
+# (KDE Frameworks 6.27.0). BLOQUEADOR DURO: es COMPONENT de un find_package(KF6 REQUIRED), sin flag
+# para desactivar. Tarball: https://download.kde.org/stable/frameworks/6.27/kunitconversion-6.27.0.tar.xz
+# sha256 404e064114c95eca0ef759b96ca4e0ba5f9b8bc563138574358270963f3f5554
+# Resto de KF6 REQUIRED COMPONENTS ya sellados: Config CoreAddons GuiAddons I18n Notifications Solid Service
+# IdleTime KIO Holidays. Qt6 REQUIRED: Core Gui Quick Sql Qml Widgets (todos qtbase/qtdeclarative).
+# WITH_X11=ON (default) → find_package(X11 REQUIRED) para el dataengine mouse → SET X11.
+# Opcionales auto-OFF: KSysGuard (devicenotifications), KF6NetworkManagerQt (geolocation), PlasmaActivities,
+# libgps (geolocation gps). PlasmaActivities lo incluyo igual (ya sellado).
+# ===================================================================
+name = "plasma5support"
+version = "6.7.2"
+
+[source]
+tarball = "https://download.kde.org/stable/plasma/6.7.2/plasma5support-6.7.2.tar.xz"
+sha256 = "029173f7bdc6c4b6b88eebf5ceb417f42ffd405f8a31115c29df1af1ee728bad"
+
+[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"
+PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig \
+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 \
+ -DWITH_X11=ON
+'''
+compile = "cmake --build build"
+install = "DESTDIR=/out cmake --install build"
+
+[deps]
+build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "qtdeclarative", "qtsvg",
+ "dbus", "extra-cmake-modules", "qttools", "gettext-tiny",
+ "mesa", "libdrm", "libxkbcommon", "wayland",
+ # KF6 REQUIRED COMPONENTS (falta kunitconversion → bloqueador):
+ "kconfig", "kcoreaddons", "kguiaddons", "ki18n", "knotifications", "solid", "kservice",
+ "kidletime", "kio", "kholidays", "kunitconversion",
+ "libplasma", "plasma-activities",
+ # cierre transitivo KF6 (find_dependency de kio/libplasma/kservice/kholidays Config.cmake):
+ "kcodecs", "kcolorscheme", "kconfigwidgets", "kcompletion", "kwidgetsaddons", "kitemviews",
+ "kitemmodels", "karchive", "sonnet", "kjobwidgets", "kbookmarks", "kwindowsystem", "kcrash",
+ "kdbusaddons", "kwallet", "kglobalaccel", "kiconthemes", "kdnssd", "kpackage", "kdeclarative",
+ "attica", "libgcrypt", "libgpg-error", "openssl", "util-linux", "zlib", "zstd",
+ # SET X11 completo (WITH_X11 → find_package(X11 REQUIRED); activado transitivamente por kwindowsystem/kio):
+ "libX11", "xorgproto", "libXau", "libXdmcp", "libXext", "libXrender", "libXfixes", "libXi",
+ "libxcb", "xcb-util", "xcb-util-cursor", "xcb-util-keysyms", "xcb-util-wm",
+ "xcb-util-image", "xcb-util-renderutil"]