86a80b2f12
24 KF6 recipes had inline `sed -i` chains in their [build].script that targeted `ecm_install_po_files_as_qm(poqm)` in CMakeLists.txt. Upstream KDE Frameworks 6.26.0 has dropped the call entirely for packages that no longer ship translations — the sed chains were no-ops. Per the v6.0 zero-tolerance policy for sed hacks and dead code, this commit removes the chains rather than leaving them as workaround cruft. Recipes cleaned (24): kf6-attica, kf6-kcolorscheme, kf6-kconfigwidgets, kf6-kcrash, kf6-kguiaddons, kf6-ki18n, kf6-kiconthemes, kf6-kidletime, kf6-kimageformats, kf6-kio, kf6-kitemmodels, kf6-knewstuff, kf6-kpackage, kf6-kservice, kf6-ksvg, kf6-ktexteditor, kf6-ktextwidgets, kf6-kwallet, kf6-kxmlgui, kf6-parts, kf6-plasma-activities, kf6-prison, kf6-pty, plasma-framework Each recipe lost 1-17 sed lines (5-line multi-line `sed -i ... \ file` continuations correctly consumed). All 24 recipes still parse as valid TOML. Helper: `local/scripts/cleanup-kf6-noop-seds.sh` (new). Walks the NO-OP list, makes a timestamped backup, removes the sed chain + any orphan `\\` continuation + any orphan `&& cd` continuation, verifies zero sed lines remain. Idempotent. The 15 HAS-LINE recipes (kf6-kauth, kf6-kbookmarks, kf6-kcodecs, kf6-kcompletion, kf6-kconfig, kf6-kcoreaddons, kf6-kdbusaddons, kf6-kglobalaccel, kf6-kitemviews, kf6-kjobwidgets, kf6-knotifications, kf6-kwidgetsaddons, kf6-solid, kf6-sonnet, kf6-syntaxhighlighting) still have their sed chains in place and will be migrated to external patches via `migrate-kf6-seds-to-patches.sh` in a follow-up. The 2 git-sourced recipes (breeze, kirigami, …) will be handled once their source is fetched and the line-presence check can run.
45 lines
1.3 KiB
TOML
45 lines
1.3 KiB
TOML
#TODO: KF6PlasmaActivities — KDE Plasma activities library.
|
|
# Provides Plasma::Activities and PlasmaActivitiesConfig.cmake.
|
|
# Required by plasma-framework (KDE Plasma 6.x). Built from upstream tarball.
|
|
[source]
|
|
tar = "https://download.kde.org/stable/plasma/6.6.5/plasma-activities-6.6.5.tar.xz"
|
|
blake3 = "d716907fcb7a10be0875287cb3adfdaf2b99c4432327d8e74fd2cc77c89ca567"
|
|
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"qtbase",
|
|
"kf6-extra-cmake-modules",
|
|
"kf6-kcoreaddons",
|
|
"kf6-ki18n",
|
|
"kf6-kconfig",
|
|
"kf6-kwindowsystem",
|
|
]
|
|
script = """
|
|
DYNAMIC_INIT
|
|
|
|
HOST_BUILD="${COOKBOOK_ROOT}/build/qt-host-build"
|
|
source "${COOKBOOK_ROOT}/local/scripts/lib/qt-sysroot.sh"
|
|
|
|
redbear_qt_link_sysroot_dirs "${COOKBOOK_SYSROOT}" plugins mkspecs metatypes modules
|
|
|
|
|
|
rm -f CMakeCache.txt
|
|
rm -rf CMakeFiles
|
|
|
|
cmake "${COOKBOOK_SOURCE}" \\
|
|
-DCMAKE_TOOLCHAIN_FILE="${COOKBOOK_ROOT}/local/recipes/qt/redox-toolchain.cmake" \\
|
|
-DQT_HOST_PATH="${HOST_BUILD}" \\
|
|
-DCMAKE_INSTALL_PREFIX=/usr \\
|
|
-DCMAKE_BUILD_TYPE=Release \\
|
|
-DCMAKE_CXX_STANDARD=20 \\
|
|
-DCMAKE_CXX_STANDARD_REQUIRED=ON \\
|
|
-DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" \\
|
|
-DBUILD_TESTING=OFF \\
|
|
-DBUILD_QCH=OFF \\
|
|
-Wno-dev
|
|
|
|
cmake --build . -j${COOKBOOK_MAKE_JOBS}
|
|
cmake --install . --prefix "${COOKBOOK_STAGE}/usr"
|
|
"""
|