Files
RedBear-OS/local/patches/kf6-kjobwidgets/01-initial-migration.patch
T
vasilito 7b6e83f14b kf6-kjobwidgets: restore KNotificationJobUiDelegate and KF6Notifications
Re-enable the desktop notification delegate that was disabled in the
initial migration patch. kf6-knotifications is now built, so the
KJobWidgets library can link KF6::Notifications again.

- Remove duplicated Qt6GuiPrivate find_package lines from CMakeLists.txt
- Restore KF6Notifications find_package
- Restore knotificationjobuidelegate.cpp/h in src/CMakeLists.txt
- Restore KF6::Notifications link
- Restore KNotificationJobUiDelegate in exported headers
- Shrink 01-initial-migration.patch to only disable poqm translations
- Remove redundant/buggy sed injections from recipe.toml

The recipe.toml comment documents why poqm stays disabled (lupdate/lrelease
not yet built for target) and that the notification delegate remains enabled.
2026-07-10 16:06:02 +03:00

28 lines
985 B
Diff

# Initial migration of the inline sed -i chains in
# local/recipes/kde/kf6-kjobwidgets's [build].script to a durable external
# patch. Captured by local/scripts/migrate-kf6-seds-direct.sh
# on 2026-06-12T20:04:39+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-kjobwidgets"
# cookbook_apply_patches "${REDBEAR_PATCHES_DIR}"
# in place of the sed -i chains that produced these edits.
#
# Update 2026-07-10: KNotificationJobUiDelegate and KF6Notifications are now
# left enabled (kf6-knotifications builds). Only poqm translations stay disabled
# until lupdate/lrelease are built for the Redox target.
--- ./CMakeLists.txt
+++ ./CMakeLists.txt
@@ -50,7 +50,7 @@
KF 6.8.0
)
-ecm_install_po_files_as_qm(poqm)
+#ecm_install_po_files_as_qm(poqm) # translations deferred until lupdate/lrelease is built for target
add_subdirectory(src)