Formulae with dependencies that require options
jonchang opened this issue · 10 comments
Homebrew/brew#2482 has been merged and brew audit
will reject formulae with any dependencies that require options, including optional dependencies.
- cmu-sphinxbase: libsamplerate => ["with-libsndfile"]
- gst-plugins-good: flac => [:optional, "with-libogg"]
- gst-python: pygobject3 => ["with-python@2"]
- gv: ghostscript => ["with-x11"]
- libpeas: pygobject3 => ["with-python@2"]
- mat: pygobject3 => ["with-python@2"]
- shibboleth-sp: curl => ["with-openssl"]
- xml-tooling-c: curl => ["with-openssl"]
- angband: sdl_mixer => ["with-smpeg"]
- angolmois: sdl_mixer => ["with-smpeg"], sdl2_mixer => ["with-smpeg2"]
- anjuta: libxml2 => ["with-python"]
- baobab: libxml2 => ["with-python", :build]
- ccache: asciidoc => ["with-docbook-xsl"]
- dosbox-x: sdl_sound => ["--with-libogg", "--with-libvorbis"]
- dosbox: sdl_sound => ["--with-libogg", "--with-libvorbis"]
- dspdfviewer: poppler => ["with-qt"]
- easyrpg-player: sdl2_mixer => ["with-libvorbis"]
- enigma: sdl_mixer => ["with-libmikmod"]
- evince: libxml2 => ["with-python"]
- file-roller: libxml2 => ["with-python", :build]
- freeling: boost => ["with-icu4c"]
- gammaray: homebrew/science/vtk => [:optional, "with-qt5"]
- ghex: libxml2 => [:build, "with-python"]
- git-ftp: curl => ["with-libssh2"]
- gnome-doc-utils: libxml2 => ["with-python"]
- gst-python: pygobject3 => ["with-python3"]
- gtk-doc: libxml2 => ["with-python"]
- huexpress: sdl2_mixer => ["with-libvorbis"]
- i3: cairo => ["with-x11"]
- itstool: libxml2 => ["with-python"]
- latexila: libxml2 => ["with-python"]
- lincity-ng: sdl_mixer => ["with-libvorbis"]
- lnav: curl => ["with-libssh2", :optional]
- makepkg: asciidoc => ["with-docbook-xsl", :build]
- negfix8: imagemagick => ["with-quantum-depth-16"]
- openvpn: pkcs11-helper => [:optional, "without-threading", "without-slotevent"]
- onscripter: sdl_mixer => ["with-libvorbis"]
- plowshare: imagemagick => ["with-x11"]
- ponscripter-sekai: sdl2_mixer => ["with-smpeg2"]
- pyqt: sip => ["with-python3"]
- pytouhou: pygobject3 => ["with-python3"]
- qscintilla2: sip => ["with-python3"]
- supertux: sdl2_mixer => ["with-libvorbis"]
- ufoai: sdl2_mixer => ["with-libvorbis"]
- viewvc: subversion => ["with-python"]
- wesnoth: sdl_mixer => ["with-libvorbis"]
- xplanetfx: pygtk => ["with-libglade"]
Thanks @jonchang! The solution to some of these will be resource bblocks and some of them may be having slightly more heavy defaults (i.e. sdl_mixer --with-libvorbis
looks like it has potential). The main thing I want to avoid is things like X11 being on by default and, to a lesser extent, very fat dependencies like Qt being added.
At least for "easyrpg-player" you can simply drop the "--with-libvorbis" from SDL mixer because EasyRPG will use it's own libvorbis OGG decoder instead of the one provided by SDL mixer. (Source: I'm one of the devs)
kf5-kfilemetadata and okular (from https://github.com/KDE-mac/homebrew-kde) needs poppler with qt support
If i understad correctly this bug (and Homebrew/brew#2482), now poppler needs build with qt by default instead of use --with-qt.
or i need create a separate poppler formulae in KDE-mac with qt by default
greetings
or i need create a separate poppler formulae in KDE-mac with qt by default
Yes, this is the best bet.
with the same name? (adding conflicts with poppler) or a custom name (also with poppler as conflict)
I'd recommend a custom name and making it keg_only
so it doesn't need to conflict.
Thanks to everyone who helped, and thanks to @MikeMcQuaid for pushing it over the finish line!