On Thu, Sep 25, 2008 at 3:15 PM, Alan McKinnon <[EMAIL PROTECTED]> wrote:
> On Thursday 25 September 2008 17:51:58 Daniel Pielmeier wrote:
>> > Do you have any further advice, more detail or some more formalized
>> > methodology to 'clean' the world file, in addition to what you have
>> > stated above?
>>
>> Every entry in the world file that has a reverse dependency could be
>> removed. Unfortunately there is no tool I know which can calculate
>> reverse dependencies correctly. Maybe there is some functionality in
>> pkgcore or paludis which I am not aware of. So others need to inform
>> us about this.
>
> The loooooong way round is to run 'emerge -pvte world' and look for things
> listed that are both highlighted in green and indented. Such packages could
> in theory be removed from world as they must be a dep of something.
>
> Intelligence must also be applied of course - somethings are deps and you DO
> want them in world

Yes, basically my philosophy is only to list in world the actual
programs I want to use. Everything else required for them will come in
automatically (assuming I also set my USE flags in package.use
properly). Some packages have optional run-time deps, say a multimedia
program that can convert files if you have ffmpeg installed, so in
those cases those optional packages will also be in world.

Learning when to use --oneshot and when not was the key to keeping
away the clutter :)

Reply via email to