From 40397621946c74866e808a690b37e0e260bbb63f Mon Sep 17 00:00:00 2001 From: sergio Date: Mon, 13 Jul 2026 14:15:20 -0400 Subject: [PATCH] kde/Plasma: 19 recetas blockers de plasma-workspace (X11-session + icu/qcoro/qtlocation/libqalculate + KF6 kded/prison/krunner/ktexteditor/kunitconversion/kstatusnotifieritem/networkmanager-qt + Plasma libkscreen/libksysguard/plasma-activities-stats) SHAs reales. Camino a plasmashell. Iterar sub-blockers (ksyntaxhighlighting/libnm/etc) + WITH_X11=OFF wayland-puro para plasma-workspace. --- recipes/incoming-kde/icu4c.toml | 26 +++++++++ recipes/incoming-kde/kded.toml | 43 +++++++++++++++ recipes/incoming-kde/krunner.toml | 43 +++++++++++++++ recipes/incoming-kde/kstatusnotifieritem.toml | 43 +++++++++++++++ recipes/incoming-kde/ktexteditor.toml | 55 +++++++++++++++++++ recipes/incoming-kde/kunitconversion.toml | 42 ++++++++++++++ recipes/incoming-kde/libICE.toml | 25 +++++++++ recipes/incoming-kde/libSM.toml | 26 +++++++++ recipes/incoming-kde/libXcursor.toml | 25 +++++++++ recipes/incoming-kde/libXft.toml | 31 +++++++++++ recipes/incoming-kde/libXtst.toml | 25 +++++++++ recipes/incoming-kde/libkscreen.toml | 44 +++++++++++++++ recipes/incoming-kde/libksysguard.toml | 45 +++++++++++++++ recipes/incoming-kde/libqalculate.toml | 33 +++++++++++ recipes/incoming-kde/networkmanager-qt.toml | 49 +++++++++++++++++ .../incoming-kde/plasma-activities-stats.toml | 44 +++++++++++++++ recipes/incoming-kde/prison.toml | 51 +++++++++++++++++ recipes/incoming-kde/qcoro.toml | 46 ++++++++++++++++ recipes/incoming-kde/qtlocation.toml | 36 ++++++++++++ 19 files changed, 732 insertions(+) create mode 100644 recipes/incoming-kde/icu4c.toml create mode 100644 recipes/incoming-kde/kded.toml create mode 100644 recipes/incoming-kde/krunner.toml create mode 100644 recipes/incoming-kde/kstatusnotifieritem.toml create mode 100644 recipes/incoming-kde/ktexteditor.toml create mode 100644 recipes/incoming-kde/kunitconversion.toml create mode 100644 recipes/incoming-kde/libICE.toml create mode 100644 recipes/incoming-kde/libSM.toml create mode 100644 recipes/incoming-kde/libXcursor.toml create mode 100644 recipes/incoming-kde/libXft.toml create mode 100644 recipes/incoming-kde/libXtst.toml create mode 100644 recipes/incoming-kde/libkscreen.toml create mode 100644 recipes/incoming-kde/libksysguard.toml create mode 100644 recipes/incoming-kde/libqalculate.toml create mode 100644 recipes/incoming-kde/networkmanager-qt.toml create mode 100644 recipes/incoming-kde/plasma-activities-stats.toml create mode 100644 recipes/incoming-kde/prison.toml create mode 100644 recipes/incoming-kde/qcoro.toml create mode 100644 recipes/incoming-kde/qtlocation.toml diff --git a/recipes/incoming-kde/icu4c.toml b/recipes/incoming-kde/icu4c.toml new file mode 100644 index 00000000..622ac029 --- /dev/null +++ b/recipes/incoming-kde/icu4c.toml @@ -0,0 +1,26 @@ +# icu4c 77.1 — International Components for Unicode (libicuuc/libicui18n/libicudata.so). Dep transitiva +# del stack Qt/KDE (ki18n opcional, libqalculate opcional, apps con colación Unicode). C++ autotools; +# el tarball descomprime a `icu/source/` → todas las fases entran con `cd source`. musl, shared. +name = "icu4c" +version = "77.1" + +[source] +tarball = "https://github.com/unicode-org/icu/releases/download/release-77-1/icu4c-77_1-src.tgz" +sha256 = "588e431f77327c39031ffbb8843c0e3bc122c211374485fa87dc5f3faff24061" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "dynamic" +flags = [] + +[build.phases] +configure = ''' +cd source && ./configure --prefix=/usr --enable-shared --disable-static \ + --disable-samples --disable-tests +''' +compile = "cd source && make -j\"$(nproc)\"" +install = "cd source && make install DESTDIR=/out" + +[deps] +build = ["pkgconf", "python3"] diff --git a/recipes/incoming-kde/kded.toml b/recipes/incoming-kde/kded.toml new file mode 100644 index 00000000..e4949e46 --- /dev/null +++ b/recipes/incoming-kde/kded.toml @@ -0,0 +1,43 @@ +# kded 6.27.0 — KDE Frameworks 6 (ADR 0011). Daemon de servicios KDE (kded6) + kdedmodule. Requerido +# por Plasma (arranque de servicios en segundo plano) y opcional en kio. CMakeLists: Qt6 DBus+Widgets + +# KF6 Config CoreAddons Crash DBusAddons Service (REQUIRED). KF6DocTools OPTIONAL (no sellado → docs off). +# rm -rf po (traducciones; gettext-tiny minimal). +name = "kded" +version = "6.27.0" + +[source] +tarball = "https://download.kde.org/stable/frameworks/6.27/kded-6.27.0.tar.xz" +sha256 = "4f24067915b05a1d0cc87e2c37f37eb0e8c441e8fccdf06ca27ee7b923058243" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "dynamic" +flags = [] + +[build.phases] +configure = ''' +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" +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", "mesa", "libdrm", "libxkbcommon", "wayland", "gettext-tiny", "kconfig", "kcoreaddons", "kcrash", "kdbusaddons", "kservice", "kwindowsystem", "ki18n"] diff --git a/recipes/incoming-kde/krunner.toml b/recipes/incoming-kde/krunner.toml new file mode 100644 index 00000000..c882b22c --- /dev/null +++ b/recipes/incoming-kde/krunner.toml @@ -0,0 +1,43 @@ +# krunner 6.27.0 — KDE Frameworks 6 (ADR 0011). Framework de búsqueda/lanzador (KRunner) de Plasma. +# CMakeLists: Qt6 Gui (NO_MODULE) + KF6 Config CoreAddons I18n WindowSystem (REQUIRED) + ItemModels +# (OPTIONAL, sellado). El árbol src/ no busca Qml/Quick (verificado). Incluimos qtdeclarative igual +# (rule 1, inerte en prefix) y SET X11 (kwindowsystem transitivo). rm -rf po (muchas traducciones). +name = "krunner" +version = "6.27.0" + +[source] +tarball = "https://download.kde.org/stable/frameworks/6.27/krunner-6.27.0.tar.xz" +sha256 = "46d06321bbccadb8f3fbb948ffaac5eff18dad9552fde677761ddddb9470202f" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "dynamic" +flags = [] + +[build.phases] +configure = ''' +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" +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", "mesa", "libdrm", "libxkbcommon", "wayland", "gettext-tiny", "qtdeclarative", "kconfig", "kcoreaddons", "ki18n", "kwindowsystem", "kitemmodels", "libX11", "xorgproto", "libXau", "libXdmcp", "libXext", "libXrender", "libXfixes", "libXi", "libxcb"] diff --git a/recipes/incoming-kde/kstatusnotifieritem.toml b/recipes/incoming-kde/kstatusnotifieritem.toml new file mode 100644 index 00000000..acc6d0ad --- /dev/null +++ b/recipes/incoming-kde/kstatusnotifieritem.toml @@ -0,0 +1,43 @@ +# kstatusnotifieritem 6.27.0 — KDE Frameworks 6 (ADR 0011). System tray / StatusNotifierItem +# (KStatusNotifierItem). La usan el applet de bandeja de plasma-workspace y muchas apps. CMakeLists: +# Qt6 Widgets + DBus (USE_DBUS) + find_package(X11) (WITHOUT_X11 default OFF → X11 REQUERIDO) + +# KF6WindowSystem (REQUIRED). Sin qtdeclarative. SET X11 completo (find_package(X11) transitivo). rm -rf po. +name = "kstatusnotifieritem" +version = "6.27.0" + +[source] +tarball = "https://download.kde.org/stable/frameworks/6.27/kstatusnotifieritem-6.27.0.tar.xz" +sha256 = "a2eec2a981ed9da6cffc955cc21a50dcbc77141cbb840d915f92d1897442d239" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "dynamic" +flags = [] + +[build.phases] +configure = ''' +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" +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", "mesa", "libdrm", "libxkbcommon", "wayland", "gettext-tiny", "kwindowsystem", "kconfig", "kcoreaddons", "libX11", "xorgproto", "libXau", "libXdmcp", "libXext", "libXrender", "libXfixes", "libXi", "libxcb"] diff --git a/recipes/incoming-kde/ktexteditor.toml b/recipes/incoming-kde/ktexteditor.toml new file mode 100644 index 00000000..9d45307b --- /dev/null +++ b/recipes/incoming-kde/ktexteditor.toml @@ -0,0 +1,55 @@ +# ktexteditor 6.27.0 — KDE Frameworks 6 (ADR 0011). Motor de edición de texto (KF6TextEditor / Kate +# part). Lo consumen apps de Plasma y editores. +# +# ⛔ DOBLE BLOCKER (deps no selladas, ambas REQUIRED en CMakeLists): +# 1) find_package(KF6SyntaxHighlighting REQUIRED) — framework KF6 no sellado. Se necesita: +# syntax-highlighting 6.27.0 → +# https://download.kde.org/stable/frameworks/6.27/syntax-highlighting-6.27.0.tar.xz +# sha256 = cbff001b9f00d032feb254313ecfee9a6e0a0b3c5a8c82a7e0806c5f1915a545 +# (CMake+ECM, molde kxmlgui; deps: qtbase + Qt Xml/Gui, sin blockers conocidos → sellable ya). +# 2) find_package(Qt6 ... TextToSpeech) REQUIRED (línea 57) — módulo Qt Speech (qtspeech) no sellado. +# qtspeech 6.11.1 → https://download.qt.io/official_releases/qt/6.11/6.11.1/submodules/qtspeech-everywhere-src-6.11.1.tar.xz +# (backend flite/speechd; puede necesortar más deps de audio — evaluar). +# Opcionales: EditorConfig (find_package sin REQUIRED → off), KAuth (ENABLE_KAUTH, kauth sellado). +# Deps KF6 REQUIRED selladas: KIO Parts Archive Config GuiAddons I18n Sonnet ColorScheme (+ cierre kio). +# Qt: Core Widgets Qml PrintSupport. WITH: rm -rf po. NO construye hasta sellar (1) y (2). +name = "ktexteditor" +version = "6.27.0" + +[source] +tarball = "https://download.kde.org/stable/frameworks/6.27/ktexteditor-6.27.0.tar.xz" +sha256 = "2b737a61737e73650cd0b40d9e246a182dcccc6c8ae8121cfcb9415433ee41ae" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "dynamic" +flags = [] + +[build.phases] +configure = ''' +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" +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 -DENABLE_PCH=OFF \ + -DBUILD_TESTING=OFF -DBUILD_PYTHON_BINDINGS=OFF +''' +compile = "cmake --build build" +install = "DESTDIR=/out cmake --install build" + +# NOTA: faltan "ksyntaxhighlighting" y "qtspeech" en [deps].build (sellar primero, ver cabecera). +[deps] +build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "mesa", "libdrm", "libxkbcommon", "wayland", "gettext-tiny", "qtdeclarative", "qtsvg", "kio", "kparts", "karchive", "kconfig", "kguiaddons", "ki18n", "sonnet", "kcolorscheme", "kauth", "kcoreaddons", "kwidgetsaddons", "kcodecs", "kservice", "kcompletion", "kconfigwidgets", "kwindowsystem", "libX11", "xorgproto", "libXau", "libXdmcp", "libXext", "libXrender", "libXfixes", "libXi", "libxcb"] diff --git a/recipes/incoming-kde/kunitconversion.toml b/recipes/incoming-kde/kunitconversion.toml new file mode 100644 index 00000000..2709717d --- /dev/null +++ b/recipes/incoming-kde/kunitconversion.toml @@ -0,0 +1,42 @@ +# kunitconversion 6.27.0 — KDE Frameworks 6 (ADR 0011). Conversión de unidades (KUnitConversion), +# la usa krunner (unit runner) y plasma-workspace. CMakeLists: Qt6 Core+Network + KF6I18n (REQUIRED). +# Sin X11, sin qtdeclarative. rm -rf po (muchas traducciones de unidades; msgfmt de gettext-tiny minimal). +name = "kunitconversion" +version = "6.27.0" + +[source] +tarball = "https://download.kde.org/stable/frameworks/6.27/kunitconversion-6.27.0.tar.xz" +sha256 = "404e064114c95eca0ef759b96ca4e0ba5f9b8bc563138574358270963f3f5554" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "dynamic" +flags = [] + +[build.phases] +configure = ''' +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" +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", "mesa", "libdrm", "libxkbcommon", "wayland", "gettext-tiny", "ki18n"] diff --git a/recipes/incoming-kde/libICE.toml b/recipes/incoming-kde/libICE.toml new file mode 100644 index 00000000..330db71f --- /dev/null +++ b/recipes/incoming-kde/libICE.toml @@ -0,0 +1,25 @@ +# libICE 1.1.2 — Inter-Client Exchange library (ICE.pc). Sustrato de libSM (gestor de sesión X11), +# cadena de sesión de plasma-workspace. Autotools puro, sin libxcb (protocolo ICE, no X). musl. +name = "libICE" +version = "1.1.2" + +[source] +tarball = "https://www.x.org/releases/individual/lib/libICE-1.1.2.tar.xz" +sha256 = "974e4ed414225eb3c716985df9709f4da8d22a67a2890066bc6dfc89ad298625" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "dynamic" +zig_version = "0.13.0" + +[build.phases] +configure = ''' +PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig \ +./configure --prefix=/usr --disable-static --enable-shared +''' +compile = "make -j\"$(nproc)\"" +install = "make install DESTDIR=/out" + +[deps] +build = ["pkgconf", "python3", "util-macros", "xorgproto"] diff --git a/recipes/incoming-kde/libSM.toml b/recipes/incoming-kde/libSM.toml new file mode 100644 index 00000000..24a3784c --- /dev/null +++ b/recipes/incoming-kde/libSM.toml @@ -0,0 +1,26 @@ +# libSM 1.2.6 — X11 Session Management library (SM.pc, Requires: ice). La usa la cadena de sesión de +# Plasma (ksmserver/plasma-workspace) y Qt's QSessionManager. Autotools sobre libICE. libuuid opcional +# (util-linux) para los IDs de sesión. musl. +name = "libSM" +version = "1.2.6" + +[source] +tarball = "https://www.x.org/releases/individual/lib/libSM-1.2.6.tar.xz" +sha256 = "be7c0abdb15cbfd29ac62573c1c82e877f9d4047ad15321e7ea97d1e43d835be" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "dynamic" +zig_version = "0.13.0" + +[build.phases] +configure = ''' +PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig \ +./configure --prefix=/usr --disable-static --enable-shared --with-libuuid +''' +compile = "make -j\"$(nproc)\"" +install = "make install DESTDIR=/out" + +[deps] +build = ["pkgconf", "python3", "util-macros", "xorgproto", "libICE", "util-linux"] diff --git a/recipes/incoming-kde/libXcursor.toml b/recipes/incoming-kde/libXcursor.toml new file mode 100644 index 00000000..87440fb1 --- /dev/null +++ b/recipes/incoming-kde/libXcursor.toml @@ -0,0 +1,25 @@ +# libXcursor 1.2.3 — carga de cursores X (Xcursor.pc, Requires: xrender xfixes x11). Consumido por el +# tema de cursores de Plasma y por Qt xcb. Autotools sobre libX11/libXrender/libXfixes. musl. +name = "libXcursor" +version = "1.2.3" + +[source] +tarball = "https://www.x.org/releases/individual/lib/libXcursor-1.2.3.tar.xz" +sha256 = "fde9402dd4cfe79da71e2d96bb980afc5e6ff4f8a7d74c159e1966afb2b2c2c0" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "dynamic" +zig_version = "0.13.0" + +[build.phases] +configure = ''' +PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig \ +./configure --prefix=/usr --disable-static --enable-shared +''' +compile = "make -j\"$(nproc)\"" +install = "make install DESTDIR=/out" + +[deps] +build = ["pkgconf", "python3", "util-macros", "xorgproto", "libX11", "libXrender", "libXfixes", "libxcb", "libXau", "libXdmcp"] diff --git a/recipes/incoming-kde/libXft.toml b/recipes/incoming-kde/libXft.toml new file mode 100644 index 00000000..33e4af8c --- /dev/null +++ b/recipes/incoming-kde/libXft.toml @@ -0,0 +1,31 @@ +# libXft 2.3.9 — renderizado de fuentes X con FreeType/fontconfig (Xft.pc, Requires: xrender freetype2 +# fontconfig). Legacy Xft; la piden apps X11 clásicas y algunos temas. Autotools sobre libX11/libXrender. +# +# ⚠️ RIESGO PIC (Capa 0): freetype y fontconfig están sellados ESTÁTICOS (.a, sin -fPIC → freetype.toml +# link=static, fontconfig.toml link=static). libXft se construye como shared (libXft.so) y linkea esas +# .a; libs estáticas sin PIC no siempre entran en un .so → posible fallo de link (relocation R_X86_64_* +# against `.text'). Si falla, hay que sellar variantes .so de freetype/fontconfig (deuda Capa 0) o +# construir libXft estático. NO es blocker de find_package (los .pc existen), sino de link. +name = "libXft" +version = "2.3.9" + +[source] +tarball = "https://www.x.org/releases/individual/lib/libXft-2.3.9.tar.xz" +sha256 = "60a25b78945ed6932635b3bb1899a517d31df7456e69867ffba27f89ff3976f5" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "dynamic" +zig_version = "0.13.0" + +[build.phases] +configure = ''' +PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig \ +./configure --prefix=/usr --disable-static --enable-shared +''' +compile = "make -j\"$(nproc)\"" +install = "make install DESTDIR=/out" + +[deps] +build = ["pkgconf", "python3", "util-macros", "xorgproto", "libX11", "libXrender", "freetype", "fontconfig", "libxcb", "libXau", "libXdmcp"] diff --git a/recipes/incoming-kde/libXtst.toml b/recipes/incoming-kde/libXtst.toml new file mode 100644 index 00000000..34dc110d --- /dev/null +++ b/recipes/incoming-kde/libXtst.toml @@ -0,0 +1,25 @@ +# libXtst 1.2.5 — XTEST + RECORD extension client (Xtst.pc, Requires: xext; usa libXi). La usa +# kglobalaccel/KWin (inyección de eventos de test) y utilidades de accesibilidad. Autotools. musl. +name = "libXtst" +version = "1.2.5" + +[source] +tarball = "https://www.x.org/releases/individual/lib/libXtst-1.2.5.tar.xz" +sha256 = "b50d4c25b97009a744706c1039c598f4d8e64910c9fde381994e1cae235d9242" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "dynamic" +zig_version = "0.13.0" + +[build.phases] +configure = ''' +PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig \ +./configure --prefix=/usr --disable-static --enable-shared +''' +compile = "make -j\"$(nproc)\"" +install = "make install DESTDIR=/out" + +[deps] +build = ["pkgconf", "python3", "util-macros", "xorgproto", "libX11", "libXext", "libXi", "libxcb", "libXau", "libXdmcp"] diff --git a/recipes/incoming-kde/libkscreen.toml b/recipes/incoming-kde/libkscreen.toml new file mode 100644 index 00000000..4e526d63 --- /dev/null +++ b/recipes/incoming-kde/libkscreen.toml @@ -0,0 +1,44 @@ +# libkscreen 6.7.2 — Plasma (ADR 0011). Gestión de pantallas/salidas (KScreen). La usa plasma-workspace +# (KScreen daemon, config de monitores). CMakeLists: Qt6 Core+DBus+Gui+Test+WaylandClient (WaylandClient +# → qtwayland) + Wayland Client + PlasmaWaylandProtocols + find_package(XCB COMPONENTS XCB RANDR DPMS) +# + KF6 Config CoreAddons + KWayland. XCB RANDR/DPMS los provee libxcb (xcb-randr.pc/xcb-dpms.pc, sin +# --disable en la receta) → NO hace falta libXrandr. rm -rf po. +name = "libkscreen" +version = "6.7.2" + +[source] +tarball = "https://download.kde.org/stable/plasma/6.7.2/libkscreen-6.7.2.tar.xz" +sha256 = "408dc2753001a689cadfc77bdcc4a968baa385cae8dd8abce6c3ce422284d078" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "dynamic" +flags = [] + +[build.phases] +configure = ''' +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" +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", "mesa", "libdrm", "libxkbcommon", "wayland", "wayland-protocols", "plasma-wayland-protocols", "qtwayland", "kwayland", "kconfig", "kcoreaddons", "libxcb", "libX11", "xorgproto", "libXau", "libXdmcp", "libXext", "libXrender", "libXfixes", "libXi"] diff --git a/recipes/incoming-kde/libksysguard.toml b/recipes/incoming-kde/libksysguard.toml new file mode 100644 index 00000000..57dfd75d --- /dev/null +++ b/recipes/incoming-kde/libksysguard.toml @@ -0,0 +1,45 @@ +# libksysguard 6.7.2 — Plasma (ADR 0011). Backend de monitor de sistema (procesos, sensores, red) que +# usan el widget de recursos y plasma-systemmonitor. CMakeLists: Qt6 DBus+Network+Widgets+Qml+Quick + +# KF6 CoreAddons Config I18n Auth Service Package NewStuff Solid (REQUIRED) + ZLIB REQUIRED + Libdrm +# REQUIRED (mesa/libdrm sellado). Opcionales AUTO-OFF (find_package sin REQUIRED): NL(libnl), libpcap, +# Libcap, Sensors(lm_sensors), UDev → sin ellos se apagan las features de red/sensores, NO bloquean. +# KNewStuff/Package/Kirigami arrastran el cierre KF6 completo. SET X11 (kwindowsystem transitivo). rm -rf po. +name = "libksysguard" +version = "6.7.2" + +[source] +tarball = "https://download.kde.org/stable/plasma/6.7.2/libksysguard-6.7.2.tar.xz" +sha256 = "6f7dbf058e453c6d2d643cf5cf25051aa0398fa3c8f3cb754bf2e46434d94cd7" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "dynamic" +flags = [] + +[build.phases] +configure = ''' +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" +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", "mesa", "libdrm", "libxkbcommon", "wayland", "gettext-tiny", "qtdeclarative", "zlib", "kcoreaddons", "kconfig", "ki18n", "kauth", "kservice", "kpackage", "knewstuff", "solid", "kirigami", "kwidgetsaddons", "kwindowsystem", "kcompletion", "kconfigwidgets", "kcodecs", "kcolorscheme", "kguiaddons", "kiconthemes", "kitemviews", "karchive", "kio", "kxmlgui", "libX11", "xorgproto", "libXau", "libXdmcp", "libXext", "libXrender", "libXfixes", "libXi", "libxcb"] diff --git a/recipes/incoming-kde/libqalculate.toml b/recipes/incoming-kde/libqalculate.toml new file mode 100644 index 00000000..8937373a --- /dev/null +++ b/recipes/incoming-kde/libqalculate.toml @@ -0,0 +1,33 @@ +# libqalculate 5.6.0 — motor de cálculo (libqalculate.so) del applet calculadora / krunner-calculator. +# Autotools C++. +# +# ⛔ BLOCKER (deps no selladas): configure.ac EXIGE gmp.h + libgmp (__gmpz_init) y mpfr.h + libmpfr +# (mpfr_get_version) — ambos FATAL si faltan. NO hay recetas gmp/mpfr en el catálogo. Se necesitan: +# gmp 6.3.0 → https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz +# mpfr 4.2.2 → https://ftp.gnu.org/gnu/mpfr/mpfr-4.2.2.tar.xz (depende de gmp) +# Opcionales apagados: --without-icu (icu-uc), --without-libcurl (tasas de cambio online), +# --disable-textport (evita readline/ncurses; sólo lib, sin binario qalc). libxml-2.0 REQUIRED → libxml2 sellado ✓. +name = "libqalculate" +version = "5.6.0" + +[source] +tarball = "https://github.com/Qalculate/libqalculate/releases/download/v5.6.0/libqalculate-5.6.0.tar.gz" +sha256 = "2d44130954f327e595af74d0d035f450b560e7997eceb9af16503456d5196f39" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "dynamic" +flags = [] + +[build.phases] +configure = ''' +PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig \ +./configure --prefix=/usr --disable-static --enable-shared \ + --without-icu --without-libcurl --disable-textport --disable-nls +''' +compile = "make -j\"$(nproc)\"" +install = "make install DESTDIR=/out" + +[deps] +build = ["pkgconf", "python3", "libxml2", "zlib", "gmp", "mpfr"] diff --git a/recipes/incoming-kde/networkmanager-qt.toml b/recipes/incoming-kde/networkmanager-qt.toml new file mode 100644 index 00000000..a054320d --- /dev/null +++ b/recipes/incoming-kde/networkmanager-qt.toml @@ -0,0 +1,49 @@ +# networkmanager-qt 6.27.0 — KDE Frameworks 6 (ADR 0011). Wrapper Qt de la API D-Bus de NetworkManager +# (KF6NetworkManagerQt). La usa plasma-nm (applet de red de plasma-workspace). +# +# ⛔ BLOCKER DURO (dep no sellada): CMakeLists línea 15: +# pkg_search_module(NetworkManager REQUIRED IMPORTED_TARGET libnm>=1.4.0) +# Exige libnm (los .pc/headers de NetworkManager). NO hay receta NetworkManager en el catálogo, y es +# una dep GRANDE (NetworkManager arrastra glib/libndp/libmm-glib/polkit/…). Se necesita: +# NetworkManager 1.52.x → https://download.gnome.org/sources/NetworkManager/1.52/ +# Sólo hacen falta los headers+libnm.pc para compilar networkmanager-qt (build de la lib). Hasta +# sellar libnm, NO construye. Qt REQUIRED: Core DBus Network Qml (todos sellados). +name = "networkmanager-qt" +version = "6.27.0" + +[source] +tarball = "https://download.kde.org/stable/frameworks/6.27/networkmanager-qt-6.27.0.tar.xz" +sha256 = "a8193895b420d576fac228388ba8fd1b24d6f229c43b7963e2ed581ef82cad9a" + +[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_EXAMPLES=OFF +''' +compile = "cmake --build build" +install = "DESTDIR=/out cmake --install build" + +# NOTA: falta "networkmanager"/libnm en [deps].build (sellar primero, ver cabecera). +[deps] +build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "mesa", "libdrm", "libxkbcommon", "wayland", "qtdeclarative"] diff --git a/recipes/incoming-kde/plasma-activities-stats.toml b/recipes/incoming-kde/plasma-activities-stats.toml new file mode 100644 index 00000000..f00073d6 --- /dev/null +++ b/recipes/incoming-kde/plasma-activities-stats.toml @@ -0,0 +1,44 @@ +# plasma-activities-stats 6.7.2 — Plasma (ADR 0011). Estadísticas de uso por actividad (PlasmaActivitiesStats), +# la usan Kickoff / lanzadores de plasma-workspace (documentos y apps recientes). CMakeLists: Qt6 +# Core+DBus+Sql (Sql = QtSql de qtbase, sqlite) + KF6Config + PlasmaActivities (sellado) + Threads. +# find_package(Boost 1.49) SÓLO dentro de if(BUILD_TESTING) → con BUILD_TESTING=OFF, Boost NO es blocker. +# Sin X11 obligatorio. Construye limpio. +name = "plasma-activities-stats" +version = "6.7.2" + +[source] +tarball = "https://download.kde.org/stable/plasma/6.7.2/plasma-activities-stats-6.7.2.tar.xz" +sha256 = "1928355838356bcd59790701cb8d470849b0dc4bec183e3eae26d12f789459b4" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "dynamic" +flags = [] + +[build.phases] +configure = ''' +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" +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", "mesa", "libdrm", "libxkbcommon", "wayland", "kconfig", "kcoreaddons", "plasma-activities"] diff --git a/recipes/incoming-kde/prison.toml b/recipes/incoming-kde/prison.toml new file mode 100644 index 00000000..5f9d26e0 --- /dev/null +++ b/recipes/incoming-kde/prison.toml @@ -0,0 +1,51 @@ +# prison 6.27.0 — KDE Frameworks 6 (ADR 0011). Generación de códigos de barras (KF6Prison), la usa el +# applet de compartir de Plasma / KDE Connect. CMakeLists: Qt6 Core+Gui + Quick (WITH_QUICK, sellado). +# +# ⛔ BLOCKER (dep no sellada): find_package(QRencode) es TYPE REQUIRED SIN guarda (siempre) → +# necesita libqrencode. NO hay receta qrencode en el catálogo. Se necesita: +# qrencode 4.1.1 → https://github.com/fukuchi/libqrencode/archive/refs/tags/v4.1.1.tar.gz +# (autotools/cmake, dep libpng sellado; fukuchi.org/works dio 404, usar el mirror de GitHub). +# Apagamos los otros generadores para no arrastrar más deps no selladas: +# WITH_DMTX=OFF (libdmtx), WITH_ZXING=OFF (ZXing C++), WITH_MULTIMEDIA=OFF (Qt Multimedia, no sellado). +# Con qrencode sellado y estos OFF, prison construye limpio (Quick vía qtdeclarative). rm -rf po. +name = "prison" +version = "6.27.0" + +[source] +tarball = "https://download.kde.org/stable/frameworks/6.27/prison-6.27.0.tar.xz" +sha256 = "760903e9ae401f8bcdb9efc9ad6548982642e7411a223c8ceb41e5491a6b1135" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "dynamic" +flags = [] + +[build.phases] +configure = ''' +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" +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 \ + -DWITH_DMTX=OFF -DWITH_ZXING=OFF -DWITH_MULTIMEDIA=OFF -DWITH_QUICK=ON \ + -DBUILD_TESTING=OFF -DBUILD_PYTHON_BINDINGS=OFF +''' +compile = "cmake --build build" +install = "DESTDIR=/out cmake --install build" + +# NOTA: falta "qrencode" en [deps].build (sellar primero, ver cabecera). Con él añadido, construye. +[deps] +build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "mesa", "libdrm", "libxkbcommon", "wayland", "gettext-tiny", "qtdeclarative"] diff --git a/recipes/incoming-kde/qcoro.toml b/recipes/incoming-kde/qcoro.toml new file mode 100644 index 00000000..ad30a49f --- /dev/null +++ b/recipes/incoming-kde/qcoro.toml @@ -0,0 +1,46 @@ +# qcoro 0.12.0 — coroutines C++20 para Qt6 (QCoro6Core/QCoro6DBus). La usan varios componentes de +# plasma-workspace y powerdevil. CMake + Qt6. Molde KF6 (wrapper zig, PREFIX_PATH=/usr). Apagamos +# WebSockets/Quick/QML/Test/examples (módulos Qt no sellados o innecesarios); dejamos Core+DBus+Network. +# CMakeLists: option QCORO_WITH_QTDBUS(ON en Linux), QTNETWORK(ON), QTWEBSOCKETS(ON), QTQUICK(ON), +# QML(ON), QTTEST(ON), BUILD_EXAMPLES(ON) → forzamos OFF salvo DBus/Network (qtbase provee ambos). +name = "qcoro" +version = "0.12.0" + +[source] +tarball = "https://github.com/qcoro/qcoro/archive/refs/tags/v0.12.0.tar.gz" +sha256 = "809afafab61593f994c005ca6e242300e1e3e7f4db8b5d41f8c642aab9450fbc" + +[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 \ + -DQCORO_BUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF \ + -DQCORO_WITH_QTDBUS=ON -DQCORO_WITH_QTNETWORK=ON \ + -DQCORO_WITH_QTWEBSOCKETS=OFF -DQCORO_WITH_QTQUICK=OFF \ + -DQCORO_WITH_QML=OFF -DQCORO_WITH_QTTEST=OFF +''' +compile = "cmake --build build" +install = "DESTDIR=/out cmake --install build" + +[deps] +build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "mesa", "libdrm", "libxkbcommon", "wayland"] diff --git a/recipes/incoming-kde/qtlocation.toml b/recipes/incoming-kde/qtlocation.toml new file mode 100644 index 00000000..665f60f4 --- /dev/null +++ b/recipes/incoming-kde/qtlocation.toml @@ -0,0 +1,36 @@ +# qt6-qtlocation 6.11.1 — Qt Location (mapas/geoservicios, QtLocation). Lo consume plasma-workspace +# (applets de ubicación / clima) y KItinerary. Módulo Qt; molde qtsvg (dinámico, wrappers zig, Qt6 vía +# PREFIX_PATH). Depende de qtpositioning (sellado) + qtdeclarative + qtshadertools (mapas QML/shaders). +name = "qt6-qtlocation" +version = "6.11.1" + +[source] +tarball = "https://download.qt.io/official_releases/qt/6.11/6.11.1/submodules/qtlocation-everywhere-src-6.11.1.tar.xz" +sha256 = "3791ce77299e6f600a593d0fbfa5bd32fbcfc2d16104782b84acc489e382e41b" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "dynamic" +flags = [] + +[build.phases] +configure = ''' +ZW="$PWD/.zwrap"; mkdir -p "$ZW" +printf '#!/bin/sh\nexec /opt/zig/zig cc -mcpu=baseline "$@"\n' > "$ZW/cc" +printf '#!/bin/sh\nexec /opt/zig/zig c++ -mcpu=baseline "$@"\n' > "$ZW/cxx" +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_INTERPROCEDURAL_OPTIMIZATION=OFF -DCMAKE_PREFIX_PATH=/usr \ + -DINSTALL_BINDIR=lib/qt6/bin -DINSTALL_PUBLICBINDIR=bin -DINSTALL_LIBEXECDIR=lib/qt6/libexec \ + -DINSTALL_ARCHDATADIR=lib/qt6 -DINSTALL_DATADIR=share/qt6 -DINSTALL_INCLUDEDIR=include/qt6 \ + -DINSTALL_MKSPECSDIR=lib/qt6/mkspecs \ + -DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF +''' +compile = "cmake --build build" +install = "DESTDIR=/out cmake --install build" + +[deps] +build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "qtdeclarative", "qtpositioning", "qtshadertools", "mesa", "libdrm", "libxkbcommon", "wayland"]