2015-03-02 23:10 GMT-03:00 Philip Webb <[email protected]>:

> 150303 Andreas K. Huettel wrote:
> > If you look at your world file, you should for each line
> > be able to immediately say "yes I know what this is and I need it".
> > Where "I need it" means "I need it directly"
> > and *not* "I need it because some other package needs it".
> > In most cases this means that libraries should not be in the world file.
> > You'll rarely say "Yes I need Boost" : instead you may need LibreOffice
> > and that needs Boost ...  The smaller your world file,
> > the more freedom portage has to resolve dependencies.
>
> I was going to comment that I had  3  'lib' pkgs in 'world',
> but then checked via 'emerge -cpv <pkg>'
> & found that all of them --  /sys-libs/readline ncurses zlib  --
> were in fact requirements for eg  bash python vim kdelibs cups LO ,
> so now I've removed them & hope it will simplify Portage activities a bit.
>
> --
> ========================,,============================================
> SUPPORT     ___________//___,   Philip Webb
> ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
> TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca
>
>
>

Just my 2 cents: AFAIK, only if you are developing a new software that
requires a specific library (or some of them, like "opencv", for example,
which might not have yet been pulled by any other package) , then, and only
then, you might add them to "world".  Then, when your software is ready,
please ( ;-) ) create a package for distributing your work, with those
libraries as dependencies, and remove them from "world", as they will be
pulled in by such package.

As already remembered on this thread, each case must be checked.

Best regards,
Francisco

Reply via email to