Commit Graph
694 Commits
Author SHA1 Message Date
Adam Vandenberg 82b97f5631 improve std_cmake_parameters comments 2010-09-29 22:00:24 -07:00
Adam Vandenberg dbd6de0d5d Move resolve_alias from ARGV to Formula
Also, call this function from a few places where the code was duplicated.
2010-09-29 21:55:44 -07:00
Adam Vandenberg 2092c0457d Add formula name to LLVM warning 2010-09-29 21:53:05 -07:00
Adam Vandenberg fdb5b41739 refactor compiler messages 2010-09-29 21:52:55 -07:00
Adam Vandenberg 6379757f2f Don't allow unsupported dep types 2010-09-29 21:44:46 -07:00
Adam Vandenberg d9d9b307d3 brew-doctor - add access check to include 2010-09-29 11:56:58 -07:00
Adam Vandenberg df062f2687 add libpcap to list 2010-09-27 18:36:14 -07:00
Adam Vandenberg 1cfce9d7f7 fix typo 2010-09-26 18:06:43 -07:00
Adam Vandenberg 5bc0ca46fa Check git repos for validity before updating.
If you `brew install erlang` and then control-C during the git clone,
you can leave your cloned repo in an invalid state.

This change does a "git status" on the clone if it exists, and nukes
it if the status is invalid (forcing a clean clone.)
2010-09-24 07:50:20 -07:00
Adam Vandenberg ebb058c422 Add another file check to check_for_macgpg2 2010-09-22 15:24:41 -07:00
Adam Vandenberg 57cd2dc5ab ImageMagick - use svn repo instead of tarballs
The ImageMagick mirrors like to drop old tarballs, which means that our
formula breaks whenever the version we're using disappears.

So I've switched to using their SVN repo (and added a --HEAD build.)

Caveat: Their SVN repo is only served over https, with a bad cert,
so this brew know has a custom SVN download strategy that auto-accepts
that cert.

If this bothers you, get ImageMagick to fix their cert upstream (or
let us know where a stable tarball mirror lives.)
2010-09-21 21:28:29 -07:00
Martin Kühl ba010f10f5 Let the gzip utility function accept multiple paths.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-19 11:11:56 -07:00
Bo Borgerson 86b202337b test_updater: Make fixture internally consistent
The update_git_pull_output_with_formulae_changes fixture (which consists
of mocked-up `git pull` output) listed a few files as both updated and
deleted.  This caused the test_update_homebrew_with_formulae_changes test to
fail.  My guess is that this fixture was mocked-up before formula deletion
handling was introduced, and became broken when it was.  This revision just
makes this fixture internally consistent, and allows the associated test to
pass.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-15 09:36:27 -07:00
Adam Vandenberg e165b3ca47 Fetch new tags for git repos when cached. 2010-09-13 15:00:54 -07:00
Max Howell 443eb6910d Don't descend keg-root symlinks, just show where they point 2010-09-12 22:10:28 +01:00
Max Howell f493853179 Pathname./ because it looks a lot better than + 2010-09-12 21:57:17 +01:00
Adam Vandenberg 1db9d0befb Document brew options 2010-09-08 05:27:09 -07:00
Adam Vandenberg 9793d4096a Bump Xcode recommendation to 3.2.3 2010-09-07 13:23:43 -07:00
Adam Vandenberg 43e0f817f2 ENV.rb - style tweak 2010-09-07 10:09:22 -07:00
Adam Vandenberg 1b7ebe7017 brew-doctor - fix llvm typo 2010-09-07 10:05:51 -07:00
Adam Vandenberg d875855975 Add ENV.ldflags and use. 2010-09-06 11:48:21 -07:00
Adam Vandenberg 7826802518 Use 'realpath' 2010-09-06 09:30:23 -07:00
Will Robertson 417634df6e Improve :provided_by_osx rationale message
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-06 09:14:17 -07:00
David Höppner 8538147cd2 Update help options 2010-09-04 12:48:37 +02:00
Ryan Pavlik f818ad858b Fix typo in update.rb
Signed-off-by: David Höppner <0xffea@gmail.com>
2010-08-30 18:14:05 +02:00
David Höppner a9e56e49b2 Blacklist vim, screen and libarchive 2010-08-29 19:06:49 +02:00
lukas bdd131a6a5 Fixed recognition of versions like 'foobar-4.50-beta' in Pathname#version
Sphinx currently has a download name 'http://sphinxsearch.com/downloads/sphinx-1.10-beta.tar.gz', which homebrew currently can't correctly identify - with a small change to the regex for 'foobar-4.5.0-beta1' (make that trailing number optional) - it works like a charm.

