librelist archives

« back to archive

brew install --HEAD

brew install --HEAD

From:
Jason Lewis
Date:
2011-09-21 @ 05:11
Hi,

I am attempting to write a formula to compile mythtv from git using the
--HEAD option, but I found whenever try the --HEAD, it seems to force
installing --HEAD of Qt. Is there some way to keep qt at 4.7.4 but still
use the --HEAD command to install my mythtv formula?

my formula is here:

https://github.com/jasonblewis/homebrew/blob/master/Library/Formula/mythtv.rb

Thanks,

Jason

Re: [homebrew] brew install --HEAD

From:
Charlie Sharpsteen
Date:
2011-09-21 @ 05:30
On Tue, Sep 20, 2011 at 10:11 PM, Jason Lewis <jasonblewis@gmail.com> wrote:

> Hi,
>
> I am attempting to write a formula to compile mythtv from git using the
> --HEAD option, but I found whenever try the --HEAD, it seems to force
> installing --HEAD of Qt. Is there some way to keep qt at 4.7.4 but still
> use the --HEAD command to install my mythtv formula?
>

It is not currently possible to do this---all formula share access to the
contents of ARGV, so passing `--HEAD` affects every dependency. Max recently
opened an issue to fix this:

https://github.com/mxcl/homebrew/issues/7724

If anyone wants to code up a better implementation, it would be greatly
appreciated.

-Charlie

Re: [homebrew] brew install --HEAD

From:
Adam Vandenberg
Date:
2011-09-21 @ 05:32
You can install all the dependencies manually, then do

brew install --ignore-dependencies --HEAD mythtv

On Tue, Sep 20, 2011 at 10:30 PM, Charlie Sharpsteen
<chuck@sharpsteen.net> wrote:
> On Tue, Sep 20, 2011 at 10:11 PM, Jason Lewis <jasonblewis@gmail.com> wrote:
>>
>> Hi,
>>
>> I am attempting to write a formula to compile mythtv from git using the
>> --HEAD option, but I found whenever try the --HEAD, it seems to force
>> installing --HEAD of Qt. Is there some way to keep qt at 4.7.4 but still
>> use the --HEAD command to install my mythtv formula?
>
> It is not currently possible to do this---all formula share access to the
> contents of ARGV, so passing `--HEAD` affects every dependency. Max recently
> opened an issue to fix this:
> https://github.com/mxcl/homebrew/issues/7724
> If anyone wants to code up a better implementation, it would be greatly
> appreciated.
> -Charlie

Re: [homebrew] brew install --HEAD

From:
Jason Lewis
Date:
2011-09-21 @ 15:09
Thanks Adam, that is a useful work around.

Jason

On 21/09/11 3:32 PM, Adam Vandenberg wrote:
> You can install all the dependencies manually, then do
>
> brew install --ignore-dependencies --HEAD mythtv
>
> On Tue, Sep 20, 2011 at 10:30 PM, Charlie Sharpsteen
> <chuck@sharpsteen.net> wrote:
>> On Tue, Sep 20, 2011 at 10:11 PM, Jason Lewis <jasonblewis@gmail.com> wrote:
>>> Hi,
>>>
>>> I am attempting to write a formula to compile mythtv from git using the
>>> --HEAD option, but I found whenever try the --HEAD, it seems to force
>>> installing --HEAD of Qt. Is there some way to keep qt at 4.7.4 but still
>>> use the --HEAD command to install my mythtv formula?
>> It is not currently possible to do this---all formula share access to the
>> contents of ARGV, so passing `--HEAD` affects every dependency. Max recently
>> opened an issue to fix this:
>> https://github.com/mxcl/homebrew/issues/7724
>> If anyone wants to code up a better implementation, it would be greatly
>> appreciated.
>> -Charlie