public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Fetch List
@ 2012-06-05 11:37 Silvio Siefke
  2012-06-05 11:58 ` YoYo Siska
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Silvio Siefke @ 2012-06-05 11:37 UTC (permalink / raw
  To: gentoo-user

Hello,

is there a option that i can build a list of Requirements to download of 
a ebuild? 

I want build inkscape, but i has only mobile connection at moment. Can i
build a list which i can then later load in a cybercafe?

In the Handbook i found only a list for world. Thank u. 


Regards
Silvio



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Fetch List
  2012-06-05 11:37 [gentoo-user] Fetch List Silvio Siefke
@ 2012-06-05 11:58 ` YoYo Siska
  2012-06-05 12:15 ` Raffaele BELARDI
  2012-06-06  4:54 ` v_2e
  2 siblings, 0 replies; 4+ messages in thread
From: YoYo Siska @ 2012-06-05 11:58 UTC (permalink / raw
  To: gentoo-user

On Tue, Jun 05, 2012 at 01:37:11PM +0200, Silvio Siefke wrote:
> Hello,
> 
> is there a option that i can build a list of Requirements to download of 
> a ebuild? 
> 
> I want build inkscape, but i has only mobile connection at moment. Can i
> build a list which i can then later load in a cybercafe?
> 
> In the Handbook i found only a list for world. Thank u. 

use -p -f   (pretend and fetchonly)

emerge --pretend --fetchonly package...

it will output a line per each file/url you need to fetch (and put in
the distfiles dir), one line can contain multiple alternate urls (if there are
alternative mirrors etc...), you need to fetch only one of them

IIRC, it has a small downside, that it also lists the files you allready
have downloaded in distfiles (ie those for which emerge -pv would show
0kB as size of downloads...) so you might check the list against what
you allready have...


yoyo




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Fetch List
  2012-06-05 11:37 [gentoo-user] Fetch List Silvio Siefke
  2012-06-05 11:58 ` YoYo Siska
@ 2012-06-05 12:15 ` Raffaele BELARDI
  2012-06-06  4:54 ` v_2e
  2 siblings, 0 replies; 4+ messages in thread
From: Raffaele BELARDI @ 2012-06-05 12:15 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

On 06/05/2012 01:37 PM, Silvio Siefke wrote:
> is there a option that i can build a list of Requirements to download of 
> a ebuild? 
> 
> I want build inkscape, but i has only mobile connection at moment. Can i
> build a list which i can then later load in a cybercafe?
> 
> In the Handbook i found only a list for world. Thank u. 

I'm sure there will be a better method, anyway:

# emerge -p --fetchonly inkscape | grep http | cut -d ' ' -f 1

(doesn't work for inkscape on my system because emerge spits an USE
changes error, but it works for other packages).

raffaele


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Fetch List
  2012-06-05 11:37 [gentoo-user] Fetch List Silvio Siefke
  2012-06-05 11:58 ` YoYo Siska
  2012-06-05 12:15 ` Raffaele BELARDI
@ 2012-06-06  4:54 ` v_2e
  2 siblings, 0 replies; 4+ messages in thread
From: v_2e @ 2012-06-06  4:54 UTC (permalink / raw
  To: gentoo-user

  Hello!

On Tue, 5 Jun 2012 13:37:11 +0200
Silvio Siefke <siefke_listen@web.de> wrote:

> Hello,
> 
> is there a option that i can build a list of Requirements to download
> of a ebuild? 
> 
  I usually use

    emerge --pretend --fetchonly media-gfx/inkscape > files_to_fetch.txt

or in a short form

    emerge -fp media-gfx/inkscape > files_to_fetch.txt

And after that I download the files with wget as follows:

    cat files_to_fetch.txt | cut -d " "-f 1| wget -c -i -

Note: if there are some errors during download, you may try to use
different fields in 'cut' -- like "-f 2" or "-f 3" and so on.

  Hope, this helps. :)

    Regards,
        Vladimir

----- 
 <v_2e@ukr.net>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-06  5:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-05 11:37 [gentoo-user] Fetch List Silvio Siefke
2012-06-05 11:58 ` YoYo Siska
2012-06-05 12:15 ` Raffaele BELARDI
2012-06-06  4:54 ` v_2e

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox