- Mapnik searches for py2cairo -> added dep if --with-cairo
- Explicitly give includes and libs for icu, boost, proj,
jpeg, libtif, and cairo
- pkg-config is not only used for cairo -> moved it out
of the `if build.include? 'with-cairo'` block
Closes#17032.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
- In subversion and gdal, because they used
HOMEBREW_PREFIX/lib instead of
Formula.factory('sqlite').opt_prefix
Closes#17005.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
- Name of the brewed formula in "Summary" heading.
- At the beginning of the summary line a 🍺 is given out
(but only on Lion or above). This acts as a nice
visual marker for the end of a brew-ing process.
- When brewing a dependency, the name is highlighted in green.
- `oh1` is bold, too (like ohai).
Closes#16020.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
- Fixes#16574.
- Improve Tkinter test by actually calling Tk()
- Check for /Library/Frameworks/Tk.framework no longer needed.
- Fix PYTHONFRAMEWORKDIR so that `python-config --ldflags` is useful.
Closes#16626.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
When a dependency of a formula specified on the command-line is also
specified, *after* the dependent formula, installation proceeds as part
of the dependent's dependency tree and then is attempted again because
the user asked for it explicitly. This results in the installer raising
a CannotInstallFormulaError because it has already been installed.
For example:
$ brew install graphviz pkg-config
==> Installing graphviz dependency: pkg-config
...
==> Installing graphviz
...
Error: pkg-config-0.27.1 already installed
We already have a mechanism for dealing with this, but it does not kick
in early enough. Move the installation attempt check into
FormulaInstaller#check_install_sanity and catch the exception in the
appropriate places.
Fixes#16957.
Procs cannot be marshalled, but formula objects may be as part of the
BuildError exception. If the formula object has a reference to a Proc,
this will fail.
Work around it by not storing the test Procs during installations.