2184 Commits

Author SHA1 Message Date
Mislav Marohnić
aa7864c5ca proper version sort in outdated command
c.f. Homebrew/homebrew#16382.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-12-04 21:10:03 -06:00
Mislav Marohnić
004069b29e propert version sort in info command
Closes Homebrew/homebrew#16382.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-12-04 21:09:44 -06:00
Mike McQuaid
4b0e663c2c Improve bottle error messages.
On installation or creation of a bottle error out of the current
machine does not support bottles.

References Homebrew/homebrew#16291.
2012-12-04 12:06:02 +00:00
Xiyue Deng
5d7940228e brew-cleanup: check whether keg is a directory.
* Avoid problem when encountering `.DS_Store' in Cellar.

Closes Homebrew/homebrew#16356.
Closes Homebrew/homebrew#16388.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-12-04 11:40:38 +00:00
Mike McQuaid
9342a42386 Fix startup plist instructions.
Closes Homebrew/homebrew#16369.
2012-12-03 17:09:51 +00:00
Jack Nagel
21dfef7ec2 Fix broken brew cleanup tests 2012-12-01 14:42:30 -06:00
Mike McQuaid
549b07e8df Fix bad reference to local_bottle_path.
Fixes Homebrew/homebrew#16337.
2012-12-01 15:38:05 +00:00
Mike McQuaid
c4fb2b73e2 Support installing bottles from local files. 2012-12-01 12:45:23 +00:00
Xiyue Deng
2a1ec18ff9 brew cleanup: don't remove higher version kegs.
* Use version compare to only remove kegs with lower version than the
  current one, not higher version which might be from someone's
  branch.
* Do the same for cache cleanup.
  - Be conservative so that if a name detected from cache file is not
    the same as its formula then don't clean it.

Closes Homebrew/homebrew#15914.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-11-30 21:37:56 +00:00
Misty De Meo
9c294364c6 Fix Formula.factory for Formula subclasses
Fixes Homebrew/homebrew#16288.
2012-11-28 10:58:29 -06:00
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
4c1b546d99 brew-test-bot: general cleanup. 2012-11-25 21:03:57 +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
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
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
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
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
Jack Nagel
21098905ab Fix framework install names 2012-11-06 13:04:40 -06:00
Jack Nagel
5de12d7182 Inject framework paths into stdenv compiler flags 2012-11-06 12:32:10 -06:00
Jack Nagel
7f9c03c1ff Link Frameworks into top-level Frameworks directory 2012-11-06 12:32:09 -06:00