FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 08-10-2010, 05:22 PM
Neil Bothwick
 
Default emerge source code but don't build?

On Tue, 10 Aug 2010 18:53:12 +0200, Alex Schuster wrote:

> ebuild /path/to/category/package.ebuild unpack
>
> Read the man page, I'm not sure if things like fetching will be done
> when necessary.

It will, ebuild carries out any prior steps if they are needed. You may
want to use ebuild ... prepare instead of ebuild ... unpack. It carries
out any pre-compilation steps, like applying patches.

If you are doing this because you want to apply a patch yourself, you can
use one of the above, apply your patches, then run ebuild ... merge to
complete the process and install it. man 1 ebuild explains it all.


--
Neil Bothwick

What do you do when you see an endangered animal eating an endangered
plant?
 
Old 08-10-2010, 05:24 PM
Mark Knecht
 
Default emerge source code but don't build?

On Tue, Aug 10, 2010 at 9:53 AM, Alex Schuster <wonko@wonkology.org> wrote:
> Mark Knecht writes:
>
>> * *Is there an option in emerge to download and create the source code
>> tree for an application, but then stop at that point, don't build the
>> app and leave the source code tree in place so that I can look at it?
>
> Probably not. But you can use the ebuild command:
>
> ebuild /path/to/category/package.ebuild unpack
>
> Read the man page, I'm not sure if things like fetching will be done when
> necessary.
>
> * * * *Wonko
>
>

Thanks Wonko and you too Neil.

Cheers,
Mark
 
Old 08-10-2010, 05:56 PM
Paul Hartman
 
Default emerge source code but don't build?

On Tue, Aug 10, 2010 at 11:53 AM, Alex Schuster <wonko@wonkology.org> wrote:
> Mark Knecht writes:
>
>> * *Is there an option in emerge to download and create the source code
>> tree for an application, but then stop at that point, don't build the
>> app and leave the source code tree in place so that I can look at it?
>
> Probably not. But you can use the ebuild command:
>
> ebuild /path/to/category/package.ebuild unpack
>
> Read the man page, I'm not sure if things like fetching will be done when
> necessary.

I think so, if you try to run a step whose prerequisite steps haven't
been run then it'll run them, too.
 
Old 08-10-2010, 08:17 PM
Mark Knecht
 
Default emerge source code but don't build?

On Tue, Aug 10, 2010 at 10:22 AM, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Tue, 10 Aug 2010 18:53:12 +0200, Alex Schuster wrote:
>
>> ebuild /path/to/category/package.ebuild unpack
>>
>> Read the man page, I'm not sure if things like fetching will be done
>> when necessary.
>
> It will, ebuild carries out any prior steps if they are needed. You may
> want to use ebuild ... prepare instead of ebuild ... unpack. It carries
> out any pre-compilation steps, like applying patches.
>
> If you are doing this because you want to apply a patch yourself, you can
> use one of the above, apply your patches, then run ebuild ... merge to
> complete the process and install it. man 1 ebuild explains it all.
>
>
> --
> Neil Bothwick
>
> What do you do when you see an endangered animal eating an endangered
> plant?
>

In my case, due to conversations on another list about a piece of
software that's important to me, it was simply to look at how
copyrights are set up in that program's source code. (I.e. - who's
names are named, what dates, etc.)

Cheers,
Mark
 

Thread Tools




All times are GMT. The time now is 09:10 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org