Gentoo Archives: gentoo-dev

From: Chris Gianelloni <wolf31o2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] new virtual - xlocker?
Date: Thu, 16 Jun 2005 15:32:14
Message-Id: 1118935712.14164.58.camel@cgianelloni.nuvox.net
In Reply to: Re: [gentoo-dev] new virtual - xlocker? by Alin Dobre
1 On Thu, 2005-06-16 at 18:01 +0300, Alin Dobre wrote:
2 > Jonathan Smith wrote:
3 > > The desktop-misc herd (which was sadly neglected until recently) could
4 > > benefit from a new virtual. x11-misc/xautolock is a wrapper which locks
5 > > the screen via any appropriate program such as xlockmore or xtrlock.
6 >
7 > xscreensaver locks the screen, too, besides its normal screensaver
8 > features (like xlockmore).
9 >
10 > > This program needs to depend on an xlocker, but we should not lock users
11 > > into one specific one.
12 > >
13 > > See bug 95246 [1]
14 > >
15 > > I would probably name it virtual/xlocker, but other suggestions are, of
16 > > course, welcome.
17 > >
18 > > Thanks
19 > >
20 > > [1]: https://bugs.gentoo.org/show_bug.cgi?id=95246
21 > >
22
23 You don't have to setup a virtual for this. In fact, the simpler method
24 (especially when dealing with only one package) is to use the || *DEPEND
25 syntax.
26
27 RDEPEND="|| (
28 x11-misc/xscreensaver
29 x11-misc/xlockmore
30 x11-misc/xtrlock )"
31
32 This would prefer xscreensaver over the others, but any would satisfy
33 the dependency.
34
35 --
36 Chris Gianelloni
37 Release Engineering - Strategic Lead/QA Manager
38 Games - Developer
39 Gentoo Linux

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] new virtual - xlocker? "Beber [Gentoo]" <beber.gentoo@×××××.com>