7075 Commits

Author SHA1 Message Date
David Christenson
fb246b0f4e Minimize test JPEG and PNG
Losslessly compress with jpegoptim and optipng.

Closes Homebrew/homebrew#36606.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-08 12:23:39 +00:00
David Christenson
46aa40c067 Add test PDF and SVG. 2015-02-08 12:23:31 +00:00
Xu Cheng
f8791da2ec formula: sort installed version in to_hash
https://github.com/Homebrew/homebrew-brewdler/pull/43#discussion_r24248760

Closes Homebrew/homebrew#36611.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-07 20:43:03 +00:00
Jack Nagel
357d0f2796 Use start_with? to simplify path sanity check 2015-02-07 13:54:33 -05:00
Jack Nagel
f438af9915 Don't prune cellar paths when cellar is in /opt
Fixes Homebrew/homebrew#35382.
2015-02-07 13:54:33 -05:00
Jack Nagel
9f3d88158b Save and restore build attribute
This probably doesn't matter in practice, but I don't want to take any
chances.
2015-02-07 11:02:35 -05:00
Jack Nagel
cd522b1719 Always respect build options when invoking post_install
Fixes Homebrew/homebrew#36335.
2015-02-07 11:02:35 -05:00
Jack Nagel
4851b1e7a8 Use a local instead of an instance variable 2015-02-07 11:02:35 -05:00
Mike McQuaid
5e62d7503e formula_cellar_checks: tweak postgresql on 10.8.
It shadows system headers sometimes (probably just Server.app?) but we don't
really care.
2015-02-06 08:30:42 +00:00
Roberto Nibali
39ead112f3 brew.rb: fix help regex.
Don't match `help` at the end of every string because `brew installhelp`
shouldn't really be running help.

Closes Homebrew/homebrew#36559.
Closes Homebrew/homebrew#36576.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-06 08:19:35 +00:00
Mike McQuaid
8e34b4c322 How-To-Open-a-Homebrew-Pull-Request: bottle update 2015-02-05 11:55:13 +00:00
Tim D. Smith
e40d302dee audit_installed: give better Python advice
Update advice about easy-install.pth files.

Closes Homebrew/homebrew#36547.
2015-02-04 23:35:42 -08:00
Tim D. Smith
c3691ca950 Suggest homebrew-pypi-poet instead of mkpydeps 2015-02-04 18:18:29 -08:00
Mike McQuaid
e8d8c3a486 test-bot: don't try and bottle unstable formulae.
e.g. devel-only or head-only formulae.
2015-02-04 14:20:21 +00:00
Xu Cheng
2787eaa853 pyenv-pip-rehash: boneyarded
Since pyenv v20141211, it bundles built-in pip-rehash feature.

Closes Homebrew/homebrew#36524.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-04 11:18:36 +00:00
Jack Nagel
2bf409d888 brew list foo should always error when foo is not installed
Fixes Homebrew/homebrew#36484.
2015-02-03 20:26:57 -05:00
Christian Moritz
79bde9c13b GitDownloadStrategy: support submodule changes
This commits adds support for updating a formula with changed git
submodules with GitDownloadStrategy when the cloned repository is still
in the cache. This is done by running git submodule sync --recursive
before updating the submodules, so that git can reload the submodule
config from the updated .gitmodules file.

Fixes Homebrew/homebrew#36395.
Closes Homebrew/homebrew#36466.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-02-03 20:00:34 -05:00
Mike McQuaid
f2a9b9cbd2 test-bot: optional requirements are satisfied. 2015-02-03 16:46:36 +00:00
Jack Nagel
291e900abc AprRequirement should not generate a build-time dependency
We want the apr requirement to act as a build-time requirement in case
it is satisfied (that is, the CLT is installed), as the resulting
binaries will link to the system libapr which is always present.

When it is *not* satisfied by the CLT, and we need to install the
formula, we have to treat it as a runtime dependency since the resulting
binaries will link to it.

Fixes Homebrew/homebrew#36301.
Fixes Homebrew/homebrew#36438.
Closes Homebrew/homebrew#36443.
2015-02-02 00:39:04 -05:00
Jack Nagel
208bc0516b AprRequirement should not short-circuit if apr is installed
If apr is installed, we still want to grab it during dependency
resolution in case we need to pass options to the generated dependency.

In other words, it doesn't make sense for the satisfiable condition to
include the default formula, as the default formula is the fallback for
when the requirement is *not* satisfied.
2015-02-02 00:39:04 -05:00
Jack Nagel
d362f5a2fb Remove message that is never displayed
Requirements with default formulae cannot fail the build.
2015-02-02 00:39:04 -05:00
Jack Nagel
12e4602a3b AprRequirement's default formula should be apr-util
This matches the recommendation in the message.
2015-02-02 00:39:04 -05:00
chdiza
5e854164a7 untap: Handle multiple arguments
Closes Homebrew/homebrew#36436.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-01 20:12:13 +01:00
Dominyk Tiller
8a707ebb2b ngircd: system openssl fix
Fix for linking into the system OpenSSL, strict audit fixes, and the
plist.

