pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/plasma6-kinfocenter



Module Name:    pkgsrc
Committed By:   markd
Date:           Mon Jan 19 09:52:19 UTC 2026

Modified Files:
        pkgsrc/sysutils/plasma6-kinfocenter: Makefile distinfo
Added Files:
        pkgsrc/sysutils/plasma6-kinfocenter/patches:
            patch-kcms_interrupts_main.cpp

Log Message:
plasma6-kinfocenter: use vmstat for interrupts on all the BSDs.

also depend on lscpu and glx-tools


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/plasma6-kinfocenter/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/plasma6-kinfocenter/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/plasma6-kinfocenter/patches/patch-kcms_interrupts_main.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/plasma6-kinfocenter/Makefile
diff -u pkgsrc/sysutils/plasma6-kinfocenter/Makefile:1.2 pkgsrc/sysutils/plasma6-kinfocenter/Makefile:1.3
--- pkgsrc/sysutils/plasma6-kinfocenter/Makefile:1.2    Wed Jan  7 08:48:56 2026
+++ pkgsrc/sysutils/plasma6-kinfocenter/Makefile        Mon Jan 19 09:52:19 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2026/01/07 08:48:56 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2026/01/19 09:52:19 markd Exp $
 
 DISTNAME=      kinfocenter-${PLASMAVER}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    sysutils
 
 HOMEPAGE=      https://www.kde.org/workspaces/plasmadesktop/
@@ -11,8 +11,10 @@ LICENSE=     gnu-gpl-v2 AND gnu-lgpl-v2.1 AN
 .include "../../meta-pkgs/kde/plasma6.mk"
 
 TOOL_DEPENDS+= kf6-kdoctools>=6.18.0:../../devel/kf6-kdoctools
+DEPENDS+=      glx-utils-[0-9]*:../../graphics/glx-utils
 DEPENDS+=      vulkan-tools-[0-9]*:../../graphics/vulkan-tools
 DEPENDS+=      plasma6-systemsettings>=${PLASMAVER}:../../sysutils/plasma6-systemsettings
+DEPENDS+=      lscpu-[0-9]*:../../sysutils/lscpu
 DEPENDS+=      xdpyinfo-[0-9]*:../../x11/xdpyinfo
 
 USE_TOOLS+=    msgmerge pkg-config

Index: pkgsrc/sysutils/plasma6-kinfocenter/distinfo
diff -u pkgsrc/sysutils/plasma6-kinfocenter/distinfo:1.1 pkgsrc/sysutils/plasma6-kinfocenter/distinfo:1.2
--- pkgsrc/sysutils/plasma6-kinfocenter/distinfo:1.1    Tue Dec 23 08:48:26 2025
+++ pkgsrc/sysutils/plasma6-kinfocenter/distinfo        Mon Jan 19 09:52:19 2026
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2025/12/23 08:48:26 markd Exp $
+$NetBSD: distinfo,v 1.2 2026/01/19 09:52:19 markd Exp $
 
 BLAKE2s (kinfocenter-6.5.2.tar.xz) = ff22a0e8a90e1b84530c95befd24d690c6ba1c4d660c46e452f1b7e75acf5b55
 SHA512 (kinfocenter-6.5.2.tar.xz) = 6c96092849063807e165fe51b0b9d2986c13d1956d74fcb1c57eda46c641543c3f889f73bb88df3d01f0178e25063f5c605d11c5943bcf278847c9d7c5102459
 Size (kinfocenter-6.5.2.tar.xz) = 760788 bytes
 SHA1 (patch-kcms_about-distro_src_MemoryEntry.cpp) = 001b0a06431064eda5de57bf8faece89393992d0
+SHA1 (patch-kcms_interrupts_main.cpp) = ba899a303b1cbe4a864d9dc0ffae7835373c452e

Added files:

Index: pkgsrc/sysutils/plasma6-kinfocenter/patches/patch-kcms_interrupts_main.cpp
diff -u /dev/null pkgsrc/sysutils/plasma6-kinfocenter/patches/patch-kcms_interrupts_main.cpp:1.1
--- /dev/null   Mon Jan 19 09:52:19 2026
+++ pkgsrc/sysutils/plasma6-kinfocenter/patches/patch-kcms_interrupts_main.cpp  Mon Jan 19 09:52:19 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-kcms_interrupts_main.cpp,v 1.1 2026/01/19 09:52:19 markd Exp $
+
+Use vmstat on NetBSD/OpenBSD as well.
+
+--- kcms/interrupts/main.cpp.orig      2025-11-04 14:59:20.000000000 +0000
++++ kcms/interrupts/main.cpp
+@@ -17,7 +17,7 @@ public:
+         : KQuickConfigModule(parent, data)
+     {
+         m_outputContext =
+-#if defined(Q_OS_FREEBSD)
++#if defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD)
+             new CommandOutputContext(QStringLiteral("vmstat"), {QStringLiteral("-i")}, parent);
+ #else
+             new CommandOutputContext(QStringLiteral("cat"), {QStringLiteral("/proc/interrupts")}, parent);



Home | Main Index | Thread Index | Old Index