This project is mirrored from https://github.com/Homebrew/brew.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
- Sep 28, 2009
-
-
Max Howell authored
-
Max Howell authored
We shouldn't mess with the user's PATH anyway. So assume our users are smart and just warn them about potential issues instead.
-
Eloy Duran authored
-
- Sep 26, 2009
-
-
Max Howell authored
-
Max Howell authored
-
- Sep 25, 2009
-
-
Christian Mayer authored
Axel tries to accelerate downloads by using multiple connections (possibly to multiple servers) for one download. Because of its size, it might be very useful on bootdisks or other small systems as a wget replacement.
-
Piotr Usewicz authored
Signed-off-by:
Max Howell <max@methylblue.com> I adapted it slightly based on the user agent that Safari gives.
-
Max Howell authored
I'm trying to only show the interesting stuff. You can see a full listing with brew -v list, or by piping to other commands. Tell me if you hate it or love it.
-
Max Howell authored
Shows the git-log for that formula.
-
Max Howell authored
Otherwise you run the risk of not running the exact version / make of the utility you planned. Fixes Homebrew/homebrew#48 Really we need to do this formula too, so I guess a make and cmake function are on the way…
-
Max Howell authored
References issue Homebrew/homebrew#48
-
Max Howell authored
Stupidly I figured Ruby did this for us, but why would it?
-
- Sep 23, 2009
-
-
Max Howell authored
I used the same option flag as ruby gems does.
-
- Sep 22, 2009
-
-
Adam Vandenberg authored
-
Max Howell authored
Ohai is for titles, to separate sections of output so it is more readable, it truncates long lines for this purpose. So don't use it if the line you are outputting is likely to be long and important. Instead prefix that line with a summary header.
-
Max Howell authored
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
-
- Sep 18, 2009
-
-
Max Howell authored
I left update_from_masterbrew! as a historical reference.
-
Max Howell authored
-
Max Howell authored
I didn't change the class name, it's clear from the context where it is used what it does. However when just looking at files to figure out the nature of Homebrew I believe in clear naming. Otherwise funny names earn you points.
-
- Sep 17, 2009
-
-
Eloy Duran authored
-
Eloy Duran authored
-
Eloy Duran authored
-
Eloy Duran authored
-
- Sep 16, 2009
-
-
Max Howell authored
For this to work the "running script" must be the formulae file. Making this so wasn't so hard, there is now an install.rb script which is included with the -r flag to the ruby executable. An at_exit handler calls the install function. Having the install logic in its own file made it feel like there was so much space that I added extra error handling. So there is something to be said for separating functionality out into its own files. Still the error handling sucks, we'll need to marshall the exception back to the bin/brew command. Which is another PITA. Still overall I think this will prove worthwhile. But if it doesn't we'll revert. As a first usage, you can put a diff after __END__ and return DATA from Formula::patches to make Homebrew aware of it.
-
- Sep 11, 2009
-
-
Max Howell authored
See comments in commit for details.
-
Max Howell authored
-
Max Howell authored
Specify dependencies in your formula's deps function. You can return an Array, String or Hash, eg: def deps { :optional => 'libogg', :required => %w[flac sdl], :recommended => 'cmake' } end Note currently the Hash is flattened and qualifications are ignored. If you only return an Array or String, the qualification is assumed to be :required. Other packaging systems have problems when it comes to packages requiring a specific version of a package, or some patches that may not work well with other software. With Homebrew we have some options: 1. If the formula is vanilla but an older version we can cherry-pick the old version and install it in the Cellar in parallel, but just not symlink it into /usr/local while forcing the formula that depends on it to link to that one and not any other versions of it. 2. If the dependency requires patches then we shouldn't install this for use by any other tools, (I guess this needs to be decided on a per-situation basis). It can be installed into the parent formula's prefix, and not symlinked into /usr/local. In this case the dependency's Formula derivation should be saved in the parent formula's file (check git or flac for an example of this). Both the above can be done currently with hacks, so I'll flesh out a proper way sometime this week.
-
Max Howell authored
So when people do what it says and list the info we know in advance their OS version.
-
- Sep 07, 2009
-
-
Max Howell authored
This is because I have observed two people confuse make with the "make" tool and thus assume `brew make' is `brew install'. `brew make' will be deprecated at 0.7, until then it shows a warning.
-
- Sep 06, 2009
-
-
Max Howell authored
Seems to be an issue with Ruby system() call doing a double fork.
-
Max Howell authored
Pressing CTRL-C during installs would remove the prefix but not the keg directory. brew list would then report this keg as installed, even though it was empty.
-
scoates authored
Defaulting to EDITOR, then checking for the mate command, and then using vim as a last resort. Signed Off By: Max Howell <max@methylblue.com> Plain brew edit still uses Textmate though because a client that supported a project concept is required for that particular feature. Patches for that welcome.
-
- Sep 05, 2009
-
-
Andre Arko authored
Example usage: brew search w # formulae containing w brew search ^w # formulae starting with w No parameters lists all packages. Also adds puts_columns to util, and uses it for output. Signed Off By: Max Howell <max@methylblue.com> I changed the command from 'available' to search because this is more similar to how other tools call this function. The short form is -S, which is the "pacman" tool equivalent.
-
Eloy Duran authored
New method which uses RubyCocoa with the FSEvents API from Rucola to watch if files aren't installed outside the Homebrew prefix. Right now the paths being watched are: /System, /usr, /etc, /sbin, /bin, and /Applications.
-
Adam Vandenberg authored
Signed Off By: Max Howell <max@methylblue.com> I realised that -msse4.1 and -msse4.2 aren't supported by GCC 4.0, so I made the brash decision that we require GCC 4.2. It comes with Xcode 3.1 so people can upgrade if they have to. Requiring a single compiler is better for us anyway -- less possible errors and failures. Formulae can still request gcc-4.0.1, but at least then those formulae still only use a single compiler and not possibly two.
-
- Sep 04, 2009
-
-
Bjørn Arild Mæland authored
-
Max Howell authored
The fix is to error out if GCC isn't installed, and to ensure we aren't setting CC and CXX to something that doesn't exist.
-
Max Howell authored
This regards Issue Homebrew/homebrew#30. Turns out -march=native isn't supported by Apple's GCC, but while investigating it I found they'd back ported the -march=core2 option, so we win anyway. Logic reverted to how it was yesterday. I moved the gcc options stuff back to brewkit.rb as we manipulate the cflags more later and it seemed bad form to split the logic for this area over two files. Additionally the brew command exits immediately on powerpc now. Brewkit doesn't throw as theoretically it is a useful library file for other projects.
-
- Sep 03, 2009
-
-
nmeans authored
If brew is called with an explicit path, eg. './bin/brew', HOMEBREW_PREFIX is set to an empty string resulting in failure of all brew commands using HOMEBREW_PREFIX. This commit forces Pathname to compile an absolute path, setting HOMEBREW_PREFIX correctly.
-
- Sep 02, 2009
-
-
Max Howell authored
-