commit kded for openSUSE:Factory
Hello community, here is the log from the commit of package kded for openSUSE:Factory checked in at 2019-04-19 21:21:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kded (Old) and /work/SRC/openSUSE:Factory/.kded.new.5536 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kded" Fri Apr 19 21:21:44 2019 rev:67 rq:695212 version:5.57.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kded/kded.changes 2019-03-21 09:44:45.018918966 +0100 +++ /work/SRC/openSUSE:Factory/.kded.new.5536/kded.changes 2019-04-19 21:22:24.487723229 +0200 @@ -1,0 +2,11 @@ +Sun Apr 14 20:21:42 UTC 2019 - lbeltrame@kde.org + +- 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: + * [kded] compile without foreach + * It compiles fine without deprecated method (until 5.13) + +------------------------------------------------------------------- Old: ---- kded-5.56.0.tar.xz New: ---- kded-5.57.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kded.spec ++++++ --- /var/tmp/diff_new_pack.j0AWOR/_old 2019-04-19 21:22:25.727724807 +0200 +++ /var/tmp/diff_new_pack.j0AWOR/_new 2019-04-19 21:22:25.731724813 +0200 @@ -16,14 +16,14 @@ # -%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}')} %bcond_without lang Name: kded -Version: 5.56.0 +Version: 5.57.0 Release: 0 Summary: Central daemon of KDE workspaces License: LGPL-2.1-or-later ++++++ kded-5.56.0.tar.xz -> kded-5.57.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kded-5.56.0/.gitignore new/kded-5.57.0/.gitignore --- old/kded-5.56.0/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/kded-5.57.0/.gitignore 2019-04-07 09:26:19.000000000 +0200 @@ -0,0 +1,21 @@ +# Ignore the following files +*~ +*.[oa] +*.diff +*.kate-swp +*.kdev4 +.kdev_include_paths +*.kdevelop.pcs +*.moc +*.moc.cpp +*.orig +*.user +.*.swp +.swp.* +Doxyfile +Makefile +avail +random_seed +/build*/ +CMakeLists.txt.user* +*.unc-backup* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kded-5.56.0/CMakeLists.txt new/kded-5.57.0/CMakeLists.txt --- old/kded-5.56.0/CMakeLists.txt 2019-03-02 14:37:03.000000000 +0100 +++ new/kded-5.57.0/CMakeLists.txt 2019-04-07 09:26:19.000000000 +0200 @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 3.5) -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(KDED VERSION ${KF5_VERSION}) 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) @@ -40,7 +40,8 @@ # We don't install kded_version.h, it's only useful internally # (given that this framework produces no library) -#add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) +add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) +add_definitions(-DQT_NO_FOREACH) if (KF5DocTools_FOUND) if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po") kdoctools_install(po) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kded-5.56.0/src/kded.cpp new/kded-5.57.0/src/kded.cpp --- old/kded-5.56.0/src/kded.cpp 2019-03-02 14:37:03.000000000 +0100 +++ new/kded-5.57.0/src/kded.cpp 2019-04-07 09:26:19.000000000 +0200 @@ -152,12 +152,12 @@ { QVector<KPluginMetaData> plugins = KPluginLoader::findPlugins(QStringLiteral("kf5/kded")); QSet<QString> moduleIds; - foreach (const KPluginMetaData &md, plugins) { + for (const KPluginMetaData &md : qAsConst(plugins)) { moduleIds.insert(md.pluginId()); } // also search for old .desktop based kded modules - KPluginInfo::List oldStylePlugins = KPluginInfo::fromServices(KServiceTypeTrader::self()->query(QStringLiteral("KDEDModule"))); - foreach (const KPluginInfo &info, oldStylePlugins) { + const KPluginInfo::List oldStylePlugins = KPluginInfo::fromServices(KServiceTypeTrader::self()->query(QStringLiteral("KDEDModule"))); + for (const KPluginInfo &info : oldStylePlugins) { if (moduleIds.contains(info.pluginName())) { qCWarning(KDED).nospace() << "kded module " << info.pluginName() << " has already been found using " "JSON metadata, please don't install the now unneeded .desktop file (" << info.entryPath() << ")."; @@ -222,7 +222,7 @@ // Preload kded modules. const QVector<KPluginMetaData> kdedModules = availableModules(); - foreach (const KPluginMetaData &module, kdedModules) { + for (const KPluginMetaData &module : kdedModules) { // Should the service load on startup? const bool autoload = isModuleAutoloaded(module); if (!platformSupportsModule(module)) { @@ -272,8 +272,8 @@ { qCDebug(KDED) << "Loading second phase autoload"; KSharedConfig::Ptr config = KSharedConfig::openConfig(); - QVector<KPluginMetaData> kdedModules = availableModules(); - foreach (const KPluginMetaData &module, kdedModules) { + const QVector<KPluginMetaData> kdedModules = availableModules(); + for (const KPluginMetaData &module : kdedModules) { const bool autoload = isModuleAutoloaded(module); if (autoload && phaseForModule(module) == 2) { qCDebug(KDED) << "2nd phase: loading" << module.pluginId(); @@ -446,7 +446,7 @@ it != windowIds.end(); ++it) { qlonglong windowId = *it; m_globalWindowIdList.remove(windowId); - foreach (KDEDModule *module, m_modules) { + for (KDEDModule *module : qAsConst(m_modules)) { emit module->windowUnregistered(windowId); } } @@ -585,7 +585,7 @@ windowIds.append(windowId); m_windowIdList.insert(sender, windowIds); - foreach (KDEDModule *module, m_modules) { + for (KDEDModule *module : qAsConst(m_modules)) { qCDebug(KDED) << module->moduleName(); emit module->windowRegistered(windowId); } @@ -605,7 +605,7 @@ } } - foreach (KDEDModule *module, m_modules) { + for (KDEDModule *module : qAsConst(m_modules)) { qCDebug(KDED) << module->moduleName(); emit module->windowUnregistered(windowId); } @@ -770,7 +770,7 @@ // Also register as all the names we should respond to (org.kde.kcookiejar, org.kde.khotkeys etc.) // so that the calling code is independent from the physical "location" of the service. const QVector<KPluginMetaData> plugins = KPluginLoader::findPlugins(QStringLiteral("kf5/kded")); - foreach (const KPluginMetaData &metaData, plugins) { + for (const KPluginMetaData &metaData : plugins) { const QString serviceName = metaData.rawData().value(QStringLiteral("X-KDE-DBus-ServiceName")).toString(); if (serviceName.isEmpty()) { continue;
participants (1)
-
root