diff options
Diffstat (limited to 'gnome-extra/gnome-screensaver')
3 files changed, 102 insertions, 1 deletions
diff --git a/gnome-extra/gnome-screensaver/ChangeLog b/gnome-extra/gnome-screensaver/ChangeLog index dd9159e26e9e..415c5d7e05aa 100644 --- a/gnome-extra/gnome-screensaver/ChangeLog +++ b/gnome-extra/gnome-screensaver/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for gnome-extra/gnome-screensaver # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-screensaver/ChangeLog,v 1.22 2006/11/25 23:07:42 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-screensaver/ChangeLog,v 1.23 2006/12/07 16:34:48 compnerd Exp $ + +*gnome-screensaver-2.16.2 (07 Dec 2006) + + 07 Dec 2006; Saleem Abdulrasool <compnerd@gentoo.org> + +gnome-screensaver-2.16.2.ebuild: + Version bump from upstream 25 Nov 2006; Bryan Østergaard <kloeri@gentoo.org> gnome-screensaver-2.16.1.ebuild: diff --git a/gnome-extra/gnome-screensaver/files/digest-gnome-screensaver-2.16.2 b/gnome-extra/gnome-screensaver/files/digest-gnome-screensaver-2.16.2 new file mode 100644 index 000000000000..d81bd89b9c5b --- /dev/null +++ b/gnome-extra/gnome-screensaver/files/digest-gnome-screensaver-2.16.2 @@ -0,0 +1,3 @@ +MD5 54431af3b87a8ee45c072d899d1c0f76 gnome-screensaver-2.16.2.tar.bz2 2035452 +RMD160 fd0adf8dfaa2a7685bd935b6a213429c799e95ef gnome-screensaver-2.16.2.tar.bz2 2035452 +SHA256 2149d7fed556a86825d1c9537d1a9dd7b0960baf6a571645715ecd3be0e6c17b gnome-screensaver-2.16.2.tar.bz2 2035452 diff --git a/gnome-extra/gnome-screensaver/gnome-screensaver-2.16.2.ebuild b/gnome-extra/gnome-screensaver/gnome-screensaver-2.16.2.ebuild new file mode 100644 index 000000000000..62e5302edf89 --- /dev/null +++ b/gnome-extra/gnome-screensaver/gnome-screensaver-2.16.2.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-screensaver/gnome-screensaver-2.16.2.ebuild,v 1.1 2006/12/07 16:34:48 compnerd Exp $ + +inherit eutils gnome2 + +DESCRIPTION="Replaces xscreensaver, integrating with the desktop." +HOMEPAGE="http://live.gnome.org/GnomeScreensaver" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="debug doc xinerama opengl pam" + +RDEPEND=">=gnome-base/gconf-2.6.1 + >=x11-libs/gtk+-2.8 + >=gnome-base/gnome-vfs-2.12 + >=gnome-base/libgnomeui-2.12 + >=gnome-base/libglade-2.5.0 + >=gnome-base/gnome-menus-2.12 + >=media-libs/libexif-0.6.12 + >=dev-libs/glib-2.8 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrandr + x11-libs/libXScrnSaver + x11-proto/xextproto + x11-proto/randrproto + x11-proto/scrnsaverproto + || ( + >=dev-libs/dbus-glib-0.71 + ( <sys-apps/dbus-0.90 >=sys-apps/dbus-0.35.2 ) + ) + opengl? ( virtual/opengl ) + xinerama? ( + x11-libs/libXinerama + x11-proto/xineramaproto + ) + pam? ( sys-libs/pam ) + !pam? ( sys-apps/shadow )" + +DEPEND="${RDEPEND} + sys-devel/gettext + dev-util/pkgconfig + >=dev-util/intltool-0.35" + +DOCS="AUTHORS ChangeLog HACKING NEWS README TODO" + +pkg_setup() { + if use pam ; then + G2CONF="--enable-pam" + else + G2CONF="--with-shadow" + fi + + G2CONF="${G2CONF} $(use_enable doc) $(use_enable debug) \ + $(use_enable xinerama) $(use_with opengl gl)" + + G2CONF="${G2CONF} --enable-locking --with-libexif --with-dpms-ext \ + --with-gdm-config=/usr/share/gdm/defaults.conf \ + --with-xscreensaverdir=/usr/share/xscreensaver/config \ + --with-xscreensaverhackdir=/usr/lib/misc/xscreensaver " +} + +src_install() { + gnome2_src_install + + # Install the conversion script in the documentation + dodoc ${S}/data/migrate-xscreensaver-config.sh + dodoc ${S}/data/xscreensaver-config.xsl + + # Conversion information + sed -e "s:\${PF}:${PF}:" \ + < ${FILESDIR}/xss-conversion.txt > ${S}/xss-conversion.txt + + dodoc ${S}/xss-conversion.txt + + # If you are using shadow, you need to set the setuid bit on the dialog + if ! use pam ; then + fperms +s /usr/libexec/gnome-screensaver-dialog + fi +} + +pkg_postinst() { + ewarn "If you have xscreensaver installed, you probably want to disable it." + ewarn "To prevent a duplicate Screensaver entry in the menu, you need to" + ewarn "build xscreensaver with -gnome in the USE flags." + ewarn "echo \"x11-misc/xscreensaver -gnome\" >> /etc/portage/package.use" + echo + einfo "Information for converting screensavers is located in " + einfo "/usr/share/doc/${PF}/xss-conversion.txt.gz" +} |