Skip to content

feat: add FreeBSD platform support#324

Open
rudrabhoj wants to merge 2 commits intotauri-apps:devfrom
rudrabhoj:feat/freebsd-support
Open

feat: add FreeBSD platform support#324
rudrabhoj wants to merge 2 commits intotauri-apps:devfrom
rudrabhoj:feat/freebsd-support

Conversation

@rudrabhoj
Copy link
Copy Markdown

  • Add FreeBSD platform implementation
  • Update error handling for FreeBSD compatibility
  • Modify menu and submenu structures for FreeBSD
  • Update Cargo.toml dependencies for FreeBSD build

Basically it was mostly using gtk which works fine with freebsd. Added support for recognizing the freebsd platform and it compiled fine.

- Add FreeBSD platform implementation
- Update error handling for FreeBSD compatibility
- Modify menu and submenu structures for FreeBSD
- Update Cargo.toml dependencies for FreeBSD build

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Copy Markdown
Member

@FabianLars FabianLars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the pr so far! to merge it i'll also need a small changefile (check .changes dir).

lastly, please delete the zellij file :)

Comment on lines +50 to +52
[target.'cfg(target_os = "freebsd")'.dependencies]
gtk = { version = "0.18", optional = true }
libxdo = { version = "0.6.0", optional = true }
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can reuse the linux deps above via the same any(target_os = "linux", target_os = "freebsd") you used in code

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Understood, will make changes and update it!

@yaazkal
Copy link
Copy Markdown

yaazkal commented Mar 15, 2026

any chance this PR gets some tracking again? I'll love to help but don't know how to code in rust :(

My use case is that I'm trying to compile/install openfang and this is one of the dependencies.

@jdhg-orbiware
Copy link
Copy Markdown
Contributor

I was able to compile it in FreeBSD, please check this PR: #331

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.

5 participants