diff --git a/srcpkgs/ksysguard/patches/5391f4de.patch b/srcpkgs/ksysguard/patches/5391f4de.patch new file mode 100644 index 00000000000..a5fcb1f5943 --- /dev/null +++ b/srcpkgs/ksysguard/patches/5391f4de.patch @@ -0,0 +1,54 @@ +From 5391f4def701629ffbb2d0b20ef92af2fec7c313 Mon Sep 17 00:00:00 2001 +From: Heiko Becker +Date: Tue, 19 May 2020 23:01:52 +0200 +Subject: [PATCH] Use new name for dbus interface too + +Follow-up to e3d7e76bb7c6a9f6b174e51e636ed97a14bcd6ae. +--- + ksystemstats/autotests/main.cpp | 2 +- + ksystemstats/ksysguarddaemon.cpp | 2 +- + ksystemstats/test/main.cpp | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/ksystemstats/autotests/main.cpp b/ksystemstats/autotests/main.cpp +index b808bee1..89a31512 100644 +--- a/ksystemstats/autotests/main.cpp ++++ b/ksystemstats/autotests/main.cpp +@@ -150,7 +150,7 @@ void KStatsTest::changes() + + void KStatsTest::dbusApi() + { +- OrgKdeKSysGuardDaemonInterface iface("org.kde.kstats", ++ OrgKdeKSysGuardDaemonInterface iface("org.kde.ksystemstats", + "/", + QDBusConnection::sessionBus(), + this); +diff --git a/ksystemstats/ksysguarddaemon.cpp b/ksystemstats/ksysguarddaemon.cpp +index 2058c6b4..c9fb34df 100644 +--- a/ksystemstats/ksysguarddaemon.cpp ++++ b/ksystemstats/ksysguarddaemon.cpp +@@ -64,7 +64,7 @@ void KSysGuardDaemon::init() + { + loadProviders(); + QDBusConnection::sessionBus().registerObject("/", this, QDBusConnection::ExportAdaptors); +- QDBusConnection::sessionBus().registerService("org.kde.kstats"); ++ QDBusConnection::sessionBus().registerService("org.kde.ksystemstats"); + } + + void KSysGuardDaemon::loadProviders() +diff --git a/ksystemstats/test/main.cpp b/ksystemstats/test/main.cpp +index 57cd223b..46e48942 100644 +--- a/ksystemstats/test/main.cpp ++++ b/ksystemstats/test/main.cpp +@@ -89,7 +89,7 @@ int main(int argc, char **argv) + + SensorWatcher::SensorWatcher(int &argc, char **argv) + : QCoreApplication(argc, argv) +- , m_iface(new OrgKdeKSysGuardDaemonInterface("org.kde.kstats", ++ , m_iface(new OrgKdeKSysGuardDaemonInterface("org.kde.ksystemstats", + "/", + QDBusConnection::sessionBus(), + this)) +-- +2.27.0 + diff --git a/srcpkgs/ksysguard/patches/5391f4de.patch.args b/srcpkgs/ksysguard/patches/5391f4de.patch.args new file mode 100644 index 00000000000..2eba1cb3c5c --- /dev/null +++ b/srcpkgs/ksysguard/patches/5391f4de.patch.args @@ -0,0 +1 @@ +-Np1 diff --git a/srcpkgs/ksysguard/template b/srcpkgs/ksysguard/template index e184798806e..8c4b7910649 100644 --- a/srcpkgs/ksysguard/template +++ b/srcpkgs/ksysguard/template @@ -1,7 +1,7 @@ # Template file for 'ksysguard' pkgname=ksysguard version=5.19.0 -revision=1 +revision=2 build_style=cmake configure_args="-DBUILD_TESTING=OFF" hostmakedepends="extra-cmake-modules kdoctools qt5-qmake qt5-host-tools