Mailinglist Archive: opensuse-commit (1903 mails)

< Previous Next >
commit kactivities5 for openSUSE:Factory
Hello community,

here is the log from the commit of package kactivities5 for openSUSE:Factory
checked in at 2019-04-19 21:20:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kactivities5 (Old)
and /work/SRC/openSUSE:Factory/.kactivities5.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kactivities5"

Fri Apr 19 21:20:41 2019 rev:65 rq:695197 version:5.57.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kactivities5/kactivities5.changes
2019-03-21 09:44:15.742925711 +0100
+++ /work/SRC/openSUSE:Factory/.kactivities5.new.5536/kactivities5.changes
2019-04-19 21:22:03.963697089 +0200
@@ -1,0 +2,11 @@
+Sun Apr 14 20:21:41 UTC 2019 - lbeltrame@xxxxxxx
+
+- Update to 5.57.0
+ * New feature release
+ * For more details please see:
+ * https://www.kde.org/announcements/kde-frameworks-5.57.0.php
+- Changes since 5.56.0:
+ * kactivities: remove unused variable
+ * [kactivities] compile without foreach
+
+-------------------------------------------------------------------

Old:
----
kactivities-5.56.0.tar.xz

New:
----
kactivities-5.57.0.tar.xz

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

Other differences:
------------------
++++++ kactivities5.spec ++++++
--- /var/tmp/diff_new_pack.cmexg6/_old 2019-04-19 21:22:05.543699102 +0200
+++ /var/tmp/diff_new_pack.cmexg6/_new 2019-04-19 21:22:05.567699133 +0200
@@ -17,13 +17,13 @@


%define lname libKF5Activities5
-%define _tar_path 5.56
+%define _tar_path 5.57
# 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: kactivities5
-Version: 5.56.0
+Version: 5.57.0
Release: 0
Summary: KDE Plasma Activities support
License: GPL-2.0-or-later

++++++ kactivities-5.56.0.tar.xz -> kactivities-5.57.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kactivities-5.56.0/CMakeLists.txt
new/kactivities-5.57.0/CMakeLists.txt
--- old/kactivities-5.56.0/CMakeLists.txt 2019-03-02 14:24:04.000000000
+0100
+++ new/kactivities-5.57.0/CMakeLists.txt 2019-04-07 09:16:32.000000000
+0200
@@ -3,8 +3,8 @@
cmake_minimum_required(VERSION 3.5)

# KDE Frameworks
-set(KF5_VERSION "5.56.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.56.0") # handled by release scripts
+set(KF5_VERSION "5.57.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.57.0") # handled by release scripts
project (KActivities VERSION ${KF5_VERSION})

option (KACTIVITIES_LIBRARY_ONLY "If true, compiles only the KActivities
library, without the QML imports." OFF)
@@ -24,7 +24,7 @@

# Extra CMake stuff
include(FeatureSummary)
-find_package(ECM 5.56.0 NO_MODULE)
+find_package(ECM 5.57.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)

@@ -72,6 +72,7 @@
)

add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
+add_definitions(-DQT_NO_FOREACH)

add_subdirectory (src)
if (BUILD_TESTING)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kactivities-5.56.0/autotests/common/test.cpp
new/kactivities-5.57.0/autotests/common/test.cpp
--- old/kactivities-5.56.0/autotests/common/test.cpp 2019-03-02
14:24:04.000000000 +0100
+++ new/kactivities-5.57.0/autotests/common/test.cpp 2019-04-07
09:16:32.000000000 +0200
@@ -32,10 +32,10 @@

bool Test::inEmptySession()
{
- QStringList services =
+ const QStringList services =
QDBusConnection::sessionBus().interface()->registeredServiceNames();

- foreach (const QString & service, services) {
+ for (const QString & service : services) {
bool kdeServiceAndNotKAMD =
service.startsWith(QStringLiteral("org.kde")) &&
service != KAMD_DBUS_SERVICE;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kactivities-5.56.0/src/imports/resourcemodel.cpp
new/kactivities-5.57.0/src/imports/resourcemodel.cpp
--- old/kactivities-5.56.0/src/imports/resourcemodel.cpp 2019-03-02
14:24:04.000000000 +0100
+++ new/kactivities-5.57.0/src/imports/resourcemodel.cpp 2019-04-07
09:16:32.000000000 +0200
@@ -617,7 +617,7 @@

QStringList result;

- foreach (const auto &resource, resources) {
+ for (const auto &resource : qAsConst(resources)) {
result << resource.first;
}

diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kactivities-5.56.0/src/lib/activitiescache_p.cpp
new/kactivities-5.57.0/src/lib/activitiescache_p.cpp
--- old/kactivities-5.56.0/src/lib/activitiescache_p.cpp 2019-03-02
14:24:04.000000000 +0100
+++ new/kactivities-5.57.0/src/lib/activitiescache_p.cpp 2019-04-07
09:16:32.000000000 +0200
@@ -288,9 +288,9 @@

m_activities.clear();

- ActivityInfoList activities = _activities;
+ const ActivityInfoList activities = _activities;

- foreach (const ActivityInfo &info, activities) {
+ for (const ActivityInfo &info : activities) {
m_activities << info;
}

diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kactivities-5.56.0/src/lib/activitiesmodel.cpp
new/kactivities-5.57.0/src/lib/activitiesmodel.cpp
--- old/kactivities-5.56.0/src/lib/activitiesmodel.cpp 2019-03-02
14:24:04.000000000 +0100
+++ new/kactivities-5.57.0/src/lib/activitiesmodel.cpp 2019-04-07
09:16:32.000000000 +0200
@@ -304,7 +304,6 @@
const auto _result = shownActivities.insert(activityInfoPtr);
// const auto iterator = std::get<0>(_result);
const auto index = std::get<1>(_result);
- const auto found = std::get<2>(_result);


if (notifyClients) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kactivities-5.56.0/src/lib/consumer.cpp
new/kactivities-5.57.0/src/lib/consumer.cpp
--- old/kactivities-5.56.0/src/lib/consumer.cpp 2019-03-02 14:24:04.000000000
+0100
+++ new/kactivities-5.57.0/src/lib/consumer.cpp 2019-04-07 09:16:32.000000000
+0200
@@ -75,7 +75,7 @@

result.reserve(d->cache->m_activities.size());

- foreach (const auto & info, d->cache->m_activities) {
+ for (const auto & info : qAsConst(d->cache->m_activities)) {
if (info.state == state) {
result << info.id;
}
@@ -90,7 +90,7 @@

result.reserve(d->cache->m_activities.size());

- foreach (const auto & info, d->cache->m_activities) {
+ for (const auto & info : qAsConst(d->cache->m_activities)) {
result << info.id;
}

@@ -103,7 +103,7 @@

result.reserve(d->cache->m_activities.size());

- foreach (const auto & info, d->cache->m_activities) {
+ for (const auto & info : qAsConst(d->cache->m_activities)) {
if (info.state == Info::Running || info.state == Info::Stopping) {
result << info.id;
}


< Previous Next >
This Thread
  • No further messages