-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fails to build via cargo on FreeBSD 13.2-RELEASE #11
Comments
It seems that this project requires ffmpeg 5--are you aware of a way to install that on freebsd? (I'm unfamiliar, doing my best with a FreeBSD 13.2 VM I just installed) |
Regardless, adding [patch.crates-io]
ffmpeg-next = { git = "https://github.com/russelltg/rust-ffmpeg", branch = "fix_freebsd_build" } To the |
Until |
Okay, got it to build now. This requires the dmabuf protocol-- I don't think this is supported on BSD. Can you confirm? |
BSDs reimplemented DMABUF under BSD license when porting MIT-licensed Linux DRM drivers. Note, testing in a VM requires GPU pass-through as FreeBSD lacks kernel drivers for virtual GPUs (e.g., vmwgfx). |
I went ahead and installed it on an external drive so it's running natively, and with that cargo patch line it builds nicely and seems to work! (I'm in sway) |
I added some docs to the readme on how to build this for FreeBSD. Closing this for now--eventually I'll remove that when my PR gets merged. |
Packaged. DragonFly may catch up later. |
Very cool! I think your dependency list is sufficient as it will pull ffmpeg and llvm15 (I'm assuming library deps are implied as build deps, I'm unfamiliar with how pkg works) However, it does also require libclang (for parsing ffmpeg headers and generating bindings) and ends up depending on libavcodec as well I believe. Also, I've been lose about versioning this far since it was not officially packaged somewhere (and since most people packaged through the AUR, I could easily get the commit hash from them), would it be helpful if I formally versioned this program now? |
FreeBSD packages are built in a clean jail via poudriere (example log). I've also tested runtime in a jail with X11/Wayland sockets passed through.
Already specified. libclang is part of llvm* packages until subpackaging arrives.
FreeBSD uses a monorepo but lacks anything central and unmoderated like AUR for user repos. This has advantages (more binary packages) and disadvantages (poor WIP discoverability).
FreeBSD package currently uses Git commit date as version. I've recently exposed Git hash in
If you're ready for more users. Releases signal distros what is ready to package. Some package regardless (e.g., AUR, Nix, FreeBSD). |
cargo 1.70.0
The text was updated successfully, but these errors were encountered: