327 Commits

Author SHA1 Message Date
Shaun Jackman
5d9149a4b9 LD64Dependency is needed on macOS only
Move ld64_dependency.rb to os/mac/.
2018-01-03 10:52:12 -08:00
Mike McQuaid
1aee4e1e1c Xcode 9.2
Update all the necessary versions but also cleanup some related
indentation and point the `Xcode.md` document to the code rather than
duplicating it there (which means it sometimes ends up outdated).
2017-12-08 14:59:15 +00:00
Shaun Jackman
d79c5ade1a Implement linkage for Linux 2017-12-03 16:22:51 -08:00
Mike McQuaid
8b9ac2b2e0 x11_requirement: remove custom minimum version.
This isn't desired or needed. Ensure older code still works, though.
2017-12-03 13:33:16 +00:00
Shaun Jackman
baa3d187d6 Add CVSRequirement and SubversionRequirement
Use these two requirements in DependencyCollector.
Remove the unused function MacOS::Xcode.provides_cvs?
2017-11-25 09:45:08 -08:00
Mike McQuaid
cd0db51343 diagnostic: check if Xcode needs CLT installed.
Require the CLT on all but the latest version of macOS to avoid the
continuous workarounds for SDK weirdness.
2017-11-17 21:35:49 +00:00
Mike McQuaid
ee4172159b
Merge pull request #3377 from maxim-belkin/extend-pathname
pathname: new methods and improvements
2017-11-10 17:49:27 +00:00
Maxim Belkin
de0b93f912
pathname: improvements, cleanups, and new methods
- atomic_write: close file before renaming to prevent error:
  'Device or resource busy'
