16336 Commits

Author SHA1 Message Date
Jack Nagel
f42c7f1cc3 update: add remaining status indicators to diff-tree regexp
As I understand it, we should never encounter these, but...
2013-11-14 09:52:33 -06:00
Jack Nagel
8335401bc3 update: guard against nil in tap migrations 2013-11-14 09:25:27 -06:00
Jack Nagel
f41e1a3b83 Add file type change to git diff-tree regexp
Fixes Homebrew/homebrew#24286.
2013-11-14 09:24:28 -06:00
Adam Vandenberg
fbb7d80a32 grammar 2013-11-14 06:23:05 -08:00
Adam Vandenberg
7df136cd50 grammar edits 2013-11-13 20:23:27 -08:00
Elliot Saba
0ece9135eb Add support for relocating pkgconfig files for bottles
* Finds pkg-config files such as "lib/pkgconfig/libfoo.pc" and "bin/libfoo-config"
 * Does inreplace on paths in such files to allow for better bottle relocation ability

Closes Homebrew/homebrew#23825.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-11-13 18:49:16 -06:00
Jack Nagel
2fb5ead38a Prevent deps of build-time deps from leaking into the build environment
When decided what dependencies should be part of the build environment
(and have appropriate entries added to variables like PKG_CONFIG_PATH),
we select the entire dependency tree except for

 (1) inactive optional and recommended deps (2) indirect build-time deps
 (i.e., build-time deps of other deps)

There is a third category that sould be excluded: dependencies of direct
build-time deps. These are irrelevant to the build, and including them
can cause unexpected linkages.
2013-11-13 10:38:14 -06:00
Jack Nagel
c137f030bc Whitelist llvm.org for shallow git clones 2013-11-13 01:56:25 -06:00
Jack Nagel
7fc9ffec86 Better documentation for no-op superenv methods 2013-11-12 13:53:29 -06:00
Jack Nagel
4cb824b92e Allow changing the optimization level under superenv 2013-11-12 13:53:29 -06:00
Jack Nagel
c7b7fdf0ca Simplify ENV.0x methods in stdenv 2013-11-12 13:53:29 -06:00
Jack Nagel
0b793e321e Add ENV.O0 to stdenv 2013-11-12 13:53:29 -06:00
Jack Nagel
8b7ddc1fed XQuartz 2.7.5 released
Closes Homebrew/homebrew#24173.
2013-11-12 10:12:41 -06:00
Mike McQuaid
be3e60fc95 inreplace: odie for Homebrew developers. 2013-11-12 15:44:30 +00:00
Adam Vandenberg
81bf8a168a audit generic binary names
Binaries with names like 'run' or 'service' are likely to conflict.
Warn about these and suggest a libexec-style install instead.
2013-11-12 07:10:13 -08:00
Mike McQuaid
e08ec21abe bottle: always use HOMEBREW_REPOSITORY. 2013-11-12 11:29:50 +00:00
Jack Nagel
83cbb1e3fb Group public ENV methods together 2013-11-11 18:34:15 -06:00
Jack Nagel
c95c32fbb0 Remove outdated comment 2013-11-11 18:32:56 -06:00
Mike McQuaid
39d3cfd6ae info: fix on non-tty terminals.
References Homebrew/homebrew#18922.
Closes Homebrew/homebrew#24188.
Closes Homebrew/homebrew#24190.
2013-11-11 22:15:24 +00:00
Jack Nagel
9dd2f1a2c3 Fix Apache download strategy in verbose mode
A better fix would be to rewrite the curl method to yield its output,
but I don't feel like doing that right now.
2013-11-11 12:36:14 -06:00
Mike McQuaid
6af4ab44c6 exceptions: improve tap error message.
Point users to the tap's issue tracker URL.
2013-11-11 18:09:02 +00:00
Colin Dean
8939857600 info: decorate deps to show installed status?
* shows green tick if installed or red cross if not
* only highlight dependency if HOMEBREW_NO_EMOJI is set

Closes Homebrew/homebrew#18922.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-11-11 14:15:46 +00:00
Jack Nagel
4cbaeb6d61 Clarify XQuartz warning
Closes Homebrew/homebrew#24094.
2013-11-09 19:04:46 -06:00
Jack Nagel
e7f20bcfbc superenv: fix type error
This is a string since it is used to match string keys in a hash.
2013-11-08 23:15:12 -06:00
Mike McQuaid
90c696ea67 xcode: fix nil outdated comparison. 2013-11-08 09:54:25 +00:00
Jack Nagel
8aa42e5bf1 HOMEBREW_USE variables are no longer honored, ignore them 2013-11-07 14:38:49 -06:00
Jack Nagel
17b59fcee0 Display only HOMEBREW_CC/CXX in brew --env under superenv
The other values will be identical.
2013-11-07 14:38:43 -06:00
Mike McQuaid
8484e72f75 superenv: set cc/cxx based on actual compiler.
Closes Homebrew/homebrew#23449.
2013-11-07 12:06:03 +00:00
Mike McQuaid
4589a6a071 tap_migrations: grads to homebrew/binary. 2013-11-07 10:40:29 +00:00
Mike McQuaid
1d0515c1d3 resource: only unpack to target if it exists. 2013-11-06 18:34:08 +00:00
Jack Nagel
5863a72625 Make sure 10.9 users upgrade XQuartz 2013-11-06 09:48:18 -06:00
William Entriken
0f87351a0e doctor: quoting fix
The one liner should put `#{HOMEBREW_PREFIX}/bin:$PATH` into bash profile.
Previously it was being interpreted by the shell before being put in bash profile.

