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 1471Shell 173Rust 105Markdown 943545 Definitions

⎇ 32627251b1adcc995958bd60e72226040bff6125 recipes/incoming-kde/kio.toml TOML · 63 lines · 4.0 KB History raw

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

1# kio 6.27.0 — KDE Frameworks 6 (Capa 3, ADR 0011). EL framework de I/O: protocolos, workers, file dialogs, KRun.
2# Patrón KF6: dynamic, wrapper zig que filtra -Wl,--fatal-warnings, CMAKE_PREFIX_PATH=/usr, ECM + qttools + dbus.
3#
4# Deps del CMakeLists (recorrido subdir por subdir):
5#   Qt6 REQUIRED: Widgets Network Concurrent Xml Test; Qt6GuiPrivate (Qt>=6.10); Qt6 DBus (USE_DBUS ON en Linux).
6#     Qt6::GuiPrivate se linkea SIN condición en src/widgets y src/gui → sólo cabeceras privadas de Qt (no X11), OK.
7#   KF6 REQUIRED (build completo, ni KIOCORE_ONLY ni KIOGUI_ONLY): Config CoreAddons I18n Service Solid Crash
8#     WindowSystem Bookmarks ColorScheme Completion GuiAddons IconThemes ItemViews JobWidgets WidgetsAddons DBusAddons.
9#   KF6 OPTIONAL sellados (se activan): Wallet (kpasswdserver). KF6KDED / KF6DocTools OPTIONAL, NO sellados → salteados.
10#   Cierre transitivo (find_dependency de los .cmake anteriores): kcodecs, kconfigwidgets, sonnet, ktextwidgets,
11#     kxmlgui, karchive, kglobalaccel, knotifications, qtsvg (kiconthemes lo re-exporta) → incluidos abajo.
12#   Sistema: LibMount REQUIRED en Linux (KMountPoint) → util-linux (provee libmount + mount.pc). zlib vía qtbase.
13#     libgcrypt/libgpg-error para el cierre de kwallet.
14#
15# ACL (libacl): find_package(ACL) TYPE RECOMMENDED (NO REQUIRED) → NO es blocker; ausente = HAVE_POSIX_ACL desactivado.
16#   NO hay receta `acl`/`libacl` en el catálogo; NO se fuerza. Sin flag: RECOMMENDED no dispara el FATAL del feature_summary.
17# help worker (LibXslt + LibXml2 TYPE REQUIRED) está GATEADO por `if(KF6DocTools_FOUND)`; DocTools no sellado → subdir
18#   no se compila → LibXslt/LibXml2 NO son blocker.
19#
20# WITH_X11=OFF — KIO tiene option(WITH_X11 ... ON). Con HAVE_X11=1, src/kioexec linkea Qt6::GuiPrivate e incluye
21#   <private/qtx11extras_p.h>, y kpasswdserver/gui usan bloques #if HAVE_X11 sobre la plataforma xcb de Qt. qtbase aquí
22#   se construyó sin soporte X11 nativo (xcb apagado en el gate Capa 0) ⇒ se apaga la integración X11. WITH_WAYLAND queda
23#   ON (default): la integración wayland de KIO pasa por KF6::WindowSystem (no linkea wayland-client directo). mesa set presente.
24name    = "kio"
25version = "6.27.0"
26license = "LGPL-2.1-or-later OR LGPL-3.0-or-later"
27
28[source]
29tarball = "https://download.kde.org/stable/frameworks/6.27/kio-6.27.0.tar.xz"
30sha256  = "fc201b02c277a35ce81414b1de7e6f851e46b0b5d43beb784936a4a6dc6167d0"
31
32[build]
33compiler = "zig-cc"
34target   = "x86_64-linux-musl"
35link     = "dynamic"
36flags    = []
37
38[build.phases]
39configure = '''
40ZW="$PWD/.zwrap"; mkdir -p "$ZW"
41cat > "$ZW/cc"  <<'W'
42#!/bin/sh
43a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done
44exec /opt/zig/zig cc -mcpu=baseline $a
45W
46cat > "$ZW/cxx" <<'W'
47#!/bin/sh
48a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done
49exec /opt/zig/zig c++ -mcpu=baseline $a
50W
51chmod +x "$ZW/cc" "$ZW/cxx"
52cmake -B build -G Ninja -Wno-dev \
53  -DCMAKE_C_COMPILER="$ZW/cc" -DCMAKE_CXX_COMPILER="$ZW/cxx" -DCMAKE_ASM_COMPILER="$ZW/cc" \
54  -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_PREFIX_PATH=/usr \
55  -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF \
56  -DWITH_X11=OFF \
57  -DBUILD_TESTING=OFF -DBUILD_PYTHON_BINDINGS=OFF -DBUILD_DESIGNERPLUGIN=OFF
58'''
59compile = "cmake --build build"
60install = "DESTDIR=/out cmake --install build"
61
62[deps]
63build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "mesa", "libdrm", "libxkbcommon", "wayland", "gettext-tiny", "qtdeclarative", "qtsvg", "util-linux", "libgcrypt", "libgpg-error", "kcoreaddons", "kcodecs", "kconfig", "ki18n", "kwidgetsaddons", "karchive", "solid", "kguiaddons", "kwindowsystem", "kdbusaddons", "kitemviews", "kcrash", "kcolorscheme", "kcompletion", "kconfigwidgets", "knotifications", "kjobwidgets", "kbookmarks", "sonnet", "ktextwidgets", "kiconthemes", "kglobalaccel", "kservice", "kxmlgui", "kwallet", "libX11", "xorgproto", "libXau", "libXdmcp", "libXext", "libXrender", "libXfixes", "libXi", "libxcb"]