Commit Graph
21162 Commits
Author SHA1 Message Date
Brice Dutheil 251ff3ceb5 drip 0.0.3
Closes #14520.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-30 07:17:41 -07:00
neersighted 08df701bff THC Hydra 7.3
Closes #14548.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-30 07:16:10 -07:00
Ankit a4ce66c9f0 node: use https url for npm
Closes #14552.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-30 07:10:55 -07:00
Max Howell d706eace56 Work for users who delete /usr/bin/ruby
Some people do insane things and are then surprised things break.

Fixes #14546.
2012-08-30 09:55:33 -04:00
Max Howell 313423d8ee Put user's PATHs at end of superenv PATH
Making sure to remove X11, should be safe if this order is kept.

Refs #14519.
Fixes #14544.
2012-08-30 09:45:33 -04:00
Jack Nagel 4197a4872d tests: avoid unnecessary chdir
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-30 00:10:02 -05:00
Max Howell 0481473163 Some flags must be specified -Wl,foo
Finishes fixing qrupdate. And maybe others.
2012-08-29 22:43:52 -04:00
Max Howell 28d795032a Don't catch build errors 2012-08-29 22:25:29 -04:00
Max Howell 7a95865ecb Fix qrupdate FCFLAGS if nil 2012-08-29 21:42:24 -04:00
Max Howell 744031b4af Block form of chdir can only be used once
If you nest them, the library complains. So let's not do that.

/cc @jacknagel
2012-08-29 19:49:11 -04:00
Max Howell e729885ea1 Force Wine to use stdenv for now
Fixes #14535.
2012-08-29 19:49:10 -04:00
Jack Nagel 7b32e1c771 plt-racket: use github tarball instead of git tag
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 17:48:13 -05:00
Jack Nagel 727eb7afbd mplayer: add option for X11 support
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 16:55:34 -05:00
Jack Nagel f82b9ae644 libmp3splt: needs libtool everywhere, apparently
Closes #14533.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 16:41:22 -05:00
Jack Nagel 0ea83ca0ac ocaml: depends on X11
Discovered by superenv, which removes explicitly removes X11 paths, and
needs this to add them back.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 16:38:21 -05:00
Paul Mucur ff5ca47ffe New formula: mlxcc
Closes #12272.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 16:08:56 -05:00
Jack Nagel 6f1c1b96f7 tests: support "rake rcov" if rcov is installed
If the rcov gem is installed, `rake rcov` will generate a test coverage
report in the coverage directory.

I picked rcov because it is 1.8 compatible. But it could easily be
swapped out for another coverage tool.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 15:56:36 -05:00
Jack Nagel 67108d402f tests: adjust expectations for 'opt' directory
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 15:37:58 -05:00
Max Howell 92a4981541 Display skip-clean warning only before clean
Not anytime the formula loads.
2012-08-29 15:43:28 -04:00
Max Howell a96686ab33 Warn about removed warnings less shockingly
The problem here now is though that the warnings only appear when compiling verbosely. But they should thus be visible if the build fails. Or if people are hunting for problems.
2012-08-29 15:19:42 -04:00
Max Howell 45aef5a812 Fixes #14528; undefined vars.
Due to copy/pasta.
2012-08-29 14:54:07 -04:00
Max Howell 340a293b0e Typo
Not sure how I forgot to test that.
2012-08-29 14:52:00 -04:00
Max Howell 7857453ac4 Don't fail pre-Xcode 4.3
Refs #14392.
2012-08-29 14:49:03 -04:00
Max Howell f60875189d Don't use full paths to tools anymore
xcwoclt doesn't have /usr/bin/ar, and superenv ensures that PATHs are in a good order so that our tools are used.

std-env may break… but I can fix this by massaging std-env's paths. I want to keep std-env around. It's the traditional route.
2012-08-29 14:45:05 -04:00
Max Howell 6c21f8dc16 Use fortran from std-env in superenv
Fixes #14524.
2012-08-29 14:45:04 -04:00
Max Howell 888e89f6a6 Deprecate skip_clean :all
This was mostly used to prevent stripping. Now we don't strip. Force formula to remove this setting or be more specific about folders they don't want pruned.
2012-08-29 14:45:04 -04:00
Kenn Knowles d751d6cc48 coq: Do not pass -arch to ./configure
Closes #14526.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-29 11:01:23 -07:00
Stepan Koltsov 9b21aead68 abcmidi 2012-08-08
abcMIDI is a package of programs developed by James Allwright for
processing ABC music notation files. It consists of several programs:
abc2midi, abc2abc, yaps, and midi2abc.

Closes #12928.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-29 10:57:30 -07:00
Shaun Jackman 595e620381 BWA 0.6.2
Closes #13009.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-29 10:38:16 -07:00
Lior Shiponi 704e694943 recoverjpeg 2.1.1
Closes #12395.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-29 10:14:35 -07:00
Adam Vandenberg f83cad0362 Homebrew 0.9.3 for superenv 2012-08-29 10:08:46 -07:00
Nicolas Brousse fde3b5bd5a sflowtool 3.27
Closes #12570.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-29 09:47:01 -07:00
Max Howell 15efd32835 brew sh: a shell with superenv loaded
If you need to build software on OS X by hand, a brew shell is the way to do it.

