Friday, December 13, 2024

x11/polybar update & improve support

Update to 3.7.2
Fix IPC on OpenBSD (broken because it used /proc)
Add OpenBSD support to module/memory

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/polybar/Makefile,v
diff -u -p -u -p -r1.32 Makefile
--- Makefile 6 May 2024 12:24:17 -0000 1.32
+++ Makefile 2 Dec 2024 12:54:41 -0000
@@ -1,8 +1,7 @@
COMMENT = fast and easy-to-use status bar
-V = 3.7.1
+V = 3.7.2
DISTNAME = polybar-$V
CATEGORIES = x11
-REVISION = 0

HOMEPAGE = https://polybar.github.io/
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
Index: distinfo
===================================================================
RCS file: /cvs/ports/x11/polybar/distinfo,v
diff -u -p -u -p -r1.11 distinfo
--- distinfo 8 Dec 2023 12:07:21 -0000 1.11
+++ distinfo 2 Dec 2024 12:54:41 -0000
@@ -1,2 +1,2 @@
-SHA256 (polybar-3.7.1.tar.gz) = XeatOFugncRTpOXscFR0mkiCtbIaYsF65Av3yQYT/w8=
-SIZE (polybar-3.7.1.tar.gz) = 495162
+SHA256 (polybar-3.7.2.tar.gz) = 4v6svQLnyUuu1/ULE7y/MH2V3wMlw+yuRDKJultWryk=
+SIZE (polybar-3.7.2.tar.gz) = 494383
Index: patches/patch-src_modules_memory_cpp
===================================================================
RCS file: patches/patch-src_modules_memory_cpp
diff -N patches/patch-src_modules_memory_cpp
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_modules_memory_cpp 2 Dec 2024 12:54:41 -0000
@@ -0,0 +1,92 @@
+Index: src/modules/memory.cpp
+--- src/modules/memory.cpp.orig
++++ src/modules/memory.cpp
+@@ -2,6 +2,14 @@
+ #include <iomanip>
+ #include <istream>
+
++#ifdef __OpenBSD__
++#include <sys/param.h>
++#include <sys/types.h>
++#include <sys/sysctl.h>
++#include <sys/swap.h>
++#include <unistd.h>
++

No comments:

Post a Comment