Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 26264 Details for
Bug 42762
new ebuild - maniwheel xscreensaver hack
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild
maniwheel-1.0.ebuild (text/plain), 2.34 KB, created by
Ben Ford
on 2004-02-24 08:36:52 UTC
(
hide
)
Description:
ebuild
Filename:
MIME Type:
Creator:
Ben Ford
Created:
2004-02-24 08:36:52 UTC
Size:
2.34 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/x11-misc/wheel/maniwheel-1.0.ebuild,v 1.8 2004/02/01 23:40:20 vapier Exp $ > >inherit flag-o-matic > >S="${WORKDIR}/Maniwheel" >DESCRIPTION="Buddhistic OpenGL hack for XScreenSaver" >HOMEPAGE="http://maniwheel.elnet.ru" >SRC_URI="http://maniwheel.elnet.ru/${PN}.tar.gz" >RESTRICT="nomirror" > >IUSE="kde" >SLOT="0" >LICENSE="GPL-2" >KEYWORDS="x86 ppc" > >DEPEND="virtual/x11 > virtual/opengl > >=sys-apps/sed-4 > kde? ( kde-base/kdeartwork ) > !kde? ( x11-misc/xscreensaver )" > >src_unpack() { > unpack ${A} >} > >src_compile() { > local myconf > > myconf="${myconf} --bindir=/usr/lib/xscreensaver" \ > myconf="${myconf} --with-configdir=/usr/share/control-center/screensavers/" \ > > if [ -n "`use kde`" ]; then > local desktopfile=`find . -name \*.desktop` > for x in $desktopfile; do > sed -i -e 's:Exec=kxsrun \(.*\):Exec=kxsrun /usr/lib/xscreensaver/\1:g' \ > -e 's:Exec=kxsconfig \(.*\):Exec=kxsconfig /usr/lib/xscreensaver/\1:g' \ > $x > done > > [ -n "${KDEDIR}" ] \ > && myconf="${myconf} --with-kdessconfigdir=${KDEDIR}/share/applnk/System/ScreenSavers" > fi > > econf || die "Configuration failed" > emake || die "Compile failed" >} > >src_install() { > make DESTDIR=${D} install || die "install failed" > dodoc COPYING INSTALL README README.xscreensaver README.DRI > > # symlink to satisfy kde's kxs* > use kde && dosym /usr/share/control-center/screensavers /usr/lib/xscreensaver/config >} > >pkg_postinst() { > local XSCREENSAVER_CONF="${ROOT}/usr/X11R6/lib/X11/app-defaults/XScreenSaver" > > if [ -f ${XSCREENSAVER_CONF} -a -z "`grep 'Maniwheel' ${XSCREENSAVER_CONF}`" ]; then > einfo "Adding Maniwheel Screensaver to XScreenSaver" > sed -e '/*programs:/a\ > GL: \"Maniwheel\" maniwheel -root \\n\\\' \ > -i ${XSCREENSAVER_CONF} > > else > einfo "Unable to add these to XScreenSaver configuration" > einfo "Read /usr/share/doc/${PF}/README.xscreensaver.gz for" > einfo "entries to add to your ~/.xscreensaver file to enable these hacks" > fi >} > >pkg_postrm() { > local XSCREENSAVER_CONF="${ROOT}/usr/X11R6/lib/X11/app-defaults/XScreenSaver" > > has_version maniwheel && return 0 > if [ -f ${XSCREENSAVER_CONF} ]; then > einfo "Removing Maniwheel Screensavers from XScreenSaver configuration." > sed -e '/\"Maniwheel\" maniwheel/d' \ > -i ${XSCREENSAVER_CONF} > fi >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 42762
: 26264