8416 Commits

Author SHA1 Message Date
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
Xu Cheng
8cf3402870 keg: mkpath for share/postgresql 2015-11-07 02:26:33 +08:00
Adam Demasi
0ff7de8104 appledoc 2.2.1 (new formula)
Closes Homebrew/homebrew#45574.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-05 19:33:32 +00:00
Dominyk Tiller
52d4276e29 wolfssl: rename from cyassl 2015-11-04 14:31:17 +00:00
Dominyk Tiller
c7b0173688 doctor: tweak tmp sticky bit check 2015-11-04 12:53:31 +00:00
Xu Cheng
ffbb1828a2 update: always rescue formula loading
Closes Homebrew/homebrew#45676.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-04 20:44:28 +08:00
Xu Cheng
ec114bb480 test-bot: cleanup bottle files in cache
Closes Homebrew/homebrew#45637.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-04 14:58:00 +08:00
Xu Cheng
20d38701b5 test-bot: hard link generated bottle file to HOMEBREW_CACHE 2015-11-04 14:58:00 +08:00
Dominyk Tiller
3a29a3cc93 maximum_macos_requirement: reword message
Closes Homebrew/homebrew#45658.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-04 05:25:10 +00:00
Jeremy McNevin
dd8146d21b nim: renamed from nimrod
Closes Homebrew/homebrew#45618.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-03 18:01:33 -08:00
Dominyk Tiller
85469b99b1 doctor: fix typo
Fixes Homebrew/homebrew#45623.
2015-11-02 21:04:03 +00:00
Dominyk Tiller
7d0c57cc9e doctor: whitelist Paragon ExtFS dylib 2015-11-02 18:27:13 +00:00
Mike McQuaid
2537942540 El Capitan and Homebrew: update instructions.
These seem to not apply for everyone on 10.11 any more (as explained
in Homebrew/homebrew#45387).

Closes Homebrew/homebrew#45387.

Closes Homebrew/homebrew#45566.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-01 22:30:26 -08:00
Alex Dunn
d435f3ac41 keg.rb: guard against nonexistent site-lisp subdir
Fixes Homebrew/homebrew#45596.
2015-11-01 18:04:42 -08:00
Alex Dunn
e891699342 formula.rb: define elisp and opt_elisp
Closes Homebrew/homebrew#45567.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-11-01 17:34:28 -08:00
Alex Dunn
168a2687f8 stricter audit for Emacs Lisp installs
Require that the subdirectory in site-lisp match the formula name
exactly.  This lets us provide better information in the caveats and
will make it easier for helper methods to write to the correct
location (as in in Homebrew/homebrew-emacs#13).
2015-11-01 17:34:28 -08:00
Ryan Hendrickson
91dd4d56d4 os/mac/hardware: reverse universal_archs entries.
The order ought not to matter, but GCC can fail with -arch i386 -arch
x86_64 (producing an error like "FATAL:Bad fx_size (0x8) in
fix_to_relocation_info()") but succeed with -arch x86_64 -arch i386.

Closes Homebrew/homebrew#45401.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-01 09:30:00 -08:00
Dominyk Tiller
76435ece68 tap_migrations: add whereami
Closes Homebrew/homebrew#45569.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-01 17:27:42 +00:00
Mike McQuaid
39a1ff2aa0 audit: don't flag Gnome devel releases < 1.0. 2015-11-01 09:26:43 -08:00
Mike McQuaid
2614d39087 pull: fix pulling new bottles. 2015-11-01 08:25:02 -08:00
Xu Cheng
ae329a802b pull: use bottle_defined?
Fixes Homebrew/homebrew#45575

Closes Homebrew/homebrew#45577.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-01 08:22:18 -08:00
Xu Cheng
ff9fdc078f add Formula#bottle_defined? 2015-11-01 08:22:18 -08:00
Xu Cheng
593dff3dc1 pull: bottle_unneeded? is covered by bottle_disabled? 2015-11-01 17:51:10 +08:00
Mike McQuaid
68896d14aa download_strategy: silence curl on Travis CI.
Use one of the Travis CI default environment variables:
http://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables

Closes Homebrew/homebrew#44446.
Closes https://github.com/travis-ci/travis-ci/issues/4936.

Closes Homebrew/homebrew#45561.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-01 00:18:51 -07:00
Mike McQuaid
18b2d0150e pull: handle unneeded and disabled bottles.
Closes Homebrew/homebrew#45563.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-31 23:45:11 -07:00
Martin Afanasjew
4a9960bee7 doc: be consistent when referring to official taps
Always use the `<user/repo>` format as used by the `brew tap` command.
Also fixed a link to `homebrew/head-only` and sorted a list in `FAQ.md`
in alphabetical order.

Closes Homebrew/homebrew#45535.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-31 20:32:09 -07:00
Jacob Krall
6d57b3f4b9 Formula cookbook: PolarSSL was renamed to mbedtls
See 29bc61e9163e43931ff4736fa3cefaff1918f153

Closes Homebrew/homebrew#45533.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-10-31 15:45:21 +00:00
Xu Cheng
d7a479f551 JavaRequirement: check satisfaction directly
It made less sense to call a method `java_version` when it returns
boolean value.

Closes Homebrew/homebrew#45501.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-31 20:22:17 +08:00
Alex Dunn
e40e1b7ac7 emacs_requirement: set $EMACS
The Emacs shell sets $EMACS to "t" for detection purposes, but it causes
builds to fail when they attempt to call Emacs using the variable.

Fixes Homebrew/homebrew-emacs#30.

Closes Homebrew/homebrew#45495.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-10-30 20:17:42 -07:00
Dominyk Tiller
8acac5aa71 doctor: unify chown messages
Closes Homebrew/homebrew#45398.
2015-10-30 18:42:19 +00:00
Baptiste Fontaine
a2e2553bd8 audit: flag any desc that starts with the formula name
The previous version didn’t work with descs like:

  "TheFormula serves a web page"
2015-10-30 17:56:55 +01:00
Baptiste Fontaine
2ef51381c9 create: deprecate --macports and --fink
Closes Homebrew/homebrew#45465.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-30 10:11:04 +01:00
Baptiste Fontaine
18bda1c9b1 audit: uniformize the desc problems
Closes Homebrew/homebrew#45492.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-30 09:59:43 +01:00
Baptiste Fontaine
a5f6295b62 audit: flag descs starting with the formula name
Closes Homebrew/homebrew#45493.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-30 09:51:20 +01:00
Ben White
f7e649831d doctor: Fix typo in uncommitted modifications warning message
Closes Homebrew/homebrew#45443.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-29 13:34:36 +01:00
Xu Cheng
fd3cfb11a6 merge dependencies for expand_requirements
Fixes Homebrew/homebrew#45414

Closes Homebrew/homebrew#45420.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-29 14:14:56 +08:00
Alex Dunn
dd71d34bab emacs_requirement: allow no version
see Homebrew/homebrew-emacs#29

Closes Homebrew/homebrew#45426.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-10-28 19:43:17 -07:00
Martin Afanasjew
4db8ef00bf xquartz: add 2.7.8
Closes Homebrew/homebrew#45254.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-10-29 01:51:46 +00:00
Baptiste Fontaine
75c196c1fc create: accept HEAD urls
Fixes Homebrew/homebrew#45310.

Closes Homebrew/homebrew#45336.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-28 14:04:53 +01:00
Mike McQuaid
74e407dc54 The Formula API is no longer work-in-progress.
Feature it a bit more prominently in the documentation as a result.

Closes Homebrew/homebrew#45374.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-27 10:45:23 -06:00
Mike McQuaid
8ea9903a99 update: use git stash silently.
There's been a few issues where users have been confused about these
errors. They may have modified stuff but we probably don't care about
telling them that unless we're debugging other issues.

Closes Homebrew/homebrew#45373.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-27 10:45:23 -06:00
Baptiste Fontaine
be1ac34117 BottleDisableReason: enforce the use of :disable
Closes Homebrew/homebrew#45337.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-26 21:22:00 +01:00