Files
RedBear-OS/local/patches/kf6-notifyconfig/01-initial-migration.patch
T
vasilito dc68054305 restore lost packages from 0.2.3 + fix overwritten 0.2.4 files
- Restore 29 recipe symlinks (libdrm, qtbase, dbus, sddm, pipewire, etc.)
- Restore 33 patches (KDE, libdrm, mesa, pipewire, sddm, wireplumber)
- Restore 20+ local/scripts (audit, lint, test, build helpers)
- Restore src/cook/scheduler.rs, status.rs, gnu-config/
- Restore scripts/patch-inclusion-gate.sh, run_mini1.sh, validate-collision-log.sh
- Recover TLC source from HEAD (was overwritten by 0.2.3 checkout)
- Recover 11 local/docs plans from HEAD (were overwritten)
- Recover qt6-wayland-smoke symlink from HEAD
- Fix MOTD: remove garbled ASCII art, use clean text
- Update version: 0.2.0 -> 0.2.4 in os-release, motd, config
- Reduce filesystem_size: 1536 -> 512 MiB
- Add ABSOLUTE RULE to AGENTS.md: never delete/ignore packages
- Reduce pcid scheme log verbosity: info -> debug
2026-06-19 12:39:14 +03:00

49 lines
1.8 KiB
Diff

# Initial migration of the inline sed -i chains in
# local/recipes/kde/kf6-notifyconfig's [build].script to a durable external
# patch. Captured by local/scripts/migrate-kf6-seds-direct.sh
# on 2026-06-12T20:50:00+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-notifyconfig"
# cookbook_apply_patches "${REDBEAR_PATCHES_DIR}"
# in place of the sed -i chains that produced these edits.
--- ./CMakeLists.txt
+++ ./CMakeLists.txt
@@ -28,7 +28,7 @@
# Required Qt components to build this framework
set(REQUIRED_QT_VERSION 6.9.0)
-find_package(Qt6 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Widgets)
+find_package(Qt6 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Widgets Network)
# shall we use DBus?
# enabled per default on Linux & BSD systems
@@ -48,13 +48,13 @@
find_package(KF6I18n ${KF_DEP_VERSION} REQUIRED)
find_package(KF6KIO ${KF_DEP_VERSION} REQUIRED)
-find_package(Canberra)
+# find_package(Canberra disabled on Redox)
set_package_properties(Canberra PROPERTIES
PURPOSE "Needed to preview notification sounds"
TYPE OPTIONAL)
if (NOT Canberra_FOUND)
# This is REQUIRED since you cannot tell CMake "either one of those two optional ones are required"
- find_package(Qt6Multimedia REQUIRED)
+ set(Qt6Multimedia_FOUND FALSE)
set_package_properties(Qt6Multimedia PROPERTIES
DESCRIPTION "Qt multimedia library"
PURPOSE "Needed to preview notification sounds when Canberra isn't available")
@@ -76,7 +76,7 @@
# Subdirectories
add_definitions(-DTRANSLATION_DOMAIN=\"knotifyconfig6\")
-ki18n_install(po)
+#ki18n_install(po)
add_subdirectory(src)
if(BUILD_TESTING)
add_subdirectory(tests)