From owner-dev-commits-ports-main@freebsd.org Mon Sep 13 18:42:16 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C845067FC43; Mon, 13 Sep 2021 18:42:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H7b1h5CjFz4bXN; Mon, 13 Sep 2021 18:42:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 946E043F8; Mon, 13 Sep 2021 18:42:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18DIgGfh064062; Mon, 13 Sep 2021 18:42:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18DIgGep064061; Mon, 13 Sep 2021 18:42:16 GMT (envelope-from git) Date: Mon, 13 Sep 2021 18:42:16 GMT Message-Id: <202109131842.18DIgGep064061@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Adriaan de Groot Subject: git: 26972239945e - main - sysutils/plasma5-ksystemstats: new port for system resource usage MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: adridg X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 26972239945e17c70d6b6117dcbd827ce11c7c99 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2021 18:42:16 -0000 The branch main has been updated by adridg: URL: https://cgit.FreeBSD.org/ports/commit/?id=26972239945e17c70d6b6117dcbd827ce11c7c99 commit 26972239945e17c70d6b6117dcbd827ce11c7c99 Author: Adriaan de Groot AuthorDate: 2021-09-13 15:23:33 +0000 Commit: Adriaan de Groot CommitDate: 2021-09-13 18:42:14 +0000 sysutils/plasma5-ksystemstats: new port for system resource usage Plasma Systemstats is a successor to (lib)KSysGuard in the way that Plasma System Monitor is a successor to KSysGuard. The background idea is that system statistics collection (resource usage) should be low-overhead and pluggable and the UI in the application flexible. KSysGuard achieved that with 2010-era technologies, but time and technology moves on. Note, though, that the backend -- the actual system-statistics- collection -- on FreeBSD is missing collection of network activity (entirely) and memory use (is wrong). System monitor is **not yet** a replacement for KSysGuard on FreeBSD, but the CPU monitoring -- which might be the most important and graphically appealing bit on a desktop machine -- is much improved. This commit introduces the new port, adds it to USE_KDE, and makes it a dependency of system-monitor, to ease the eventual replacement (once the issues mentioned above are cleared up) of old by new. --- Mk/Uses/kde.mk | 5 +++- sysutils/Makefile | 1 + sysutils/plasma5-ksystemstats/Makefile | 15 ++++++++++ sysutils/plasma5-ksystemstats/distinfo | 3 ++ sysutils/plasma5-ksystemstats/pkg-descr | 7 +++++ sysutils/plasma5-ksystemstats/pkg-plist | 39 ++++++++++++++++++++++++++ sysutils/plasma5-plasma-systemmonitor/Makefile | 4 ++- 7 files changed, 72 insertions(+), 2 deletions(-) diff --git a/Mk/Uses/kde.mk b/Mk/Uses/kde.mk index 683d09858710..90cd5315954e 100644 --- a/Mk/Uses/kde.mk +++ b/Mk/Uses/kde.mk @@ -263,7 +263,7 @@ _USE_PLASMA_ALL= activitymanagerd breeze breeze-gtk \ decoration discover drkonqi hotkeys \ infocenter kde-cli-tools kde-gtk-config \ kdeplasma-addons kgamma5 kmenuedit kscreen \ - kscreenlocker ksshaskpass ksysguard kwallet-pam \ + kscreenlocker ksshaskpass ksysguard ksystemstats kwallet-pam \ kwayland-integration kwin kwrited layer-shell-qt libkscreen \ libksysguard milou oxygen plasma-browser-integration \ plasma-desktop plasma-disks plasma-integration plasma-pa \ @@ -590,6 +590,9 @@ kde-ksshaskpass_PATH= ${KDE_PREFIX}/bin/ksshaskpass kde-ksysguard_PORT= sysutils/plasma5-ksysguard kde-ksysguard_PATH= ${KDE_PREFIX}/bin/ksysguard +kde-ksystemstats_PORT= sysutils/plasma5-ksystemstats +kde-ksysguard_PATH= ${KDE_PREFIX}/bin/ksystemstats + kde-kwallet-pam_PORT= security/plasma5-kwallet-pam kde-kwallet-pam_PATH= ${KDE_PREFIX}/lib/pam_kwallet5.so diff --git a/sysutils/Makefile b/sysutils/Makefile index 1fcf8d5a8940..76a8c6e33508 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -967,6 +967,7 @@ SUBDIR += plasma5-kinfocenter SUBDIR += plasma5-kmenuedit SUBDIR += plasma5-ksysguard + SUBDIR += plasma5-ksystemstats SUBDIR += plasma5-libksysguard SUBDIR += plasma5-plasma-disks SUBDIR += plasma5-plasma-systemmonitor diff --git a/sysutils/plasma5-ksystemstats/Makefile b/sysutils/plasma5-ksystemstats/Makefile new file mode 100644 index 000000000000..ddf6bfe3e89a --- /dev/null +++ b/sysutils/plasma5-ksystemstats/Makefile @@ -0,0 +1,15 @@ +PORTNAME= ksystemstats +DISTVERSION= ${KDE_PLASMA_VERSION} +CATEGORIES= sysutils kde kde-plasma + +MAINTAINER= kde@FreeBSD.org +COMMENT= Plasma5 library to report system activity + +LIB_DEPENDS+= libudev.so:devel/libudev-devd + +USES= cmake compiler:c++17-lang kde:5 qt:5 tar:xz +USE_KDE= config coreaddons dbusaddons i18n kio libksysguard service solid +USE_QT= concurrent core dbus gui network \ + buildtools_build qmake_build testlib_build + +.include diff --git a/sysutils/plasma5-ksystemstats/distinfo b/sysutils/plasma5-ksystemstats/distinfo new file mode 100644 index 000000000000..4d4b5127d44d --- /dev/null +++ b/sysutils/plasma5-ksystemstats/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1631543244 +SHA256 (KDE/plasma/5.22.5/ksystemstats-5.22.5.tar.xz) = 683df0bb88d237a4dffe0b438c1796db4bb4d267d42d6363fc491a69f98265b1 +SIZE (KDE/plasma/5.22.5/ksystemstats-5.22.5.tar.xz) = 86240 diff --git a/sysutils/plasma5-ksystemstats/pkg-descr b/sysutils/plasma5-ksystemstats/pkg-descr new file mode 100644 index 000000000000..117e4be382a3 --- /dev/null +++ b/sysutils/plasma5-ksystemstats/pkg-descr @@ -0,0 +1,7 @@ +KSystemStats is a daemon that collects statistics about the running system. + +On FreeBSD, KSystemStats implements low-overhead sysctl-based +monitoring for KDE Plasma applications that report on system resource +usage (e.g. ksysguard and system-monitor and widgets). + +WWW: https://invent.kde.org/plasma/ksystemstats diff --git a/sysutils/plasma5-ksystemstats/pkg-plist b/sysutils/plasma5-ksystemstats/pkg-plist new file mode 100644 index 000000000000..00b59216ef1c --- /dev/null +++ b/sysutils/plasma5-ksystemstats/pkg-plist @@ -0,0 +1,39 @@ +bin/kstatsviewer +bin/ksystemstats +%%QT_PLUGINDIR%%/ksystemstats/ksystemstats_plugin_cpu.so +%%QT_PLUGINDIR%%/ksystemstats/ksystemstats_plugin_disk.so +%%QT_PLUGINDIR%%/ksystemstats/ksystemstats_plugin_gpu.so +%%QT_PLUGINDIR%%/ksystemstats/ksystemstats_plugin_memory.so +%%QT_PLUGINDIR%%/ksystemstats/ksystemstats_plugin_network.so +%%QT_PLUGINDIR%%/ksystemstats/ksystemstats_plugin_osinfo.so +%%QT_PLUGINDIR%%/ksystemstats/ksystemstats_plugin_power.so +lib/systemd/user/plasma-ksystemstats.service +share/dbus-1/services/org.kde.ksystemstats.service +share/locale/az/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/ca/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/ca@valencia/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/cs/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/de/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/en_GB/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/es/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/et/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/eu/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/fi/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/fr/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/ia/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/id/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/it/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/ko/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/nl/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/nn/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/pa/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/pl/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/pt/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/pt_BR/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/ro/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/sk/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/sl/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/sv/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/uk/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/vi/LC_MESSAGES/ksystemstats_plugins.mo +share/locale/zh_CN/LC_MESSAGES/ksystemstats_plugins.mo diff --git a/sysutils/plasma5-plasma-systemmonitor/Makefile b/sysutils/plasma5-plasma-systemmonitor/Makefile index b00915b3368f..f1650a564fc1 100644 --- a/sysutils/plasma5-plasma-systemmonitor/Makefile +++ b/sysutils/plasma5-plasma-systemmonitor/Makefile @@ -1,5 +1,6 @@ PORTNAME= plasma-systemmonitor DISTVERSION= ${KDE_PLASMA_VERSION} +PORTREVISION= 1 CATEGORIES= sysutils kde kde-plasma MAINTAINER= kde@FreeBSD.org @@ -8,7 +9,8 @@ COMMENT= Plasma5 system monitor USES= cmake compiler:c++11-lib desktop-file-utils gettext kde:5 \ localbase pathfix qt:5 tar:xz USE_KDE= attica auth codecs config configwidgets coreaddons dbusaddons \ - ecm globalaccel i18n itemmodels kdeclarative kio libksysguard \ + ecm globalaccel i18n itemmodels kdeclarative kio \ + ksystemstats libksysguard \ newstuff package service widgetsaddons windowsystem xmlgui USE_QT= concurrent core dbus declarative gui network quickcontrols2 \ widgets xml \