kde/Capa2: tier-2 KF6 sellado 9/10 (fixes deps + patch Canberra)

Sellados: kdbusaddons kitemviews kitemmodels kplotting kcrash kcolorscheme kcompletion
kconfigwidgets knotifications. kjobwidgets en vuelo (faltaba dep knotifications).

Fixes durables:
- SET Qt6-consumer (mesa+libdrm+libxkbcommon+wayland) OBLIGATORIO en TODO framework que use
  Qt6::Gui/Widgets (Qt6Gui_FOUND=FALSE si falta GLESv2). El subagente lo omitió → batch entero falló.
- gettext-tiny (msgmerge) para frameworks con traducciones ki18n (kcolorscheme/kconfigwidgets).
- qtdeclarative donde hay Qt6Qml transitivo (kcompletion/kconfigwidgets).
- kdbusaddons: WITH_X11=OFF (usaba qtx11extras_p.h de Qt-xcb ausente).
- knotifications: patch Canberra REQUIRED→opcional (código ya guarda -DHAVE_CANBERRA; evita
  el stack de audio alsa/pulse/vorbis). Compila sin sonido, deuda audio diferida.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-12 07:42:11 -04:00
co-authored by Claude Opus 4.8
parent 04c845692f
commit 017718bffd
11 changed files with 34 additions and 14 deletions
+1 -1
View File
@@ -38,4 +38,4 @@ compile = "cmake --build build"
install = "DESTDIR=/out cmake --install build"
[deps]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "qtdeclarative", "kconfig", "kguiaddons", "kcoreaddons", "ki18n"]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "mesa", "libdrm", "libxkbcommon", "wayland", "qtdeclarative", "kconfig", "kguiaddons", "kcoreaddons", "ki18n", "gettext-tiny"]
+1 -1
View File
@@ -38,4 +38,4 @@ compile = "cmake --build build"
install = "DESTDIR=/out cmake --install build"
[deps]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "kconfig", "kwidgetsaddons", "kcoreaddons", "kcodecs"]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "mesa", "libdrm", "libxkbcommon", "wayland", "kconfig", "kwidgetsaddons", "kcoreaddons", "kcodecs", "qtdeclarative"]
+1 -1
View File
@@ -39,4 +39,4 @@ compile = "cmake --build build"
install = "DESTDIR=/out cmake --install build"
[deps]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "kconfig", "kcodecs", "kguiaddons", "kwidgetsaddons", "ki18n", "kcoreaddons", "kcolorscheme"]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "mesa", "libdrm", "libxkbcommon", "wayland", "kconfig", "kcodecs", "kguiaddons", "kwidgetsaddons", "ki18n", "kcoreaddons", "kcolorscheme", "gettext-tiny", "qtdeclarative"]
+1 -1
View File
@@ -39,4 +39,4 @@ compile = "cmake --build build"
install = "DESTDIR=/out cmake --install build"
[deps]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "kcoreaddons"]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "mesa", "libdrm", "libxkbcommon", "wayland", "kcoreaddons"]
+3 -2
View File
@@ -32,10 +32,11 @@ 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
-DBUILD_TESTING=OFF -DBUILD_PYTHON_BINDINGS=OFF \
-DWITH_X11=OFF
'''
compile = "cmake --build build"
install = "DESTDIR=/out cmake --install build"
[deps]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools"]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "mesa", "libdrm", "libxkbcommon", "wayland"]
+1 -1
View File
@@ -38,4 +38,4 @@ compile = "cmake --build build"
install = "DESTDIR=/out cmake --install build"
[deps]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "qtdeclarative"]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "mesa", "libdrm", "libxkbcommon", "wayland", "qtdeclarative"]
+1 -1
View File
@@ -38,4 +38,4 @@ compile = "cmake --build build"
install = "DESTDIR=/out cmake --install build"
[deps]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools"]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "mesa", "libdrm", "libxkbcommon", "wayland"]
+1 -1
View File
@@ -38,4 +38,4 @@ compile = "cmake --build build"
install = "DESTDIR=/out cmake --install build"
[deps]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "kcoreaddons", "kwidgetsaddons", "kwindowsystem"]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "mesa", "libdrm", "libxkbcommon", "wayland", "kcoreaddons", "kwidgetsaddons", "kwindowsystem", "knotifications"]
@@ -0,0 +1,18 @@
knotifications 6.27 hace find_package(Canberra REQUIRED) para el backend de sonido de las
notificaciones (libcanberra → stack de audio alsa/pulse/vorbis, pesado y no soberano). El código
YA está guardado por -DHAVE_CANBERRA (add_definitions sólo si TARGET Canberra::Canberra existe),
así que quitar el REQUIRED deja compilar el path SIN sonido: Canberra no se halla → HAVE_CANBERRA
indefinido → notificaciones sin audio. Feature de audio diferida (deuda Capa 0 audio).
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -78,7 +78,7 @@ find_package(KF6Config ${KF_DEP_VERSION} REQUIRED)
if (NOT APPLE AND NOT ANDROID AND NOT WIN32 AND NOT HAIKU OR (WIN32 AND NOT WITH_SNORETOAST))
find_package(Qt6 ${REQUIRED_QT_VERSION} CONFIG REQUIRED DBus)
- find_package(Canberra REQUIRED)
+ find_package(Canberra)
set_package_properties(Canberra PROPERTIES
PURPOSE "Needed to build audio notification support")
if (TARGET Canberra::Canberra)
+5 -4
View File
@@ -1,15 +1,16 @@
# knotifications 6.27.0 — KDE Frameworks 6 (Capa 2 tier-2, ADR 0011). Patrón KF6: dynamic, wrapper zig que
# filtra -Wl,--fatal-warnings (ECM lo agrega, zig lo rechaza), CMAKE_PREFIX_PATH=/usr, ECM + qttools + dbus.
# Qt6Gui/Qml ⇒ qtdeclarative. Deps KF6: kconfig, kcoreaddons, kguiaddons.
# OJO (revisar en la granja): en Linux el CMakeLists hace find_package(Canberra REQUIRED) sin flag para
# desactivarlo (no existe WITHOUT_SOUND). Sin una receta libcanberra o un patch que lo vuelva opcional,
# el configure FALLARÁ. Se deja sin libcanberra por instrucción; blocker conocido a resolver aparte.
# Canberra (backend de sonido) DESBLOQUEADO con patch: knotifications hace find_package(Canberra REQUIRED)
# incondicional en Linux (sin flag WITHOUT_SOUND), pero el código ya guarda -DHAVE_CANBERRA ⇒ el patch
# quita el REQUIRED y compila sin audio (libcanberra = stack alsa/pulse/vorbis, deuda audio diferida).
name = "knotifications"
version = "6.27.0"
[source]
tarball = "https://download.kde.org/stable/frameworks/6.27/knotifications-6.27.0.tar.xz"
sha256 = "eeb067fab001dd24735ad56e8ec4808fca76e5ecdf003cf614246c9abe1c3e19"
patches = ["knotifications-canberra-optional.patch"]
[build]
compiler = "zig-cc"
@@ -41,4 +42,4 @@ compile = "cmake --build build"
install = "DESTDIR=/out cmake --install build"
[deps]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "qtdeclarative", "kconfig", "kcoreaddons", "kguiaddons"]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "mesa", "libdrm", "libxkbcommon", "wayland", "qtdeclarative", "kconfig", "kcoreaddons", "kguiaddons"]
+1 -1
View File
@@ -38,4 +38,4 @@ compile = "cmake --build build"
install = "DESTDIR=/out cmake --install build"
[deps]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools"]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "mesa", "libdrm", "libxkbcommon", "wayland"]