Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package krunner for openSUSE:Factory checked in at 2022-10-11 18:00:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/krunner (Old) and /work/SRC/openSUSE:Factory/.krunner.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "krunner" Tue Oct 11 18:00:19 2022 rev:105 rq:1009022 version:5.99.0 Changes: -------- --- /work/SRC/openSUSE:Factory/krunner/krunner.changes 2022-09-13 15:10:36.624848908 +0200 +++ /work/SRC/openSUSE:Factory/.krunner.new.2275/krunner.changes 2022-10-11 18:02:18.673770685 +0200 @@ -1,0 +2,12 @@ +Sat Oct 1 15:56:05 UTC 2022 - Christophe Giboudeaux <[email protected]> + +- Update to 5.99.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.99.0 +- Changes since 5.98.0: + * QueryMatch: Make long docstrings for enum values more readable + * Deprecate QueryMatch::MatchType::InformationalMatch + * Runner templates: fix install location + +------------------------------------------------------------------- Old: ---- krunner-5.98.0.tar.xz krunner-5.98.0.tar.xz.sig New: ---- krunner-5.99.0.tar.xz krunner-5.99.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ krunner.spec ++++++ --- /var/tmp/diff_new_pack.rryzou/_old 2022-10-11 18:02:19.129771422 +0200 +++ /var/tmp/diff_new_pack.rryzou/_new 2022-10-11 18:02:19.137771435 +0200 @@ -17,7 +17,7 @@ %define lname libKF5Runner5 -%define _tar_path 5.98 +%define _tar_path 5.99 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) @@ -25,7 +25,7 @@ # Only needed for the package signature condition %bcond_without released Name: krunner -Version: 5.98.0 +Version: 5.99.0 Release: 0 Summary: KDE Framework for providing different actions given a string query License: LGPL-2.1-or-later @@ -100,7 +100,7 @@ %{_kf5_libdir}/cmake/KF5Runner/ %{_kf5_includedir}/KRunner/ %{_kf5_mkspecsdir}/qt_KRunner.pri -%{_kf5_sharedir}/kdevfiletemplates/ +%{_kf5_sharedir}/kdevappwizard/ %{_kf5_dbusinterfacesdir}/kf5_org.kde.krunner1.xml %changelog ++++++ krunner-5.98.0.tar.xz -> krunner-5.99.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.98.0/CMakeLists.txt new/krunner-5.99.0/CMakeLists.txt --- old/krunner-5.98.0/CMakeLists.txt 2022-09-05 11:30:23.000000000 +0200 +++ new/krunner-5.99.0/CMakeLists.txt 2022-10-01 15:20:51.000000000 +0200 @@ -3,13 +3,13 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "5.98.0") # handled by release scripts -set(KF_DEP_VERSION "5.98.0") # handled by release scripts +set(KF_VERSION "5.99.0") # handled by release scripts +set(KF_DEP_VERSION "5.99.0") # handled by release scripts project(KRunner VERSION ${KF_VERSION}) # ECM setup include(FeatureSummary) -find_package(ECM 5.98.0 NO_MODULE) +find_package(ECM 5.99.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.98.0/docs/Doxyfile.local new/krunner-5.99.0/docs/Doxyfile.local --- old/krunner-5.98.0/docs/Doxyfile.local 2022-09-05 11:30:23.000000000 +0200 +++ new/krunner-5.99.0/docs/Doxyfile.local 2022-10-01 15:20:51.000000000 +0200 @@ -10,4 +10,5 @@ "KRUNNER_ENABLE_DEPRECATED_SINCE(x, y)=1" \ "KRUNNER_BUILD_DEPRECATED_SINCE(x, y)=1" \ "KRUNNER_DEPRECATED_VERSION(x, y, t)=" \ + "KRUNNER_ENUMERATOR_DEPRECATED_VERSION(x, y, t)=" \ "KRUNNER_DEPRECATED_VERSION_BELATED(x, y, xt, yt, t)=" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.98.0/src/CMakeLists.txt new/krunner-5.99.0/src/CMakeLists.txt --- old/krunner-5.98.0/src/CMakeLists.txt 2022-09-05 11:30:23.000000000 +0200 +++ new/krunner-5.99.0/src/CMakeLists.txt 2022-10-01 15:20:51.000000000 +0200 @@ -49,7 +49,7 @@ GROUP_BASE_NAME KF VERSION ${KF_VERSION} DEPRECATED_BASE_VERSION 0 - DEPRECATION_VERSIONS 5.28 5.71 5.72 5.73 5.76 5.77 5.79 5.81 5.82 5.85 5.86 5.88 + DEPRECATION_VERSIONS 5.28 5.71 5.72 5.73 5.76 5.77 5.79 5.81 5.82 5.85 5.86 5.88 5.99 EXCLUDE_DEPRECATED_BEFORE_AND_AT ${EXCLUDE_DEPRECATED_BEFORE_AND_AT} ) @@ -111,7 +111,7 @@ install(TARGETS KF5Runner EXPORT KF5RunnerTargets - ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) + ${KF_INSTALL_TARGETS_DEFAULT_ARGS}) install(FILES ${KRunner_CamelCase_HEADERS} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/KRunner/KRunner @@ -160,6 +160,7 @@ KRUNNER_DEPRECATED_EXPORT "KRUNNER_DEPRECATED_VERSION(x, y, t)" "KRUNNER_DEPRECATED_VERSION_BELATED(x, y, xt, yt, t)" + "KRUNNER_ENUMERATOR_DEPRECATED_VERSION(x, y, t)" PREDEFINED_MACROS "KSERVICE_BUILD_DEPRECATED_SINCE(x, y)=1" "PLASMA_ENABLE_DEPRECATED_SINCE(x, y)=1" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.98.0/src/querymatch.h new/krunner-5.99.0/src/querymatch.h --- old/krunner-5.98.0/src/querymatch.h 2022-09-05 11:30:23.000000000 +0200 +++ new/krunner-5.99.0/src/querymatch.h 2022-10-01 15:20:51.000000000 +0200 @@ -41,18 +41,26 @@ NoMatch = 0, /**< Null match */ CompletionMatch = 10, /**< Possible completion for the data of the query */ PossibleMatch = 30, /**< Something that may match the query */ - InformationalMatch = 50, /**< A purely informational, non-runnable match, - such as the answer to a question or calculation. - The data of the match will be converted to a string - and set in the search field */ - HelperMatch = 70, /**< A match that represents an action not directly related - to activating the given search term, such as a search - in an external tool or a command learning trigger. Helper - matches tend to be generic to the query and should not - be autoactivated just because the user hits "Enter" - while typing. They must be explicitly selected to - be activated, but unlike InformationalMatch cause - an action to be triggered. */ +#if KRUNNER_ENABLE_DEPRECATED_SINCE(5, 99) + /** + * A purely informational, non-runnable match, such as the answer to a question or calculation. + * The data of the match will be converted to a string and set in the search field. + * @deprecated Since 5.99, call RunnerContext::requestQueryStringUpdate in AbstractRunner::run method instead + */ + InformationalMatch KRUNNER_ENUMERATOR_DEPRECATED_VERSION(5, 99, "Call RunnerContext::requestQueryStringUpdate in AbstractRunner::run method instead") = + 50, +#endif + /** + * A match that represents an action not directly related + * to activating the given search term, such as a search + * in an external tool or a command learning trigger. Helper + * matches tend to be generic to the query and should not + * be autoactivated just because the user hits "Enter" + * while typing. They must be explicitly selected to + * be activated, but unlike InformationalMatch cause + * an action to be triggered. + */ + HelperMatch = 70, ExactMatch = 100, /**< An exact match to the query */ }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.98.0/src/runnermanager.cpp new/krunner-5.99.0/src/runnermanager.cpp --- old/krunner-5.98.0/src/runnermanager.cpp 2022-09-05 11:30:23.000000000 +0200 +++ new/krunner-5.99.0/src/runnermanager.cpp 2022-10-01 15:20:51.000000000 +0200 @@ -760,14 +760,17 @@ bool RunnerManager::runMatch(const QueryMatch &match) { +#if KRUNNER_BUILD_DEPRECATED_SINCE(5, 99) if (match.type() == Plasma::QueryMatch::InformationalMatch && !match.selectedAction()) { d->addToHistory(); const QString info = match.data().toString(); + qWarning() << Q_FUNC_INFO << info << match.data(); if (!info.isEmpty()) { Q_EMIT setSearchTerm(info, info.length()); return false; } } +#endif d->context.run(match); if (!d->context.shouldIgnoreCurrentMatchForHistory()) { d->addToHistory(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.98.0/templates/CMakeLists.txt new/krunner-5.99.0/templates/CMakeLists.txt --- old/krunner-5.98.0/templates/CMakeLists.txt 2022-09-05 11:30:23.000000000 +0200 +++ new/krunner-5.99.0/templates/CMakeLists.txt 2022-10-01 15:20:51.000000000 +0200 @@ -6,4 +6,4 @@ runnerpython ) -kde_package_app_templates(TEMPLATES ${apptemplate_DIRS} INSTALL_DIR ${KDE_INSTALL_KFILETEMPLATESDIR}) +kde_package_app_templates(TEMPLATES ${apptemplate_DIRS} INSTALL_DIR ${KDE_INSTALL_KAPPTEMPLATESDIR})
