14765 Commits

Author SHA1 Message Date
Jack Nagel
3957a35c33 audit: inspect dep name, not dep object 2013-02-02 01:00:46 -06:00
Jack Nagel
2fed17f4d1 Ensure :cairo and :pixman resolve to standard formula deps
We do not use X11 to satisfy these deps for consistency reasons,
but we should continue to support the symbols for compatibility.
2013-02-02 00:09:28 -06:00
Jack Nagel
ade998696d Mark symbol-style autotools deps as build deps by default 2013-02-01 23:49:52 -06:00
Jack Nagel
67d798e905 Refactor fetch
Remove direct references to checksum types, access them through the
Checksum::TYPES constant instead.
2013-02-01 22:17:46 -06:00
Jack Nagel
c166ce3f58 Move MD5 deprecation warning into Pathname#md5
This way it will print when the verification takes place, making it a
bit more obvious which formula it refers to.
2013-02-01 21:53:11 -06:00
Elliot Saba
7da376a50c Update tap --repair function to ignore non-directory files in Library/Taps/
Closes Homebrew/homebrew#17518.
Closes Homebrew/homebrew#17511.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-01 18:36:38 -08:00
Jack Nagel
64eba71cb2 audit: wrap patches in ENV.with_build_environment block 2013-02-01 14:27:34 -06:00
Jack Nagel
7b93130a39 Don't call methods on xcrun_path if it's nil 2013-02-01 13:36:53 -06:00
Jack Nagel
1bb5d4e031 Add md5 support to compatibility, with deprecation warning 2013-02-01 13:24:36 -06:00
Adam Vandenberg
ea03719a34 Formula is not a formula.
Closes Homebrew/homebrew#17492.
2013-02-01 09:25:47 -08:00
Mike McQuaid
b1bc9ec809 Don't let xcrun find superenv tools.
Causes an infinite loop when trying to find e.g. missing gcc.

Closes Homebrew/homebrew#17426
References Homebrew/homebrew#17455
2013-01-31 21:48:28 -08:00
Samuel John
e851e88863 brew doctor: Check for CaSe SeNsItIvE fs
Closes Homebrew/homebrew#16658.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-01-31 21:48:28 -08:00
Jack Nagel
fba1d2129b build: accept X11 proxies as X11 deps 2013-01-31 19:46:18 -06:00
Jack Nagel
c5f73a01be Update documentation for Dependency.expand 2013-01-31 15:40:06 -06:00
Jack Nagel
1408610b81 Proper recursive expansion of requirements with filtering
Expand requirements recursively while applying the same optional? and
recommended? filters that dependencies are run through. Options
generated by requirements are now checked against the correct list of
requirements, eliminating the temporary "best guess" logic in the
installer.
2013-01-31 15:40:06 -06:00
Jack Nagel
f4b126cc14 Create proxy classes for "partial" X11 dependencies
When a formula's dependency tree contains more than one X11 dependency,
they are de-duplicated by comparing the min_version attribute. However,
this can result in broken dependency trees if one of the X11Dependency
objects was actually specified as e.g. `:libpng`.

In practice, this only matters when one or more of the dependencies has
additional metadata that makes it distinct from the rest, i.e. an
:optional or :recommended tag.

To combat this, make these special, "partial" X11 dependencies instances
of different classes so that they are not de-duped.

It will still be necessary, at the time when requirements are expanded
by the installer, to de-duplicate any remaining X11 dependencies after
applying the optional/recommended filters in order to avoid duplicated
modifications to the environment (as ENV.x11 is not idempotent).

c.f. Homebrew/homebrew#17369.
2013-01-31 15:39:26 -06:00
Mike McQuaid
9ba9e749b8 Remove MD5 support.
Closes Homebrew/homebrew#17317.
2013-01-30 22:36:12 -08:00
Mike McQuaid
36497f2a5d brew-search: search homebrew/apache tap. 2013-01-30 22:15:37 -08:00
Mike McQuaid
1bc460403b Make local bottle installation more robust.
Use versions to better get hold of the filename.
2013-01-30 21:51:21 -08:00
Mike McQuaid
eec8cc6a12 jpeg: support version format. 2013-01-30 21:29:19 -08:00
Mike McQuaid
0a3530ecd9 Add ruby/rake functions to use system framework version. 2013-01-30 21:29:19 -08:00
Mike McQuaid
58bc3b8054 Add bash and zsh completion directory functions. 2013-01-30 21:29:19 -08:00
Mike McQuaid
161b89ddf0 Add SourceForge bottle mirror selection.
Use ENV['HOMEBREW_SOURCEFORGE_MIRROR'].

