-
Notifications
You must be signed in to change notification settings - Fork 62
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
Homebrew formula #214
Comments
now that i got it building on debian (http://bananas.debian.net/debian/dwarfs/), it should be easy to create a homebrew formula with the help of https://github.com/mhx/dwarfs?tab=readme-ov-file#building-on-macos
some tests failed, otherwise looks good, most difficult part will be the system extension with special reboot needed to install... any chance to skip the fuse part and use it without? ok there are some binaries in build/ i guess those should be installed by the formula, and that'll be a good start... binaries are quite large...
|
Many thanks for looking into this!
These tests likely fail because macFUSE isn't fully enabled yet. It's exactly the same failures as when running in a docker container without proper privileges.
That should be taken care of by the macFUSE install. I agree that it's a real pain, but I don't think there's much that we can do here. (Happy to be convinced otherwise, though!)
Yeah, I should have made it easier to disable these tests at run-time. Noted for the next release. In the meantime, the simplest fix would be to just patch
The
Do you think so? I'd consider them quite moderate at a few MiBs. :) Anyway, really appreciate that you're looking into this! |
A much better way would be something like 2cb5542. |
As starting point I've created this tarball using |
so download https://github.com/alexmyczko/homebrew-mac/blob/main/dwarfs.rb ah my tarball is bad, i'll get that fixed and soon there'll be a formula... now it's:
will need to check |
I'd guess that it's because the |
I think we should still depend on |
and the brew formula is just called macfuse? i will try... |
Yeah, it's the 4th item in the |
hmmm
|
Although this seems to suggest that a formula can depend on a cask... |
Also interesting: Homebrew/homebrew-core#64491 |
Oh, here we go: https://github.com/gromgit/homebrew-fuse |
i tried with, without luck |
yay! i think the last two comments helped. i've got it soon
it's installing for me the binaries and manpages. do you need any libs installed or so?
|
That is awesome!
Binaries and manpages should be sufficient.
If you could get the following sequence of commands to run via homebrew that would be ideal (for the ninja version you need
Once this is working I'll roll a new release so you can reference a release tag rather than a random commit. |
I guess we have to build and be installable without macfuse. Homebrew/homebrew-core#171264 (comment) |
That kinda defeats the whole point of DwarFS and is going to be confusing and annoying at the same time. Confusing because likely people installing it won't know they can't use the FUSE part until they've finished installation. And annoying because then they have to re-install the whole thing (which takes a while to build) after installing macFUSE. My personal (likely biased) opinion is that banning the dependency on macFUSE is... suboptimal. There are a couple of ways that I can see this proceeding:
I personally like option (4) the most, but it's going to be a significant amount of work on the codebase. Until we get there, (2)/(3) are probably my preference. |
|
I'm trying to get the code into a state where (4) is possible. |
Hey, it's been a while! It took only slightly more than 300 commits to pull this off. :) Please, if you have time, could you try out dwarfs-0.10.0? This release allows modular builds, i.e. you can in theory provide formulae for The release should build fine on macOS, both X64 and ARM64 (I've added these to the CI). It should be fairly straightforward to build the different modules on macOS:
Of course you can also still build everything, enable tests, etc. Let me know if you need any help! |
With some help from our AI overlords, I came up with two formulae.
|
what about you submit them to brew? |
Will give it a try! |
Homebrew/homebrew-core#181569 has been merged. Now it's just a formula for the FUSE driver that's missing. |
PR for the FUSE driver formula: gromgit/homebrew-fuse#60 |
It would be helpful if the build instructions could be turned into a Homebrew formula.
The text was updated successfully, but these errors were encountered: