322 Commits

Author SHA1 Message Date
dersvenhesse
70cc7790f6 Updated latest versions since XCode 8.1 release 2016-10-28 23:34:12 +02:00
dersvenhesse
4701eff45f XCode 8.1 is stable 2016-10-27 23:35:52 +02:00
Markus Reiter
546a91f78e Add —language option. 2016-10-03 02:34:53 +02:00
Markus Reiter
b703c81ca6 Stub MacOS.languages instead of setting HOMEBREW_LANGUAGES. 2016-10-03 02:34:53 +02:00
Markus Reiter
87299af225 Add test for language stanza. 2016-10-03 02:34:53 +02:00
Markus Reiter
1a25f1ec6d Make MacOS.language less opinionated. 2016-10-03 02:34:52 +02:00
Markus Reiter
00b3dde0b2 RuboCop: MacOS 2016-09-25 00:16:31 +02:00
Markus Reiter
58e36c7319 Fix Style/GuardClause. 2016-09-24 12:24:35 +02:00
Markus Reiter
23eac7ab89 Fix DoubleNegation. 2016-09-23 15:30:06 +02:00
Mike McQuaid
9001855d64 Merge pull request #1086 from woodruffw/macho-cosmetics
Remove old cctools references now that only ruby-macho is used.
2016-09-23 10:40:08 +01:00
William Woodruff
846a5b79b6
Remove old cctools references now that only ruby-macho is used. 2016-09-22 14:36:24 -04:00
Dominyk Tiller
5575c17629
xcode: prefer Utils.popen_read 2016-09-22 18:15:47 +01:00
Dominyk Tiller
b089520682
xcode: revert expectation of 10.11 8.0 CLT 2016-09-22 18:15:47 +01:00
Dominyk Tiller
860f4bd11f
xcode: expect Xcode 8.0 on OS X 10.11 2016-09-22 17:30:56 +01:00
William Woodruff
d16e4a782e
os/mac: Delete old cctools-based relocation code.
Disable check for $HOMEBREW_NO_RUBY_MACHO now that no alternative exists.
2016-09-20 17:48:21 -04:00
Mike McQuaid
7ef74614e7 Merge pull request #985 from MikeMcQuaid/drop-mavericks
os/mac: mark Mavericks as outdated.
2016-09-20 08:20:25 +01:00
Mike McQuaid
a09799f25a os/mac: fall back to old environment.
Can't see how this could ever happen but let's safe-guard it just in
case (as ilovezfs saw it).
2016-09-19 09:17:35 +01:00
Mike McQuaid
b383d95352 os/mac: mark Mavericks as outdated. 2016-09-18 19:59:08 +01:00
Mike McQuaid
3f9cce0a03 Use new "macOS" naming where appropriate.
Not quite a mass replacement as I've used OS X and Mac OS X where
describing specific older versions and added compatibility methods
for things in the DSL.
2016-09-18 19:57:19 +01:00
Mike McQuaid
3982950e61 rubocop --auto-correct all hash-rocket usage. 2016-09-17 16:14:13 +01:00
Mike McQuaid
43d8b969db os/mac: officially support Sierra.
We have a GM, a bunch of bottles and CI setup.
2016-09-17 12:59:32 +01:00
Dominyk Tiller
278ae8415c Merge pull request #957 from DomT4/xcode_8_stable
xcode: 8.0 is no longer prerelease
2016-09-14 04:29:46 +01:00
Dominyk Tiller
ce359b208d
xcode: 8.0 is no longer prerelease 2016-09-14 03:40:43 +01:00
Dominyk Tiller
95e1ff6a11
pkg-config: update zlib for macOS Sierra 2016-09-14 03:01:47 +01:00
Mike McQuaid
caecead7a7 os/mac/xquartz: fix Rubocop warnings. 2016-09-11 17:49:27 +01:00
Mike McQuaid
8271e35786 os/mac/xcode: fix Rubocop warnings. 2016-09-11 17:49:27 +01:00
Mike McQuaid
00f5aa81f2 os/mac/version: fix Rubocop warnings. 2016-09-11 17:49:27 +01:00
Mike McQuaid
f421374af1 os/mac/sdk: fix Rubocop warnings. 2016-09-11 17:49:27 +01:00
Mike McQuaid
ecda1c9c54 os/mac/linkage_checker: fix Rubocop warnings. 2016-09-11 17:49:27 +01:00
Mike McQuaid
6d1d3ff013 os/mac/cctools_mach: fix Rubocop warnings. 2016-09-11 17:49:27 +01:00
Mike McQuaid
d1191c8bb0 os/mac/architecture_list: fix Rubocop warnings. 2016-09-11 17:49:27 +01:00
Mike McQuaid
cefaef75e1 os/mac: fix Rubocop warnings. 2016-09-11 17:49:27 +01:00
Dominyk Tiller
397cd12440
pkg-config: update Sierra's sqlite version 2016-09-10 16:30:29 +01:00
Markus Reiter
0243e1f9a7 Add language method to OS::Mac. 2016-09-09 20:24:47 +02:00
William Woodruff
f0efaac5aa
Enable ruby-macho by default.
Flips HOMEBREW_RUBY_MACHO to HOMEBREW_NO_RUBY_MACHO.
2016-08-20 10:31:34 -04:00
Dominyk Tiller
6442cb3032
xcode: update expected clang for macOS 10.12 2016-08-19 01:59:33 +01:00
William Woodruff
97a66aa513 os/mac: Update ruby-macho calls for compatibility with 0.2.5.
Closes #656.

Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-08-11 22:34:49 +02:00
Martin Afanasjew
06fe347de9 os/mac/ruby_keg: improve error reporting
A failure to change a dylib ID or install name would previously cause a
rather cryptic error message, that didn't include the name of the file
that caused the failure, unless `--debug` was specified. Make sure to
output this information in all cases before re-raising the exception.
2016-08-10 17:56:46 +02:00
Dominyk Tiller
33912e218e
xcode: update expected clang for macOS 10.12 2016-08-10 13:54:19 +01:00
Dominyk Tiller
f10370bde5
xcode: update expected clang for macOS 10.12 2016-08-01 23:46:54 +01:00
Mike McQuaid
0e25fc0143 xcode: add update instruction helpers. 2016-07-27 15:05:42 -06:00
Dominyk Tiller
11583d0f4a
pkg-config: update for macOS 10.12 beta 3 2016-07-20 07:33:24 +01:00
Dominyk Tiller
cbdc1b7652
xcode: update expected clang for macOS 10.12 2016-07-20 07:22:03 +01:00
Xu Cheng
91a47a9ed6 LinkageChecker: simplify logic (#538)
BuiltOptions#without? already handles the option_names for dependencies.

Also check disabled recommended deps.
2016-07-18 18:07:00 +08:00
Dominyk Tiller
a59d346fcf
xcode: track prerelease releases 2016-07-17 23:39:15 +01:00
Martin Afanasjew
ccb11935f6 os/mac/xcode: fix CVS/GCC check if no Xcode
On systems prior to 10.9, formulae that use CVS as a download source
check whether the installed Xcode already provides CVS to avoid adding
a dependency on the `cvs` formula. Unfortunately, if no Xcode is
installed the check fails with

  undefined method `<' for nil:NilClass

causing the formula to become unloadable. This in turn causes some taps
to be untappable since #396 added the `readall` check on `tap`.

Closes #508.
2016-07-16 21:31:17 +02:00
Mike McQuaid
a02be9eea2 ENV: move to new paths. (#507)
Move some stuff formerly in `Library/ENV` around:
- Move `Library/ENV/$XCODE_VERSION` to `Library/Homebrew/env/super` as they are
  all superenv wrappers and all symlinks to the same version. We never needed
  the "separate shims for separate versions" functionality and it just adds
  confusion.
- Move `Library/ENV/pkgconfig` to `Library/Homebrew/env/pkgconfig` to get more
  things under `Library/Homebrew`
- Move `Library/ENV/scm` to `Library/scm` as these wrappers are not actually
  used by or related to superenv (or stdenv) in any way.
2016-07-15 19:03:45 +01:00
Xu Cheng
c021f37525
add Formulary#from_keg 2016-07-15 19:57:23 +08:00
Xu Cheng
0ed673abdb
formula_cellar_checks: add check_linkage
This means linkage checks will be invoked during `brew install` and `brew audit`

Closes #470.

Signed-off-by: Xu Cheng <xucheng@me.com>
2016-07-14 15:23:34 +08:00
Xu Cheng
13730a9dad
move LinkageChecker to standalone file 2016-07-14 15:23:33 +08:00