24630 Commits

Author SHA1 Message Date
Misty De Meo
a171ec18fe Formula.factory: raise on encountering non-Formula
Formula.factory naively assumed that any already-loaded constant
fed into it was a formula, with confusing results when trying to
`brew install` a name from the ruby stdlib.

Fixes Homebrew/homebrew#16284.
2012-11-28 10:01:00 -06:00
Mike McQuaid
ff356b6192 Whitelist 10.8.2 Supplemental Update static libs.
Fixes Homebrew/homebrew#16215.
2012-11-26 09:41:05 +00:00
Mike McQuaid
faf51f254d Make generic caveats for launchd plist files. 2012-11-25 23:05:52 +00:00
Mike McQuaid
c3313d084c Copy rather than move e.g. war files. 2012-11-25 23:03:29 +00:00
Jack Nagel
340769443c Rewrite plists when installing from a bottle 2012-11-25 15:11:57 -06:00
Mike McQuaid
1529fcefb7 brew-test-bot: fetch before install. 2012-11-25 21:03:57 +00:00
Mike McQuaid
0d19e2be9e brew-test-bot: don't cleanup HOMEBREW_PREFIX. 2012-11-25 21:03:57 +00:00
Mike McQuaid
4c1b546d99 brew-test-bot: general cleanup. 2012-11-25 21:03:57 +00:00
Mike McQuaid
248276839e brew-test-bot: support commits as arguments. 2012-11-25 21:03:46 +00:00
Mike McQuaid
427bc9d01c Overwrite plists. 2012-11-25 20:53:04 +00:00
Mike McQuaid
c3f96851b2 Don't warn users about bad packaging. 2012-11-25 20:51:41 +00:00
Jack Nagel
c9ef48724c Remove outdated comment 2012-11-24 17:42:45 -06:00
Adam Vandenberg
5327492482 Update manpage. Fixes Homebrew/homebrew#16206. 2012-11-23 11:48:10 -08:00
Camillo Lugaresi
5e39ce44fe separate ENV/pkgconfig dirs by OS version
Closes Homebrew/homebrew#16063.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-19 22:04:04 -06:00
Camillo Lugaresi
cf7f0f250f add necessary .pc files for Leopard
add missing libcrypto.pc
override broken system libcurl.pc

Closes Homebrew/homebrew#16063.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-19 22:03:00 -06:00
Jack Nagel
8cc3479fb7 tests: add profiling support
`rake profile` will run ruby-prof on the test suite if the ruby-prof gem
is installed.
2012-11-17 22:59:06 -06:00
Adam Vandenberg
aecd342a2b Try to remove a single .DS_Store when uninstalling
Closes Homebrew/homebrew#12976.
Closes Homebrew/homebrew#15975.
2012-11-14 15:10:08 -08:00
Charlie Sharpsteen
14cb8c8fce ENV.rb: Configure Objective-C++ compiler
Ensures the `OBJCXX` environment variable is correctly set. Also adds `OBJC`
and `OBJCXX` to `ENV.remove_cc_etc`.
2012-11-13 20:54:33 -08:00
Charlie Sharpsteen
0d5a42ad89 superenv.rb: Configure Objective-C compilers
The [`OBJC`][1] and [`OBJCXX`][2] environment variables should be set along with `CC` and
`CXX`. Some formulae require these to be set in order to properly configure
against Homebrew's compilers.

Fixes Homebrew/homebrew#16029.

  [1]:http://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Objective-C-Compiler.html
  [2]:http://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Objective-C_002b_002b-Compiler.html
2012-11-13 20:54:29 -08:00
Jack Nagel
aaf2a397f0 Document some recently added options 2012-11-13 16:56:49 -06:00
Jack Nagel
6c4c37a01f bash completion for doctor checks 2012-11-13 16:49:43 -06:00
Misty De Meo
4125fa8121 superenv: don't set VERBOSE
haskell-platform falls over badly if VERBOSE is set. Theoretically
this could happen to other packages too. Really it's just less
painful to avoid setting the env var in the first place.

