Hello community,

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

Package is "krunner"

Mon Jan 22 16:02:58 2018 rev:47 rq:566705 version:5.42.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/krunner/krunner.changes  2018-01-09 
14:44:16.848874733 +0100
+++ /work/SRC/openSUSE:Factory/.krunner.new/krunner.changes     2018-01-22 
16:03:01.973403634 +0100
@@ -1,0 +2,13 @@
+Tue Jan 16 22:50:20 CET 2018 - [email protected]
+
+- Update to 5.42.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.42.0.php
+- Changes since 5.41.0:
+  * Remove obsolete reviewboardrc file
+  * Prevent cmake 3.10+ warning with moc & 
K_EXPORT_PLASMA_RUNNER/RUNNER_CONFIG"
+  * Remove unneeded moc include
+  * [RunnerManager] Don't mess with ThreadWeaver thread count
+
+-------------------------------------------------------------------

Old:
----
  krunner-5.41.0.tar.xz

New:
----
  krunner-5.42.0.tar.xz

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

Other differences:
------------------
++++++ krunner.spec ++++++
--- /var/tmp/diff_new_pack.jssgS9/_old  2018-01-22 16:03:02.605374061 +0100
+++ /var/tmp/diff_new_pack.jssgS9/_new  2018-01-22 16:03:02.609373874 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package krunner
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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.41
+%define _tar_path 5.42
 # 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: %global _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
 Name:           krunner
-Version:        5.41.0
+Version:        5.42.0
 Release:        0
 %define kf5_version %{version}
 BuildRequires:  cmake >= 3.0

++++++ krunner-5.41.0.tar.xz -> krunner-5.42.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.41.0/.reviewboardrc 
new/krunner-5.42.0/.reviewboardrc
--- old/krunner-5.41.0/.reviewboardrc   2017-12-02 11:19:03.000000000 +0100
+++ new/krunner-5.42.0/.reviewboardrc   1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-REVIEWBOARD_URL = "https://git.reviewboard.kde.org";
-REPOSITORY = 'git://anongit.kde.org/krunner'
-BRANCH = 'master'
-TARGET_GROUPS = 'kdeframeworks'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.41.0/CMakeLists.txt 
new/krunner-5.42.0/CMakeLists.txt
--- old/krunner-5.41.0/CMakeLists.txt   2017-12-02 11:19:03.000000000 +0100
+++ new/krunner-5.42.0/CMakeLists.txt   2018-01-06 00:42:19.000000000 +0100
@@ -1,12 +1,12 @@
 cmake_minimum_required(VERSION 3.0)
 
-set(KF5_VERSION "5.41.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.41.0") # handled by release scripts
+set(KF5_VERSION "5.42.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.42.0") # handled by release scripts
 project(KRunner VERSION ${KF5_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.41.0  NO_MODULE)
+find_package(ECM 5.42.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)
 
@@ -44,9 +44,15 @@
 find_package(KF5KIO ${KF5_DEP_VERSION} REQUIRED)
 find_package(KF5Service ${KF5_DEP_VERSION} REQUIRED)
 find_package(KF5Plasma ${KF5_DEP_VERSION} REQUIRED)
-find_package(KF5Solid ${KF5_DEP_VERSION} REQUIRED)
 find_package(KF5ThreadWeaver ${KF5_DEP_VERSION} REQUIRED)
 
+set(KRunner_AUTOMOC_MACRO_NAMES "K_EXPORT_PLASMA_RUNNER" 
"K_EXPORT_RUNNER_CONFIG")
+if(NOT CMAKE_VERSION VERSION_LESS "3.10.0")
+    # CMake 3.9+ warns about automoc on files without Q_OBJECT, and doesn't 
know about other macros.
+    # 3.10+ lets us provide more macro names that require automoc.
+    list(APPEND CMAKE_AUTOMOC_MACRO_NAMES ${KRunner_AUTOMOC_MACRO_NAMES})
+endif()
+
 # Subdirectories
 add_subdirectory(src)
 add_subdirectory(autotests)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.41.0/KF5RunnerConfig.cmake.in 
new/krunner-5.42.0/KF5RunnerConfig.cmake.in
--- old/krunner-5.41.0/KF5RunnerConfig.cmake.in 2017-12-02 11:19:03.000000000 
+0100
+++ new/krunner-5.42.0/KF5RunnerConfig.cmake.in 2018-01-06 00:42:19.000000000 
+0100
@@ -4,5 +4,11 @@
 find_dependency(Qt5Core "@REQUIRED_QT_VERSION@")
 find_dependency(KF5Plasma "@KF5_DEP_VERSION@")
 
+if(NOT CMAKE_VERSION VERSION_LESS "3.10.0")
+    # CMake 3.9+ warns about automoc on files without Q_OBJECT, and doesn't 
know about other macros.
+    # 3.10+ lets us provide more macro names that require automoc.
+    list(APPEND CMAKE_AUTOMOC_MACRO_NAMES @KRunner_AUTOMOC_MACRO_NAMES@)
+endif()
+
 include("${CMAKE_CURRENT_LIST_DIR}/KF5RunnerTargets.cmake")
 @PACKAGE_INCLUDE_QCHTARGETS@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.41.0/autotests/testremoterunner.cpp 
new/krunner-5.42.0/autotests/testremoterunner.cpp
--- old/krunner-5.41.0/autotests/testremoterunner.cpp   2017-12-02 
11:19:03.000000000 +0100
+++ new/krunner-5.42.0/autotests/testremoterunner.cpp   2018-01-06 
00:42:19.000000000 +0100
@@ -76,5 +76,3 @@
     TestRemoteRunner r;
     app.exec();
 }