Signed-off-by: David Höppner <0xffea@gmail.com>
2010-08-27 17:53:06 +02:00
Adam Vandenberg 31f1fabd03 Define "snow_leopard_64?"
snow_leopard_64? (defined in Hardware) is a short-cut for:
  MACOS_VERSION >= 10.6 and Hardware.is_64_bit?

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-22 20:11:03 -07:00
Adam Vandenberg ae8b24c04f Only check for Jars if lib exists. 2010-08-21 14:12:10 -07:00
Adam Vandenberg 6fc9b85e36 Warn about jars in lib.
Java software tends to come with its own mini file layout including
bin, lib and other folders. The lib folder typically holds jars,
which can conflict between packages if linked into HOMEBREW_PREFIX/lib
and aren't needed to compile other .dylib based software anyway.

The recommendation for Java software is to install to "libexec" and then
symlink or wrap binaries from libexec/bin to bin in the Cellar.
2010-08-21 12:18:17 -07:00
Adam Vandenberg 50bcbf6271 Deal with symlinked meta files 2010-08-21 11:45:08 -07:00
Adam Vandenberg 0a1e52ed6f Man sections only run through 8 2010-08-21 11:25:14 -07:00
Adam Vandenberg f960a33489 HOMEBREW_KEEP_INFO to keep info pages 2010-08-21 11:23:54 -07:00
Adam Vandenberg 65286a4c90 use f.info 2010-08-21 11:07:04 -07:00
Adam Vandenberg 32e884afce Move cleaner to separate file 2010-08-21 11:06:02 -07:00
Adam Vandenberg 1ee95e87dd comment link step 2010-08-21 10:51:43 -07:00
Adam Vandenberg f1c356a5c8 Let 'interactive_shell' take a formula and set ENV vars.
Pull duplicate code out of install --debug and install -i up into
'interactive_shell'.
2010-08-20 10:03:44 -07:00
Adam Vandenberg caca2514d2 Add 'HOMEBREW_DEBUG_PREFIX'
When doing "brew install -i", set the "HOMEBREW_DEBUG_PREFIX"
variable to the prefix of the formula being installed.
2010-08-20 10:03:38 -07:00
Adam Vandenberg e93395eb50 'brew cleanup' no longer complains about single versions
Previously "brew cleanup" would complain if the most recent
version of a brew wasn't installed.

We now suppress this message if only one (outdated) formula is
present.
2010-08-20 08:57:22 -07:00
Adam Vandenberg 8311a4de54 brew doctor - look for MacGPG2 installed via the .mpkg 2010-08-18 09:09:38 -07:00
Adam Vandenberg 36e4811dca Use 1.9 compat syntax. Fixes #2192 2010-08-16 14:14:46 -07:00
Adam Vandenberg 75f7c230b9 brew doctor - tweak multiple volume check 2010-08-16 09:32:16 -07:00
Adam Vandenberg e187841ec8 Make errors during link step more visible. 2010-08-15 17:17:59 -07:00
Adam Vandenberg 760c1182c9 Move method back to Pathname. 2010-08-15 17:17:26 -07:00
Adam Vandenberg 11edd05630 Tweak ARGV.usage 2010-08-11 21:15:59 -07:00
Adam Vandenberg ad7783828b Tweak default template 2010-08-11 14:22:44 -07:00
Adam Vandenberg f6f1af5790 ENV.rb - add ENV.cflags 2010-08-10 08:30:11 -07:00
Adam Vandenberg be381089e0 ENV.rb - style cleanups 2010-08-10 07:58:08 -07:00
Adam Vandenberg 23ae686a9a brew doctor - add libiconv check 2010-08-09 22:15:10 -07:00
Adam Vandenberg 5615f9d0a9 brew doctor - check all keg_only brews
Add a check to see if any keg_only brews are installed and linked
into the Cellar. Doing this can cause installs of other formulae
to fail.
2010-08-09 21:58:47 -07:00