Fixes Homebrew/homebrew#15989.
2012-11-13 15:46:14 -06:00
Misty De Meo
dbc472957f fish completion: complete formula options 2012-11-13 15:46:14 -06:00
Max Howell
2446e5ee8a dels -> dups typo
/cc @samueljohn
2012-11-13 11:18:19 -05:00
Adam Vandenberg
0172672756 Don't error out if metafiles are linked
Closes Homebrew/homebrew#16008.
2012-11-12 20:56:05 -08:00
Jack Nagel
6b6e22ffae Don't advise XQuartz upgrades for system X11
Yeah, yeah. The XQuartz/X11 stuff is confusing.
2012-11-12 19:48:09 -06:00
Mike McQuaid
c6a8dd247e Remove m4 macro warning.
Fixes Homebrew/homebrew#15956.
2012-11-12 20:17:57 +00:00
Adam Vandenberg
bce7dedb6a Xcode 4.5.2 is latest 2012-11-12 11:16:47 -08:00
Adam Vandenberg
5a140c0f45 exclude repository from brew list --unbrewed 2012-11-12 09:56:45 -08:00
Stefan
49ef6267f5 Remove plist file exists check
Closes Homebrew/homebrew#15958.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-11 18:02:22 -08:00
Jack Nagel
efcd926d1b Work around Readline clash
Only limited debugging functionality is available to things that involve
the Readline formula, but it is better than crashing outright.

c.f. Homebrew/homebrew#15776.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-11 18:49:32 -06:00
Jack Nagel
6136c3c5d1 Update vendered pc file path in superenv 2012-11-11 16:24:24 -06:00
Adam Vandenberg
847baa9e14 doctor checks XQuartz version
Closes Homebrew/homebrew#14182.
2012-11-11 12:33:50 -08:00
Adam Vandenberg
f1f6807c07 Add more files and extensions to metafiles 2012-11-11 11:20:21 -08:00
Adam Vandenberg
489ebd78d6 Teach Pathname how to scan for metafiles 2012-11-11 10:45:58 -08:00
Adam Vandenberg
4b72e44461 Use a class for FORMULA_META_FILES
* lets more text types get picked up
* better filter for `brew list`
2012-11-11 10:27:03 -08:00
Adam Vandenberg
ff55e7d82e Move vendored .pc files to ENV
Closes Homebrew/homebrew#15961.
2012-11-11 09:55:12 -08:00
Adam Vandenberg
ff5f3f6b6d Exclude the cache from brew list --unbrewed
If you have relocated your HOMEBREW_CACHE under HOMEBREW_PREFIX,
then don't show these files as "unbrewed".
2012-11-10 11:26:47 -08:00
Mike McQuaid
e4045fa7e5 brew-test-bot: general cleanup. 2012-11-10 13:25:32 +00:00
Mike McQuaid
2901fd393e brew-test-bot: Cleanup and improve documentation. 2012-11-10 09:17:21 +00:00
Mike McQuaid
25442f20ec brew-test-bot: Change directory only for Git commands. 2012-11-10 09:05:31 +00:00
Mike McQuaid
d01adbc987 brew-test-bot: --cleanup (not --clean) and fetch origin. 2012-11-10 08:41:10 +00:00
Mike McQuaid
623bbb2ada brew-test-bot: print bottle output with --log. 2012-11-10 06:18:34 +00:00
Mike McQuaid
925a9572c9 brew-test-bot: add skip cleanup, setup options. 2012-11-10 06:18:34 +00:00
Jack Nagel
8d7be8c0b4 debrew: take input from same line as prompt 2012-11-09 15:18:01 -06:00
Jack Nagel
bba85b4bd9 Formula#system: don't try to close a closed stream
The new formula debugger users continuations to jump back up the stack,
and thus anything that has the potential to be executed twice (i.e.
ensure blocks) needs to to be essentially idempotent.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-09 14:04:08 -06:00
Jack Nagel
3bdce1a7fa Fix typo in postgres requirement 2012-11-08 16:24:52 -06:00
Jack Nagel
1c56cda4f1 Factor out MySQL and Postgres requirements 2012-11-08 16:01:59 -06:00
Jack Nagel
1cb59ea5fd Fix curlrc existence check
Enumerable#one? is not available under Ruby 1.8.6. Further, we really
want #any? here, as setting both HOME and CURL_HOME can trigger a false
negative.

Fixes Homebrew/homebrew#15883.
2012-11-06 19:02:02 -06:00
Jack Nagel
45e208d26b Move conflict message into conflict class 2012-11-06 17:48:34 -06:00