Commit graph

19 commits

Author SHA1 Message Date
Douglas Creager
8835fffce9 Fixing several formulae that fail with LLVM
Specifically: emacs, glib, igraph, and zeromq
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-18 17:14:14 -07:00
Adam Vandenberg
55b98a9421 Update formulae to use path shortcuts 2010-08-08 11:24:36 -07:00
Adam Vandenberg
7bd947eb0b Update formulae for version 0.7
* 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
2010-08-07 18:08:53 -07:00
Adam Vandenberg
1a72a0f46b glib - supress a folder already exists warning 2010-07-29 13:24:00 -07:00
Adam Vandenberg
906cb27dac Update glib to 2.24.1 2010-05-13 09:21:58 -07:00
Adam Vandenberg
193a78de04 Use more inreplace features.
Update formulas to make more idiomatic use of "inreplace", including
its new ability to take a list of files to act on.
2010-02-21 23:37:49 -08:00
Kevin M. Dulzo
60695dcb7a Fix Cflags for gettext keg include.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-02-19 12:10:05 -08:00
Lars Eggert
d562068c61 Updated formula: glib
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-02-18 10:37:24 -08:00
Max Howell
61b2307139 s/require 'brewkit'/require 'formula'/g
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.
2009-10-15 16:48:03 +01:00
Max Howell
48fd4f9d43 Fixes Homebrew/homebrew#60
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.
2009-09-25 00:04:55 +01:00
Max Howell
a5e21d9276 Automatically add keg_only? deps to relevent ENV
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.
2009-09-21 20:23:09 +01:00
Max Howell
ec4aa1f6b6 Merge branch 'deps'
Conflicts:
	Library/Formula/imagemagick.rb
	Library/Formula/taglib.rb
	Library/Homebrew/brew.h.rb
	Library/Homebrew/formula.rb
	bin/brew
2009-09-21 18:46:28 +01:00
Max Howell
c665eac117 Dependency resolution with fancy syntax
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
2009-09-21 18:27:48 +01:00
Max Howell
bd67abc121 Solving the GNU GetText issues
GNU GetText breaks eg. Ruby 1.9 builds, and some other formula I have been building too. But it is required by eg. glib. So to solve this we are going to by default not symlink gettext into the Homebrew prefix.

Formula that depend on GetText will have the gettext paths added to the brewing environment automatically. Neat.
2009-09-17 22:01:27 +01:00
Max Howell
cc26fd52c9 Fixes glib
It compiles, but I am not sure this is safe frankly. The problem is that the OS X iconv is bugged and doesn't have a 64 bit symbol for libiconv_open.

Now we must build 64 bit as otherwise everything that links to iconv must be 32 bit too. So we build a static libiconv and link glib to that. This fills in the missing symbol.

However glib still dynamically links to /usr/lib/libiconv.dylib, this is the bit I'm not happy with. It can be fixed but I'm guessing it's ok. At least at this stage of Homebrew.
2009-09-17 22:01:27 +01:00
Adam Vandenberg
5146745f31 Bump glib to 2.20.5. 2009-08-31 21:59:51 +01:00
Max Howell
a4e1acad42 Some frivalous mods to glib 2009-08-11 01:31:47 +01:00
Max Howell
aa14a25a43 Apply new ENV capabilities to all existing Formulae 2009-08-10 18:11:22 +01:00
Max Howell
c70918c00b Wireshark depends on glib depends on gettext 2009-06-06 23:54:52 +01:00