Commit Graph
34 Commits
Author SHA1 Message Date
Xiyue Deng 59581dec27 Fix install_name_tool path for keg_only formulae
* When a versioned keg_only formula installs the same set of executables
  or libraries as a unversioned formula that links to $HOMEBREW_PREFIX,
  install_name_tool will prefer to use the linked paths for files in
  keg_only formula.  This breaks software that should link to the
  keg_only formula but links to the unversioned one instead.
* Add an additional "options" parameter with keg_only field to specify
  the correct install path for keg_only formulae.
2013-10-04 02:03:03 -07:00
Mike McQuaid 0f557e1468 bottle: add option to force no bottle revision. 2013-09-23 18:23:23 +01:00
Mike McQuaid d6d876a773 bottle: fix merging .rb files. 2013-09-23 17:30:56 +01:00
Mike McQuaid a0160de027 bottle: fix default Cellar output. 2013-09-23 17:30:55 +01:00
Mike McQuaid d090ba2a8d bottle: allow writing/committing new bottles. 2013-09-22 16:16:50 +01:00
Mike McQuaid 76ef4e1d50 Move bottle.rb logic from test-bot to brew bottle. 2013-09-22 16:16:50 +01:00
Mike McQuaid 12989ee42f bottle: only output relocatable message if >1MB. 2013-09-22 16:01:03 +01:00
Mike McQuaid 9ba08f095b bottle: move bottle output to ERB. 2013-09-22 16:01:02 +01:00
Mike McQuaid 03f233654f bottle: use versions to access previous bottles. 2013-09-22 16:01:02 +01:00
Mike McQuaid d752db519f bottle: fix --merge with multiple formulae. 2013-09-21 15:18:48 +01:00
Mike McQuaid 25a51853be bottle: improve outputted messages. 2013-09-21 15:18:48 +01:00
Mike McQuaid ba057f6b9a bottle: loosen prefix grep check.
/usr/local is in lots of things unrelated to Homebrew so be more specific and look for opt instead.
2013-09-10 21:56:39 +01:00
Mike McQuaid da904368d4 bottles: update version regex messaging. 2013-08-04 08:25:51 -07:00
Mike McQuaid d6a6caefb3 Warn more about failing bottle version detection.
This is needed for local bottle installation and also possible when
detecting bottle versions from URLs.
2013-07-18 09:56:55 -07:00
Mike McQuaid 689f7bbbde bottle: fix cellar output. 2013-07-14 12:11:57 -07:00
Adam Vandenberg 61f0054ffa remove no-op code in bottle.rb
ARGV.formulae returns formulae, so no need to pass through factory
2013-06-23 13:02:10 -07:00
Mike McQuaid 88fa0d8eda bottle: sort --merge output in OS X version order. 2013-06-22 11:13:59 +01:00
Mike McQuaid 3a217e6feb brew-bottle: merge arg for bottle metadata files.
Closes #20266.
2013-06-08 16:48:43 +01:00
Mike McQuaid eb19854903 brew-bottle: split output and use a bottle object. 2013-06-08 16:47:11 +01:00
Jack Nagel f155d31943 Decouple bottle tags from MacOS.cat 2013-06-06 16:02:27 -05:00
Jack Nagel b7884284c2 Fix another handful of warnings 2013-04-06 00:14:03 -05:00
Mike McQuaid 98047d08c4 Relocate bottles using install_name_tool.
This has two parts:

1. Bottles are temporarily relocated on bottling and tested if that is
sufficient for them to contain no longer reference the prefix or
cellar. If so, they are marked as relocatable.
2. On installation if bottles are marked as relocatable they will be
relocated using install_name_tool to the current prefix and cellar.

Closes #18374.
2013-03-11 18:58:37 +00:00
Mike McQuaid 82ecb69a53 Add non-/usr/local bottles support.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01 17:49:09 +00:00
Mike McQuaid f99e05bb49 Cleanup bottle DSL.
* Remove legacy url syntax.
* Use revision instead of version.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01 17:49:09 +00:00
Mike McQuaid 8837423a5a Rename tab 'built_bottle' to 'build_as_bottle'. 2012-08-25 11:52:37 -07:00
Jack Nagel 71fb990141 Remove executable bits from audit.rb and bottle.rb
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-17 21:09:12 -05:00
Mike McQuaid 34c970b103 Add ofail command and fix bottle command output. 2012-04-30 21:38:08 +08:00
Mike McQuaid e827884e04 Version bottles. 2012-04-03 11:43:41 +10:00
Mike McQuaid 48a82e5f02 Exit with bad exit code on command failures. 2012-03-29 18:44:37 +11:00
Mike McQuaid c6d37fb237 brew-bottle doesn't need to specify filenames now. 2012-03-29 18:41:47 +11:00
Mike McQuaid 1b71544892 Remove reliance of bottle DSL on EOCLASS. 2012-03-18 20:38:18 +13:00
Mike McQuaid 28b8cc7ee6 Move most bottle stuff to a bottles.rb file. 2012-03-10 18:10:40 +13:00
Mike McQuaid 24476086ae Support bottles for non-Lion OSX versions. 2012-03-10 18:09:35 +13:00
Mike McQuaid 5534b0f9e7 Make brew-bottle an internal command. 2012-03-10 17:57:10 +13:00