- ensure_writable: preserve executable bit
- new elf? and dynamic? methods
2017-11-07 14:18:25 -06:00
ilovezfs
4cc72cf3be
Merge pull request #3409 from DomT4/xcode
Xcode 9.1 Updates.
2017-11-06 23:22:50 -08:00
Mike McQuaid
e300713f25 xcode: check Xcode installed before using version.
This avoids infinite recursion described in:
https://github.com/Homebrew/brew/pull/3422#issuecomment-342001451
2017-11-05 20:22:01 +00:00
Mike McQuaid
389188ac4f mac/xquartz: compare with existing Version class. 2017-11-05 15:39:43 +00:00
Mike McQuaid
600d58f4ca mac/xcode: compare with existing Version class.
Additionally, return null versions when it makes sense to do so. This
means that comparisons on the Xcode/CLT version do not need to be
guarded on whether Xcode/CLT is installed.
2017-11-05 15:39:43 +00:00
Dominyk Tiller
50c09f8c57
xcode: expect Xcode 9.1 on Sierra & High Sierra 2017-11-01 04:48:52 +00:00
Dominyk Tiller
bdc7657456
xquartz: mark 2.7.11 as latest release 2017-10-31 16:21:03 +00:00
Dominyk Tiller
eb950644c5
xquartz: add 2.7.10 & 2.7.11 releases 2017-10-31 16:20:47 +00:00
Mike McQuaid
6fe7c5fc95 Merge pull request #3335 from JCount/xcode-9.0.1
xcode: update to Xcode 9.0.1 on 10.12 and 10.13
2017-10-20 18:11:32 +01:00
JCount
a064751060 xcode: update to Xcode 9.0.1 on 10.12 and 10.13 2017-10-19 11:03:17 -04:00
Markus Reiter
9bee9ca575 Use “squiggly” heredocs. 2017-10-18 14:39:09 +02:00
Markus Reiter
175ca909ee Clean up code style and remove .rubocop_todo.yml. 2017-10-08 16:10:37 +02:00
ilovezfs
e8da9613fb Revert "mach: Avoid reopening the file for relocation" 2017-09-27 02:08:23 -07:00
William Woodruff
6098998674 Merge pull request #3139 from woodruffw/macho-use-object
mach: Avoid reopening the file for relocation
2017-09-25 23:30:42 -04:00
William Woodruff
d618e574fb
mach: Avoid reopening the file for relocation
This commit allows the relocation code to perform install name
and dylib ID changes without reopening the file separately.
2017-09-25 17:46:23 -04:00
Mike McQuaid
dd75dd8a25 os/mac/version: allow leopard_64_or_later bottles. 2017-09-25 18:35:18 +01:00
Mike McQuaid
c8f3b1d37c linkage_checker: tweak headers wording.
It's helpful to note that the undeclared/unnecessary dependencies are
done based on linkage alone.
2017-09-19 10:54:50 +01:00
Mike McQuaid
81d9f71edb Merge pull request #3103 from maxim-belkin/extraneous_deps
linkage_checker: add a check for extraneous dependencies
2017-09-18 19:28:19 +01:00
Dominyk Tiller
1dfde95cb6
mac/xcode: update expected Clang on 10.13 2017-09-13 02:34:23 +01:00
Maxim Belkin
f2531d1290
linkage_checker: unnecessary dependencies
- rename 'extraneous' to 'unnecessary'
- add the report under `linkage --test`
2017-09-11 09:40:23 -05:00
Maxim Belkin
049a453b46
linkage_checker: avoid some false positives 2017-09-11 09:40:23 -05:00
Maxim Belkin
0037d5e2b3
linkage_checker: fix style 2017-09-11 09:40:23 -05:00
Maxim Belkin
6c962c2a5b
linkage_checker: check for extraneous dependencies 2017-09-11 09:40:22 -05:00
ilovezfs
a4c5e64da4 Revert "mach: Avoid reopening the file for relocation" 2017-09-08 12:32:32 -07:00
William Woodruff
a77a1f949a Merge pull request #3101 from woodruffw/macho-use-object
mach: Avoid reopening the file for relocation
2017-09-08 14:30:23 -04:00
William Woodruff
18115f0639
mach: Avoid reopening the file for relocation
This commit allows the relocation code to perform install name
and dylib ID changes without reopening the file separately.
2017-08-28 19:05:12 -04:00
Dominyk Tiller
beb411fefc
mac/xcode: update expected Clang on 10.13 2017-08-22 03:44:30 +01:00
Dominyk Tiller
82b2978171
mac/xcode: update expected Clang on 10.13 2017-08-08 18:58:24 +01:00
Dominyk Tiller
627cf06fb7
pkgconfig: update zlib for 10.13 2017-07-26 02:32:48 +01:00
Dominyk Tiller
afaee7f816
mac/xcode: update expected Clang on 10.13 2017-07-26 02:23:56 +01:00
William Woodruff
7c9b170ea0
linkage_checker: Whitelist another harmless dylib
libgcc_s.1.dylib is a variation on libgcc_s_ppc64.1.dylib.
2017-07-22 15:44:55 -04:00
Dominyk Tiller
570dee5809
pkgconfig: update sqlite3 for 10.13 2017-07-11 16:20:37 +01:00
Dominyk Tiller
d0a2d1ba30
mac/xcode: update expected Clang on 10.13 2017-07-11 16:18:34 +01:00
Dominyk Tiller
162acfd43d
pkgconfig: update libcurl for 10.13 2017-06-22 18:22:54 +01:00
Dominyk Tiller
a09d4427ef
os/mac/xcode: enforce minimum CLT version on 10.13 2017-06-22 18:18:52 +01:00
Dominyk Tiller
d7c061f7ac
os/mac/xcode: update CLT Clang for 10.13 2017-06-22 18:18:14 +01:00
William Woodruff
47fe214963
linkage_checker: Add harmless dylibs check.
While the linkage checker should normally report all broken links,
there are a few cases where broken links are harmless. One case
is when a the PPC slice of a program links to a PPC-only library
that no longer exists on x86_64 OS X. Since the PPC slice is never
loaded on modern OS X, inconsistencies within it do not need to
be reported.
2017-06-19 22:48:01 -04:00
Mike McQuaid
021cef4b2b Autocorrect Rubocop Style/SpecialGlobalVars. 2017-06-12 09:11:42 +01:00
Dominyk Tiller
bcdd919b84
pkgconfig: add initial files for 10.13 2017-06-07 05:12:45 +01:00
Dominyk Tiller
08cee5a0d5
os/mac/xcode: add CLT Clang for 10.13 2017-06-07 04:39:29 +01:00
Dominyk Tiller
cc86d4184d
os/mac/xcode: recognise Xcode 9.0 2017-06-06 04:33:55 +01:00
Dominyk Tiller
a88350425b
os/mac/xcode: expect Xcode 8.3.3 2017-06-06 04:15:36 +01:00
Dominyk Tiller
5a9dad0bf0
mac/version: add High Sierra symbol 2017-06-05 19:40:33 +01:00