Skip to content

add openbsd support - #4278

Merged
Alexays merged 5 commits into
Alexays:masterfrom
rwsalie:master
Aug 8, 2025
Merged

add openbsd support #4278
Alexays merged 5 commits into
Alexays:masterfrom
rwsalie:master

Conversation

@rwsalie

@rwsalie rwsalie commented Jul 8, 2025

Copy link
Copy Markdown
Contributor

Hi Alexays !

As an openbsd user who love wayland and waybar, I did a fast-fix for Waybar.

There some points:
src/main.cpp, src/modules/image.cpp and src/modules/custom.cpp: uses SIGRTMIN and SIGRTMAX neither available or used by OpenBSD.

src/modules/config.cpp: OpenBSD prefer glob than wordexp ( I made a pre-prog condition.)

src/modules/cpu_frequency: OpenBSD don't use sysctlbyname, instead they kept sysctl(2). FreeBSD/NetBSD probably does, iirc.

Some issues on Json::Value constructor where i'd to cast size_t into uint64_t.

@Alexays
Alexays merged commit c63e332 into Alexays:master Aug 8, 2025
8 of 9 checks passed
bob-beck pushed a commit to openbsd/ports that referenced this pull request Apr 17, 2026
Alexays/Waybar#4278 inadvertently broke handling
SIGUSR1/SIGUSR2 on OpenBSD. This reverts the offending bit.

+ replace sndio module in the default configuration with a custom module
using sndioctl(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants