aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2010-02-25Add support for external ruby deps, and fix external deps system.Andre Arko
Kernel#system special-cases the first argument, so you have to make the first argument the entire command to be invoked, and subsequent arguments the actual arguments to that command. In order to use the user's interpreter, the first argument must be "/usr/bin/env <name>". Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-02-24brew --cache [formula]Adam Vandenberg
This developer-oriented command lets you ask Homebrew what the cached filename will be for a brew's tarball.
2010-02-24We need to set CC and CXX for many formulaMax Howell
Fixes Homebrew/homebrew#807; Fixes Homebrew/homebrew#808
2010-02-20Fix `brew cleanup`: don't bail out earlyMartin Kuehl
Running `brew cleanup` (with no arguments or multiple arguments) raises an error and stops as soon as it finds any formula whose most recent version is not installed. With this change it will instead print a warning, then continue with the next formula. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-02-20Fix inreplace barfing over PathnamesMax Howell
This fix should be fairly tolerant of types.
2010-02-19No longer compile with LLVM by defaultMax Howell
Justification: * LLVM is too immature, it often fails to compile, sometimes irreproducibly * The performance of the resulting bytecode is often slower than the GCC equivalent (eg MySQL) If you want to continue using LLVM you can. Set HOMEBREW_USE_LLVM or brew with --use-llvm. We also now use the default compiler for each platform. So GCC 4.2 on Snow and GCC 4.0 on Leopard. This also means that new formula are more likely to just work as many over complicated build systems get upset when you mix things up. I also did a bunch more new research regarding compiler flags. We now set the right -march for nehalem procs and don't add redundant flags like msse3 (which is automatically applied for all the -march settings we use). Reducing the number of cflags will improve the overall reliability of our platform.
2010-02-19Allow inreplace to operate over arraysMax Howell
I like that String.each is interchangeable with Array.each :)
2010-02-18Add `brew --cellar` command.Adam Vandenberg
The Cellar may not actually be "`brew --prefix`/Cellar". We support the Cellar existing only in the repo but not linked into the prefix, for installs that aren't directly in /usr/local (or other chosen prefix.)
2010-02-18Fix Pathname.install for relative symlinksMax Howell
If you have a bunch of symlinks and they all point at one file and you use Pathname.install on them all the error checking would fail if the file was moved before the symlinks because the symlinks would then point at a non existent file.
2010-02-18Fix GitHub tarball version detectionMax Howell
2010-02-16Don't merge flags in checkout-indexGraham Hughes
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-02-16Fix `brew cleanup`: less pruningMartin Kuehl
Running `brew cleanup` (with no arguments or multiple arguments) will run `brew prune` after _every_ cleaned formula, i.e. possibly after every installed formula. With this change it will instead only run `prune` after all formulae are cleaned, and only when no arguments were given to `cleanup`. Signed-off-by: Max Howell <max@methylblue.com> Closes Homebrew/homebrew#743
2010-02-13Set correct LDFLAGS for universal binariesAleksandar Topuzović
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-02-13Fixes Homebrew/homebrew#571; brew update doesn't report "Already up-to-date"Max Howell
2010-02-11Don't abort cleanup if formulae are missingAndre Arko
2010-02-09remove_make_var! should not leave an empty assignmentAdam Vandenberg
2010-02-08ENV.cxx was not retrieving proper ENV flag.Adam Vandenberg
2010-02-07Merge branch 'F-zsync' of git://arthur.barton.de/homebrew-alexAdam Vandenberg
2010-02-04Add formula check for crufy SourceForge URLs.Adam Vandenberg
2010-02-02Update test suite.Adam Vandenberg
* Break single test case class into several test cases. * Fix broken arch test. * Make update tests optional (seem to only work for mxcl). * Add more tests. * Move fixtures to separate folder.
2010-02-02Let change_make_var! append to existing value.Adam Vandenberg
To existing flag value can be specified with "\\1". To append values to a flag, call with: s.change_make_var! "THE_FLAG", "\\1 more-flag-values" The same trick can be used to prepend or surround values as well.
2010-02-02Bazaar download strategyDavid Höppner
2010-02-01Create Download Strategy sooner in formula install code.Adam Vandenberg
* Instantiate DownloadStrategy instance when creating a formula. * Rename CurlDownloadStrategy member to clarify what it is for. * Generate downloaded tarball name in initialize.
2010-01-30deps was missing from bash completionAdam Vandenberg
2010-01-30Remove spaces around make-style variables.Adam Vandenberg
Removing the spaces around equals for make-style variables makes the change_make_var! method compatible with shell scripts as well as makefiles.
2010-01-30Add gzip utility function.Adam Vandenberg
2010-01-29remove the nonexistant list --brewed flag from the help output.Ben Bleything
Resolves mxcl/homebrew#158. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-01-18If keg only don't warn about s?bin not being in PATHMax Howell
Fixes Homebrew/homebrew#488.
2010-01-18Only try to cleanup directoriesMax Howell
2010-01-18Document brew cleanupMax Howell
2010-01-18prune after brew cleanupMax Howell
Stale symlinks may exist, so we may as well fix them up at this juncture.
2010-01-18Don't cleanup if we can't tell which formula is for keepsMax Howell
If the formula was updated and not yet installed, then cleanup would delete all kegs. Which is most likely not what the user wanted. Ideally we'd do a version check to figure out which keg is newest. But we don't yet have a function that can determine with accuracy version order.
2010-01-18Use Ruby rather than external commandsMax Howell
`ls` could go wrong more than Pathname.children
2010-01-18Unit test for `brew cleanup`Joshua Peek
2010-01-18Add cleanup commandJoshua Peek
* `brew cleanup foo` removes any unlinked foo kegs * `brew cleanup` removes all unlinked kegs
2010-01-17Don't require beer_eventsMax Howell
RubyCocoa is a large dependency, and any large system can cause unexpected errors. In this case the user's system was badly setup and RubyCocoa caused a dynamic loader issue. We don't use beer_events currently due to other bugs that occurred sporadically with its use. So requiring it is unnecessary. So lets save ourselves trouble. Fixes Homebrew/homebrew#487
2010-01-16Stop raising during the raise ctorMax Howell
2010-01-16There's not enough payback for stripping librariesMax Howell
It causes lots of bugs, for the sake of what is often just a few kilobytes.
2010-01-16Blacklist wxwidgets for creationMax Howell
2010-01-16Some bulletproofing for bash completion script.Adam Vandenberg
Since Homebrew's Library doesn't have to be linked under prefix, we need to do some extra work in the bash completion script to support this configuration. Added a "--repository" option to brew, and updated the completion script to use paths relative to this location.
2010-01-16Fixes Homebrew/homebrew#168 - don't show multiple copies of the same dep.Adam Vandenberg
2010-01-16Add recommended GCC & LLVM versions to --config.Adam Vandenberg
2010-01-16Check for bad values of console_widthMax Howell
Fixes Homebrew/homebrew#453.
2010-01-14Added CMAKE_PREFIX_PATH to environment valriablesFlorian Sowade
CMake ignores the CPPFLAGS and LDFLAGS environment variables. This makes sure CMake finds libraries when homebrew is not installed at /usr/local. Signed-off-by: Max Howell <max@methylblue.com> Fixes Homebrew/homebrew#242
2010-01-14Added CMake parameter to suppress warningsFlorian Sowade
The -Wno-dev CMake parameter suppresses warnings meant for the developer, not the user.
2010-01-13Improve error when no url givenAsh Berlin
2010-01-13Support Perl/CPAN external dependenciesMax Howell
WhoHas requires LWP::UserAgent.
2010-01-13Adds: depends_on 'simplejson' => :pythonMax Howell
So far we only added python, but we can add more. Fixes Homebrew/homebrew#401
2010-01-13Add quiet_systemMax Howell
Same as Kernel.system, but prints no output.
2010-01-13Print quotes around executed arguments with spacesMax Howell
Eg: ['foo', 'bar la'] -> "foo 'bar la'"