From 04c845692f5daf9ad96996be7f357026eefab852 Mon Sep 17 00:00:00 2001 From: sergio Date: Sun, 12 Jul 2026 07:18:37 -0400 Subject: [PATCH] kde/Capa2: 10 recetas KF6 tier-2 (SHAs reales 6.27.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit kdbusaddons/kitemviews/kitemmodels/kplotting/kcrash/kcolorscheme/kcompletion/kjobwidgets/ kconfigwidgets construibles; knotifications BLOQUEADA (find_package(Canberra REQUIRED) incondicional, sin flag WITHOUT_SOUND → necesita receta libcanberra o patch opcional). kcrash WITH_X11=OFF. Designer plugin OFF en los Widgets. Co-Authored-By: Claude Opus 4.8 --- recipes/incoming-kde/kcolorscheme.toml | 41 ++++++++++++++++++++++ recipes/incoming-kde/kcompletion.toml | 41 ++++++++++++++++++++++ recipes/incoming-kde/kconfigwidgets.toml | 42 ++++++++++++++++++++++ recipes/incoming-kde/kcrash.toml | 42 ++++++++++++++++++++++ recipes/incoming-kde/kdbusaddons.toml | 41 ++++++++++++++++++++++ recipes/incoming-kde/kitemmodels.toml | 41 ++++++++++++++++++++++ recipes/incoming-kde/kitemviews.toml | 41 ++++++++++++++++++++++ recipes/incoming-kde/kjobwidgets.toml | 41 ++++++++++++++++++++++ recipes/incoming-kde/knotifications.toml | 44 ++++++++++++++++++++++++ recipes/incoming-kde/kplotting.toml | 41 ++++++++++++++++++++++ 10 files changed, 415 insertions(+) create mode 100644 recipes/incoming-kde/kcolorscheme.toml create mode 100644 recipes/incoming-kde/kcompletion.toml create mode 100644 recipes/incoming-kde/kconfigwidgets.toml create mode 100644 recipes/incoming-kde/kcrash.toml create mode 100644 recipes/incoming-kde/kdbusaddons.toml create mode 100644 recipes/incoming-kde/kitemmodels.toml create mode 100644 recipes/incoming-kde/kitemviews.toml create mode 100644 recipes/incoming-kde/kjobwidgets.toml create mode 100644 recipes/incoming-kde/knotifications.toml create mode 100644 recipes/incoming-kde/kplotting.toml diff --git a/recipes/incoming-kde/kcolorscheme.toml b/recipes/incoming-kde/kcolorscheme.toml new file mode 100644 index 00000000..c3aba0ed --- /dev/null +++ b/recipes/incoming-kde/kcolorscheme.toml @@ -0,0 +1,41 @@ +# kcolorscheme 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, kguiaddons, kcoreaddons, ki18n. +name = "kcolorscheme" +version = "6.27.0" + +[source] +tarball = "https://download.kde.org/stable/frameworks/6.27/kcolorscheme-6.27.0.tar.xz" +sha256 = "574e12350ea1adf248c5263cf18d145476d368664a302514d1065aa2563e1efd" + +[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] +build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "qtdeclarative", "kconfig", "kguiaddons", "kcoreaddons", "ki18n"] diff --git a/recipes/incoming-kde/kcompletion.toml b/recipes/incoming-kde/kcompletion.toml new file mode 100644 index 00000000..6abe1560 --- /dev/null +++ b/recipes/incoming-kde/kcompletion.toml @@ -0,0 +1,41 @@ +# kcompletion 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. +# Qt6Widgets. Deps KF6: kconfig, kwidgetsaddons, kcoreaddons, kcodecs. DESIGNERPLUGIN OFF. +name = "kcompletion" +version = "6.27.0" + +[source] +tarball = "https://download.kde.org/stable/frameworks/6.27/kcompletion-6.27.0.tar.xz" +sha256 = "006864dcba5d5fc87b4ca5dcc1239538657a5d052057bae5d3bc3e71eaba0551" + +[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 -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", "kconfig", "kwidgetsaddons", "kcoreaddons", "kcodecs"] diff --git a/recipes/incoming-kde/kconfigwidgets.toml b/recipes/incoming-kde/kconfigwidgets.toml new file mode 100644 index 00000000..6854a9ef --- /dev/null +++ b/recipes/incoming-kde/kconfigwidgets.toml @@ -0,0 +1,42 @@ +# kconfigwidgets 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. +# Qt6Widgets. Deps KF6: kconfig, kcodecs, kguiaddons, kwidgetsaddons, ki18n, kcoreaddons, kcolorscheme. +# DESIGNERPLUGIN OFF. +name = "kconfigwidgets" +version = "6.27.0" + +[source] +tarball = "https://download.kde.org/stable/frameworks/6.27/kconfigwidgets-6.27.0.tar.xz" +sha256 = "404ed0606dfb13cc44c36deaf5f880eeec75018ae878125dabf83f32efeb0a7f" + +[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 -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", "kconfig", "kcodecs", "kguiaddons", "kwidgetsaddons", "ki18n", "kcoreaddons", "kcolorscheme"] diff --git a/recipes/incoming-kde/kcrash.toml b/recipes/incoming-kde/kcrash.toml new file mode 100644 index 00000000..15e39d4c --- /dev/null +++ b/recipes/incoming-kde/kcrash.toml @@ -0,0 +1,42 @@ +# kcrash 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. +# Qt6Core/Gui + kcoreaddons. WITH_X11=OFF: el path X11 exige find_package(X11 REQUIRED) + Qt-xcb (apagado +# en el gate, deuda Capa 0). Plasma es Wayland-first ⇒ kcrash funciona sin la integración X11. +name = "kcrash" +version = "6.27.0" + +[source] +tarball = "https://download.kde.org/stable/frameworks/6.27/kcrash-6.27.0.tar.xz" +sha256 = "f8e1083863dac2c07068b10614ca7d4b52c6920df0228854cfc37e0d6578d902" + +[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 -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", "kcoreaddons"] diff --git a/recipes/incoming-kde/kdbusaddons.toml b/recipes/incoming-kde/kdbusaddons.toml new file mode 100644 index 00000000..a88a22e1 --- /dev/null +++ b/recipes/incoming-kde/kdbusaddons.toml @@ -0,0 +1,41 @@ +# kdbusaddons 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. +# Sólo Qt6DBus (viene en qtbase); sin frameworks KF6 extra. +name = "kdbusaddons" +version = "6.27.0" + +[source] +tarball = "https://download.kde.org/stable/frameworks/6.27/kdbusaddons-6.27.0.tar.xz" +sha256 = "9ea3792b2f1c43d5551437260803fdd676c903e2768f4aac4186054e5b22d4ca" + +[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] +build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools"] diff --git a/recipes/incoming-kde/kitemmodels.toml b/recipes/incoming-kde/kitemmodels.toml new file mode 100644 index 00000000..e0059393 --- /dev/null +++ b/recipes/incoming-kde/kitemmodels.toml @@ -0,0 +1,41 @@ +# kitemmodels 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. +# Qt6Core + Qt6Qml (opcional NO_MODULE, provee los tipos QML) ⇒ qtdeclarative. Sin frameworks KF6 extra. +name = "kitemmodels" +version = "6.27.0" + +[source] +tarball = "https://download.kde.org/stable/frameworks/6.27/kitemmodels-6.27.0.tar.xz" +sha256 = "f5aec7198b161562616c139ed037e562e7ae6822b839f67c8c2e2f97678fc58e" + +[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] +build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "qtdeclarative"] diff --git a/recipes/incoming-kde/kitemviews.toml b/recipes/incoming-kde/kitemviews.toml new file mode 100644 index 00000000..006477fe --- /dev/null +++ b/recipes/incoming-kde/kitemviews.toml @@ -0,0 +1,41 @@ +# kitemviews 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. +# Sólo Qt6Widgets; sin frameworks KF6 extra. DESIGNERPLUGIN OFF (evita dep Qt Designer). +name = "kitemviews" +version = "6.27.0" + +[source] +tarball = "https://download.kde.org/stable/frameworks/6.27/kitemviews-6.27.0.tar.xz" +sha256 = "7a286f147144714aa9e8f567dd5a0638a8fb81df97a34a0112f725b72aa36979" + +[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 -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"] diff --git a/recipes/incoming-kde/kjobwidgets.toml b/recipes/incoming-kde/kjobwidgets.toml new file mode 100644 index 00000000..81235a87 --- /dev/null +++ b/recipes/incoming-kde/kjobwidgets.toml @@ -0,0 +1,41 @@ +# kjobwidgets 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. +# Qt6Widgets/Gui. Deps KF6: kcoreaddons, kwidgetsaddons, kwindowsystem. DESIGNERPLUGIN OFF. +name = "kjobwidgets" +version = "6.27.0" + +[source] +tarball = "https://download.kde.org/stable/frameworks/6.27/kjobwidgets-6.27.0.tar.xz" +sha256 = "3149cd07d82204c6bfa8d86c590bf0c92905e1b5b075c7b543540916a61d7a03" + +[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 -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", "kcoreaddons", "kwidgetsaddons", "kwindowsystem"] diff --git a/recipes/incoming-kde/knotifications.toml b/recipes/incoming-kde/knotifications.toml new file mode 100644 index 00000000..4dd9441e --- /dev/null +++ b/recipes/incoming-kde/knotifications.toml @@ -0,0 +1,44 @@ +# 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. +name = "knotifications" +version = "6.27.0" + +[source] +tarball = "https://download.kde.org/stable/frameworks/6.27/knotifications-6.27.0.tar.xz" +sha256 = "eeb067fab001dd24735ad56e8ec4808fca76e5ecdf003cf614246c9abe1c3e19" + +[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] +build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "qtdeclarative", "kconfig", "kcoreaddons", "kguiaddons"] diff --git a/recipes/incoming-kde/kplotting.toml b/recipes/incoming-kde/kplotting.toml new file mode 100644 index 00000000..de7b0de1 --- /dev/null +++ b/recipes/incoming-kde/kplotting.toml @@ -0,0 +1,41 @@ +# kplotting 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. +# Sólo Qt6Gui (widget de ploteo QWidget-free); sin frameworks KF6 extra. +name = "kplotting" +version = "6.27.0" + +[source] +tarball = "https://download.kde.org/stable/frameworks/6.27/kplotting-6.27.0.tar.xz" +sha256 = "b2f8d7e720187ea8159653cb3c8caf0d03fb5f3d7ecef1b2b80ac0b2a77b4367" + +[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] +build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools"]