Max Howell
b70a5da5eb
Use explicit path to LLVM
...
Had a bug in channel where build script altered PATH for some reason and LLVM couldn't be found.
2009-10-12 14:31:21 +01:00
Max Howell
0406bcdac2
Revert copy pasta
2009-10-09 15:21:37 +01:00
Max Howell
32c2a562cb
I believe in a world where unittests work with Ruby 1.8.6
2009-10-09 03:59:41 +01:00
Max Howell
e948859128
README updates
...
Added some new bits and corrected some old bits but mainly this is my unceasing craving to never let it lie.
2009-10-09 03:59:41 +01:00
Adam Vandenberg
1e5623c300
Add formula test that looks for commented-out template code.
2009-10-08 17:21:55 -07:00
Adam Vandenberg
5a48d297f2
Remove invalid copied comment.
2009-10-08 17:21:55 -07:00
Adam Vandenberg
82bbe5e074
Tweak version regex.
...
Enable tarballs named like "fceux-2.1.1.src.tar.bz2"
2009-10-08 17:21:55 -07:00
Max Howell
25b57a4f97
Document selflinks.sh
...
Neaten icu4c caveats.
Use auto sourceforge mirror selection for mad.
2009-10-09 00:09:05 +01:00
Max Howell
d5d56e6ace
Don't allow interactive installs if deps aren't installed
...
Mainly because this feature is for devs and the code is too messy to fix it properly yet.
2009-10-09 00:09:05 +01:00
Max Howell
8896c23f21
Update referenced installer script gist
...
The new one refers to master rather than masterbrew.
2009-10-09 00:09:05 +01:00
Max Howell
4c6e23c28f
Determine LLVM location programmatically
...
Xcode can be installed anywhere, not just /Developer.
2009-10-09 00:09:05 +01:00
Max Howell
e2bed20d21
Revert "Set homepage in created scripts to frontmost Safari URL"
...
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: a1ed2cb197
2009-10-09 00:09:05 +01:00
Max Howell
346e42d4b9
Set homepage in created scripts to frontmost Safari URL
...
A bit of fun with Applescript, for those of us who use Safari.
2009-10-04 20:15:33 +01:00
Tom von Schwerdtner
ef580e9541
Introduce ENV.O2 and use that for the postgresql build
...
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 Homebrew/homebrew#75
2009-10-04 18:36:44 +01:00
Max Howell
1974021718
Use full path to Ruby executable when installing
2009-10-04 17:49:49 +01:00
Max Howell
2edb971cd8
Fixes Homebrew/homebrew#78
...
`brew list` fails after fresh install because Cellar directory doesn't exist yet.
2009-10-04 17:49:49 +01:00
Max Howell
f785369e54
Add to PKG_CONFIG_PATH for keg-only deps
...
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-03 16:16:02 +01:00
Max Howell
ceef7729e0
Modernise the GRC formula somewhat
...
This was one of the first ones I wrote, so it lacks some of our more recent touches.
2009-10-03 15:23:45 +01:00
Mark Imbriaco
20ecb8d032
Fix brew if it's symlinked from elsewhere
...
Follow symlinks when trying to find HOMEBREW_RUBYLIB.
Signed-off-by: Max Howell <max@methylblue.com>
This is now supported usage, it wasn't before. I amended the patch quite heavily because it broke our other supported usage, ie. complete symlinking of Homebrew into /usr/local
2009-10-03 15:03:12 +01:00
Michael Stephens
65eac81ca9
GeoIP formula
...
GeoIP is a C library that enables the user to find geographical and
network information of an IP address.
2009-10-03 13:25:23 +01:00
Max Howell
c130cf3e71
HttpDownloadStrategy renamed CurlDownloadStrategy
...
Because people didn't realise it was actually curl and thus supports eg. ftp too.
2009-10-02 20:01:23 +01:00
Max Howell
5f0d2dc032
Formula.etc is now HOMEBREW_PREFIX/etc
...
You generally don't want to have to copy the configuration to a new directory when you upgrade.
2009-10-02 16:30:33 +01:00
Adam Vandenberg
e66364502d
Add SourceForge pattern to SubversionDownloadStrategy
2009-10-01 10:23:02 -07:00
Adam Vandenberg
da565308ad
Add -sources to the version recognizer.
2009-10-01 10:23:02 -07:00
Austin Ziegler
3c3902954b
Set LD to CC
...
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-01 16:17:54 +01:00
Max Howell
64899bbbff
Blacklist creation for some formula
...
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-01 15:48:54 +01:00
Max Howell
5c33fdfb5b
If an exception has newlines, render them well
2009-10-01 15:48:51 +01:00
Max Howell
db2ccd294d
Formula.var is now HOMEBREW_PREFIX/var
2009-10-01 15:17:31 +01:00
Max Howell
1156cc49d8
ENV['HOMEBREW_VERBOSE'] turns on verbose mode
2009-10-01 15:17:31 +01:00
Zachery Hostens
101e9c8cbe
Pathname fix for ruby 1.9 [hack?]
2009-09-30 22:26:52 -05:00
Austin Ziegler
668e3ee080
Adding CVS and Mercurial download strategies.
2009-09-30 18:52:12 +01:00
Max Howell
c61d96529c
brew list --unbrewed fix
...
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-30 18:11:49 +01:00
Adam Vandenberg
e4a32736cd
Add CPPFLAG for ncurses flag under 10.6.
2009-09-30 18:04:04 +01:00
Max Howell
512a3da886
brew list lists root keg files if not README, etc.
2009-09-30 17:45:38 +01:00
Max Howell
b80dd75a73
Allow returning true from keg_only?
2009-09-30 17:24:05 +01:00
Steve Losh
287cc0dc02
Determine the repo path in a symlink-friendly way.
...
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-30 15:07:23 +01:00
Max Howell
55025865eb
Fixes Homebrew/homebrew#68 , let's not break fresh Homebrew installs
...
Thanks to boztek for spotting this. I'll commit a test shortly.
2009-09-30 03:10:25 +01:00
Max Howell
9d3ddfb466
Var goes back in the keg. Fixes Homebrew/homebrew#67
...
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-30 01:24:49 +01:00
Max Howell
396ec2efae
Show trailing / for dirs with brew list
2009-09-30 01:24:31 +01:00
Max Howell
98081ce26a
Don't fail when cleaning if skip_clean_paths is empty
2009-09-29 23:52:21 +01:00
Max Howell
fe464c2e2b
Improved installation instructions
2009-09-29 23:34:17 +01:00
Max Howell
c0253a75df
Angband version style
2009-09-29 23:34:17 +01:00
Andre Arko
cacf8d8aa4
Allow skip_clean as a class method
...
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-29 23:34:16 +01:00
Andre Arko
64bab9d746
eval bad
2009-09-29 23:34:16 +01:00
Andre Arko
d3954d3d77
Add HOMEBREW_REPOSITORY prefix for brew up
...
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-29 23:34:16 +01:00
Andre Arko
195e75c1b2
Search by substring unless term is inside /../
2009-09-29 23:34:16 +01:00
Max Howell
b9033700b6
Fixes .gitignore
...
So now it does ignore new stuff in root but not in the dirs we like.
2009-09-29 23:33:22 +01:00
Kieran Pilkington
0e9edbb285
An additional reference for warn_about_macports_or_fink
2009-09-29 16:26:38 +01:00
Kieran Pilkington
9169b675a3
Adding PATH for the debug environment.
2009-09-29 16:26:38 +01:00
Kieran Pilkington
aedaaf79bf
brew list --unbrewed
...
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-29 16:26:37 +01:00