# 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)