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-12-12 17:38:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kded (Old) and /work/SRC/openSUSE:Factory/.kded.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kded" Mon Dec 12 17:38:03 2022 rev:111 rq:1042115 version:5.101.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kded/kded.changes 2022-11-15 13:19:12.528331152 +0100 +++ /work/SRC/openSUSE:Factory/.kded.new.1835/kded.changes 2022-12-12 17:39:39.493167512 +0100 @@ -1,0 +2,10 @@ +Tue Dec 6 20:10:33 UTC 2022 - Christophe Marin <[email protected]> + +- Update to 5.101.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.101.0 +- Changes since 5.100.0: + * Watch for icons directory changes from KDED (kde#455702) + +------------------------------------------------------------------- Old: ---- kded-5.100.0.tar.xz kded-5.100.0.tar.xz.sig New: ---- kded-5.101.0.tar.xz kded-5.101.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kded.spec ++++++ --- /var/tmp/diff_new_pack.gX7XLe/_old 2022-12-12 17:39:40.149170821 +0100 +++ /var/tmp/diff_new_pack.gX7XLe/_new 2022-12-12 17:39:40.161170881 +0100 @@ -16,18 +16,17 @@ # -%define _tar_path 5.100 +%define _tar_path 5.101 # 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.100.0 +Version: 5.101.0 Release: 0 Summary: Central daemon of KDE workspaces License: LGPL-2.1-or-later -Group: System/GUI/KDE URL: https://www.kde.org Source: %{name}-%{version}.tar.xz %if %{with released} @@ -57,7 +56,6 @@ %package devel Summary: Central daemon of KDE workspaces: Build Environment -Group: Development/Libraries/KDE Requires: %{name} = %{version} Requires: extra-cmake-modules ++++++ kded-5.100.0.tar.xz -> kded-5.101.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kded-5.100.0/CMakeLists.txt new/kded-5.101.0/CMakeLists.txt --- old/kded-5.100.0/CMakeLists.txt 2022-11-05 13:25:34.000000000 +0100 +++ new/kded-5.101.0/CMakeLists.txt 2022-12-03 10:45:00.000000000 +0100 @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "5.100.0") # handled by release scripts -set(KF_DEP_VERSION "5.100.0") # handled by release scripts +set(KF_VERSION "5.101.0") # handled by release scripts +set(KF_DEP_VERSION "5.101.0") # handled by release scripts project(KDED VERSION ${KF_VERSION}) include(FeatureSummary) -find_package(ECM 5.100.0 NO_MODULE) +find_package(ECM 5.101.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) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kded-5.100.0/src/kded.cpp new/kded-5.101.0/src/kded.cpp --- old/kded-5.100.0/src/kded.cpp 2022-11-05 13:25:34.000000000 +0100 +++ new/kded-5.101.0/src/kded.cpp 2022-12-03 10:45:00.000000000 +0100 @@ -438,6 +438,14 @@ for (const QString &dir : std::as_const(m_allResourceDirs)) { readDirectory(dir); } + + QStringList dataDirs = QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation); + for (auto &dir : dataDirs) { + dir += QLatin1String("/icons"); + if (!m_pDirWatch->contains(dir)) { + m_pDirWatch->addDir(dir, KDirWatch::WatchDirOnly); + } + } } void Kded::updateResourceList() @@ -515,9 +523,16 @@ update(path); } -void Kded::update(const QString &) +void Kded::update(const QString &path) { - m_pTimer->start(1000); + if (path.endsWith(QLatin1String("/icons"))) { + // If the dir was created or updated there could be new folders to merge into the active theme(s) + QDBusMessage message = QDBusMessage::createSignal(QStringLiteral("/KIconLoader"), QStringLiteral("org.kde.KIconLoader"), QStringLiteral("iconChanged")); + message << 0; + QDBusConnection::sessionBus().send(message); + } else { + m_pTimer->start(1000); + } } void Kded::readDirectory(const QString &_path)