Closes #14381.
2012-08-29 12:41:38 -04:00
Max Howell 3a35b5208e superenv only adds X11 paths if required
Since we are moving towards only depending on X11 for X-headers, superenv now doesn't automatically add X11 compilation. I was reluctant to do this, but it is the right thing to do now that X11 is not automatically installed by OS X or Xcode.

I didn't implement ENV.x11 because the order that the X headers are inserted is important. It must be done at initial setup to ensure that brewed versions of e.g. freetype and Cairo are used and not the ones installed by XQuartz.
2012-08-29 12:41:37 -04:00
Max Howell 7a0802ef6e Doctor suggest git clean -f if unstaged files
This is safe, I tested various scenarios, including Homebrew installed in ~. The only files that are removed are unexpected files in Homebrew's already managed directories.
2012-08-29 12:41:37 -04:00
Max Howell 9aa121addd If exception has no message raise again
Shows full backtrace, which is useful. Now blank "raise" statements are the equivalent of admitting programmer error. The backtrace will be useful.
2012-08-29 12:41:37 -04:00
Max Howell 6fca47ae5f Warn user if they set CFLAGS, etc. with superenv
Since we remove some CFLAGS under their noses, this would otherwise be quite confusing.

Notably, this will now trigger in numerous formula. Sucks.
2012-08-29 12:41:37 -04:00
Max Howell 5e13bc0bbf Speed up brew instantiation
Adding MacOS.dev_tools_path to our PATH was slow. We no longer need to do this because of the previous commit making a script wrapper for git and svn. It was slow because the function calls out to lots of slow utilities to determine this path.
2012-08-29 12:41:36 -04:00
Max Howell 025e84d548 Always find git and svn without trying hard
Two wrapper scripts that find git and svn using the ENV variables we support and then searching through the PATH and looking inside Xcode.app if necessary.

Now just calling git or svn in Homebrew code will find and exec the right tool and we can stop fussing.

Apologies to @adamv who is probably unimpressed that the cmds directory has non-commands in it now. If it's consolation these are temporary pending some more work on superenv whereby some more directories are created under the superenv root.
2012-08-29 12:41:36 -04:00
Max Howell cf59297ccd Make brew --prefix very fast
Because people use this in .bash_profile etc. We should be as fast as possible.
2012-08-29 12:41:36 -04:00
Max Howell 7116a5bd3d Attempt to fix opt link if absent
This is mainly to prevent errors when users for the transitionary period where most installed kegs do not have an opt link.
2012-08-29 12:41:36 -04:00
Max Howell 1392cd40f8 Ensure mktemp cleans up after itself
Ignore interrupts.
2012-08-29 12:41:36 -04:00
Max Howell a72397ca8f If installed but not linked, say so
Rationale: if ack is unlinked but installed, typing ack does nothing, but then user tries to install and it says it is already installed. What gives? The user thinks.

Formula ending up unlinked can happen due to failures during the link phase and we recommend unlinking formula for conflicts. So common enough to justify this amendment.
2012-08-29 12:41:35 -04:00
Max Howell b1dc03861e Much better CTRL-C handling
Let's not show weird error messages when user interrupts during various stages of brew initialization.

Tested by doing `for x in $(brew search); do brew install $x; done` and pressing CTRL-C at random short intervals.
2012-08-29 12:41:35 -04:00
Max Howell f4f5994dc4 Allow eg. brew --env libxml2
Example useful usage:

    eval $(brew --env gettext) && clang -Wl,-t -lssl 2>/dev/null
2012-08-29 12:41:35 -04:00
Max Howell 7206febe53 Superenv wrapper for sed
Fixes Mountain Lion specific sed issue.

Provided scripts don't use the full-path to see we are fine. They never do though, that would assume too much.
2012-08-29 12:41:35 -04:00
Max Howell 8e55e5eabc Support HOMEBREW_MAKE_JOBS 2012-08-29 12:41:34 -04:00
Max Howell 74bdd04729 Force --env=std for stuff using scons, etc.
Python et al, require stdenv because otherwise pip, gem, etc. don't work. Can be fixed, just I'm not doing it now.

We want a DSL to do this but I couldn't be bothered to make that work etc. I want to commit. Apologies.
2012-08-29 12:41:34 -04:00
Max Howell 59736fb537 superenv: build-environments that just work
1. A minimal build environment, we don't set CFLAGS, CPPFLAGS, LDFLAGS, etc. the rationale being, the less that is set, the less variables we are introducing that can break builds.
2. A set of scripts that replace cc, ld, etc. and inject the -I, -L, etc. flags we need into the args passed to the build-tools.

Because we now have complete control over compiler instantiations we do a variety of clean-up tasks, like removing bad flags, enforcing universal builds and ensuring makefiles don't try to change the order of library and include paths from ones that work to ones that don't.

The previous ENV-system is still available when --env=std is specified.

superenv applies to Xcode >= 4.3 only currently.
2012-08-29 12:41:34 -04:00
Max Howell 4d92a605eb Use opt paths in keg-only messages 2012-08-29 12:41:34 -04:00