These dependencies are automatically detected from the URL, so declaring
them is redundant. If these formulae ever get a head or devel spec, then
explicit xz deps would need to be re-scoped appropriately. Thus we
should remove them.
2.6.3 was chosen because Leopard's system X11 (2.1.6) is too old to
build gtk+, and it was the most recent version that is compatible with
Leopard. There are now reports that Snow Leopard's system X11 (2.3.6)
can build this, so relax the requirement.
c.f. Homebrew/homebrew#15928.
From http://developer.gnome.org/gtk/2.24/gtk-building.html:
--enable-debug. The default is minimum. Note that no is fast, but
dangerous as it tends to destabilize even mostly bug-free software by
changing the effect of many bugs from simple warnings into fatal
crashes. Thus --enable-debug=no should not be used for stable releases
of GTK+.
ClosesHomebrew/homebrew#14874.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
We use PKG_CONFIG_LIBDIR to reset the default search path, overriding
whatever is baked into the pkg-config executable. This way, we can later
append XQuartz paths here while still allowing any brewed libs to take
precedence, keg-only or not.
Hopefully this will resolve any remaining issues, and let us get rid of
some per-formula hacks.
c.f. Homebrew/homebrew#14474.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Eventually we should try to just get this from XQuartz, but for now
let's depend on cairo for consistency.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Add the flag --disable-visibility to configure, fixes compile errors
with Clang and llvm from CLT-4.3. That flag means don't use ELF
visibility attributes.
FixesHomebrew/homebrew#10283.
ClosesHomebrew/homebrew#10287.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Determining build-time deps as part of the download strategy is probably
a Homebrew 2 topic, so avoid the "you need to install xz" warning by
declaring xz as a dep where used.
The "don't use xz if there are alternatives" policy is still in effect,
though.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
If gobject-introspection is installed, these formulae will attempt to
generate introspection data. For this to "just work", it needs to be
available across all related formulae, which is a project for another
day; until then it just causes build failures.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>