gioser

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 1389Shell 137Markdown 80Rust 802602 Definitions

kde/Plasma: konsole 25.04.3 + kpty 6.27 — la PRIMERA app (terminal) desde fuente

konsole (emulador de terminal) construye+sella con musl+zig-cc. Deps nuevas: kpty (pseudo-terminal,
cb0f3836) + icu4c + qtmultimedia + cierre knewstuff (attica/kpackage/kirigami). DocTools/doc a opcional.
Primera app del escritorio KDE construida — el shell ahora tiene con qué abrir algo.

cdb2616a960207fb1f0035fc410f1f71179c93a7 · by sergio · (3 months ago) · parent 54e07d059 · browse the tree at this commit

Semantic delta

No definition changed: this change is text, documentation or data.

2 files · +92 −0

diff --git a/recipes/incoming-kde/konsole.toml b/recipes/incoming-kde/konsole.toml
new file mode 100644
index 00000000..ce9628b7
--- /dev/null
+++ b/recipes/incoming-kde/konsole.toml
@@ -0,0 +1,52 @@
+# konsole 25.04.3 — el emulador de terminal de KDE (release-service). Primera APP del escritorio.
+# Patrón KF6 app (dynamic, wrapper zig, ECM). Usa kpty (pseudo-terminal).
+name    = "konsole"
+version = "25.04.3"
+
+[source]
+tarball = "https://download.kde.org/stable/release-service/25.04.3/src/konsole-25.04.3.tar.xz"
+sha256  = "2f6833e22a71f4191e7ee45f3dce37e22a3be36d0fa592fdfffce207acac3939"
+
+[build]
+compiler = "zig-cc"
+target   = "x86_64-linux-musl"
+link     = "dynamic"
+flags    = []
+
+[build.phases]
+configure = '''
+rm -rf po doc
+# KF6DocTools REQUIRED → docs (rm doc). A opcional (find_package + set_package_properties TYPE).
+sed -i 's/find_package(KF6DocTools[^)]*REQUIRED)/find_package(KF6DocTools)/' CMakeLists.txt
+sed -i '/set_package_properties(KF6DocTools/,/)/ s/TYPE REQUIRED/TYPE OPTIONAL/' CMakeLists.txt
+sed -i '/add_subdirectory(doc)/d' CMakeLists.txt
+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
+'''
+compile = "cmake --build build"
+install = "DESTDIR=/out cmake --install build"
+
+[deps]
+build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools",
+  "gettext-tiny", "mesa", "libdrm", "libxkbcommon", "wayland", "qtdeclarative", "qt5compat", "qtmultimedia",
+  "kpty", "kbookmarks", "kconfig", "kconfigwidgets", "kcoreaddons", "kcrash", "kguiaddons", "ki18n",
+  "kiconthemes", "kdbusaddons", "kio", "knewstuff", "knotifications", "knotifyconfig", "kparts",
+  "kservice", "ktextwidgets", "kwidgetsaddons", "kwindowsystem", "kxmlgui", "kglobalaccel",
+  "kcompletion", "kitemviews", "kcodecs", "kcolorscheme", "kjobwidgets", "karchive", "sonnet",
+  "kauth", "solid", "kdnssd", "icu4c", "attica", "kpackage", "kirigami", "kbookmarks", "kparts",
+  "libX11", "xorgproto", "libXau", "libXdmcp", "libXext", "libXrender", "libXfixes", "libXi",
+  "libxcb", "xcb-util", "xcb-util-keysyms", "xcb-util-wm", "xcb-util-image", "xcb-util-renderutil"]
diff --git a/recipes/incoming-kde/kpty.toml b/recipes/incoming-kde/kpty.toml
new file mode 100644
index 00000000..72540c6e
--- /dev/null
+++ b/recipes/incoming-kde/kpty.toml
@@ -0,0 +1,40 @@
+# kpty 6.27.0 — KDE Frameworks 6: interfaz a pseudo-terminales (pty). Dep de konsole. Patrón KF6.
+name    = "kpty"
+version = "6.27.0"
+
+[source]
+tarball = "https://download.kde.org/stable/frameworks/6.27/kpty-6.27.0.tar.xz"
+sha256  = "ad06bfda8df019bb2b33567ce3df539bcc107e0dfe004281e5ff9ae4617c6ecc"
+
+[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
+'''
+compile = "cmake --build build"
+install = "DESTDIR=/out cmake --install build"
+
+[deps]
+build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools",
+  "gettext-tiny", "kcoreaddons", "ki18n"]