Skip to content

freebsd build - #2285

Open
bim9262 wants to merge 1 commit into
greshake:masterfrom
bim9262:freebsd
Open

freebsd build#2285
bim9262 wants to merge 1 commit into
greshake:masterfrom
bim9262:freebsd

Conversation

@bim9262

@bim9262 bim9262 commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator

@hasufell

I ended up making an attempt to make i3status-rust work on FreeBSD.

The two main differences that this introduced is that it doesn't seem like FreeBSD allows for the custom signals used on linux and some of the blocks/dependencies aren't compatible with FreeBSD.

Note that if a block failed, I disabled it entirely instead of going through each one and determining if it was only a certain driver/backend/service that needed to be disabled on non-linux systems. It's also possible that I wasn't able to build some of the features like notmuch or pipewire because I am missing a system library. If that's the case we can update the pkg install line to not need to fence off as many features.

@ammgws, any thoughts on adding this in and allowing folks to improve what's available to non-linux systems down the line? I wouldn't think that there's any non target_os = "linux" users today that this would impact.

@bim9262 bim9262 linked an issue Jun 13, 2026 that may be closed by this pull request
@ammgws

ammgws commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

The only worry I have is if no one steps up to help maintain it but if it's not that much burden for us to have those flags then maybe its ok for now. Are you running freebsd daily or was it just for testing this?

@bim9262

bim9262 commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator Author

My thought is that this should be little maintenance. If you create a new block and it fails the CI you can just throw the linux only flag on it. If a FreeBSD user wants the block they can work on making it compatible with both (again has to pass the CI). I am not a daily user of FreeBSD and therefore may have over excluded some blocks that would work, but just need the right packages to be installed in the CI.

@bim9262

bim9262 commented Jun 20, 2026

Copy link
Copy Markdown
Collaborator Author

@hasufell feel free to test this out!

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.

Fails to compile

2 participants