Hello community, here is the log from the commit of package kglobalaccel for openSUSE:Factory checked in at 2019-05-21 10:28:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kglobalaccel (Old) and /work/SRC/openSUSE:Factory/.kglobalaccel.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kglobalaccel" Tue May 21 10:28:14 2019 rev:69 rq:703350 version:5.58.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kglobalaccel/kglobalaccel.changes 2019-04-19 21:25:55.775992319 +0200 +++ /work/SRC/openSUSE:Factory/.kglobalaccel.new.5148/kglobalaccel.changes 2019-05-21 10:28:15.551486039 +0200 @@ -1,0 +2,15 @@ +Wed May 15 18:16:16 UTC 2019 - [email protected] + +- Update to 5.58.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.58.0.php +- Changes since 5.57.0: + * Copy container in Component::cleanUp before interating + * Don't use qAsConst over a temporary variable + * Remove two ';' +- Dropped patches, now upstream: + * 0001-Copy-container-in-Component-cleanUp-before-interatin.patch + * Dont-use-qAsConst-over-a-temporary-variable.patch + +------------------------------------------------------------------- Old: ---- 0001-Copy-container-in-Component-cleanUp-before-interatin.patch Dont-use-qAsConst-over-a-temporary-variable.patch kglobalaccel-5.57.0.tar.xz New: ---- kglobalaccel-5.58.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kglobalaccel.spec ++++++ --- /var/tmp/diff_new_pack.fvKex0/_old 2019-05-21 10:28:16.307485748 +0200 +++ /var/tmp/diff_new_pack.fvKex0/_new 2019-05-21 10:28:16.307485748 +0200 @@ -17,14 +17,14 @@ %define lname libKF5GlobalAccel5 -%define _tar_path 5.57 +%define _tar_path 5.58 # 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}')} %bcond_without lang Name: kglobalaccel -Version: 5.57.0 +Version: 5.58.0 Release: 0 Summary: Global desktop keyboard shortcuts License: LGPL-2.1-or-later @@ -32,9 +32,6 @@ URL: https://www.kde.org Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz Source1: baselibs.conf -# PATCH-FIX-UPSTREAM -Patch0: Dont-use-qAsConst-over-a-temporary-variable.patch -Patch1: 0001-Copy-container-in-Component-cleanUp-before-interatin.patch BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} BuildRequires: fdupes ++++++ kglobalaccel-5.57.0.tar.xz -> kglobalaccel-5.58.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kglobalaccel-5.57.0/CMakeLists.txt new/kglobalaccel-5.58.0/CMakeLists.txt --- old/kglobalaccel-5.57.0/CMakeLists.txt 2019-04-07 09:27:50.000000000 +0200 +++ new/kglobalaccel-5.58.0/CMakeLists.txt 2019-05-07 13:22:44.000000000 +0200 @@ -1,12 +1,12 @@ cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.57.0") # handled by release scripts -set(KF5_DEP_VERSION "5.57.0") # handled by release scripts +set(KF5_VERSION "5.58.0") # handled by release scripts +set(KF5_DEP_VERSION "5.58.0") # handled by release scripts project(KGlobalAccel VERSION ${KF5_VERSION}) # ECM setup include(FeatureSummary) -find_package(ECM 5.57.0 NO_MODULE) +find_package(ECM 5.58.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/kglobalaccel-5.57.0/po/zh_CN/kglobalaccel5_qt.po new/kglobalaccel-5.58.0/po/zh_CN/kglobalaccel5_qt.po --- old/kglobalaccel-5.57.0/po/zh_CN/kglobalaccel5_qt.po 2019-04-07 09:27:50.000000000 +0200 +++ new/kglobalaccel-5.58.0/po/zh_CN/kglobalaccel5_qt.po 2019-05-07 13:22:44.000000000 +0200 @@ -13,8 +13,8 @@ msgid "" msgstr "" "Project-Id-Version: kdeorg\n" -"PO-Revision-Date: 2019-03-07 09:22\n" -"Last-Translator: guoyunhe <[email protected]>\n" +"PO-Revision-Date: 2019-05-05 22:21\n" +"Last-Translator: Guo Yunhe (guoyunhe)\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" "MIME-Version: 1.0\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kglobalaccel-5.57.0/src/runtime/component.cpp new/kglobalaccel-5.58.0/src/runtime/component.cpp --- old/kglobalaccel-5.57.0/src/runtime/component.cpp 2019-04-07 09:27:50.000000000 +0200 +++ new/kglobalaccel-5.58.0/src/runtime/component.cpp 2019-05-07 13:22:44.000000000 +0200 @@ -158,9 +158,10 @@ bool Component::cleanUp() { - bool changed = false;; + bool changed = false; - for (GlobalShortcut *shortcut : qAsConst(_current->_actions)) + const auto actions = _current->_actions; + for (GlobalShortcut *shortcut : actions) { qCDebug(KGLOBALACCELD) << _current->_actions.size(); if (!shortcut->isPresent()) @@ -330,7 +331,8 @@ // context if (component==uniqueName()) { - for (GlobalShortcut *sc : qAsConst(shortcutContext(context)->_actions)) + const auto actions = shortcutContext(context)->_actions; + for (GlobalShortcut *sc : actions) { if (sc->keys().contains(key)) return false; }
