Skip to content
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 Tap #32

Open
TinoDidriksen opened this issue Jun 11, 2020 · 8 comments
Open

Homebrew Tap #32

TinoDidriksen opened this issue Jun 11, 2020 · 8 comments

Comments

@TinoDidriksen
Copy link
Member

https://docs.brew.sh/How-to-Create-and-Maintain-a-Tap
https://docs.brew.sh/Taps

@Fane1824
Copy link

I'll take a look at implementing this

@TinoDidriksen
Copy link
Member Author

I started on it in https://github.com/WolfPkg/homebrew-tap-nightly

@Fane1824
Copy link

I started on it in https://github.com/WolfPkg/homebrew-tap-nightly

Ah okay, do you need any help with it?

@TinoDidriksen
Copy link
Member Author

Sure. I didn't get beyond proof-of-concept stage. Eventually I want to auto-generate all the formulas with the build system, but still need the base formulas first.

@Fane1824
Copy link

I'll look at it and see if I can be of any help.

@Fane1824
Copy link

I've been playing around with brew and reading the documentation. Am I just supposed to port the Bash files in the scripts directory to Ruby, or is there something more to it? I’m asking because you mentioned you had a go at it, and I wanted to make sure I’m not missing anything. Also, could you elaborate a bit more about the base formulas? Are there any core dependencies that I should be wary of.

@TinoDidriksen
Copy link
Member Author

I have 3 Formulae so far in https://github.com/WolfPkg/homebrew-tap-nightly/tree/main/Formula which are conversions of https://github.com/apertium/packaging/tree/main/tools/divvun-corpustools/debian , https://github.com/apertium/packaging/tree/main/tools/foma/debian , and https://github.com/apertium/packaging/tree/main/tools/lttoolbox/debian .

I know lttoolbox is already out of date, since we've switched that from autotools to CMake.

So there's no porting of Bash files. It's mostly figuring out how Debian build deps map to Brew build deps, and if there are any Brew quirks, such as there was for corpustools with all the Python deps.

A fair list of packages to be ported are the ones we own of https://github.com/apertium/packaging/blob/main/tools/apertium-all-dev/debian/control#L16-L37

@Fane1824
Copy link

Thank you so much, I should hopefully have it done over the weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants