kde/Plasma: receta plasma-desktop 6.7.2 WIP (el shell org.kde.plasma.desktop faltante)
Configura OK (deps: qt5compat+knotifyconfig+plasma5support añadidos) y compila (155 obj); en curso con cascada de rebuild de deps (fragilidad de hashing dinámico). Al sellar → hidratar al rootfs → plasmashell cargaría la corona (H-shell). WITH_X11=OFF wayland-puro, patrón KF6.
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
# plasma-desktop 6.7.2 — provee el SHELL org.kde.plasma.desktop (corona/containment de escritorio) +
|
||||
# los KCM del System Settings + kcminit. Es lo que separa "plasmashell corre" de "escritorio prende":
|
||||
# sin él plasmashell reporta `starting invalid corona "org.kde.plasma.desktop"`. Patrón KF6 (dynamic,
|
||||
# wrapper zig filtra -Wl,--fatal-warnings, Ninja, rm -rf po, WITH_X11=OFF Wayland-puro).
|
||||
name = "plasma-desktop"
|
||||
version = "6.7.2"
|
||||
|
||||
[source]
|
||||
tarball = "https://download.kde.org/stable/plasma/6.7.2/plasma-desktop-6.7.2.tar.xz"
|
||||
sha256 = "6d1a0d5970b553329d26268f9eb3c84aa83358238afcfc2f8691147046569831"
|
||||
|
||||
[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"
|
||||
PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig \
|
||||
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 \
|
||||
-DWITH_X11=OFF
|
||||
'''
|
||||
compile = "cmake --build build"
|
||||
install = "DESTDIR=/out cmake --install build"
|
||||
|
||||
[deps]
|
||||
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "qtdeclarative", "qtsvg", "qtshadertools",
|
||||
"qtwayland", "qttools", "dbus", "extra-cmake-modules", "gettext-tiny",
|
||||
"mesa", "libdrm", "libxkbcommon", "wayland", "wayland-protocols", "plasma-wayland-protocols",
|
||||
"kded", "krunner", "ktexteditor", "prison",
|
||||
"plasma-activities-stats", "libksysguard", "libkscreen",
|
||||
"layer-shell-qt", "kscreenlocker",
|
||||
"karchive", "kauth", "kcoreaddons", "kcrash", "kdbusaddons", "kdeclarative", "kglobalaccel",
|
||||
"kguiaddons", "kholidays", "ki18n", "kiconthemes", "kidletime", "kitemmodels", "kcmutils",
|
||||
"kio", "knewstuff", "knotifications", "kpackage", "kparts", "ksvg", "ktextwidgets", "kwallet",
|
||||
"kcolorscheme",
|
||||
"libplasma", "kwayland", "plasma-activities", "knighttime", "kwin", "kirigami", "plasma5support",
|
||||
"kconfig", "kconfigwidgets", "kcodecs", "kcompletion", "kwidgetsaddons", "kitemviews",
|
||||
"kxmlgui", "syntax-highlighting", "qtspeech", "qtmultimedia", "qt5compat", "knotifyconfig",
|
||||
"sonnet", "kjobwidgets", "kbookmarks", "kservice", "attica", "solid", "kdnssd",
|
||||
"kfilemetadata", "kwindowsystem", "kglobalacceld", "kdecoration", "kplotting",
|
||||
"qtpositioning", "kholidays",
|
||||
"libgcrypt", "libgpg-error", "openssl", "util-linux", "zlib", "zstd",
|
||||
"libX11", "xorgproto", "libXau", "libXdmcp", "libXext", "libXrender", "libXfixes", "libXi",
|
||||
"libxcb", "xcb-util", "xcb-util-cursor", "xcb-util-keysyms", "xcb-util-wm",
|
||||
"xcb-util-image", "xcb-util-renderutil",
|
||||
"libudev-zero", "pixman", "lcms2", "fontconfig", "freetype", "libcanberra"]
|
||||
Reference in New Issue
Block a user