Closes Homebrew/homebrew#36386.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-01 17:31:05 +01:00
Baptiste Fontaine
40447c239d JavaDependency: ignore trailing + in the version 2015-02-01 09:31:01 +01:00
Jack Nagel
e298f09ab6 Move mysqlreport to the boneyard
The project was deprecated in favor of percona-toolkit:
http://blog.codenode.com/2015/01/hack-mysql-has-been-retired.html

Closes Homebrew/homebrew#36342.
2015-01-31 23:58:04 -05:00
Jack Nagel
649579072c Move cdf to the boneyard
Closes Homebrew/homebrew#36009.
2015-01-31 23:54:37 -05:00
Dominyk Tiller
5fcf40fffd sitecopy: boneyarding
Sitecopy currently compiles against the insecure system OpenSSL, and
won’t compile against our OpenSSL because it wants SSLv2 at runtime
(Ouch) and it won’t compile against GnuTLS because GnuTLS have
considerably changed the structure of their build since the last update
of sitecopy (2008).

Closes Homebrew/homebrew#36389.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-31 18:27:57 -05:00
Baptiste Fontaine
a9c4091de7 Fix more version misdetections for URLs with archs
Closes Homebrew/homebrew#36368.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-30 08:55:49 +00:00
Baptiste Fontaine
06f6fd5b83 zenity moved into homebrew/x11
Closes Homebrew/homebrew#35626.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-29 14:35:47 +00:00
Baptiste Fontaine
a9e8dfb996 Fix version misdetections for URLs with OS/archs
Closes Homebrew/homebrew#36308.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-28 14:19:21 +00:00
Dominyk Tiller
5ac0446fd7 test-bot: support --devel and/or --HEAD install
See discussion in https://github.com/Homebrew/homebrew-devel-only/pull/8

In essence, the test bot currently does this:

```
==> brew install --verbose --build-bottle j2objc			 FAILED
Error: j2objc is a devel-only formula
Install with `brew install --devel j2objc`
```

I’m proposing that we pass that arg to the test-bot automatically to
allow the bot to pass head-only and devel-only formulae without that
failure message. I’ve also trimmed the arguments further down to
prevent it duplicating the —devel install in formulae which define no
stable block.

Closes Homebrew/homebrew#36030.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-27 12:40:36 +00:00
Dominyk Tiller
a2cb0c2af5 formula-cookbook: document conflicts
Closes Homebrew/homebrew#36179.
Closes Homebrew/homebrew#36184.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-27 12:27:42 +00:00
Mike McQuaid
c2e0fb0c08 config: be quieter with java_home.
References Homebrew/homebrew#36249.
2015-01-27 12:25:27 +00:00
Mike McQuaid
eaba2607c4 Add brewdler tap to documentation. 2015-01-27 11:20:21 +00:00
Will Jordan
54eaa730da The-brew-command: link to manpage.
Closes Homebrew/homebrew#36252.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-27 08:19:36 +00:00
Dominyk Tiller
40ddea637a audit: stop red-flagging devel-only
Currently the bot is failing certain devel-only formulae because it
thinks having ` devel ` defined with an added ` head ` defined
as well = a head-only formula.

```
==> audit problems
docker-machine:
 * Head-only (no stable download)
```

This is a pretty simple fix for that problem:

```
==> brew style docker-machine
1 file inspected, no offenses detected
```

Closes Homebrew/homebrew#36197.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-26 14:39:12 +00:00
Xu Cheng
8fc3c4c8e9 brew-config: check whether java exists in PATH
For OS X, we will call `/usr/libexec/java_home` to exam whehter
java is installed.

Also rename the method to follow the same naming pattern of other
similar methods.

Closes Homebrew/homebrew#36187.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-25 10:05:56 +00:00
Jack Nagel
c60454a72f Fix warning about using %w[] instead of %W[] 2015-01-24 21:08:26 -05:00
Mike McQuaid
105fcb5399 pull: allow temporarily editing an empty commit. 2015-01-23 17:35:20 +01:00
Jack Nagel
bf6887bc59 Deprecate GithubGistFormula
Closes Homebrew/homebrew#36094.
2015-01-22 20:34:51 -05:00
Jack Nagel
f0fc15ade8 Remove unnecessary early return
Iterating over an empty list is a no-op so we can remove this early
return.
2015-01-22 17:36:31 -05:00
Jack Nagel
2804e0ed3b Hide "Patching" message when there aren't any patches 2015-01-22 17:04:38 -05:00
Jack Nagel
7978209469 Use formula patches accessor 2015-01-22 17:03:54 -05:00
Jack Nagel
165b47c0e6 Audit check for gnome unstable as stable 2015-01-22 16:58:54 -05:00
Baptiste Fontaine
aec2f01a55 config: add Java to output.
Closes Homebrew/homebrew#35596.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-22 17:16:36 +01:00
Xu Cheng
011b47aeff Add depends_on :gpg 2015-01-22 17:15:28 +01:00
Joe Chan
b6a91fb234 Added link to fork Homebrew for the lazy.
Closes Homebrew/homebrew#36087.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-22 16:58:54 +01:00
Jack Nagel
af1e9a9610 Expose bottle details on the formula object
Fixes Homebrew/homebrew#36032.
2015-01-20 22:27:23 -05:00
Baptiste Fontaine
8b793c6ab3 pipe_output optional result assertion added
Closes Homebrew/homebrew#36024.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-19 18:35:33 +01:00