tawasuyu

sergio/takana

> Una distribución Linux construida con un laboratorio funcional y hermético en el > sótano, y una terminal mutable, clásica y anárquica en el piso de arriba — diseñada > desde el suelo para que una IA programadora entienda, modifique y co…

TOML 1572Shell 203Rust 109Markdown 993728 Definiciones

⎇ main recipes/incoming-kde/ktexteditor.toml TOML · 56 líneas · 3.3 KB Historia crudo

licencias: campo `license` en la receta — de 0 a 228 de 1141, sin re-hashear nada 346cd5970 · sergio ·

1# ktexteditor 6.27.0 — KDE Frameworks 6 (ADR 0011). Motor de edición de texto (KF6TextEditor / Kate
2# part). Lo consumen apps de Plasma y editores.
3#
4# ⛔ DOBLE BLOCKER (deps no selladas, ambas REQUIRED en CMakeLists):
5#   1) find_package(KF6SyntaxHighlighting REQUIRED) — framework KF6 no sellado. Se necesita:
6#        syntax-highlighting 6.27.0 →
7#        https://download.kde.org/stable/frameworks/6.27/syntax-highlighting-6.27.0.tar.xz
8#        sha256 = cbff001b9f00d032feb254313ecfee9a6e0a0b3c5a8c82a7e0806c5f1915a545
9#        (CMake+ECM, molde kxmlgui; deps: qtbase + Qt Xml/Gui, sin blockers conocidos → sellable ya).
10#   2) find_package(Qt6 ... TextToSpeech) REQUIRED (línea 57) — módulo Qt Speech (qtspeech) no sellado.
11#        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
12#        (backend flite/speechd; puede necesortar más deps de audio — evaluar).
13#   Opcionales: EditorConfig (find_package sin REQUIRED → off), KAuth (ENABLE_KAUTH, kauth sellado).
14#   Deps KF6 REQUIRED selladas: KIO Parts Archive Config GuiAddons I18n Sonnet ColorScheme (+ cierre kio).
15#   Qt: Core Widgets Qml PrintSupport. WITH: rm -rf po. NO construye hasta sellar (1) y (2).
16name    = "ktexteditor"
17version = "6.27.0"
18license = "LGPL-2.1-or-later OR LGPL-3.0-or-later"
19
20[source]
21tarball = "https://download.kde.org/stable/frameworks/6.27/ktexteditor-6.27.0.tar.xz"
22sha256  = "2b737a61737e73650cd0b40d9e246a182dcccc6c8ae8121cfcb9415433ee41ae"
23
24[build]
25compiler = "zig-cc"
26target   = "x86_64-linux-musl"
27link     = "dynamic"
28flags    = []
29
30[build.phases]
31configure = '''
32rm -rf po
33ZW="$PWD/.zwrap"; mkdir -p "$ZW"
34cat > "$ZW/cc"  <<'W'
35#!/bin/sh
36a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done
37exec /opt/zig/zig cc -mcpu=baseline $a
38W
39cat > "$ZW/cxx" <<'W'
40#!/bin/sh
41a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done
42exec /opt/zig/zig c++ -mcpu=baseline $a
43W
44chmod +x "$ZW/cc" "$ZW/cxx"
45cmake -B build -G Ninja -Wno-dev \
46  -DCMAKE_C_COMPILER="$ZW/cc" -DCMAKE_CXX_COMPILER="$ZW/cxx" -DCMAKE_ASM_COMPILER="$ZW/cc" \
47  -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_PREFIX_PATH=/usr \
48  -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF -DENABLE_PCH=OFF \
49  -DBUILD_TESTING=OFF -DBUILD_PYTHON_BINDINGS=OFF
50'''
51compile = "cmake --build build"
52install = "DESTDIR=/out cmake --install build"
53
54# NOTA: faltan "ksyntaxhighlighting" y "qtspeech" en [deps].build (sellar primero, ver cabecera).
55[deps]
56build = ["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", "syntax-highlighting", "qtspeech", "qtmultimedia", "kbookmarks", "kitemviews", "ktextwidgets", "kjobwidgets", "kiconthemes", "solid", "kglobalaccel", "kcrash", "kdbusaddons", "kxmlgui", "knotifications", "kwallet", "libgcrypt", "libgpg-error", "openssl", "util-linux", "zlib"]