Files
takana/recipes/incoming-kde/knotifications-canberra-optional.patch
sergioandClaude Opus 4.8 017718bffd 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>
2026-07-12 07:42:11 -04:00

19 lines
1011 B
Diff

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)