Upgrade glib to version 2.32.2. Note in comments bugreport status.
Remove `fails_with :clang` because it works with mc.
There were just a few bugfixes in the changelog for 2.32.2
including one to the gdatetime tests, which get further before
they fail. Tested glib by building pango and running its def test
and by running mc for a while.
[jn: use localstatedir]
ClosesHomebrew/homebrew#12116.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Reviewed most patches (minus the UB stuff), fixed bugs, sent
patches upstream, updated to 2.32.1.
ClosesHomebrew/homebrew#11279.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
- Remove autoconf cruft for building universal; the relevant MacPorts
patch now patches configure rather than configure.ac, rendering this
a no-op.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
glib's dependency on pkg-config can be eliminated if a few environment
variables are set. This needed to be updated for libffi in order to
build correctly.
FixesHomebrew/homebrew#9045.
ClosesHomebrew/homebrew#9064.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This has a dependency on libffi that 2.28.x did not have; perhaps the
system library isn't good enough anymore. MacPorts had to add this, too.
ClosesHomebrew/homebrew#8946.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
Well, I guessed keg_only would have issues.
Here, glib assumes GNU gettext will be in the same path as itself. Which would
be true if we symlinked gettext into the tree, but we don't to avoid conflicts
with the BSD version: /usr/lib/libgettext.dylib
We'll have to do this a lot, so I need to figure out how to automate it, or
how to avoid doing this kind of thing altogether.
Eg gettext gets added into LDFLAGS, INCLUDE and that. I hope I got everything
that is typical. Prolly not. But we'll find out.
Made readline keg_only because the BSD version is provided by OS X, and I
don't want bug reports that are tricky to solve due to unexpected differences
between the two.
Is it a DSL? No. But people call it that apparently.
To add a dependency:
class Doe <Formula
depends_on 'ray'
depends_on 'mee' => :optional
depends_on 'far' => :recommended
depends_on Sew.new
end
Sew would be a formula you have defined in this Formula file. This is useful,
eg. see Python's formula. Formula specified in this fashion cannot be linked
into the HOMEBREW_PREFIX, they are considered private libraries. This allows
you to create custom installations that are very specific to your formula.
More features to come, like specifying versions