How to add an alternative option to formula (or create cast) that compiles program with GUI support? #5444
Unanswered
munro
asked this question in
Writing Formulae/Casks
Replies: 1 comment
-
This sounds like it would massively increase the dependency tree, so it doesn't seem like something the Homebrew/core formula should do. You can easily maintain your own cask or a formula for it in your own tap like you mentioned. In the end the only person who needs to trust it is you, since I've never seen a request like this before. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
hey all, I want to add the GUI version of SWI-Prolog to homebrew, but I have some barriers I'm not sure how to overcome.
The official GUI built version for macOS is unsigned, so I can't add it as a cask1, at least not until it's signed2, if the devs will even do that.
I still would love to add it, because the
gtrace
is really nice, and so is homebrew. The core package essentially just needs to have the GUI build flags turned on3, and deps added4.So I'm kind of wondering what to do, thoughts lingering:
/Applications/SWI-Prolog.app
, I just needgtrace.
to work in the terminalswipl
program.:optional
dependencies._X=on
by default? not sure if that's acceptable for everyone though...gtrace
works (this seems the most ideal). But not sure what build packages are need to compile with X extensions enabled.I know I can create my own tap, but I was hoping there's some solution using the official swi-prolog repos/downloads to include into offical homebrew core/cask, so that others can use and it with more trust.
any help/thoughts/support is appreciated! thanks!
Footnotes
https://github.com/Homebrew/homebrew-cask/pull/176803 ↩
https://github.com/SWI-Prolog/swipl-devel/issues/1288 ↩
-DSWIPL_PACKAGES_X=ON
https://github.com/Homebrew/homebrew-core/blob/9da60e3fc1c4de3160e8695ac32be3321b324506/Formula/s/swi-prolog.rb#L50 ↩I believe
freetype, libx11, :cask xquartz
↩Beta Was this translation helpful? Give feedback.
All reactions