It seems to me that xautolock is "just" a wrapper around xlock. Problem is that I can't find xlock on my system, I don't even know where to find xlock. Reproducible: Always Steps to Reproduce: $ emerge info Portage 2.0.51.21 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.50GHz Gentoo Base System version 1.6.11 dev-lang/python: 2.2.3-r1, 2.3.5 sys-apps/sandbox: 1.2.1-r2 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sfperms strict" GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.pudas.net/gentoo http://mirror.switch.ch/mirror/gentoo/ http://ftp.rhnet.is/pub/gentoo/ http://mir.zyrianes.net/gentoo/ http://ftp.du.se/pub/os/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LANG="en_US" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl eds emboss encode esd fam flac foomaticdb fortran gd gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 jack java jpeg junit kde libg++ libwww mad mikmod motif mozilla mp3 mpeg mysql nas ncurses nls ogg oggvorbis opengl oss pam pdflib perl plotutils png postgres python qt quicktime readline ruby samba scanner sdl slang speex spell sqlite ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode vorbis xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
xlock is found under the package x11-misc/xlockmore
according to the debian package (http://packages.debian.org/unstable/x11/xautolock) and the docs, xlock itself is not necessarily required, but since packages for gentoo are supposed to "just work" and it is fairly clear what this package's normal use is, i will add it as a dependency fixed in cvs
Humm, xautolock doesn't need xlockmore, it need a X locker such as xlockmore or xtrlock. Personaly I use xtrlock which is much simplist. Why don't use a depend like that : DEPEND="virtual/x11 || ( x11-misc/xlockmore x11-misc/xtrlock <any X locker> )" ? I don't want xlockmore, and it is not critical to xautolock for working good. I can reopen bug but I would like to. :)
I wanted to say "I can't". Also, the locker can be a PDEPEND because the locker have to use by xautolock. And any locker is needed for building xautolock. And you can too add some einfo/ewarn on pkg_postinst to inform that many locker could be used :) What do you think about all that ?
xautolock now RDEPENDs on xlockmore or xtrlock... PDEPEND is only used for packages which need to be installed _after_ the ebuild, which is not the case here