5541 Commits

Author SHA1 Message Date
Xiyue Deng
6fc6dd791b stdenv: drop space between "-isystem" and path.
* This is consistent with superenv.
2013-11-02 01:47:35 -07:00
Mike McQuaid
e24bcba00a update: check if Cellar exists instead of factory.
Fixes Homebrew/homebrew#23881.
2013-11-01 23:23:14 -07:00
Jack Nagel
a0a341c297 cc: disable make_fuss during configure
Fixes Homebrew/homebrew#23885.
2013-11-02 00:43:17 -05:00
Jack Nagel
8ce3a9f168 cc: ensure wrapper output is always flushed 2013-11-01 23:16:17 -05:00
Jack Nagel
4a5b65c9f5 Remove "-c1" one-line config
This is broken and nobody noticed, so remove it.

Closes Homebrew/homebrew#23878.
2013-11-01 19:04:04 -05:00
Jack Nagel
0aa7457b79 Fix CLT latest version check for 10.8/9
Closes Homebrew/homebrew#23874.
2013-11-01 18:58:19 -05:00
Jack Nagel
a4d630003d Add pkgutil version for XQuartz 2.7.5_rc3 2013-11-01 16:04:52 -05:00
Mike McQuaid
bdbaf61304 python_dependency: fix includes location on 10.9.
Fixes Homebrew/homebrew#23837.
Fixes Homebrew/homebrew#23866.
2013-11-01 11:19:23 -07:00
Mike McQuaid
fd254c3874 bottle: improve written bottle output. 2013-10-31 19:03:31 -07:00
Mike McQuaid
3f489e1eed bottle: write to relative path if exists. 2013-10-31 18:21:03 -07:00
Mike McQuaid
b0bf181788 install: search when formula isn't found. 2013-10-31 17:20:00 -07:00
Elliot Saba
c20f6395bb bottle: improve relocatable debugging.
* When Homebrew developer mode is enabled, if a bottle is not found to
  be relocatable attempt to explain why
* Print out paths of each file that still contains the string search for
* If the string searched for was found in an executable, check to see
  if `otool` can explain the string's appearance
* If otool can't explain, see if `strings` can explain

Closes Homebrew/homebrew#23824.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-31 17:12:36 -07:00
Mike McQuaid
d311fe666c Allow configuring HOMEBREW_LOGS. 2013-10-31 17:02:20 -07:00
Mike McQuaid
37e2005e79 Use HOMEBREW_LOGS more consistently. 2013-10-31 17:02:20 -07:00
Jack Nagel
80c7a80a46 Remove duplicate test 2013-10-31 14:49:23 -05:00
Jack Nagel
3f2782e22d fetch: check for existing cache file before downloading 2013-10-31 14:29:48 -05:00
Jack Nagel
d35e465671 fetch: clear partial downloads when --force is given
Fixes Homebrew/homebrew#23764.
2013-10-31 14:29:38 -05:00
Stefan
71f0ad069d Generate logs in verbose mode
Closes Homebrew/homebrew#23654.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-10-31 14:24:48 -05:00
Jack Nagel
643469a17c sh: only activate X11 if it's installed
Fixes Homebrew/homebrew#23835.
2013-10-31 14:20:29 -05:00
Misty De Meo
655c6f79b4 Hardware::CPU: add extmodel helper 2013-10-30 19:14:07 -07:00
Brian Stolz
0f612f8459 Add Hardware::CPU.ssse3? helper method.
Closes Homebrew/homebrew#23796.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-10-30 18:44:03 -07:00
Mike McQuaid
a28b57d3fb git-etc: remove all code.
I've given up on this; too many edge cases.
If someone else wants to pick it up then send me a message and I'll walk
you through the approach.
2013-10-30 16:15:31 -07:00
Mike McQuaid
d9d2443d5d Cleanup use of some global constants. 2013-10-30 13:20:48 -07:00
Mike McQuaid
d6ffd493a6 deps: don't use symbol-like output by default. 2013-10-30 13:13:41 -07:00
Mike McQuaid
8e75e3e043 doctor: strengthen osx-gcc-installer warning.
We hate it and we should tell people why.
Next step may be blocking it altogether.
2013-10-30 11:28:38 -07:00
Mike McQuaid
ce8123badd install: print osx-gcc-installer doctor warning. 2013-10-30 11:28:37 -07:00
Mike McQuaid
d31e069ed3 update: automatically tap migrated formulae.
When a formula is removed from core and installed let's tap it so users
can get updates without caring which tap we want to put things in.

This should allow us to migrate a lot of things to taps.

