Jack Nagel
85d23f47f4
XQuartz.version: return dunno as a string and not a symbol
2013-02-04 14:53:18 -06:00
Jack Nagel
4e3dcd5016
Xcode.version: return dunno as a string and not a symbol
2013-02-04 14:42:39 -06:00
Adam Vandenberg
bad80d58f9
Architecture: add flag for ppc support
2013-02-03 21:07:59 -08:00
Jack Nagel
3c7837e5a9
audit: check for missing xz build-time dep
...
Closes Homebrew/homebrew#17565 .
2013-02-03 14:57:33 -06:00
Jack Nagel
66d91ac0e4
audit: mark intltool as a build-time dep
2013-02-03 14:48:02 -06:00
Adam Vandenberg
bae3d70834
update: abort if formula names are given
...
Closes Homebrew/homebrew#11154 .
2013-02-03 11:53:17 -08:00
Adam Vandenberg
82ecc01ac0
Fix typo in XQuartz comment
2013-02-03 11:32:34 -08:00
Jack Nagel
f9670f5dda
download_strategy: fix typo
2013-02-02 16:21:25 -06:00
Simon Sigurdhsson
af3bfab9db
Make CurlDownloadStrategy
resume aborted downloads
...
* `CurlDownloadStrategy#_fetch` (and the same methods in its
subclasses) now fetches the file to a temporary path, and
`CurlDownloadStrategy#fetch` moves it to the correct location.
* `Homebrew#cleanup` cleans the temporary files `CurlDownloadStrategy`
creates if they're left in the cache.
Closes Homebrew/homebrew#13953 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-02 14:05:40 -08:00
Jack Nagel
c0822f8400
FormulaInstaller#check_requirements: fix inverted conditional
2013-02-02 14:51:10 -06:00
Jack Nagel
ea15442b9a
Move ruby methods to FileUtils extension
2013-02-02 11:24:55 -06:00
Jack Nagel
2dac10a711
Fix args to ruby method
2013-02-02 11:23:55 -06:00
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