Hello community,

here is the log from the commit of package krunner for openSUSE:Factory checked 
in at 2019-01-21 10:22:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/krunner (Old)
 and      /work/SRC/openSUSE:Factory/.krunner.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "krunner"

Mon Jan 21 10:22:02 2019 rev:59 rq:665841 version:5.54.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/krunner/krunner.changes  2018-12-19 
13:43:16.811799171 +0100
+++ /work/SRC/openSUSE:Factory/.krunner.new.28833/krunner.changes       
2019-01-21 10:22:04.409967348 +0100
@@ -1,0 +2,11 @@
+Mon Jan 14 06:08:51 UTC 2019 - lbeltr...@kde.org
+
+- Update to 5.54.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.54.0.php
+- Changes since 5.53.0:
+  * Fix warning + port to for(...:...)
+  * Fix compare float
+
+-------------------------------------------------------------------

Old:
----
  krunner-5.53.0.tar.xz

New:
----
  krunner-5.54.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ krunner.spec ++++++
--- /var/tmp/diff_new_pack.zzt1TO/_old  2019-01-21 10:22:05.341966319 +0100
+++ /var/tmp/diff_new_pack.zzt1TO/_new  2019-01-21 10:22:05.345966315 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package krunner
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
 
 
 %define lname   libKF5Runner5
-%define _tar_path 5.53
+%define _tar_path 5.54
 # Full KF5 version (e.g. 5.33.0)
 %{!?_kf5_version: %global _kf5_version %{version}}
 # Last major and minor KF5 version (e.g. 5.33)
 %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
 Name:           krunner
-Version:        5.53.0
+Version:        5.54.0
 Release:        0
 Summary:        Plugins responsible for better integration of Qt applications 
in KDE Workspace
 License:        LGPL-2.1-or-later

++++++ krunner-5.53.0.tar.xz -> krunner-5.54.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.53.0/CMakeLists.txt 
new/krunner-5.54.0/CMakeLists.txt
--- old/krunner-5.53.0/CMakeLists.txt   2018-12-01 15:41:38.000000000 +0100
+++ new/krunner-5.54.0/CMakeLists.txt   2019-01-04 22:44:25.000000000 +0100
@@ -1,12 +1,12 @@
-cmake_minimum_required(VERSION 3.0)
+cmake_minimum_required(VERSION 3.5)
 
-set(KF5_VERSION "5.53.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.53.0") # handled by release scripts
+set(KF5_VERSION "5.54.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.54.0") # handled by release scripts
 project(KRunner VERSION ${KF5_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.53.0  NO_MODULE)
+find_package(ECM 5.54.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL 
"https://projects.kde.org/projects/kdesupport/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.53.0/src/querymatch.cpp 
new/krunner-5.54.0/src/querymatch.cpp
--- old/krunner-5.53.0/src/querymatch.cpp       2018-12-01 15:41:38.000000000 
+0100
+++ new/krunner-5.54.0/src/querymatch.cpp       2019-01-04 22:44:25.000000000 
+0100
@@ -294,7 +294,7 @@
             return other.isEnabled();
         }
 
-        if (d->relevance != other.d->relevance) {
+        if (!qFuzzyCompare(d->relevance, other.d->relevance)) {
             return d->relevance < other.d->relevance;
         }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.53.0/src/runnercontext.cpp 
new/krunner-5.54.0/src/runnercontext.cpp
--- old/krunner-5.53.0/src/runnercontext.cpp    2018-12-01 15:41:38.000000000 
+0100
+++ new/krunner-5.54.0/src/runnercontext.cpp    2019-01-04 22:44:25.000000000 
+0100
@@ -136,8 +136,8 @@
     }
 
     QString correctPath;
-    const unsigned initialComponents = components.size();
-    for (unsigned i = 0; i < initialComponents - 1; i ++) {
+    const int initialComponents = components.size();
+    for (int i = 0; i < initialComponents - 1; i++) {
         const QString tmp = components[0] + QDir::separator() + components[1];
 
         if (!correctLastComponentCase(tmp, correctPath, components.size() > 2 
|| mustBeDir)) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.53.0/src/runnermanager.cpp 
new/krunner-5.54.0/src/runnermanager.cpp
--- old/krunner-5.53.0/src/runnermanager.cpp    2018-12-01 15:41:38.000000000 
+0100
+++ new/krunner-5.54.0/src/runnermanager.cpp    2019-01-04 22:44:25.000000000 
+0100
@@ -208,7 +208,7 @@
                     allCategories << categories;
 
                     bool allCategoriesDisabled = true;
-                    Q_FOREACH (const QString &cat, categories) {
+                    for (const QString &cat : categories) {
                         if (enabledCategories.contains(cat)) {
                             allCategoriesDisabled = false;
                             break;
@@ -519,7 +519,8 @@
     KConfigGroup config = d->configGroup();
     QStringList list = config.readEntry("enabledCategories", QStringList());
     if (list.isEmpty()) {
-        Q_FOREACH (AbstractRunner* runner, d->runners) {
+        list.reserve(d->runners.count());
+        for (AbstractRunner* runner : qAsConst(d->runners)) {
             list << runner->categories();
         }
     }


Reply via email to