Commit Graph
20799 Commits
Author SHA1 Message Date
Max Howell a633812f95 Don't allow sudo brew upgrade if not sensible 2012-03-07 12:50:15 +00:00
Max Howell 9bb8f4760d Don't abort upgrade if one formula won't build
Also, unlink previous keg before installing to prevent issues when existing installed brews cause build problems for the newer installed brew.

If the build fails the active keg is relinked before aborting.

Fixes #10341.
2012-03-07 12:34:40 +00:00
Max Howell 5bddaf2e35 Stop supporting `brew install --force'
Rationale: it breaks stuff. You should not be able to install over something already installed *and* linked. brew now prompts you to unlink the existing linked keg first.

I came to fix this because I discovered that `brew install foo` works without --force provided foo's formula version is different to that which is installed and linked. I'm not sure if this was intentionally broken, but it led to at least two tickets I found where people were getting crazy issues trying to install over the top of already installed previous versions.

So I also fixed a whole category of other issues, mostly by moving error handling into FormulaInstaller. Now error's can be caught in Homebrew.install and handled on a formula-by-formula basis. I will next port this behaviour to upgrade.
2012-03-07 12:33:47 +00:00
Max Howell 9b798ccb20 Move brew output for BuildError into BuildError
So upgrade can output errors but continue to upgrade the rest of the installation.
2012-03-07 12:33:47 +00:00
Max Howell 1e4c65be0b If multiple kegs, default to formula keg
If it exists, ARGV.kegs will return the Formula.prefix keg for each rack examined.

So for ARGV=[wget, foo] and the following Cellar (wget/1.11, wget/1.12, foo/1.0) you'll get [wget/1.12, foo/1.0] from ARGV.kegs provided 1.12 is the formula version of wget.
2012-03-07 12:33:47 +00:00
Adam Vandenberg 7034ce6e06 Percona-toolkit 2.0.3 2012-03-06 21:28:16 -08:00
Adam Vandenberg 775d253753 Moved dotless to Homebrew-Alt.
This was the only formula in core that depended on Mono.
Moving to Homebrew-Alt; once brew-tap lands someone could start
a Homebrew-mono repository if they were so inclined.
2012-03-06 20:04:21 -08:00
Jiahao Chen e34d013b74 freeciv 2.3.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-06 19:53:22 -08:00
Jamie Sa 455ac297c9 hg-flow 0.3
Hg flow is a development model following the famous blog article A
successful Git branching model.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-06 19:47:41 -08:00
Dave Goodell 22fb0478ab colorsvn: use correct config file path
The colorsvn binary was looking in "/etc" for a file that was correctly
installed in "/usr/local/etc".

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-06 19:42:55 -08:00
Aleksander Modzelewski 9ee5badc69 dwarf-fortress 0.34.05
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-06 19:35:45 -08:00
Bryan J Swift 89366c646e closure-compiler 20120305
Closes #10721.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-06 19:39:55 -06:00
Luke Orland 885e3d61e3 doxygen 1.8.0
Closes #10728.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-06 19:35:12 -06:00
Jack Nagel 38fffe732f Extend FileUtils rather than include it
Fixes #10729.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-06 19:23:51 -06:00
Jack Nagel fe5c473988 go-gui 1.4.2
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-06 18:56:57 -06:00
Misty De Meo 504d51bac0 libmp3splt: document patch 2012-03-06 15:02:29 -06:00
Max Howell 6da4a9a6f4 brew cleanup cleans up the download-cache
Manpage updated.

The -s switch is "scrub" and removes downloads for uninstall formula which are downloads for the latest version of that formula still.

Please NOTE cache is NOT cleaned if a formula argument is provided. I couldn't be bothered. Patches welcome :)

Closes #2923.
2012-03-06 20:28:06 +00:00
Max Howell 1cdad6f201 Pathname.stem knows about bottles 2012-03-06 20:28:06 +00:00
Max Howell 03b2aae0a8 Proper single character switch handling
Includes a test. So now you can do `brew cleanup -ns` and it will work.
2012-03-06 20:28:06 +00:00
Max Howell 4e8afeb839 The doctor checks if you need to brew update
Well at least it checks to see if it's been a while since the last one.
2012-03-06 20:28:05 +00:00
Misty De Meo 2e1c2e51d2 libmp3splt: fix compilation on 10.6
libmp3splt will not build on 10.6 without regenerating the
configure script, which requires a newer version of automake.

Fixes #10350.
2012-03-06 12:38:11 -06:00
Jack Nagel 668fc75fe8 git 1.7.9.3
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-06 12:27:51 -06:00
Max Howell 740f417733 Don't create crazy bin symlink
Closes #10680.

I believe this was an error, everything still seems to work.
2012-03-06 16:00:47 +00:00
Jonathan Hitchcock 65592d9242 'brew doctor' provides bad example command
If there are multiple dependencies missing, 'brew doctor' can suggest
that you run something like:

  brew install autoconf libyaml autoconf, libyaml

This commit improves that output.

Closes #10720.

Signed-off-by: Max Howell <max@methylblue.com>
2012-03-06 15:38:33 +00:00
Martin Lau 02b32690c4 Fantom 1.0.62
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-06 07:11:44 -08:00
Adam Vandenberg f4e6cc4f32 LuaRocks 2.0.8 2012-03-06 07:08:59 -08:00
Adam Vandenberg 03bee67376 Shen: fix checksum 2012-03-06 07:06:31 -08:00
Yasuharu NAKANO bff0ee5132 groovy: add groovy-all.jar
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-06 07:01:10 -08:00
Adam Vandenberg 841324b880 use which method 2012-03-06 06:53:07 -08:00
Adam Vandenberg 9cf15ae6dc add which method 2012-03-06 06:53:06 -08:00
Mike McQuaid 12be4fbedc Remove outdated and broken KDE formulae.
Fixes #9797. Fixes #10711.
2012-03-06 09:22:21 -05:00
Max Howell a42301ecf6 Don't require formula files for brew rm --force
In fixing this I also made it so that ARGV.kegs will return the LinkedKeg if the symlink is set. Which is almost always is. This neatly avoids most multiple-kegs issues.

Fixes #10685.
2012-03-06 13:47:31 +00:00
Max Howell 0bde7e2976 Refer to our aclocal before /usr/share/aclocal
Fixes #10618.
2012-03-06 12:35:36 +00:00
Max Howell 437a93cd85 Doctor check for python is Python-3
Refs #9541.
2012-03-06 12:20:02 +00:00
Jack Nagel d8c7ce480f Require specialties at the end of formula.rb
classes in formula_specialties.rb need Formula, so it has to be last.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-06 00:28:50 -06:00
Adam Vandenberg 31a4db558c git-flow: also install zsh completions 2012-03-05 21:52:07 -08:00
George Song 691e4601bd hg: bash completion
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-05 21:49:04 -08:00
Adam Vandenberg da7246672d Aria2 1.14.2 2012-03-05 21:47:22 -08:00
Julio Viera 27ce5c37a5 Beanstalk: patch to prevent 100% cpu useage
patch commit: https://github.com/kr/beanstalkd/commit/80da772efeeaabb12893f52a93da74ca9e69206d
bug report: https://github.com/kr/beanstalkd/issues/96

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-05 21:39:19 -08:00
Adam Vandenberg 7831b929f8 Move llvm method to FailsWithLLVM 2012-03-05 21:14:48 -08:00
Adam Vandenberg 692d1c8e76 shrink 2012-03-05 21:14:39 -08:00
Adam Vandenberg ca0d798b4d invert condition 2012-03-05 21:14:39 -08:00
Adam Vandenberg a6a56e2f72 Move AmazonWebServicesFormula to formula_specialties
Enough formulae in core depend on this, pull it in here.
When multi-repo support lands, perhaps we could set up Homebrew-AWS.
2012-03-05 21:14:39 -08:00
Adam Vandenberg 89edada6b2 Move specialized formulae base classes into a new file 2012-03-05 21:14:39 -08:00
Adam Vandenberg fcb33f7c54 Move path utils out of formula.rb
Make a new module for our FileUtils extensions and use that instead.
2012-03-05 21:14:39 -08:00
Fernando Ortiz a7aed7dcac easy-tag 2.1.7
Closes #10691.

[jn: remove unused configure switch]

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-05 22:51:40 -06:00
Jack Nagel 017abfda0d mod_wsgi: use the right compiler
This just keeps getting ugler, but it is necessary.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-05 22:40:06 -06:00
Jack Nagel 8cb82ec15f mod_wsgi: remove "verbose install" caveats
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-05 22:40:06 -06:00
Jack Nagel cdf12f545c portmidi: remove "verbose install" caveats
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-05 22:40:06 -06:00
Kevin Ballard 8c130475bc youtube-dl 2012.02.27
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-05 20:18:10 -08:00