head 1.2; access; symbols pkgsrc-2026Q3:1.2.0.2 pkgsrc-2026Q3-base:1.2 pkgsrc-2026Q2:1.1.0.4 pkgsrc-2026Q2-base:1.1 pkgsrc-2026Q1:1.1.0.2 pkgsrc-2026Q1-base:1.1; locks; strict; comment @// @; 1.2 date 2026.09.06.10.23.30; author markd; state Exp; branches; next 1.1; commitid cVPKkdby9YJ6YxUG; 1.1 date 2025.12.23.08.48.26; author markd; state Exp; branches; next ; commitid 9stRw5miHttjKvnG; desc @@ 1.2 log @KDE Plasma: updated to 6.7.4 11 months of updates including: Plasma 6.6: * Plasma 6.6 makes your life as easy as possible, without sacrificing the flexibility or features that have made Plasma the most versatile desktop in the known universe. * With that in mind, we’ve improved Plasma’s usability and accessibility, and added practical new features into the mix. Plasma 6.7: * Plasma 6.7 brings powerful new features to KDE’s classic desktop, and refines its user experience to new levels. * Enjoy thoughtfully-designed improvements that solve real problems, a sneak peek of future theming bliss, better performance, and more. * Per-screen virtual desktops * Test your microphone volume * Press-and-hold for special characters * Widget Light/dark mode toggle * Vietnamese lunar calendar * “Background Apps” in the System Tray * Oxygen theme brought back up to par with the current Breeze theme @ text @$NetBSD: patch-kcms_about-distro_src_MemoryEntry.cpp,v 1.1 2025/12/23 08:48:26 markd Exp $ get Memory for NetBSD --- kcms/about-distro/src/MemoryEntry.cpp.orig 2026-08-04 09:20:46.000000000 +0000 +++ kcms/about-distro/src/MemoryEntry.cpp @@@@ -12,7 +12,7 @@@@ #ifdef UDEV_FOUND #include #endif -#elif defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD) +#elif defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD) || defined(Q_OS_NETBSD) // clang-format off #include #include @@@@ -104,6 +104,15 @@@@ std::optional MemoryEntry::ca if (sysctlbyname("hw.physmem", &memory, &len, NULL, 0) == 0) { return memory; } +#elif defined(Q_OS_NETBSD) + /* Stuff for sysctl */ + size_t len; + + unsigned long memory; + len = sizeof(memory); + if (sysctlbyname("hw.physmem64", &memory, &len, NULL, 0) == 0) { + return memory; + } #endif return {}; @ 1.1 log @plasma6-kinfocenter: add version 6.5.2 KInfoCenter is a utility that provides information about a computer system. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- kcms/about-distro/src/MemoryEntry.cpp.orig 2025-11-04 14:59:20.000000000 +0000 d7 1 a7 1 @@@@ -12,8 +12,9 @@@@ d11 1 a11 1 -#elif defined(Q_OS_FREEBSD) d14 1 a14 1 +#include d16 1 a16 15 #include // clang-format on @@@@ -58,6 +59,11 @@@@ std::optional MemoryEntry::ca } return totalBytes; +#elif defined(Q_OS_OPENBSD) + long phys_pages = sysconf(_SC_PHYS_PAGES); + long pagesize = sysconf(_SC_PAGESIZE); + if (phys_pages != -1 && pagesize != -1) + return ((uint64_t)phys_pages * (uint64_t)pagesize); #endif /* @@@@ -86,6 +92,15 @@@@ std::optional MemoryEntry::ca @