View Single Post

   
  #3 (permalink)  
Old 02-21-2008, 06:26 AM
Jon Portnoy
 
Posts: n/a
Default Re: No X whatsoever. accomplishEver.

On 2003-10-21, PipHans <piphans@hotmail.com> wrote:
> Bjørn Halvor Bergtun wrote:
>> How can I make sure that X wount be installed on my server? I thought
>> that a USE="-X -gnome -gtk -gtk2 -kde -qt" should cover it, but a
>> quick emerge -pv mplayer still insists on installing xfree and a
>> bunch of other X-related stuff. Are there other USE-flags I should
>> use, or are there different ways to accomplish this?

>
> Afaik you are under the mercy of the ebuild...If it explicitly dictates X as
> a dependancy, then you will get X installed...In theory a correct approach
> to the issue, but in real life you _will_ come across lousy ebuilds and
> stuff.
>
> Allways inspect your emerge with a "emerge -p <whatever>" in order to
> inspect things.
>
> If you are absolutely sure that an ebuild is referencing a rediculous
> dependancy you could allways edit the ebuild file yourself..and thus avoid
> things...but be aware that this approach is only for those who really
> understand the complications of such actions
>


The mplayer ebuild actually doesn't explicitly depend on X. However, it
depends on lots of stuff which may have dependencies on X.

Hint: the tcltk USE flag will pull in tk which will pull in X. There are
probably others. Your best bet for USE flags for a minimalist
configuration is to do:

USE="-* useflag1 useflag2 useflag3..."

--
Jon Portnoy
avenj/irc.freenode.net #gentoo, irc.oftc.net #cola
Opinions expressed are my own, not those of Gentoo Linux or any
other entity I am associated with unless stated otherwise.
Reply With Quote