Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kf6-krunner for openSUSE:Factory checked in at 2025-04-15 16:43:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kf6-krunner (Old) and /work/SRC/openSUSE:Factory/.kf6-krunner.new.1907 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kf6-krunner" Tue Apr 15 16:43:50 2025 rev:14 rq:1268868 version:6.13.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kf6-krunner/kf6-krunner.changes 2025-03-17 22:16:58.488929749 +0100 +++ /work/SRC/openSUSE:Factory/.kf6-krunner.new.1907/kf6-krunner.changes 2025-04-15 16:46:46.269277648 +0200 @@ -1,0 +2,15 @@ +Sat Apr 5 12:33:41 UTC 2025 - Christophe Marin <christo...@krop.fr> + +- Update to 6.13.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.13.0 +- Changes since 6.12.0: + * Restore FavoriteCountRole enum value + * Add missing include + * It compiles fine without qt6.9 deprecated methods + * It compiles fine without kf6.12 deprecated methods + * Revert "Give favorites a relative boost rather than absolute sorting position" (kde#489866) + * Update dependency version to 6.13.0 + +------------------------------------------------------------------- Old: ---- krunner-6.12.0.tar.xz krunner-6.12.0.tar.xz.sig New: ---- krunner-6.13.0.tar.xz krunner-6.13.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kf6-krunner.spec ++++++ --- /var/tmp/diff_new_pack.oGrK1P/_old 2025-04-15 16:46:46.861302438 +0200 +++ /var/tmp/diff_new_pack.oGrK1P/_new 2025-04-15 16:46:46.861302438 +0200 @@ -1,7 +1,7 @@ # # spec file for package kf6-krunner # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,13 +19,13 @@ %define qt6_version 6.7.0 %define rname krunner -# Full KF6 version (e.g. 6.9.0) +# Full KF6 version (e.g. 6.13.0) %{!?_kf6_version: %global _kf6_version %{version}} # Last major and minor KF6 version (e.g. 6.0) %{!?_kf6_bugfix_version: %define _kf6_bugfix_version %(echo %{_kf6_version} | awk -F. '{print $1"."$2}')} %bcond_without released Name: kf6-krunner -Version: 6.12.0 +Version: 6.13.0 Release: 0 Summary: KDE Framework for providing different actions given a string query License: LGPL-2.1-or-later ++++++ krunner-6.12.0.tar.xz -> krunner-6.13.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-6.12.0/CMakeLists.txt new/krunner-6.13.0/CMakeLists.txt --- old/krunner-6.12.0/CMakeLists.txt 2025-03-07 15:27:46.000000000 +0100 +++ new/krunner-6.13.0/CMakeLists.txt 2025-04-04 16:02:51.000000000 +0200 @@ -3,13 +3,13 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "6.12.0") # handled by release scripts -set(KF_DEP_VERSION "6.12.0") # handled by release scripts +set(KF_VERSION "6.13.0") # handled by release scripts +set(KF_DEP_VERSION "6.13.0") # handled by release scripts project(KRunner VERSION ${KF_VERSION}) # ECM setup include(FeatureSummary) -find_package(ECM 6.12.0 NO_MODULE) +find_package(ECM 6.13.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) @@ -49,8 +49,8 @@ find_package(Qt6 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Gui) ecm_set_disabled_deprecation_versions( - QT 6.8.0 - KF 6.11.0 + QT 6.9.0 + KF 6.12.0 ) find_package(KF6Config ${KF_DEP_VERSION} REQUIRED) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-6.12.0/autotests/runnermanagertest.cpp new/krunner-6.13.0/autotests/runnermanagertest.cpp --- old/krunner-6.12.0/autotests/runnermanagertest.cpp 2025-03-07 15:27:46.000000000 +0100 +++ new/krunner-6.13.0/autotests/runnermanagertest.cpp 2025-04-04 16:02:51.000000000 +0200 @@ -7,6 +7,7 @@ #include <KSharedConfig> #include <QCoreApplication> +#include <QElapsedTimer> #include <QObject> #include <QProcess> #include <QStandardPaths> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-6.12.0/src/model/resultsmodel.cpp new/krunner-6.13.0/src/model/resultsmodel.cpp --- old/krunner-6.12.0/src/model/resultsmodel.cpp 2025-03-07 15:27:46.000000000 +0100 +++ new/krunner-6.13.0/src/model/resultsmodel.cpp 2025-04-04 16:02:51.000000000 +0200 @@ -59,19 +59,12 @@ if (isCategoryComparison) { const int favoriteA = sourceA.data(ResultsModel::FavoriteIndexRole).toInt(); const int favoriteB = sourceB.data(ResultsModel::FavoriteIndexRole).toInt(); - bool isFavoriteA = favoriteA != -1; - bool isFavoriteB = favoriteB != -1; - if (isFavoriteA && !isFavoriteB) { - return false; - } else if (!isFavoriteA && isFavoriteB) { - return true; + if (favoriteA != favoriteB) { + return favoriteA > favoriteB; } - const int favoritesCount = sourceA.data(ResultsModel::FavoriteCountRole).toInt(); - const double favoriteAMultiplicationFactor = (favoriteA ? 1 + ((favoritesCount - favoriteA) * 0.2) : 1); - const double typeA = sourceA.data(ResultsModel::CategoryRelevanceRole).toReal() * favoriteAMultiplicationFactor; - const double favoriteBMultiplicationFactor = (favoriteB ? 1 + ((favoritesCount - favoriteB) * 0.2) : 1); - const double typeB = sourceB.data(ResultsModel::CategoryRelevanceRole).toReal() * favoriteBMultiplicationFactor; + const int typeA = sourceA.data(ResultsModel::CategoryRelevanceRole).toReal(); + const int typeB = sourceB.data(ResultsModel::CategoryRelevanceRole).toReal(); return typeA < typeB; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-6.12.0/src/model/resultsmodel.h new/krunner-6.13.0/src/model/resultsmodel.h --- old/krunner-6.12.0/src/model/resultsmodel.h 2025-03-07 15:27:46.000000000 +0100 +++ new/krunner-6.13.0/src/model/resultsmodel.h 2025-04-04 16:02:51.000000000 +0200 @@ -79,7 +79,7 @@ UrlsRole, QueryMatchRole, /// @internal FavoriteIndexRole, /// @internal - FavoriteCountRole, /// @internal + FavoriteCountRole, /// @internal, unused }; Q_ENUM(Roles) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-6.12.0/src/model/runnerresultsmodel.cpp new/krunner-6.13.0/src/model/runnerresultsmodel.cpp --- old/krunner-6.12.0/src/model/runnerresultsmodel.cpp 2025-03-07 15:27:46.000000000 +0100 +++ new/krunner-6.13.0/src/model/runnerresultsmodel.cpp 2025-04-04 16:02:51.000000000 +0200 @@ -298,14 +298,12 @@ if (match.isValid()) { const QString id = match.runner()->id(); int idx = m_favoriteIds.indexOf(id); - return idx; + return idx == -1 ? m_favoriteIds.size() : idx; } } // Any match that is not a favorite will have a greater index than an actual favorite return m_favoriteIds.size(); } - case ResultsModel::FavoriteCountRole: - return m_favoriteIds.size(); // Returns the highest type/role within the group case ResultsModel::CategoryRelevanceRole: { int highestType = 0;