Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kded for openSUSE:Factory checked in at 2022-02-24 18:19:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kded (Old) and /work/SRC/openSUSE:Factory/.kded.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kded" Thu Feb 24 18:19:27 2022 rev:101 rq:954242 version:5.91.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kded/kded.changes 2022-01-11 21:18:38.964932654 +0100 +++ /work/SRC/openSUSE:Factory/.kded.new.1958/kded.changes 2022-02-24 18:21:35.554688129 +0100 @@ -1,0 +2,15 @@ +Sun Feb 6 10:16:55 UTC 2022 - Christophe Giboudeaux <[email protected]> + +- Update to 5.91.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.91.0 +- Changes since 5.90.0: + * install plugins in kf<version> + * Add Linux Qt6 CI + * Utilize ECMDeprecationSettings to manage deprecate Qt/KF API + * Set order of kded launching with systemd boot + * kded supports building on Windows, make sure we have our dependencies available + * General code cleanup + +------------------------------------------------------------------- Old: ---- kded-5.90.0.tar.xz kded-5.90.0.tar.xz.sig New: ---- kded-5.91.0.tar.xz kded-5.91.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kded.spec ++++++ --- /var/tmp/diff_new_pack.oyK2o9/_old 2022-02-24 18:21:36.058687995 +0100 +++ /var/tmp/diff_new_pack.oyK2o9/_new 2022-02-24 18:21:36.062687994 +0100 @@ -16,14 +16,14 @@ # -%define _tar_path 5.90 +%define _tar_path 5.91 # 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 released Name: kded -Version: 5.90.0 +Version: 5.91.0 Release: 0 Summary: Central daemon of KDE workspaces License: LGPL-2.1-or-later ++++++ kded-5.90.0.tar.xz -> kded-5.91.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kded-5.90.0/.gitlab-ci.yml new/kded-5.91.0/.gitlab-ci.yml --- old/kded-5.90.0/.gitlab-ci.yml 2022-01-01 13:28:30.000000000 +0100 +++ new/kded-5.91.0/.gitlab-ci.yml 2022-02-05 22:21:20.000000000 +0100 @@ -4,3 +4,4 @@ include: - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.yml - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd.yml + - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux-qt6.yml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kded-5.90.0/.kde-ci.yml new/kded-5.91.0/.kde-ci.yml --- old/kded-5.90.0/.kde-ci.yml 2022-01-01 13:28:30.000000000 +0100 +++ new/kded-5.91.0/.kde-ci.yml 2022-02-05 22:21:20.000000000 +0100 @@ -1,14 +1,12 @@ Dependencies: -- 'on': ['Linux', 'FreeBSD'] +- 'on': ['Linux', 'FreeBSD', 'Windows'] 'require': 'frameworks/extra-cmake-modules': '@same' 'frameworks/ki18n' : '@same' 'frameworks/kcoreaddons' : '@same' 'frameworks/kdbusaddons' : '@same' 'frameworks/kservice' : '@same' - 'frameworks/kwindowsystem' : '@same' 'frameworks/kcrash' : '@same' - 'frameworks/kinit' : '@same' 'frameworks/kdoctools' : '@same' Options: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kded-5.90.0/CMakeLists.txt new/kded-5.91.0/CMakeLists.txt --- old/kded-5.90.0/CMakeLists.txt 2022-01-01 13:28:30.000000000 +0100 +++ new/kded-5.91.0/CMakeLists.txt 2022-02-05 22:21:20.000000000 +0100 @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "5.90.0") # handled by release scripts -set(KF_DEP_VERSION "5.90.0") # handled by release scripts +set(KF_VERSION "5.91.0") # handled by release scripts +set(KF_DEP_VERSION "5.91.0") # handled by release scripts project(KDED VERSION ${KF_VERSION}) include(FeatureSummary) -find_package(ECM 5.90.0 NO_MODULE) +find_package(ECM 5.91.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) @@ -17,6 +17,7 @@ include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) include(KDECMakeSettings) include(KDEGitCommitHooks) +include(ECMDeprecationSettings) find_package(Qt${QT_MAJOR_VERSION} "${REQUIRED_QT_VERSION}" CONFIG REQUIRED DBus Widgets) find_package(KF5Config ${KF_DEP_VERSION} REQUIRED) @@ -41,8 +42,13 @@ # 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=0x050f02) -add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055700) + +ecm_set_disabled_deprecation_versions( + QT 5.15.2 + KF 5.90.0 + KSERVICE 5.89 # We need KServiceTypeTrader for compatibility plugin loading +) + if (KF5DocTools_FOUND) kdoctools_install(po) add_subdirectory(docs) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kded-5.90.0/org.kde.kded5.desktop new/kded-5.91.0/org.kde.kded5.desktop --- old/kded-5.90.0/org.kde.kded5.desktop 2022-01-01 13:28:30.000000000 +0100 +++ new/kded-5.91.0/org.kde.kded5.desktop 2022-02-05 22:21:20.000000000 +0100 @@ -4,6 +4,7 @@ Name=KDED Name[ar]=???????????????? Name[az]=KDED +Name[bg]=KDED Name[ca]=KDED Name[ca@valencia]=KDED Name[cs]=KDED diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kded-5.90.0/src/kded.cpp new/kded-5.91.0/src/kded.cpp --- old/kded-5.90.0/src/kded.cpp 2022-01-01 13:28:30.000000000 +0100 +++ new/kded-5.91.0/src/kded.cpp 2022-02-05 22:21:20.000000000 +0100 @@ -36,6 +36,8 @@ #include <CoreFoundation/CoreFoundation.h> #endif +#include <memory> + Q_DECLARE_LOGGING_CATEGORY(KDED) Q_LOGGING_CATEGORY(KDED, "kf.kded", QtWarningMsg) @@ -60,7 +62,7 @@ } Kded::Kded() - : m_pDirWatch(nullptr) + : m_pDirWatch(new KDirWatch(this)) , m_pTimer(new QTimer(this)) , m_needDelayedCheck(false) { @@ -88,10 +90,8 @@ { _self = nullptr; m_pTimer->stop(); - delete m_pTimer; - delete m_pDirWatch; - for (QHash<QString, KDEDModule *>::const_iterator it(m_modules.constBegin()), itEnd(m_modules.constEnd()); it != itEnd; ++it) { + for (auto it = m_modules.cbegin(); it != m_modules.cend(); ++it) { KDEDModule *module(it.value()); // first disconnect otherwise slotKDEDModuleRemoved() is called @@ -131,7 +131,7 @@ QVector<KPluginMetaData> Kded::availableModules() const { - QVector<KPluginMetaData> plugins = KPluginMetaData::findPlugins(QStringLiteral("kf5/kded")); + QVector<KPluginMetaData> plugins = KPluginMetaData::findPlugins(QStringLiteral("kf" QT_STRINGIFY(QT_VERSION_MAJOR) "/kded")); QSet<QString> moduleIds; for (const KPluginMetaData &md : std::as_const(plugins)) { moduleIds.insert(md.pluginId()); @@ -161,7 +161,7 @@ static KPluginMetaData findModule(const QString &id) { - KPluginMetaData module(QStringLiteral("kf5/kded/") + id); + KPluginMetaData module(QStringLiteral("kf" QT_STRINGIFY(QT_VERSION_MAJOR) "/kded/") + id); if (module.isValid()) { return module; } @@ -411,11 +411,10 @@ #endif m_serviceWatcher->removeWatchedService(name); const QList<qlonglong> windowIds = m_windowIdList.value(name); - for (QList<qlonglong>::ConstIterator it = windowIds.begin(); it != windowIds.end(); ++it) { - qlonglong windowId = *it; - m_globalWindowIdList.remove(windowId); + for (const auto id : windowIds) { + m_globalWindowIdList.remove(id); for (KDEDModule *module : std::as_const(m_modules)) { - Q_EMIT module->windowUnregistered(windowId); + Q_EMIT module->windowUnregistered(id); } } m_windowIdList.remove(name); @@ -428,15 +427,15 @@ } delete m_pDirWatch; - m_pDirWatch = new KDirWatch; + m_pDirWatch = new KDirWatch(this); QObject::connect(m_pDirWatch, &KDirWatch::dirty, this, &Kded::update); QObject::connect(m_pDirWatch, &KDirWatch::created, this, &Kded::update); QObject::connect(m_pDirWatch, &KDirWatch::deleted, this, &Kded::dirDeleted); // For each resource - for (QStringList::ConstIterator it = m_allResourceDirs.constBegin(); it != m_allResourceDirs.constEnd(); ++it) { - readDirectory(*it); + for (const QString &dir : std::as_const(m_allResourceDirs)) { + readDirectory(dir); } } @@ -454,10 +453,10 @@ const QStringList dirs = KSycoca::self()->allResourceDirs(); // For each resource - for (QStringList::ConstIterator it = dirs.begin(); it != dirs.end(); ++it) { - if (!m_allResourceDirs.contains(*it)) { - m_allResourceDirs.append(*it); - readDirectory(*it); + for (const auto &dir : dirs) { + if (!m_allResourceDirs.contains(dir)) { + m_allResourceDirs.append(dir); + readDirectory(dir); } } } @@ -587,11 +586,10 @@ connect(m_pTimer, &QTimer::timeout, this, &KUpdateD::runKonfUpdate); QObject::connect(m_pDirWatch, &KDirWatch::dirty, this, &KUpdateD::slotNewUpdateFile); - const QStringList dirs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("kconf_update"), QStandardPaths::LocateDirectory); - for (QStringList::ConstIterator it = dirs.begin(); it != dirs.end(); ++it) { - QString path = *it; + QStringList dirs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("kconf_update"), QStandardPaths::LocateDirectory); + for (auto &path : dirs) { Q_ASSERT(path != QDir::homePath()); - if (path[path.length() - 1] != QLatin1Char('/')) { + if (!path.endsWith(QLatin1Char('/'))) { path += QLatin1Char('/'); } @@ -733,7 +731,7 @@ QDBusConnectionInterface *bus = QDBusConnection::sessionBus().interface(); // 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 = KPluginMetaData::findPlugins(QStringLiteral("kf5/kded")); + const QVector<KPluginMetaData> plugins = KPluginMetaData::findPlugins(QStringLiteral("kf" QT_STRINGIFY(QT_VERSION_MAJOR) "/kded")); for (const KPluginMetaData &metaData : plugins) { const QString serviceName = metaData.value(QStringLiteral("X-KDE-DBus-ServiceName")); if (serviceName.isEmpty()) { @@ -758,7 +756,7 @@ KCrash::setFlags(KCrash::AutoRestart); - Kded *kded = new Kded(); + std::unique_ptr<Kded> kded = std::make_unique<Kded>(); kded->recreate(true); // initial @@ -768,9 +766,5 @@ runKonfUpdate(); // Run it once. - int result = app.exec(); // keep running - - delete kded; - - return result; + return app.exec(); // keep running } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kded-5.90.0/src/kded.h new/kded-5.91.0/src/kded.h --- old/kded-5.90.0/src/kded.h 2022-01-01 13:28:30.000000000 +0100 +++ new/kded-5.91.0/src/kded.h 2022-02-05 22:21:20.000000000 +0100 @@ -185,7 +185,7 @@ * changed. * Slower polling for remote file systems is now done in KDirWatch (JW). */ - KDirWatch *m_pDirWatch; + KDirWatch *m_pDirWatch = nullptr; /** * When a desktop file is updated, a timer is started (5 sec) @@ -239,7 +239,7 @@ * changed. * Slower polling for remote file systems is now done in KDirWatch (JW). */ - KDirWatch *m_pDirWatch; + KDirWatch *m_pDirWatch = nullptr; /** * When a desktop file is updated, a timer is started (5 sec) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kded-5.90.0/src/plasma-kded.service.in new/kded-5.91.0/src/plasma-kded.service.in --- old/kded-5.90.0/src/plasma-kded.service.in 2022-01-01 13:28:30.000000000 +0100 +++ new/kded-5.91.0/src/plasma-kded.service.in 2022-02-05 22:21:20.000000000 +0100 @@ -1,6 +1,7 @@ [Unit] Description=KDE Daemon PartOf=graphical-session.target +After=plasma-kcminit.service [Service] ExecStart=@KDE_INSTALL_FULL_BINDIR@/kded5