Closes Homebrew/homebrew#15642.
Closes Homebrew/homebrew#17368.
2013-01-30 21:29:19 -08:00
Mike McQuaid
27700390b4 Improve brew doctor autocrlf message.
Better version of ed357d.

References Homebrew/homebrew#15711.
References Homebrew/homebrew#17361.
References Homebrew/homebrew#17437.
2013-01-30 21:29:19 -08:00
Jack Nagel
351cd89a71 Pass tag to class name style requirement declarations 2013-01-30 14:18:34 -06:00
Charlie Sharpsteen
1fbc32d842 brew-help: Add options to example usage
Also, move the line containing `info`, `home` and `options` to the top of the
list as users should be running these before installation.

Ref. Homebrew/homebrew#13224.
2013-01-30 09:31:42 -08:00
Jack Nagel
3414b4d689 Fix passing multiple switches as a single word to the build
Fixes Homebrew/homebrew#17434.
2013-01-30 11:09:33 -06:00
Jack Nagel
b6631ac23f doctor: core.autocrlf can be empty
c.f. Homebrew/homebrew#17361.
2013-01-30 01:26:28 -06:00
Jack Nagel
1a05e18fe9 FormulaInstaller: actually select unsatisfied requirements
Fixes Homebrew/homebrew#17422.
2013-01-29 23:43:44 -06:00
Adam Vandenberg
0dec35e7b0 Only check keg-only if we map to a formula 2013-01-29 20:45:33 -08:00
Adam Vandenberg
40c339e349 Require --force to link keg-only.
Closes Homebrew/homebrew#13349.
2013-01-29 20:31:33 -08:00
Mike McQuaid
8ccda70344 Improve the explanation of the verbose flags.
Closes Homebrew/homebrew#17181.
2013-01-29 17:14:11 -08:00
Mike McQuaid
599b012702 Add pour_bottle? method to Formula.
Allows a formula to selectively disable bottle pouring.
e.g. the default Boost bottle does not work with a brewed Python.

Fixes Homebrew/homebrew#17142
2013-01-29 17:14:11 -08:00
Mike McQuaid
b58077b3e8 Don't use underscores in (new) bottle filenames.
Closes Homebrew/homebrew#14270
2013-01-29 17:14:09 -08:00
Mike McQuaid
1107171f83 Cleanup old bottle syntax. 2013-01-29 17:14:00 -08:00
Mike McQuaid
92a5c765a9 Improve brew doctor autocrlf check.
Closes Homebrew/homebrew#15711.
2013-01-29 17:14:00 -08:00
Mike McQuaid
89e3efae00 Only print launchctl tmux warning conditionally. 2013-01-29 14:37:03 -08:00
Adam Vandenberg
f23f511dbb Remove gmock.
Gmock and GTest should not be installed system-wide.

Closes Homebrew/homebrew#17358.
2013-01-29 12:13:04 -08:00
Adam Vandenberg
b7121f0abc brew-linkapps creates symlinks again
Revert "Prevent linkapps from creating duplicate aliases"
Revert "linkapp: create Finder aliases"

This reverts commit e1a68f1ffbac9dc8209cc9ac2c8f2e34d11867af.
This reverts commit bf2e6023d1bac08739b4562e19e07db448f0aba3.

Closes Homebrew/homebrew#15308.
2013-01-29 11:59:54 -08:00
Adam Vandenberg
2ad5069bab 0.9.4: optional/recommended support 0.9.4 2013-01-29 11:57:07 -08:00
Adam Vandenberg
6a747a1420 Add 'instal' to completions 2013-01-29 11:13:23 -08:00
Jack Nagel
61f01632c6 Keg#lock: guard against nil in ensure
Fixes Homebrew/homebrew#17403.
2013-01-29 10:26:00 -06:00
Jack Nagel
9b555ee399 Update Xcode.version for 4.6 2013-01-29 09:52:02 -06:00
Misty De Meo
14bb39b898 Don't print git origin check without git repo 2013-01-29 09:48:43 -06:00
Jack Nagel
667abe8185 Update clang version regexp in CLT check 2013-01-29 07:44:19 -06:00
Jack Nagel
0a7d2b82b4 remove vim from the blacklist 2013-01-28 23:17:39 -06:00
Jack Nagel
25be1de992 Update latest CLT version 2013-01-28 23:02:37 -06:00
Jack Nagel
1ca5b7a204 doctor: fix typo 2013-01-28 23:02:25 -06:00
Jack Nagel
35394ad584 Fix clang version detection on Xcode 4.6+ 2013-01-28 14:40:58 -06:00
Jack Nagel
246b60573f Fix compiler map key 2013-01-28 14:33:52 -06:00