Closes Homebrew/homebrew#23760.
2013-10-30 11:24:21 -07:00
Mike McQuaid
1c5b1d745e Add tap migrations file. 2013-10-30 11:21:54 -07:00
Mike McQuaid
55947f84a5 exceptions: direct to correct tap on failure.
Closes Homebrew/homebrew#23757.
2013-10-30 11:20:20 -07:00
Mike McQuaid
4c0fd46329 Formula: add tap? method. 2013-10-30 11:20:02 -07:00
Mike McQuaid
202c6ef826 global: add more tap regexes. 2013-10-30 11:19:46 -07:00
Mike McQuaid
868b4f8bea uses: display requirements.
Closes Homebrew/homebrew#23758.
2013-10-30 10:48:53 -07:00
Mike McQuaid
34d836872f deps: display requirements default_formulae. 2013-10-30 10:48:53 -07:00
Mike McQuaid
a252c90a0d doctor: ensure git --version actually matches.
Closes Homebrew/homebrew#23791.
2013-10-30 10:34:04 -07:00
Jack Nagel
9966943a34 Resource: extract unpacking from #stage
Closes Homebrew/homebrew#23768.
2013-10-30 10:43:57 -05:00
Jack Nagel
2dd44f7791 Resource: push conditional down into #verify_download_integrity 2013-10-30 10:16:20 -05:00
Jack Nagel
a5b2814770 Use curl to download list of Apache mirrors
Ruby's OpenURI library is somewhat broken under 1.8 and chokes on
otherwise valid values of http(s)_proxy. Use curl to get the mirror list
instead.

Fixes Homebrew/homebrew#23708.
2013-10-30 00:11:46 -05:00
Adam Vandenberg
d9f327083b add unlink apps to manpage and completion 2013-10-29 21:07:21 -07:00
Teo Ljungberg
95305e6256 New command: brew unlinkapps
The name is pretty self explanatory, it unlinks all installed
applications found under `brew --prefix` from either `~/Applications` or
`/Applications`

Closes Homebrew/homebrew#22729.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-10-29 21:04:25 -07:00
Jack Nagel
076df32be3 Add ant dependency
Closes Homebrew/homebrew#23484.
Closes Homebrew/homebrew#23494.
Closes Homebrew/homebrew#23681.
2013-10-28 14:44:20 -05:00
Misty De Meo
64b472788a Mac.prefer_64_bit?: fix conditional for 10.4 2013-10-28 08:41:57 -07:00
Mike McQuaid
42c9ecd665 Bottle: handle legacy bottle OS tags.
Otherwise :mountainlion, :snowleopard in the history for CMake breaks 
bottle_filenames from versions for new CMake bottles.
2013-10-28 10:50:02 +00:00
Mike McQuaid
fdc08424af versions: fix bottle_filenames.
Previously if a bottle had no checksum for a particular platform (i.e.
currently there are no Mavericks bottles) then it would generate a
different revision (and thus filename) to the rest of the bottles being
generated which meant bottles needed to be manually renamed.

Instead check the actual bottle object's checksums to make sure that
we've looked at the previous bottles for all platforms rather than just
the current one.
2013-10-28 10:26:04 +00:00
Jack Nagel
f01a38772a Fix md5 compat layer
Fixes Homebrew/homebrew#23653.
2013-10-27 12:43:14 -05:00
Stefan
0a1df377fb fix build log output
Closes Homebrew/homebrew#23669.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-10-27 09:48:15 -07:00
Xiyue Deng
ea2dd613a4 Make stdenv handling less intrusive.
* Don't encode "-Qunused-arguments", as this is only supported in Clang
  and will break building when C/C++ compiler is switched during the
  process, e.g. building gcc. The warning is harmless without
  "-Werror".
2013-10-27 06:30:48 -07:00
Xiyue Deng
15e5fe4384 Clang standard library selection.
* Add new ENV function for selecting stdlib for Clang.
  - The selection is no-op for non-system-clang compilers.
  - Both superenv and stdenv are handled.
* Add new HOMEBREW_CCCFG flag and ccwrapper handling.
2013-10-26 22:17:04 -07:00
Xiyue Deng
f2132c47bd C++11 support.
* Add options and ENV method to specify building in C++11 mode.
  - Set C++ compiler flags to enable C++11 mode.
  - To add options to support C++11 mode, a formula can now use

      option :cxx11

    to provide "--c++11" option, and detect and enable C++11 support in
    install method using

      ENV.cxx11 if build.cxx11?

Closes Homebrew/homebrew#22453.
2013-10-26 22:17:04 -07:00
Misty De Meo
0e6df1c3bf detect_cxx_stdlibs: use mach_o_files 2013-10-26 21:54:30 -07:00
Misty De Meo
2775a4b12c Move bottle stdlib tracking post-pour
This allows us to track the actual stdlib in use, and prevents warnings
for bottles with no C++ code.
2013-10-26 21:54:29 -07:00