8545 Commits

Author SHA1 Message Date
Xu Cheng
863c83a0f5 upgrade: use installed_kegs 2015-11-29 20:24:30 +08:00
Xu Cheng
aaa945be68 missing: use installed_prefixes 2015-11-29 20:24:30 +08:00
Xu Cheng
3e99f16a7d info: use installed_kegs 2015-11-29 20:24:30 +08:00
Xu Cheng
2f50d3a279 doctor: use installed_prefixes 2015-11-29 20:24:30 +08:00
Xu Cheng
cc8859f86a cleanup: use installed_prefixes/installed_kegs 2015-11-29 20:24:30 +08:00
Xu Cheng
0686ebfcc0 formula: use installed_prefixes/installed_kegs
Closes Homebrew/homebrew#46463.
2015-11-29 20:24:30 +08:00
Xu Cheng
6273d464ee add Formula#installed_prefixes and Formula#installed_kegs 2015-11-29 20:24:30 +08:00
Dominyk Tiller
b31f84f270 xcode.md: document xcode 7.1.1
Closes Homebrew/homebrew#46459.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-29 02:11:32 +00:00
Dominyk Tiller
f1b555b150 xcode: expect 7.1.1 2015-11-29 02:11:32 +00:00
Dominyk Tiller
cbab4566dd mac: expect xcode 7.1.1 2015-11-29 02:11:32 +00:00
Mike McQuaid
4a457d191d formula: fix reference to self. 2015-11-27 20:43:13 +00:00
Andrew Thorburn
4c3a6c6022 formula: add missing require.
Closes Homebrew/homebrew#46433.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-27 18:48:38 +00:00
Mike McQuaid
10c79620c1 tab: use cache to avoid rereading the same files.
Closes Homebrew/homebrew#46400.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-27 16:52:54 +00:00
Mike McQuaid
6054666fa6 formula: refactor outdated handling, add to hash. 2015-11-27 16:52:54 +00:00
Zhiming Wang
30d8084643 External-Commands: remove brew-any-tap, brew-desc.
The functionality of both external commands have been merged into core
(#40326 and Homebrew/homebrew#39911).

Closes Homebrew/homebrew#46412.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-27 08:17:42 +00:00
Dominyk Tiller
1e96ec1bde Formula-Cookbook: don't remove bottle revisions 2015-11-26 23:51:11 +00:00
gunnaraasen
293bd76658 Formula-Cookbook: note when to remove revisions
Closes Homebrew/homebrew#46286.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-26 23:46:22 +00:00
Zhiming Wang
5fc2405db3 Fix typo: hyphen-minus instead of en dash in command
Closes Homebrew/homebrew#46408.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-11-26 15:22:19 -08:00
Alex Dunn
a19de4a94a gptfdisk: boneyard
See Homebrew/homebrew#46378.

Closes Homebrew/homebrew#46398.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-11-26 14:30:06 -08:00
Andrew Janke
d05c4d2408 gist-logs: Friendlier titles and display for log gists
Adds a summary file and description to get more informative displays on gist.github.com.

Closes Homebrew/homebrew#45023.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
2015-11-26 12:42:30 -05:00
Xu Cheng
e07adf1619 GitRequirement: use Utils.git_available?
`which("git")` will return incorrect result for OS X without Xcode/CLT
installed, where `/usr/bin/git` is a stub.

Closes Homebrew/homebrew#46386.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-26 20:21:37 +08:00
Dominyk Tiller
fd44154645 gdrive: boneyard
This is a prime candidate for either Homebrew/binary or Caskroom/cask, given the
issues building against newer Go versions with no imminent fix in sight.

Closes Homebrew/homebrew#45916.

Closes Homebrew/homebrew#46301.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-25 21:30:54 +00:00
Daniel Trebbien
af10515f81 Skip pouring from a bottle if --cc is passed
A formula should be built from source by default if the --cc option is
passed to specify a particular compiler.

Added a test to test_formula_installer: test_not_poured_from_bottle_when_compiler_specified

Modified test_formula_installer to assert that the formula was not poured
from a bottle. Similarly modified test_formula_installer_bottle to assert
that the formula *was* installed from a bottle.

Added an install method to the TestballBottle formula (the same as the
Testball formula's install method) so that the TestballBottle formula can
be "built from source".

Fixes Homebrew/homebrew#46046 - Build from source should be the default behavior if --cc
option is passed

Closes Homebrew/homebrew#46162.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-25 16:49:58 +00:00
Baptiste Fontaine
1855dd1da8 dromeaudio 0.3.0 (import from head-only)
Closes Homebrew/homebrew#46163.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-11-25 11:33:55 +01:00
Mike McQuaid
22b0abbfb8 audit: only run brew style when on Ruby 2.0. 2015-11-25 09:26:42 +00:00
Baptiste Fontaine
060f0e3d6e uim: migrate to homebrew/x11
Closes Homebrew/homebrew#41278.
Closes Homebrew/homebrew#46309.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-11-24 16:39:04 +01:00
Syed Humza Shah
5e09a6a743 keg_relocate: replaced 'if' with guard clause
Closes Homebrew/homebrew#46211.
2015-11-24 10:48:28 +00:00
Syed Humza Shah
5607858d90 build: removed instance of redundant mapping 2015-11-24 10:48:26 +00:00
Julian Berman
ef8f6e7aa8 Don't mention easy_install
That which shall not be named!

Remove outdated references to easy_install and point users at the pip installation docs.

Closes Homebrew/homebrew#44834.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
2015-11-23 22:56:18 -08:00
Baptiste Fontaine
2838fe493e Docs: deprecate homebrew/head-only
Closes Homebrew/homebrew#46243.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-11-23 22:05:16 +01:00
Baptiste Fontaine
e8c8b876af brew-log: warn if shallow clone
Closes Homebrew/homebrew#46283.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-11-23 15:50:15 +01:00
Martin Afanasjew
cd267e0bce audit: check position of 'revision' and 'keg_only'
Closes Homebrew/homebrew#46178.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-23 04:56:27 +00:00
Dominyk Tiller
59d2d7b0b0 travis: untap versions after ruby187 install 2015-11-22 21:44:51 +00:00
Alexander Berezovsky
b0f188c2f5 formula_installer: fix quotation mismatch
Closes Homebrew/homebrew#46176.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-21 18:46:37 +00:00
Martin Afanasjew
fde1614670 utils: native rewrite of install_gem_setup_path!
Setting the environment variable `HOMEBREW_RUBY_PATH` allows one to run
Homebrew with a non-standard Ruby, even one that is not in `PATH`. This
creates the problem that the `gem` in `PATH` might not be the right one
to call, possibly leading to confusing results as the wrong RubyGems
installation is queried/manipulated.

Closes Homebrew/homebrew#46185.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-20 14:00:45 +00:00
Xu Cheng
aeb8aad1e0 brew: ensure full path for HOMEBREW_RUBY_PATH 2015-11-20 19:52:19 +08:00
Mike McQuaid
f5104a7946 brew.rb: export HOMEBREW_RUBY_PATH. 2015-11-20 10:24:27 +00:00
Mike McQuaid
5388f8c8f8 Travis: don't run cleanup at all. 2015-11-19 13:30:07 +00:00
Mike McQuaid
1a8f6388a6 test-bot: don't cleanup before on Travis.
As we may be using a Ruby 1.8 that this will delete.
2015-11-19 13:18:21 +00:00
Robert Buonpastore
6c5419fc5b Filter "instal" from homebrew bash completions
Closes Homebrew/homebrew#45086.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-11-19 11:04:16 +01:00
Alexis Hildebrandt
a9b380539c brew-deps: improved --tree formatting
Use proper BOX DRAWINGS LIGHT VERTICAL unicode character.

Closes Homebrew/homebrew#46158.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-11-19 10:20:40 +01:00
Martin Afanasjew
6f5307fbd9 keg_relocate: fix relocation of frameworks
When fixing references to regular dylibs, it is sufficient to search for
a file with the same base name, e.g., `libpoppler.56.dylib`. However, if
the broken reference is to a framework, we also have to take into
account preceding path components to find a suitable match. Framework
references (according to the `dyld` man page) come in two flavors:

- `XXX.framework/Versions/YYY/XXX` (with version)
- `XXX.framework/XXX` (without version)

The change here is to detect these patterns and to make sure that the
fixed library reference has the same suffix as the broken one.

Prior to this fix, a broken framework reference (if originating in a
sister framework) to `QtXml.framework/Versions/5/QtXml` would have been
rewritten to `<qt5-keg>/lib/QtXml.framework/QtXml`. In practice, this
mostly works, but is technically incorrect and thus creates problems
like in Homebrew/homebrew#42191. With this fix, the framework reference is correctly
rewritten to `<qt5-keg>/lib/QtXml.framework/Versions/5/QtXml`.

Closes Homebrew/homebrew#45494.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-19 08:54:58 +00:00
Mike McQuaid
c6621faf18 travis: test 10.9 using Ruby 1.8.
Closes Homebrew/homebrew#45816.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-18 17:06:28 +00:00
Mike McQuaid
11a421948d test-bot: remove email support. 2015-11-18 10:28:04 +00:00
Mohammad AlSaleh
0873eb6df2 Update libcurl pkgconfig file for 10.10
This matches the version shipped with 10.10.5.

 The list of supported features/protocols was obtained
 using `curl-config`:

```
 features="`curl-config --features`"; echo "${features//$'\n'/ }"
 protocols="`curl-config --protocols`"; echo "${protocols//$'\n'/ }"
```

Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>

Closes Homebrew/homebrew#46073.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-17 20:37:39 +00:00
Xu Cheng
39c9ce628f FormulaInstaller: don't try to build from source for interrupt
Closes Homebrew/homebrew#46078.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-17 23:51:11 +08:00
Xu Cheng
74c0b1c56b fix prepend not available in Ruby 1.8
Closes Homebrew/homebrew#46071.
Closes Homebrew/homebrew#46069.
2015-11-17 20:49:10 +08:00
Xu Cheng
3a68b915eb Stdenv: add note on possible future deprecation
Closes Homebrew/homebrew#46043.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-17 18:52:00 +08:00
Xu Cheng
d108bf0a55 move more deprecated methods to compat folder 2015-11-17 18:52:00 +08:00
Xu Cheng
baf3ca09b2 Stdenv should be tagged as private rather deprecated 2015-11-17 18:52:00 +08:00