aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2009-10-08Add formula test that looks for commented-out template code.Adam Vandenberg
2009-10-08Remove invalid copied comment.Adam Vandenberg
2009-10-08Tweak version regex.Adam Vandenberg
Enable tarballs named like "fceux-2.1.1.src.tar.bz2"
2009-10-09Determine LLVM location programmaticallyMax Howell
Xcode can be installed anywhere, not just /Developer.
2009-10-09Revert "Set homepage in created scripts to frontmost Safari URL"Max Howell
This reverts commit a1ed2cb19706e317d34f1a9f2efe8a2d2388afae. The is running part of the Applescript didn't seem to prevent Safari getting loaded when it wasn't running when used via osascript. It worked in ScriptEditor! Honest! Also we decided that it probably wouldn't work often enough anyway. Discussion: http://github.com/mxcl/homebrew/commit/a1ed2cb19706e317d34f1a9f2efe8a2d2388afae
2009-10-04Set homepage in created scripts to frontmost Safari URLMax Howell
A bit of fun with Applescript, for those of us who use Safari.
2009-10-04Introduce ENV.O2 and use that for the postgresql buildTom von Schwerdtner
Also only set ARCHFLAGS on non-Core Duo machines... though it seemed to build fine even with it, it doenst make much sense to me... these changes are kind of up for debate but it "works for me" this way... Closes #75
2009-10-03Add to PKG_CONFIG_PATH for keg-only depsMax Howell
Also prepending to these vars now too as for kegs that are duplicates of OS X libs, we need to give them the edge and put them first.
2009-10-03Modernise the GRC formula somewhatMax Howell
This was one of the first ones I wrote, so it lacks some of our more recent touches.
2009-10-03GeoIP formulaMichael Stephens
GeoIP is a C library that enables the user to find geographical and network information of an IP address.
2009-10-02HttpDownloadStrategy renamed CurlDownloadStrategyMax Howell
Because people didn't realise it was actually curl and thus supports eg. ftp too.
2009-10-02Formula.etc is now HOMEBREW_PREFIX/etcMax Howell
You generally don't want to have to copy the configuration to a new directory when you upgrade.
2009-10-01Add SourceForge pattern to SubversionDownloadStrategyAdam Vandenberg
2009-10-01Add -sources to the version recognizer.Adam Vandenberg
2009-10-01Set LD to CCAustin Ziegler
This is generally the right thing to do. It should fix more build problems than it hinders. Especially on Snow Leopard. This fixes the pngcrush build.
2009-10-01Blacklist creation for some formulaMax Howell
We don't duplicate, so libxml and that are already provided by OS X. Mercurial is provided by easy_install. I'm adding this to save people contributing stuff that we won;t accept. I hate disappointing people :(
2009-10-01If an exception has newlines, render them wellMax Howell
2009-10-01Formula.var is now HOMEBREW_PREFIX/varMax Howell
2009-10-01ENV['HOMEBREW_VERBOSE'] turns on verbose modeMax Howell
2009-09-30Pathname fix for ruby 1.9 [hack?]Zachery Hostens
2009-09-30Adding CVS and Mercurial download strategies.Austin Ziegler
2009-09-30brew list --unbrewed fixMax Howell
Determine all directories that aren't Homebrew ones. Exec find. I prefer to keep short stuff in bin/brew so people reading the code have a better idea of what happens, and what sort of functions are useful for the sorts of things we do with Homebrew.
2009-09-30Add CPPFLAG for ncurses flag under 10.6.Adam Vandenberg
2009-09-30brew list lists root keg files if not README, etc.Max Howell
2009-09-30Allow returning true from keg_only?Max Howell
2009-09-30Determine the repo path in a symlink-friendly way.Steve Losh
The Contributions/selflink.sh script does not symlink the .git directory, so 'brew update' will fail because the prefix (/usr/local/) is not a git repository. To determine the actual location of the git repo we can get the realpath of the Library (to expand any symlinks) and take the parent of that.
2009-09-30Fixes #68, let's not break fresh Homebrew installsMax Howell
Thanks to boztek for spotting this. I'll commit a test shortly.
2009-09-30Var goes back in the keg. Fixes #67Max Howell
I'm not sure about this still, as if you uninstall mysql do you want to lose all the var stuff it created? Maybe. Probably not. But there were issues unresolved having it in the unversioned-keg. So I'd rather look at this again later, and fix the bugs without hacks for now.
2009-09-30Show trailing / for dirs with brew listMax Howell
2009-09-29Don't fail when cleaning if skip_clean_paths is emptyMax Howell
2009-09-29Angband version styleMax Howell
2009-09-29Allow skip_clean as a class methodAndre Arko
Pass in a list of any files that you don't want cleaned with a path relative to the cellar. e.g. `strip_paths ['bin/znc']` It's backwards compatible with def strip_clean?, at least for now. The znc formula is updated as an example.
2009-09-29eval badAndre Arko
2009-09-29Add HOMEBREW_REPOSITORY prefix for `brew up`Andre Arko
Signed-off-by: Max Howell <max@methylblue.com> I removed whitespace changes and changed readlink to realpath as readlink raises if it's not a link.
2009-09-29Search by substring unless term is inside /../Andre Arko
2009-09-29An additional reference for warn_about_macports_or_finkKieran Pilkington
2009-09-29brew list --unbrewedKieran Pilkington
Very quick way to find files not installed by homebrew. Taken from a command by mxcl on the homebrew wiki. .DS_Store files and bin/brew are ignored.
2009-09-29If brew create can't figure out the name, prompt for itMax Howell
This was adapted from adamv@d5e78ee26535dec4b11c33d14832a9ee945a29fd I decided prompting would was the most usable solution here, as the stem is unlikely to be useful so the user would have to rename the file and change the class name as well as type the command once and then again with --force. Dissent welcome. Fixes #15
2009-09-29Add option to downgrade from LLVM to gcc.Adam Vandenberg
Signed-off-by: Max Howell <max@methylblue.com> I added ENV tests.
2009-09-29ENV.O3 -- for when O4 takes foreverMax Howell
Which makes me wonder if it's worth it? Oh well, you can't find these things out without experimentation.
2009-09-28fix_PATH changed to warn_about_macports_or_finkMax Howell
We shouldn't mess with the user's PATH anyway. So assume our users are smart and just warn them about potential issues instead.
2009-09-28Made the tests green for the updater componentEloy Duran
2009-09-28Properly distinguish between added and updated formulae.Eloy Duran
2009-09-28Quote path parameters where appropriateMax Howell
Our build directories are space-less, but the final destination may have spaces, especially since OS X often uses your full name as your home directory path.
2009-09-26Oops. Don't raise for homepages. Silly.Max Howell
2009-09-25Throw if no homepage setMax Howell
That'll teach you!
2009-09-25Add test for matching formula filename/class.Adam Vandenberg
2009-09-25Add better error message for misnamed formula class.Adam Vandenberg
2009-09-25Find version number in *-src.tarballAdam Vandenberg
Signed-Off-By: Max Howell <max@methylblue.com> I added a unittest.
2009-09-25Default to LLVM on Snow LeopardMax Howell
On Leopard you can enable it by defining the environment variable: HOMEBREW_USE_LLVM I didn't enable it on Leopard by default because it doesn't get as much testing, and I don't want to rock the boat. On Snow Leopard people are forigiving of issues because it is new and many compiles fail anyway. And if you installed Snow Leopard you *want* the cutting edge. Closes #29