8757 Commits

Author SHA1 Message Date
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
Baptiste Fontaine
24a1eeceb3 Common build environment methods moved in build_environment.rb
Closes Homebrew/homebrew#45966.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-11-17 00:17:22 +01:00
Martin Afanasjew
c55080abd5 audit: respect umask in formula file mode check
Closes Homebrew/homebrew#45837.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-16 20:07:23 +00:00
Xu Cheng
14af3e3515 audit: add godep and sphinx-doc to build time deps
Closes Homebrew/homebrew#46031.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-16 21:12:54 +08:00
Xu Cheng
14fbc8c39e improve brew info
* Show pinned and keg-only as attributes, where pinned
  version is shown as well.
* Use brackets instead of parentheses to distinguish formula
  attributes(e.g. keg-only) with spec attributes(e.g. bottled)
* Don't show blank line for formula without homepage.
* Don't show duplicated keg-only message which will be shown later
  in caveats.
* Underline urls.
* Remove unnecessary github_info return value check, which is always
  existed.

Closes Homebrew/homebrew#46037.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-16 20:59:13 +08:00
Xu Cheng
02d7abe2ec add Formula#pinned_version 2015-11-16 20:59:12 +08:00
Xu Cheng
b3f0b28025 FormulaPin: pin at max version 2015-11-16 20:59:12 +08:00
Dominyk Tiller
0abe554420 Update 10.11 pkgconfig files
Closes Homebrew/homebrew#45970.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-15 03:26:22 +00:00
Alex Dunn
3e9534029a pdf-tools: move to homebrew/emacs
Closes Homebrew/homebrew#45911.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-11-12 17:57:39 -08:00
Dominyk Tiller
bda7916ad0 mysql-proxy: boneyard 2015-11-12 13:01:58 +00:00
Dominyk Tiller
09d2ead465 mysql-connector-odbc: boneyard 2015-11-12 13:01:22 +00:00
Dominyk Tiller
1a4068f0be pull: fix pulling desired bottles 2015-11-12 01:35:58 +00:00
Alex Dunn
0df93da014 magit: move to homebrew/emacs
Closes Homebrew/homebrew#45893.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-11-11 17:27:03 -08:00
Dominyk Tiller
b381137cef pull: don't try to publish nonexistent bottles
```
Fast-forward
 Library/Formula/ant.rb     |  8 ++++----
 Library/Formula/nailgun.rb | 10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)
Deleted branch pull-bottle-45902 (was 1fdb73d).
==> Publishing on Bintray:
{"files":3}
==> Publishing on Bintray:
Error: Failure while executing
```

In that case, "jetty-runner" is bottle unneeded, but because I've passed the
pull bottle command for the other two formulae, it attempts to publish a bottle
that isn't there.
2015-11-12 00:19:38 +00:00
Mike McQuaid
108effb95d README: update maintainers. 2015-11-11 15:06:50 +00:00
Mike McQuaid
52ee5aa836 Revert "cc: disable RUBYOPT variable."
This reverts commit 03268031f1b371fc573c736a03f87f3a15284a0c.
2015-11-11 14:45:23 +00:00
Mike McQuaid
a814f119c0 cc: disable RUBYOPT variable.
If this was set at build-time (i.e. by the Ruby 1.8.7 buildsystem) then
`cc` could be passed arguments and fail to run.

Closes Homebrew/homebrew#45890.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-11 14:35:34 +00:00
Xu Cheng
0d74967ceb Formula.racks: exclude empty rack
Fixes https://github.com/Homebrew/homebrew-bundle/issues/121

Closes Homebrew/homebrew#45879.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-11 19:37:05 +08:00
Martin Afanasjew
4d772042f7 keg_relocate: remove options from Keg#dylib_id_for
No longer used since commit 3b0cbe6a56d9133941482a9e2d033ad86cdb5e79.

Closes Homebrew/homebrew#45835.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-11 14:23:59 +08:00
Martin Afanasjew
8091b33f85 ruby 1.8: address syntax warnings in Homebrew core
Closes Homebrew/homebrew#45849.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-11 14:22:44 +08:00
Dominyk Tiller
4296ec63eb rubocop: update to 0.35.1 2015-11-10 19:21:37 +00:00
Dominyk Tiller
d21c8151d5 rubocop: enforce comma instead of consistent_comma
Ref b0c21eb9d4.
2015-11-10 19:14:49 +00:00
Xu Cheng
d7e95997ae tap: warn already tapped 2015-11-10 18:33:57 +08:00
Mike McQuaid
aab53e65a9 tap: don't error when already tapped. 2015-11-10 09:12:25 +00:00
Mike McQuaid
0c20957f5b test: enable sandbox by default.
Closes Homebrew/homebrew#45843.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-10 09:09:03 +00:00
Mike McQuaid
307ca85e0e ARGV: add explicit option for disabling sandbox. 2015-11-10 09:09:03 +00:00
Sarah
65a7f7807c Library/Homebrew/README: Fix broken link
Closes Homebrew/homebrew#45852.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-11-09 18:17:52 -08:00
Alex Dunn
745ec8f7c9 cmd/update: check before tapping
Follow-up to ea6c8f7e2dc8f1adf8df9065468d0b37047d4a46
2015-11-09 07:30:02 -08:00
Alex Dunn
95bbd8ef02 cmd/install: check before tapping
Changes introduced in dfdc570abcd7c19a7b385c2fe8c6b26b12bca646 were
causing installations using fully-qualified formula names to fail.
2015-11-09 07:25:26 -08:00
Xu Cheng
ac6b22fd69 auto install certain external commands
Closes Homebrew/homebrew#45773.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-09 15:34:20 +08:00
Xu Cheng
82689d81f7 use Tap#install 2015-11-09 15:34:20 +08:00
Xu Cheng
e97610b916 add Tap#install and Tap#uninstall 2015-11-09 15:34:20 +08:00
Xu Cheng
889bb5fb03 exceptions: add TapAlreadyTappedError 2015-11-09 15:34:20 +08:00
Xu Cheng
4e196a2348 tap: add more document 2015-11-09 15:34:20 +08:00
Mike McQuaid
f59ad1c9e9 Revert "keg_relocate: fix relocation of frameworks"
This reverts commit 14ce4027ae5b8aa994f4bdf0b8160bbc4994948b.
2015-11-08 14:00:27 -08:00
Martin Afanasjew
06634edab7 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-08 13:27:03 -08:00
Tim D. Smith
55063f0ec7 set up Python sys.path from install HOME
Necessary to allow system Python to find Python modules installed by Homebrew.

Closes Homebrew/homebrew#45076. Fixes Homebrew/homebrew#43919. Probably fixes Homebrew/homebrew#44813.
2015-11-08 11:58:28 -08:00
Joel B Schwartz
e4b4ad532f Tips-N'-Trick: add a tip to use switch.
I find brew switch very helpful to activate a different version of an
installed formula. This seems worth calling out in the documentation to
elevate awareness.

Closes Homebrew/homebrew#45694.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-06 16:23:47 -08:00
Xu Cheng
7f167963b3 test-bot: skip optional deps when computing formulae test order
Closes Homebrew/homebrew#45611.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-07 02:26:33 +08:00