On Fri, 10 Apr 2009 11:43:46 -0700
Nick Fortino <nfort...@gmail.com> wrote:

> Grant Edwards wrote:
> > On 2009-04-10, Paul Hartman <paul.hartman+gen...@gmail.com> wrote:
> >   
> >> On Fri, Apr 10, 2009 at 11:30 AM, Grant Edwards <gra...@visi.com> wrote:
> >>     
> >>> Is something broken in the xfce ebuilds?  emerge keeps wanting
> >>> to install xscreensaver even though I've got -xscreensaver in my
> >>> USE variable in make.conf.  Everytime I update, xscreensaver
> >>> gets reinstalled, and I have to manually "emerge -C" it:
> >>>
> >>> # emerge -auvtND world
> >>>
> >>> These are the packages that would be merged, in reverse order:
> >>>
> >>> Calculating dependencies... done!
> >>> [nomerge      ] xfce-base/xfce4-4.4.3  USE="alsa cups oss -minimal 
> >>> -xscreensaver"
> >>> [nomerge      ]  xfce-base/xfce4-session-4.4.3  USE="dbus -debug -gnome"
> >>> [nomerge      ]   xfce-base/xfce-utils-4.4.3  USE="dbus lock -debug"
> >>> [ebuild  N    ]    x11-misc/xscreensaver-5.07  USE="jpeg opengl pam 
> >>> -new-login -suid -xinerama" 0 kB
> >>>       
> >> It is because of the "lock" USE flag on xfce-utils. I think it
> >> uses xscreensaver for the screen-locking function.
> >>     
> >
> > I see. An unpleasant side-effect is that the screensaver
> > function keeps kicking in.  I guess I'll remove the "lock" flag
> > from xfce-utils.  Oddly, I have the "lock" flag for xfce-utils
> > on another similar system, and emerge doesn't think it needs
> > xscreensaver on that system.  Perhpas because I have xlockmore
> > installed on that system?
> >
> >   
> If you don't want a specific package, echo 'x11-misc/xscreensaver' >>
> /etc/portage/package.mask
> In this case, the dependency is:
>         lock? ( || ( x11-misc/xscreensaver
>                 gnome-extra/gnome-screensaver
>                 x11-misc/xlockmore ) )"
> so either gnome-screensaver or xlockmore will be pulled in to compensate.
> 
> Nick
> 
Instead of needlessly messing with package.mask, it is easier to just
emerge -a1v x11-misc/xlockmore
(supposing he wants xlockmore and not gnome-screensaver).
Now the dependency will be satisfied by xlockmore and
xscreensaver won't be pulled anymore. 

-- 
Software is like sex: it is better when it is free. --Linus Torvalds

Reply via email to