Gentoo Archives: gentoo-user

From: Jorge Morais <please.no.spam.here@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Can't figure out why emerage wants to build xscreensaver
Date: Sun, 12 Apr 2009 12:46:51
Message-Id: 20090412094911.0fc12585@gmail.com
In Reply to: Re: [gentoo-user] Re: Can't figure out why emerage wants to build xscreensaver by Nick Fortino
1 On Fri, 10 Apr 2009 11:43:46 -0700
2 Nick Fortino <nfortino@×××××.com> wrote:
3
4 > Grant Edwards wrote:
5 > > On 2009-04-10, Paul Hartman <paul.hartman+gentoo@×××××.com> wrote:
6 > >
7 > >> On Fri, Apr 10, 2009 at 11:30 AM, Grant Edwards <grante@××××.com> wrote:
8 > >>
9 > >>> Is something broken in the xfce ebuilds? emerge keeps wanting
10 > >>> to install xscreensaver even though I've got -xscreensaver in my
11 > >>> USE variable in make.conf. Everytime I update, xscreensaver
12 > >>> gets reinstalled, and I have to manually "emerge -C" it:
13 > >>>
14 > >>> # emerge -auvtND world
15 > >>>
16 > >>> These are the packages that would be merged, in reverse order:
17 > >>>
18 > >>> Calculating dependencies... done!
19 > >>> [nomerge ] xfce-base/xfce4-4.4.3 USE="alsa cups oss -minimal -xscreensaver"
20 > >>> [nomerge ] xfce-base/xfce4-session-4.4.3 USE="dbus -debug -gnome"
21 > >>> [nomerge ] xfce-base/xfce-utils-4.4.3 USE="dbus lock -debug"
22 > >>> [ebuild N ] x11-misc/xscreensaver-5.07 USE="jpeg opengl pam -new-login -suid -xinerama" 0 kB
23 > >>>
24 > >> It is because of the "lock" USE flag on xfce-utils. I think it
25 > >> uses xscreensaver for the screen-locking function.
26 > >>
27 > >
28 > > I see. An unpleasant side-effect is that the screensaver
29 > > function keeps kicking in. I guess I'll remove the "lock" flag
30 > > from xfce-utils. Oddly, I have the "lock" flag for xfce-utils
31 > > on another similar system, and emerge doesn't think it needs
32 > > xscreensaver on that system. Perhpas because I have xlockmore
33 > > installed on that system?
34 > >
35 > >
36 > If you don't want a specific package, echo 'x11-misc/xscreensaver' >>
37 > /etc/portage/package.mask
38 > In this case, the dependency is:
39 > lock? ( || ( x11-misc/xscreensaver
40 > gnome-extra/gnome-screensaver
41 > x11-misc/xlockmore ) )"
42 > so either gnome-screensaver or xlockmore will be pulled in to compensate.
43 >
44 > Nick
45 >
46 Instead of needlessly messing with package.mask, it is easier to just
47 emerge -a1v x11-misc/xlockmore
48 (supposing he wants xlockmore and not gnome-screensaver).
49 Now the dependency will be satisfied by xlockmore and
50 xscreensaver won't be pulled anymore.
51
52 --
53 Software is like sex: it is better when it is free. --Linus Torvalds