# Initial migration of the inline sed -i chains in # local/recipes/kde/kf6-syntaxhighlighting's [build].script to a durable external # patch. Captured by local/scripts/migrate-kf6-seds-direct.sh # on 2026-06-12T19:45:31+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-syntaxhighlighting" # cookbook_apply_patches "${REDBEAR_PATCHES_DIR}" # in place of the sed -i chains that produced these edits. diff -ruN '--label=CMakeLists.txt' '--label=CMakeLists.txt' '--exclude=.git' '--exclude=target' '--exclude=.clang-format' '--exclude=.gitignore' CMakeLists.txt CMakeLists.txt --- CMakeLists.txt +++ CMakeLists.txt @@ -39,12 +39,12 @@ # Dependencies # set(REQUIRED_QT_VERSION 6.9.0) -find_package(Qt6 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED COMPONENTS Core Network Test) +find_package(Qt6 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED COMPONENTS Core Network) option(KSYNTAXHIGHLIGHTING_USE_GUI "Build components depending on QtGui" ON) if(KSYNTAXHIGHLIGHTING_USE_GUI) find_package(Qt6 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED COMPONENTS Gui) endif() -find_package(Qt6 ${REQUIRED_QT_VERSION} NO_MODULE QUIET OPTIONAL_COMPONENTS PrintSupport Widgets Quick) +find_package(Qt6 ${REQUIRED_QT_VERSION} NO_MODULE QUIET OPTIONAL_COMPONENTS PrintSupport Widgets) set_package_properties(Qt6 PROPERTIES URL "http://qt-project.org/") set_package_properties(Qt6Widgets PROPERTIES PURPOSE "Example application.") set_package_properties(Qt6PrintSupport PROPERTIES PURPOSE "Example application.") @@ -75,7 +75,7 @@ # # Translations # -ecm_install_po_files_as_qm(poqm) +#ecm_install_po_files_as_qm(poqm) # tell the framework if it shall use the syntax files from the resource if (QRC_SYNTAX) @@ -99,9 +99,9 @@ add_subdirectory(src) if(TARGET Qt6::Gui) add_subdirectory(examples) - if (BUILD_TESTING) - add_subdirectory(autotests) - endif() +# if (BUILD_TESTING) +# add_subdirectory(autotests) +# endif() endif() #