Files
RedBear-OS/local/patches/kf6-kcmutils/01-initial-migration.patch
T
vasilito 705d15ec1f kf6-kcmutils: update local fork to 6.27.0 and restore QML/Quick/kcmshell
The tracked source tree was stuck at KF6 6.10.0 with QML/Quick/kcmshell
stripped out and kcmoduleloader/kcmultidialog gutted by sed/python hacks.

Replace the local source with the upstream 6.27.0 tarball content, keeping
only the .clang-format and docs/ extras. This restores:
- add_subdirectory(qml) / (quick) / (kcmshell)
- kcmoduleqml.cpp/h, KF6KCMUtilsQuick, Qt6::Qml/Quick/QuickWidgets links
- kcmoduleloader.cpp and kcmultidialog.cpp QML code paths
- ECMQmlModule and KF6KIO find_package in top-level CMakeLists.txt
- Qt6Qml find_dependency in KF6KCMUtilsConfig.cmake.in

Shrink the recipe build script to use cookbook_apply_patches of the
external 01-initial-migration.patch and remove all sed/python hacks.
Shrink the migration patch to only disable ki18n_install(po) (translations
remain deferred until lupdate/lrelease is built for target).
2026-07-10 17:11:44 +03:00

25 lines
932 B
Diff

# Initial migration of the inline sed -i chains in
# local/recipes/kde/kf6-kcmutils's [build].script to a durable external
# patch. Captured by local/scripts/migrate-kf6-seds-direct.sh
# on 2026-06-12T20:43:04+03:00.
#
# After applying this patch via cookbook_apply_patches,
# the recipe's [build].script should call:
# REDBEAR_PATCHES_DIR="/home/kellito/Builds/RedBear-OS/local/patches/kf6-kcmutils"
# cookbook_apply_patches "${REDBEAR_PATCHES_DIR}"
# in place of the sed -i chains that produced these edits.
#
# Update 2026-07-10: QML/Quick/kcmshell functionality is now restored.
# Only poqm translations remain disabled until lupdate/lrelease are built
# for the Redox target.
--- ./CMakeLists.txt
+++ ./CMakeLists.txt
@@ -76,5 +76,5 @@
add_definitions(-DTRANSLATION_DOMAIN="kcmutils6")
-ki18n_install(po)
+#ki18n_install(po) # translations deferred
add_subdirectory(src)
add_subdirectory(tools)
if(BUILD_TESTING)