Commit Graph
20799 Commits
Author SHA1 Message Date
Max Howell 7fa88ff6ff Install taglib-extras with Taglib 2009-08-06 20:25:59 +01:00
Max Howell 1b89593c72 Only hardlink git to the other bits if they are indeed the same files 2009-08-06 20:25:59 +01:00
Max Howell 1cf339388b Formula::std_cmake_parameters
Because cmake syntax is batshit-insane, this stops people having to memorize
which parameters to supply, and thus prevents error.

I didn't do the same for Autotools deliberately as I have found that
which parameters are supported is somewhat inconsistent. Plenty don't even
support --disable-debug, thus I want the parameters getting used in the
contributors face so they can easily diagnose what is going on.
2009-08-06 20:25:59 +01:00
Max Howell 432faa4146 Remove all testing temporaries when done 2009-08-04 01:31:32 +01:00
Max Howell 7041ef6290 The unittest now emulates a fresh install better
In future, this will hopefully prevent regressions like issue #7.
2009-08-04 01:07:36 +01:00
Adam Vandenberg bb7b9d988d Homepage takes any formula, installed or not.
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-04 07:48:26 +08:00
Max Howell 6e2a5d13f2 HOMEBREW_CACHE is now a Pathname object
This is consistent with the other HOMEBREW_* path constants
2009-08-04 00:40:12 +01:00
Max Howell e74d891b5b FIX Github gist formulae 2009-08-04 00:36:48 +01:00
Max Howell 4f57f85b34 FIX brew install before Cache has yet been created
Closes #7

Cache directory is created when downloading tarballs, but the new
hw.model stuff compiles the hw.model.c file there.
2009-08-04 00:35:27 +01:00
Adam Vandenberg 8ea4f24049 Add home(page) to completion.
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-03 08:13:30 +08:00
Max Howell 0e40aa0fd4 Updated PNGcrush to version 1.7.0 2009-08-02 13:00:40 +01:00
Adam Vandenberg df793f7cd4 brew home foo open's foo's homepage in default web-browser 2009-08-02 01:30:29 +01:00
Adam Vandenberg 55c137198d Create /usr/local/bin if it doesn't already exist. 2009-08-02 01:25:02 +01:00
Adam Vandenberg fbb6601171 Add all commands to the bash completion script. 2009-08-02 01:25:02 +01:00
Adam Vandenberg 66b00736df Info also takes installed brews 2009-08-02 01:25:02 +01:00
Adam Vandenberg b3fe72efda Ensure that the Cellar exists when symlinking
Only remove brew symlinks w/ selflink.
2009-08-02 01:25:01 +01:00
Adam Vandenberg 64c3ea038f Bash completion script for the brew command 2009-08-02 01:25:01 +01:00
Adam Vandenberg a667183a35 A script to symlink Homebrew into /usr/local
This is a developer utility, to allow you to keep your git clone in
eg. your home directory, but still have Homebrew installed to
/usr/local.

It is an optional utility having the whole checkout at /usr/local
is the default and recommended solution.
2009-08-02 01:25:01 +01:00
Adam Vandenberg ddf2ef173a Add subversion formula. 2009-08-02 01:25:01 +01:00
Adam Vandenberg c8cb948e7d 'tig' formula, a curses-based front end for Git. 2009-08-02 01:25:01 +01:00
Adam Vandenberg 0f52a9b3b3 Use cleanpath instead of realpath to keep symlinks intact. 2009-08-02 01:25:01 +01:00
Max Howell 82e1688028 Added Readline formula; updated Python formula. 2009-08-02 01:25:01 +01:00
Max Howell 0454fb4cba Refactor and clean up code 2009-08-01 18:10:20 +01:00
Max Howell ea1cc3fc9b FIX allow @version to be set in derived Formula 2009-08-01 17:54:18 +01:00
Max Howell db69633b84 Determine best optimization flags for host
We call sysctl to determine which exact Mac model we are running on and
optimize as well as possible.
2009-07-31 16:06:14 +01:00
Max Howell f6e5874ff7 More tests for Formula and Keg 2009-07-31 14:21:27 +01:00
Max Howell 39fa1f0aee FIX flac install 2009-07-31 14:04:49 +01:00
Max Howell 141bc27668 Tests for Formula.* 2009-07-31 14:04:24 +01:00
Max Howell 325912dd42 FIX chmod correctly for *both* 32bit and 64bit binaries 2009-07-31 14:03:58 +01:00
Max Howell 6bc29cbb65 FIX only claim that Formula doesn't exist if it was a loaderror 2009-07-31 14:03:22 +01:00
Max Howell 96e454435e FIX typo in formula.rb 2009-07-31 13:13:52 +01:00
Max Howell eb7b447b8c A basis for full test coverage 2009-07-31 04:59:08 +01:00
Max Howell 1e08d31e14 opoo function for warning messages 2009-07-31 04:59:08 +01:00
Max Howell 118b41bfcd Refactor $foo into HOMEBREW_FOO
CONSTANTS are the far saner choice for these important parameters.

Split env up so I can redefine the CONSTANTS in unittest.rb.
2009-07-31 04:59:02 +01:00
Max Howell 1d4e189880 Use our CFLAGS for dos2unix 2009-07-31 01:29:00 +01:00
Max Howell 05add0fa54 Use our CFLAGS and LDFLAGS for pngcrush 2009-07-31 01:28:27 +01:00
Max Howell c4d8569b5b Recognise 64 bit binaries too 2009-07-31 01:19:11 +01:00
Max Howell 8d4b17b7e6 Don't allow Keg.new for empty kegs
Kegs have to exist to be created.
2009-07-31 01:18:03 +01:00
Max Howell 3a981c6f3b Git 1.6.4 2009-07-31 00:32:42 +01:00
Adam Vandenberg 27f46b1180 Allow brewing without an MD5 hash
You can either have none, in which case a warning is displayed, or
you can have one, but it *must* match.
2009-07-31 00:29:58 +01:00
Adam Vandenberg 9688783f0b Basic Python 2.6 recipe. 2009-07-31 00:28:38 +01:00
Max Howell c37b2a079a Fix Formula.installed? 2009-07-29 01:00:26 +01:00
Max Howell fb1db6956f Fix brew rm 2009-07-29 01:00:26 +01:00
Adam Vandenberg dde881b848 Recipe for mysql client library.
Signed-off-by: Max Howell <max@methylblue.com>
2009-07-28 18:47:45 +08:00
Max Howell dd583386dd CMake 2.6.4
Also removed xmlrpc-c dep, by coercing cmake into using its own xmlrpc
copy. It statically linked xmlrpc before anyway, so it's better for our
users not to have this crappy dependency.

Still completely in the dark about how cmake can possibly need an
xmlrpc library!
2009-07-28 02:28:46 +01:00
Max Howell c0e3dbac6b Don't allow build to be rescued if the untar fails 2009-07-27 16:35:04 +01:00
Max Howell d8a944e83d Fix inreplace when using ' or other RegExp symbols
Evidence that using perl from the cli for in-replace is stupid :P

Had to use $'' to allow escaping of ' in bash strings.

Wasn't escaping regexp symbols as well, so it was amazing this worked at all!
2009-07-27 16:20:48 +01:00
Max Howell 3605b8d231 Enforce 10.5 as minimum OSX SDK framework to use 2009-07-27 16:18:17 +01:00
Max Howell 3cf12261be Refactor--object orientate where sensible 2009-07-24 23:57:54 +01:00
Max Howell e8ac15795e Update Qt to 4.5.2 2009-07-23 13:03:23 +01:00