2804 Commits

Author SHA1 Message Date
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
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
Jack Nagel
2f542f657e Combine duplicated postfix conditionals 2012-11-06 12:32:09 -06:00
Jack Nagel
f8183d9510 Hoist top-level directory list into a constant 2012-11-06 12:32:09 -06:00
Charlie Sharpsteen
c92971f475 doctor: Remove fuse.pc from the whitelist
Having a third-party `fuse.pc` file will conflict with the `fuse4x` formula.
2012-11-03 15:44:51 -07:00
Max Howell
d458200223 superenv: Builds need to use the right git/svn too
stdenv already works as Contributions/cmds is in the path already.

This is safe to do because OS X already has git and svn in the PATH if you have the CLT installed. So we should definitely ensure we use the right versions.

Fixes Homebrew/homebrew#15783.
2012-11-02 09:34:25 -04:00
Jack Nagel
fa6cf55f58 Add Xcode 4.5.2 to standard compilers map
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-01 14:13:26 -05:00
Adam Vandenberg
5e212a76e3 Error out on lowercase --head parameter to install.
Fixes Homebrew/homebrew#14815.
2012-11-01 08:08:40 -07:00
Xiyue Deng
6762780f3e Whitelist Homebrew's own prefix in superenv.
This allows Homebrew to be installed into /opt or /sw.

Closes Homebrew/homebrew#15780.

Signed-off-by: Max Howell <mxcl@me.com>

Cleaned up the patch a little. Still ugly though, but logic is unusual so that's just how it is.
2012-11-01 09:51:41 -04:00
Max Howell
beb5f97614 Fix build failure being non-verbose when --verbose 2012-10-31 11:28:29 -04:00
Max Howell
394549dd3d Only show the troubleshooting link
This has to be a last resort right? If all we show is that link (plus preceding un-deletable output) and they don't click it then maybe we should just close the ticket and hope they'll use MacPorts instead.
2012-10-31 11:28:29 -04:00
Adam Vandenberg
e502728641 Superenv: be more specific about -O flags
Closes Homebrew/homebrew#15775.
2012-10-31 06:50:50 -07:00
Sijawusz Pur Rahnama
32b1d46c96 Add support for 7zip archives
Closes Homebrew/homebrew#15723.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-29 14:57:23 -05:00
Charlie Sharpsteen
376fa59901 brew-update: Guard non-directory files in Taps
Skip any entries returned by `Dir["Library/Taps/*"].each` that are not
directories.
2012-10-28 12:34:43 -07:00
Adam Vandenberg
1b991c5aae formula: shorten path helpers 2012-10-28 08:54:54 -07:00
Camillo Lugaresi
18dbe47f9f debrew: formula debugging for homebrew
A new feature for easing the pain of working with complex formulas, or
formulas for large packages. When running brew in debug mode (-d), if an
exception propagates outside the formula's install method, you now get a menu
which lets you return to the point where the exception was raised and perfom
several useful actions, such as:
- printing a backtrace
- entering IRB to examine the context and test ruby code
- entering the debugger (if ruby-debug is available)
- entering a shell
- ignoring the exception or proceeding with the raise as normal

Signed-off-by: Max Howell <mxcl@me.com>

* Fixed conflict in build.rb.
* Removed old debug handling in Formula.brew.

Closes Homebrew/homebrew#10435.
2012-10-28 11:39:02 -04:00
Max Howell
f6091b1c85 Specify where to get the CLT package 2012-10-28 10:52:07 -04:00
Stephen Nelson
e7a9f6eb89 Homebrew should not ignore curlrc
Added doctor check for .curlrc rather than silently ignoring it (#13836).

Closes Homebrew/homebrew#15419.

Signed-off-by: Max Howell <mxcl@me.com>

Removed test in doctor where it actually curl'd a file. It's enough to warn if the curlrc exists. I understand people want to remove the warnings, but the point in the doctor is to help diagnose and not to be some ramification of your UNIX system.
2012-10-28 10:52:07 -04:00
Max Howell
a967f5c82a Use cc -E, not cpp -E. Fixes Homebrew/homebrew#15402. 2012-10-28 10:52:06 -04:00
Adam Vandenberg
73b3977ab4 Pathname: add exec and jar helpers
Closes Homebrew/homebrew#13318.
2012-10-27 19:28:42 -07:00
Jack Nagel
267ffddbd3 tests: define assert_empty for Ruby <= 1.8
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-25 22:09:23 -05:00
Jack Nagel
762c355b30 ComparableSet#merge returns self
Set#merge is supposed to return self, and Formula#recursive_requirements
depended on this being true.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-25 15:54:55 -05:00
Jack Nagel
07d9adc295 test_cleaner: add missing require
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-25 14:29:43 -05:00
Jack Nagel
d1f754c02e Allow requirements to record tags
To allow

  depends_on :x11 => :optional

and friends to work as expected, make requirements record any tags and
add special handling to the X11Dependency to record both a minimum
version and additional tags.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-25 14:28:53 -05:00
Jack Nagel
a1af5a6cc3 Move requirement subclasses to a separate file
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-25 12:51:36 -05:00