Closes Homebrew/homebrew#24008.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-06 06:29:36 -08:00
Jack Nagel
f580e9271b Revert "Make sure 10.9 users upgrade XQuartz"
This causes CI builds on 10.9 to fail; will repush once it is updated.

This reverts commit 70c5ce09d995426aefdbfd4aba0b06efe100a433.
2013-11-05 22:53:22 -06:00
Jack Nagel
82d6e2cf8a Make sure 10.9 users upgrade XQuartz 2013-11-05 22:34:20 -06:00
Jack Nagel
466cc33bf3 Add pkgutil version for XQuartz 2.7.5_rc4 2013-11-05 22:32:42 -06:00
Jack Nagel
a82276b2cb Add Xcode 5.0.2 to compiler map
Fixes Homebrew/homebrew#24018.
2013-11-05 22:19:33 -06:00
Jack Nagel
e470010f2e Add git.sv.gnu.org repositories to shallow-clone whitelist 2013-11-05 22:06:20 -06:00
Jack Nagel
0c523da706 Dependency: tighten equality check 2013-11-05 16:02:26 -06:00
Jack Nagel
6c3ee52d14 Remove special cases in build-time dep audit
Closes Homebrew/homebrew#23931.
2013-11-04 12:10:26 -06:00
Jack Nagel
c556b3dc09 Add explicit "run" dependency tag 2013-11-04 12:00:06 -06:00
Jack Nagel
06dbec5aaf Disable make_fuss when running configure invoked by make
The cc wrapper's make_fuss is only enabled when HOMEBREW_CCCFG contains
'O', which is set by the make wrapper. This means it is disable when
running configure scripts. However, this does not include configure
scripts invoked by make, which inherit the value of HOMEBREW_CCCFG from
the make process. make_fuss will be enabled for these scripts, cause
breakage.

Configure scripts generated by autoconf 2.56 (November 2002) or later
export DUALCASE into the environment of subprocesses. This variable is
only used by the MKS shell, so we can use it as a heuristic to determine
if we are running as a subprocess of a configure script.
2013-11-04 11:02:18 -06:00
Misty De Meo
f643b84dc4 Doctor: fix check_access_logs
Fixes Homebrew/homebrew#23936.
2013-11-03 18:51:22 -08:00
Jack Nagel
a2d9271bda Remove intermediate exception in Formula#system
Now that ErrorDuringExecution is only raised in one place, we can just
raise the BuildError directly instead.
2013-11-02 22:52:24 -05:00
Jack Nagel
aafae73cf9 Fix regression in brew deps
The default mode is intended to display recursive dependencies, with the
`--1` flag to display only one level.
2013-11-02 22:22:45 -05:00
Xiyue Deng
917b94df98 Add cxxstdlib_check method to request changing C++ stdlib checking.
* In certain cases, a C++ software may result in linking to a different
  and incompatible C++ standard library than its dependencies and still
  works fine because it is by design. Examples include GCC, which will
  bootstrap itself and self-host after finish.

* Add a cxxstdlib_check method to formula to request changing the C++
  standard library checking. Currently using "cxxstdlib_check :skip"
  will let a formula skip such checking. This should only be used on
  rare occasions and be very careful.

Closes Homebrew/homebrew#23687.
2013-11-02 17:30:05 -07:00
Xiyue Deng
6fc6dd791b stdenv: drop space between "-isystem" and path.
* This is consistent with superenv.
2013-11-02 01:47:35 -07:00
Mike McQuaid
e24bcba00a update: check if Cellar exists instead of factory.
Fixes Homebrew/homebrew#23881.
2013-11-01 23:23:14 -07:00
Jack Nagel
4a5b65c9f5 Remove "-c1" one-line config
This is broken and nobody noticed, so remove it.

Closes Homebrew/homebrew#23878.
2013-11-01 19:04:04 -05:00
Jack Nagel
0aa7457b79 Fix CLT latest version check for 10.8/9
Closes Homebrew/homebrew#23874.
2013-11-01 18:58:19 -05:00
Jack Nagel
a4d630003d Add pkgutil version for XQuartz 2.7.5_rc3 2013-11-01 16:04:52 -05:00