summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Smith <smithj@gentoo.org>2005-07-03 00:16:51 +0000
committerJonathan Smith <smithj@gentoo.org>2005-07-03 00:16:51 +0000
commitfd0178ed52387750ad63ed656323c5fbdb5c4ec8 (patch)
treedcbaa0fa5f7b07fce4bc58774484ee89ab228a34 /x11-misc
parentVersion bump. Fix #96959. (diff)
downloadhistorical-fd0178ed52387750ad63ed656323c5fbdb5c4ec8.tar.gz
historical-fd0178ed52387750ad63ed656323c5fbdb5c4ec8.tar.bz2
historical-fd0178ed52387750ad63ed656323c5fbdb5c4ec8.zip
cleanup of old testing ebuilds
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/xscreensaver/ChangeLog6
-rw-r--r--x11-misc/xscreensaver/Manifest18
-rw-r--r--x11-misc/xscreensaver/files/digest-xscreensaver-4.211
-rw-r--r--x11-misc/xscreensaver/files/digest-xscreensaver-4.221
-rw-r--r--x11-misc/xscreensaver/files/digest-xscreensaver-4.22-r11
-rw-r--r--x11-misc/xscreensaver/xscreensaver-4.21.ebuild161
-rw-r--r--x11-misc/xscreensaver/xscreensaver-4.22-r1.ebuild166
-rw-r--r--x11-misc/xscreensaver/xscreensaver-4.22.ebuild170
8 files changed, 16 insertions, 508 deletions
diff --git a/x11-misc/xscreensaver/ChangeLog b/x11-misc/xscreensaver/ChangeLog
index 49174f1c1171..7bab99bfe059 100644
--- a/x11-misc/xscreensaver/ChangeLog
+++ b/x11-misc/xscreensaver/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-misc/xscreensaver
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v 1.93 2005/07/02 01:10:36 hardave Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v 1.94 2005/07/03 00:16:50 smithj Exp $
+
+ 02 Jul 2005; Jonathan Smith <smithj@gentoo.org> -xscreensaver-4.21.ebuild,
+ -xscreensaver-4.22.ebuild, -xscreensaver-4.22-r1.ebuild:
+ cleanup of old testing ebuilds
02 Jul 2005; Hardave Riar <hardave@gentoo.org> xscreensaver-4.20.ebuild:
Stable on mips
diff --git a/x11-misc/xscreensaver/Manifest b/x11-misc/xscreensaver/Manifest
index 23a65c977d9d..a61262261bdb 100644
--- a/x11-misc/xscreensaver/Manifest
+++ b/x11-misc/xscreensaver/Manifest
@@ -1,16 +1,13 @@
-MD5 3443a052ae65560cad873b6c394e8b63 ChangeLog 16449
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 d4d67c63edc11cff3dc90a71183554d2 ChangeLog 16618
MD5 cdb11033a3fa6525334cecf938961c07 metadata.xml 166
MD5 9b75f02ad6d2e359cab3b1d17412dacd xscreensaver-4.20-r1.ebuild 4462
MD5 2005bbcde16751631e16bd5d76b4da2b xscreensaver-4.20.ebuild 4836
-MD5 f9e4d478fa668b28e05c77b33ff4d3ad xscreensaver-4.21.ebuild 4637
-MD5 b43816a7c59e94a72b5f682c1dd192b6 xscreensaver-4.22-r1.ebuild 4924
MD5 39303abcd3f2c478cc1bc5c05ef67138 xscreensaver-4.22-r2.ebuild 5617
-MD5 c0f94e55889ac9d62ea23e5690bd49db xscreensaver-4.22.ebuild 4873
MD5 64d504c9ea04705ce78f9ffb87c96321 files/digest-xscreensaver-4.20 70
MD5 64d504c9ea04705ce78f9ffb87c96321 files/digest-xscreensaver-4.20-r1 70
-MD5 c4ec3ad074fd83aff37b4b4ddc9b7f61 files/digest-xscreensaver-4.21 70
-MD5 24bb039b898635c9224f9866f29757ed files/digest-xscreensaver-4.22 70
-MD5 24bb039b898635c9224f9866f29757ed files/digest-xscreensaver-4.22-r1 70
MD5 24bb039b898635c9224f9866f29757ed files/digest-xscreensaver-4.22-r2 70
MD5 8bd9730fb1f84b69efac29fab28d0db2 files/xscreensaver-4.14-analogtv_tmp.patch 419
MD5 23c5d8085eb70d6dc6168857a31cc284 files/xscreensaver-4.14-fortune.patch 348
@@ -23,3 +20,10 @@ MD5 f5dcb5acf99e374e9f99a95890b8eb0f files/xscreensaver-4.22-configure.patch 159
MD5 e6a4444e1548adf83be31a933c5e19bf files/xscreensaver-4.22-interaggregate.patch 542
MD5 0802ff58ba46dfdc9d155798ef4936e5 files/xscreensaver-4.22-settings.patch 1766
MD5 6eb40b28a36f889d0f1919cdbf160ef7 files/pam.d/xscreensaver 79
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFCxy6Xl5AvwDPiUowRAnWWAJ9CpxmwOYsMQNfbUDtGc2QL3ChYtQCfRQqT
+6OX79lV+Fj7+XmHPWpZl8oM=
+=dNO4
+-----END PGP SIGNATURE-----
diff --git a/x11-misc/xscreensaver/files/digest-xscreensaver-4.21 b/x11-misc/xscreensaver/files/digest-xscreensaver-4.21
deleted file mode 100644
index 8be5d1ac30fa..000000000000
--- a/x11-misc/xscreensaver/files/digest-xscreensaver-4.21
+++ /dev/null
@@ -1 +0,0 @@
-MD5 3ea7d0bc9b7159523855296e175d7ac7 xscreensaver-4.21.tar.gz 4519828
diff --git a/x11-misc/xscreensaver/files/digest-xscreensaver-4.22 b/x11-misc/xscreensaver/files/digest-xscreensaver-4.22
deleted file mode 100644
index 6f0f6e359c66..000000000000
--- a/x11-misc/xscreensaver/files/digest-xscreensaver-4.22
+++ /dev/null
@@ -1 +0,0 @@
-MD5 9f37c428f034e581026e243445378195 xscreensaver-4.22.tar.gz 4620066
diff --git a/x11-misc/xscreensaver/files/digest-xscreensaver-4.22-r1 b/x11-misc/xscreensaver/files/digest-xscreensaver-4.22-r1
deleted file mode 100644
index 6f0f6e359c66..000000000000
--- a/x11-misc/xscreensaver/files/digest-xscreensaver-4.22-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 9f37c428f034e581026e243445378195 xscreensaver-4.22.tar.gz 4620066
diff --git a/x11-misc/xscreensaver/xscreensaver-4.21.ebuild b/x11-misc/xscreensaver/xscreensaver-4.21.ebuild
deleted file mode 100644
index 521545560198..000000000000
--- a/x11-misc/xscreensaver/xscreensaver-4.21.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/xscreensaver-4.21.ebuild,v 1.1 2005/05/27 21:26:07 rizzo Exp $
-
-inherit eutils flag-o-matic pam
-
-IUSE="pam kerberos krb4 gtk gnome opengl jpeg xinerama offensive motif"
-
-DESCRIPTION="a modular screensaver for X11"
-SRC_URI="http://www.jwz.org/xscreensaver/${P}.tar.gz"
-HOMEPAGE="http://www.jwz.org/xscreensaver/"
-
-LICENSE="BSD"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-SLOT="0"
-
-# NOTE: ignore app-games/fortune-mod as a dep. it is pluggable and won't
-# really matter if it isn't there. Maybe we should have a 'games'
-# USE flag
-
-RDEPEND="virtual/x11
- media-libs/netpbm
- >=sys-libs/zlib-1.1.4
- gtk? (
- >=dev-libs/libxml2-2.5
- >=x11-libs/gtk+-2
- >=gnome-base/libglade-1.99
- >=dev-libs/glib-2
- gnome? ( >=gnome-extra/yelp-2 )
- )
- motif? ( x11-libs/openmotif )
- pam? ( virtual/pam )
- kerberos? ( krb4? ( >=app-crypt/mit-krb5-1.2.5 ) )
- jpeg? ( media-libs/jpeg )
- opengl? ( virtual/opengl
- >=media-libs/gle-3.0.1 )"
- #gnome? ( >=gnome-extra/yelp-2 gnome-base/gdm )
-
-DEPEND="${RDEPEND}
- sys-devel/bc
- dev-lang/perl
- gtk? ( dev-util/pkgconfig )
- nls? ( sys-devel/gettext )"
-
-# simple workaround for the flurry screensaver
-filter-flags -mabi=altivec
-filter-flags -maltivec
-append-flags -U__VEC__
-
-pkg_setup() {
- if ! use gtk ; then
- if use motif ; then
- ewarn 'From the configure script:'
- ewarn ' Though the Motif front-end to xscreensaver is still'
- ewarn ' maintained, it is no longer being updated with new'
- ewarn ' features: all new development on the xscreensaver-demo'
- ewarn ' program is happening in the GTK version, and not in the'
- ewarn ' Motif version.'
- ewarn 'It is recommended that you use the "gtk" USE flag.'
- else
- ewarn "You have enabled neither gtk nor motif USE flags. xscreensaver-demo"
- ewarn "requires either GTK+ 2 or Motif (GTK+ 2 is recommended, as the Motif"
- ewarn "version is no longer being maintained), so xscreensaver-demo will not"
- ewarn "be built. This is most likely NOT what you want."
- fi
- ewarn
- epause
- fi
- if use kerberos && ! use krb4 ; then
- ewarn "You have enabled kerberos without krb4 support. Kerberos will be"
- ewarn "disabled unless kerberos 4 support has been compiled with your"
- ewarn "kerberos libraries. To do that, you should abort now and do:"
- ewarn ""
- ewarn " USE=\"krb4\" emerge mit-krb5"
- ewarn
- epause
- fi
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
- # disable rpm -q checking, otherwise it breaks sandbox if rpm is installed
- epatch ${FILESDIR}/${PN}-4.21-norpm.patch
- # tweaks the default configuration (driver/XScreenSaver.ad.in)
- epatch ${FILESDIR}/${PN}-4.21-settings.patch
- # disable not-safe-for-work xscreensavers
- use offensive || epatch ${FILESDIR}/${PN}-4.16-nsfw.patch
-}
-
-src_compile() {
- local myconf=""
-
- if use gtk ; then
- myconf="${myconf} --without-motif --with-gtk --with-xml"
- elif use motif; then
- myconf="${myconf} --with-motif --without-gtk --without-pixbuf"
- else
- myconf="${myconf} --without-motif --without-gtk --without-pixbuf"
- fi
-
- use gnome || has_version gnome-base/gdm \
- && myconf="${myconf} --with-login-manager" \
- || myconf="${myconf} --without-login-manager"
-
- use kerberos && use krb4 \
- && myconf="${myconf} --with-kerberos" \
- || myconf="${myconf} --without-kerberos"
-
- econf \
- --with-hackdir=/usr/lib/xscreensaver \
- --with-configdir=/usr/share/xscreensaver/config \
- --x-libraries=/usr/X11R6/lib \
- --x-includes=/usr/X11R6/include \
- --with-mit-ext \
- --with-dpms-ext \
- --with-xf86vmode-ext \
- --with-xf86gamma-ext \
- --with-proc-interrupts \
- --with-xpm \
- --with-xshm-ext \
- --with-xdbe-ext \
- --enable-locking \
- $(use_with xinerama xinerama-ext) \
- $(use_with pam) \
- $(use_with opengl gl) $(use_with opengl gle) \
- $(use_with jpeg) \
- $(use_enable nls) \
- ${myconf} || die
-
- emake || die
-}
-
-src_install() {
- [ -n "${KDEDIR}" ] && dodir ${KDEDIR}/bin
-
- make install_prefix="${D}" install || die
-
- dodoc README
-
- # install correctly in gnome2
- if use gnome ; then
- dodir /usr/share/gnome/capplets
- insinto /usr/share/gnome/capplets
- doins driver/screensaver-properties.desktop
- fi
-
- # install symlink to satisfy kde
- use kde && dosym /usr/share/xscreensaver/config /usr/lib/xscreensaver/config
-
- # Remove "extra" capplet
- rm -f ${D}/usr/share/applications/gnome-screensaver-properties.desktop
-
- if use gnome ; then
- insinto /usr/share/pixmaps
- newins ${S}/utils/images/logo-50.xpm xscreensaver.xpm
- fi
-
- pamd_mimic_system xscreensaver auth
-}
diff --git a/x11-misc/xscreensaver/xscreensaver-4.22-r1.ebuild b/x11-misc/xscreensaver/xscreensaver-4.22-r1.ebuild
deleted file mode 100644
index 077fb677df7a..000000000000
--- a/x11-misc/xscreensaver/xscreensaver-4.22-r1.ebuild
+++ /dev/null
@@ -1,166 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/xscreensaver-4.22-r1.ebuild,v 1.1 2005/06/24 23:09:16 smithj Exp $
-
-inherit eutils flag-o-matic pam
-
-IUSE="gnome gtk jpeg kerberos krb4 motif nls offensive opengl pam xinerama"
-
-DESCRIPTION="A modular screen saver and locker for the X Window System"
-SRC_URI="http://www.jwz.org/xscreensaver/${P}.tar.gz"
-HOMEPAGE="http://www.jwz.org/xscreensaver/"
-
-LICENSE="BSD"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-SLOT="0"
-
-# NOTE: ignore app-games/fortune-mod as a dep. it is pluggable and won't
-# really matter if it isn't there. Maybe we should have a 'games'
-# USE flag
-
-RDEPEND="virtual/x11
- media-libs/netpbm
- >=sys-libs/zlib-1.1.4
- gtk? (
- >=dev-libs/libxml2-2.5
- >=x11-libs/gtk+-2
- >=gnome-base/libglade-1.99
- >=dev-libs/glib-2
- )
- motif? ( x11-libs/openmotif )
- pam? ( virtual/pam )
- kerberos? ( krb4? ( >=app-crypt/mit-krb5-1.2.5 ) )
- jpeg? ( media-libs/jpeg )
- opengl? ( virtual/opengl
- >=media-libs/gle-3.0.1 )"
- #gnome? ( gnome-base/gdm )
-
-DEPEND="${RDEPEND}
- sys-devel/bc
- dev-lang/perl
- gtk? ( dev-util/pkgconfig )
- nls? ( sys-devel/gettext )"
-
-# simple workaround for the flurry screensaver
-filter-flags -mabi=altivec
-filter-flags -maltivec
-append-flags -U__VEC__
-
-pkg_setup() {
- if ! use gtk ; then
- if use motif ; then
- ewarn "From the configure script:"
- ewarn
- ewarn " Though the Motif front-end to xscreensaver is still"
- ewarn " maintained, it is no longer being updated with new"
- ewarn " features: all new development on the xscreensaver-demo"
- ewarn " program is happening in the GTK version, and not in the"
- ewarn " Motif version."
- ewarn
- ewarn "It is recommended that you use the \"gtk\" USE flag."
- else
- ewarn "You have enabled neither gtk nor motif USE flags. xscreensaver-demo"
- ewarn "requires either GTK+ 2 or Motif (GTK+ 2 is recommended, as the Motif"
- ewarn "version is no longer being maintained), so xscreensaver-demo will not"
- ewarn "be built. This is most likely NOT what you want."
- fi
- ewarn
- epause
- fi
- if use kerberos && ! use krb4 ; then
- ewarn "You have enabled kerberos without krb4 support. Kerberos will be"
- ewarn "disabled unless kerberos 4 support has been compiled with your"
- ewarn "kerberos libraries. To do that, you should abort now and do:"
- ewarn
- ewarn " USE=\"krb4\" emerge mit-krb5"
- ewarn
- epause
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # disable rpm -q checking, otherwise it breaks sandbox if rpm is installed
- # use gnome-terminal in tests rather than gnome-open (bug #94708)
- epatch ${FILESDIR}/${PN}-4.22-configure.patch
- # tweaks the default configuration (driver/XScreenSaver.ad.in)
- epatch ${FILESDIR}/${PN}-4.22-settings.patch
- # fixes wrong argument for inter-aggregate screensaver
- epatch ${FILESDIR}/${PN}-4.22-interaggregate.patch
- # disable not-safe-for-work xscreensavers
- use offensive || epatch ${FILESDIR}/${PN}-4.16-nsfw.patch
-}
-
-src_compile() {
- local myconf=""
-
- if use gtk ; then
- myconf="${myconf} --without-motif --with-gtk --with-xml"
- elif use motif; then
- myconf="${myconf} --with-motif --without-gtk --without-pixbuf"
- else
- myconf="${myconf} --without-motif --without-gtk --without-pixbuf"
- fi
-
- use gnome || has_version gnome-base/gdm \
- && myconf="${myconf} --with-login-manager" \
- || myconf="${myconf} --without-login-manager"
-
- use kerberos && use krb4 \
- && myconf="${myconf} --with-kerberos" \
- || myconf="${myconf} --without-kerberos"
-
- econf \
- --with-hackdir=/usr/lib/misc/xscreensaver \
- --with-configdir=/usr/share/xscreensaver/config \
- --x-libraries=/usr/$(get_libdir) \
- --x-includes=/usr/include \
- --with-mit-ext \
- --with-dpms-ext \
- --with-xf86vmode-ext \
- --with-xf86gamma-ext \
- --with-proc-interrupts \
- --with-xpm \
- --with-xshm-ext \
- --with-xdbe-ext \
- --enable-locking \
- $(use_with xinerama xinerama-ext) \
- $(use_with pam) \
- $(use_with opengl gl) $(use_with opengl gle) \
- $(use_with jpeg) \
- $(use_enable nls) \
- ${myconf} || die "econf failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- [ -n "${KDEDIR}" ] && dodir ${KDEDIR}/bin
-
- make install_prefix="${D}" install || die "make install failed"
-
- dodoc README
-
- # install correctly in gnome2
- if use gnome ; then
- dodir /usr/share/gnome/capplets
- insinto /usr/share/gnome/capplets
- doins driver/screensaver-properties.desktop
- fi
-
- # install symlink to satisfy kde
- use kde && dosym /usr/share/xscreensaver/config /usr/$(get_libdir)/xscreensaver/config
-
- # Remove "extra" capplet
- rm -f ${D}/usr/share/applications/gnome-screensaver-properties.desktop
-
- if use gnome ; then
- insinto /usr/share/pixmaps
- newins ${S}/utils/images/logo-50.xpm xscreensaver.xpm
- fi
-
- use pam && fperms 755 /usr/bin/xscreensaver
- pamd_mimic_system xscreensaver auth
-}
diff --git a/x11-misc/xscreensaver/xscreensaver-4.22.ebuild b/x11-misc/xscreensaver/xscreensaver-4.22.ebuild
deleted file mode 100644
index 6f0fdcba519e..000000000000
--- a/x11-misc/xscreensaver/xscreensaver-4.22.ebuild
+++ /dev/null
@@ -1,170 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/xscreensaver-4.22.ebuild,v 1.1 2005/06/23 22:48:39 smithj Exp $
-
-inherit eutils flag-o-matic pam
-
-IUSE="pam kerberos krb4 gtk gnome opengl jpeg xinerama offensive motif"
-
-DESCRIPTION="a modular screensaver for X11"
-SRC_URI="http://www.jwz.org/xscreensaver/${P}.tar.gz"
-HOMEPAGE="http://www.jwz.org/xscreensaver/"
-
-LICENSE="BSD"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-SLOT="0"
-
-# NOTE: ignore app-games/fortune-mod as a dep. it is pluggable and won't
-# really matter if it isn't there. Maybe we should have a 'games'
-# USE flag
-
-RDEPEND="virtual/x11
- media-libs/netpbm
- >=sys-libs/zlib-1.1.4
- gtk? (
- >=dev-libs/libxml2-2.5
- >=x11-libs/gtk+-2
- >=gnome-base/libglade-1.99
- >=dev-libs/glib-2
- gnome? ( >=gnome-extra/yelp-2 )
- )
- motif? ( x11-libs/openmotif )
- pam? ( virtual/pam )
- kerberos? ( krb4? ( >=app-crypt/mit-krb5-1.2.5 ) )
- jpeg? ( media-libs/jpeg )
- opengl? ( virtual/opengl
- >=media-libs/gle-3.0.1 )"
- #gnome? ( >=gnome-extra/yelp-2 gnome-base/gdm )
-
-DEPEND="${RDEPEND}
- sys-devel/bc
- dev-lang/perl
- gtk? ( dev-util/pkgconfig )
- nls? ( sys-devel/gettext )"
-
-# simple workaround for the flurry screensaver
-filter-flags -mabi=altivec
-filter-flags -maltivec
-append-flags -U__VEC__
-
-pkg_setup() {
- if ! use gtk ; then
- if use motif ; then
- ewarn 'From the configure script:'
- ewarn ' Though the Motif front-end to xscreensaver is still'
- ewarn ' maintained, it is no longer being updated with new'
- ewarn ' features: all new development on the xscreensaver-demo'
- ewarn ' program is happening in the GTK version, and not in the'
- ewarn ' Motif version.'
- ewarn 'It is recommended that you use the "gtk" USE flag.'
- else
- ewarn "You have enabled neither gtk nor motif USE flags. xscreensaver-demo"
- ewarn "requires either GTK+ 2 or Motif (GTK+ 2 is recommended, as the Motif"
- ewarn "version is no longer being maintained), so xscreensaver-demo will not"
- ewarn "be built. This is most likely NOT what you want."
- fi
- ewarn
- epause
- fi
- if use kerberos && ! use krb4 ; then
- ewarn "You have enabled kerberos without krb4 support. Kerberos will be"
- ewarn "disabled unless kerberos 4 support has been compiled with your"
- ewarn "kerberos libraries. To do that, you should abort now and do:"
- ewarn ""
- ewarn " USE=\"krb4\" emerge mit-krb5"
- ewarn
- epause
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # disable rpm -q checking, otherwise it breaks sandbox if rpm is installed
- epatch ${FILESDIR}/${PN}-4.21-norpm.patch
-
- # disable not-safe-for-work xscreensavers
- use offensive || epatch ${FILESDIR}/${PN}-4.16-nsfw.patch
-}
-
-src_compile() {
- local myconf=""
-
- if use gtk ; then
- myconf="${myconf} --without-motif --with-gtk --with-xml"
- elif use motif; then
- myconf="${myconf} --with-motif --without-gtk --without-pixbuf"
- else
- myconf="${myconf} --without-motif --without-gtk --without-pixbuf"
- fi
-
- use gnome || has_version gnome-base/gdm \
- && myconf="${myconf} --with-login-manager" \
- || myconf="${myconf} --without-login-manager"
-
- use kerberos && use krb4 \
- && myconf="${myconf} --with-kerberos" \
- || myconf="${myconf} --without-kerberos"
-
- econf \
- --with-hackdir=/usr/lib/xscreensaver \
- --with-configdir=/usr/share/xscreensaver/config \
- --x-libraries=/usr/X11R6/lib \
- --x-includes=/usr/X11R6/include \
- --with-mit-ext \
- --with-dpms-ext \
- --with-xf86vmode-ext \
- --with-xf86gamma-ext \
- --with-proc-interrupts \
- --with-xpm \
- --with-xshm-ext \
- --with-xdbe-ext \
- --enable-locking \
- $(use_with xinerama xinerama-ext) \
- $(use_with pam) \
- $(use_with opengl gl) $(use_with opengl gle) \
- $(use_with jpeg) \
- $(use_enable nls) \
- ${myconf} || die
-
- emake || die
-}
-
-src_install() {
- [ -n "${KDEDIR}" ] && dodir ${KDEDIR}/bin
-
- make install_prefix="${D}" install || die
-
- dodoc README
-
- # install correctly in gnome2
- if use gnome ; then
- dodir /usr/share/gnome/capplets
- insinto /usr/share/gnome/capplets
- doins driver/screensaver-properties.desktop
- fi
-
- # install symlink to satisfy kde
- use kde && dosym /usr/share/xscreensaver/config /usr/lib/xscreensaver/config
-
- # Remove "extra" capplet
- rm -f ${D}/usr/share/applications/gnome-screensaver-properties.desktop
-
- if use gnome ; then
- insinto /usr/share/pixmaps
- newins ${S}/utils/images/logo-50.xpm xscreensaver.xpm
- fi
-
- # Fixes setuid and opengl mess
- if use pam ; then
- fperms 711 /usr/bin/xscreensaver
- pamd_mimic_system xscreensaver auth
- else
- ewarn "You have USE=\"-pam\". In order to be able to lock the screen,"
- ewarn " /usr/bin/xscreensaver is installed as setuid root which causes"
- ewarn "conflicts accessing device nodes of some accelerated graphics"
- ewarn "drivers."
- epause
- fi
-}