mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
ksysguard: add patch for system monitor applet
This commit is contained in:
parent
29e0842f56
commit
c99a71471f
3 changed files with 56 additions and 1 deletions
54
srcpkgs/ksysguard/patches/5391f4de.patch
Normal file
54
srcpkgs/ksysguard/patches/5391f4de.patch
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
From 5391f4def701629ffbb2d0b20ef92af2fec7c313 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Heiko Becker <heirecka@exherbo.org>
|
||||||
|
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
|
||||||
|
|
1
srcpkgs/ksysguard/patches/5391f4de.patch.args
Normal file
1
srcpkgs/ksysguard/patches/5391f4de.patch.args
Normal file
|
@ -0,0 +1 @@
|
||||||
|
-Np1
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ksysguard'
|
# Template file for 'ksysguard'
|
||||||
pkgname=ksysguard
|
pkgname=ksysguard
|
||||||
version=5.19.0
|
version=5.19.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DBUILD_TESTING=OFF"
|
configure_args="-DBUILD_TESTING=OFF"
|
||||||
hostmakedepends="extra-cmake-modules kdoctools qt5-qmake qt5-host-tools
|
hostmakedepends="extra-cmake-modules kdoctools qt5-qmake qt5-host-tools
|
||||||
|
|
Loading…
Add table
Reference in a new issue