-
-#include "testremoterunner.moc"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.41.0/src/CMakeLists.txt 
new/krunner-5.42.0/src/CMakeLists.txt
--- old/krunner-5.41.0/src/CMakeLists.txt       2017-12-02 11:19:03.000000000 
+0100
+++ new/krunner-5.42.0/src/CMakeLists.txt       2018-01-06 00:42:19.000000000 
+0100
@@ -34,7 +34,6 @@
         KF5::Service
         KF5::I18n
         KF5::ThreadWeaver
-        KF5::Solid
         KF5::CoreAddons #KShell
         KF5::KIOCore #KProtocolInfo
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.41.0/src/runnermanager.cpp 
new/krunner-5.42.0/src/runnermanager.cpp
--- old/krunner-5.41.0/src/runnermanager.cpp    2017-12-02 11:19:03.000000000 
+0100
+++ new/krunner-5.42.0/src/runnermanager.cpp    2018-01-06 00:42:19.000000000 
+0100
@@ -31,9 +31,6 @@
 #include <kplugininfo.h>
 #include <kservicetypetrader.h>
 
-#include <solid/device.h>
-#include <solid/deviceinterface.h>
-
 #include <ThreadWeaver/DebuggingAids>
 #include <ThreadWeaver/Queue>
 #include <ThreadWeaver/Thread>
@@ -99,20 +96,9 @@
     {
         KConfigGroup config = configGroup();
 
-        //The number of threads used scales with the number of processors.
-        const int numProcs =
-            
qMax(Solid::Device::listFromType(Solid::DeviceInterface::Processor).count(), 1);
-        //This entry allows to define a hard upper limit independent of the 
number of processors.
-        const int maxThreads = config.readEntry("maxThreads", 16);
-        const int numThreads = qMin(maxThreads, 2 + ((numProcs - 1) * 2));
-        //qCDebug(KRUNNER) << "setting up" << numThreads << "threads for" << 
numProcs << "processors";
-        if (numThreads > Queue::instance()->maximumNumberOfThreads()) {
-            Queue::instance()->setMaximumNumberOfThreads(numThreads);
-        }
         // Limit the number of instances of a single normal speed runner and 
all of the slow runners
         // to half the number of threads
-        const int cap = qMax(2, numThreads/2);
-        DefaultRunnerPolicy::instance().setCap(cap);
+        DefaultRunnerPolicy::instance().setCap(qMax(2, 
Queue::instance()->maximumNumberOfThreads() / 2));
 
         enabledCategories = config.readEntry("enabledCategories", 
QStringList());
         context.restore(config);


Reply via email to