diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-01-26 00:37:42 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-01-26 00:37:42 +0000 |
commit | e954a3ea35fa16ce7a6dc77c3e8bbb2f343bd222 (patch) | |
tree | 2e4dfe575bbea240ff25aad469ba0edd627b5a7b /x11-misc | |
parent | update #14528 (diff) | |
download | gentoo-2-e954a3ea35fa16ce7a6dc77c3e8bbb2f343bd222.tar.gz gentoo-2-e954a3ea35fa16ce7a6dc77c3e8bbb2f343bd222.tar.bz2 gentoo-2-e954a3ea35fa16ce7a6dc77c3e8bbb2f343bd222.zip |
version bump #13946
Diffstat (limited to 'x11-misc')
4 files changed, 110 insertions, 2 deletions
diff --git a/x11-misc/electricsheep/ChangeLog b/x11-misc/electricsheep/ChangeLog index 15c4f38a56b9..5a54be2c5ff2 100644 --- a/x11-misc/electricsheep/ChangeLog +++ b/x11-misc/electricsheep/ChangeLog @@ -1,8 +1,13 @@ # ChangeLog for x11-misc/electricsheep # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/electricsheep/ChangeLog,v 1.1 2002/12/09 04:18:33 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/electricsheep/ChangeLog,v 1.2 2003/01/26 00:37:42 vapier Exp $ -*electricsheep-2.3 (08 Dec 2002) +*electricsheep-2.3_beta11 (25 Jan 2002) + + 25 Jan 2002; Mike Frysinger <vapier@gentoo.org> : + Version bump + patches #13946. + +*electricsheep-2.3_beta1 (08 Dec 2002) 08 Dec 2002; Mike Frysinger <vapier@gentoo.org> : Initial import. Ebuild submitted by me for #11707. diff --git a/x11-misc/electricsheep/electricsheep-2.3_beta11.ebuild b/x11-misc/electricsheep/electricsheep-2.3_beta11.ebuild new file mode 100644 index 000000000000..30426115ca1f --- /dev/null +++ b/x11-misc/electricsheep/electricsheep-2.3_beta11.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/electricsheep/electricsheep-2.3_beta11.ebuild,v 1.1 2003/01/26 00:37:42 vapier Exp $ + +inherit eutils + +MY_P="${PN}-${PV/_beta/b}" +DESCRIPTION="realize the collective dream of sleeping computers from all over the internet" +HOMEPAGE="http://electricsheep.org/" +SRC_URI="http://electricsheep.org/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" + +DEPEND="virtual/x11 + sys-apps/groff + sys-devel/perl + media-libs/libmpeg2" +RDEPEND="virtual/x11 + net-ftp/curl + x11-misc/xloadimage" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + epatch ${FILESDIR}/${P}-paths.patch + autoconf || die + econf --datadir=/usr/share/${PN} || die + emake || die +} + +src_install() { + # prevent writing for xscreensaver + cp Makefile Makefile.old + sed -e "s/^install-data-local:$/install-data-local:\nmy-install-data-local:/" \ + Makefile.old > Makefile + + # install the main stuff ... flame doesnt create /usr/bin so we have to + dodir /usr/bin + make install DESTDIR=${D} || die + + # remove header files that are installed over libmpeg2 + rm -rf ${D}/usr/include + + # install the xscreensaver config file + insinto /usr/share/control-center/screensavers + doins electricsheep.xml +} diff --git a/x11-misc/electricsheep/files/digest-electricsheep-2.3_beta11 b/x11-misc/electricsheep/files/digest-electricsheep-2.3_beta11 new file mode 100644 index 000000000000..3daacd09817a --- /dev/null +++ b/x11-misc/electricsheep/files/digest-electricsheep-2.3_beta11 @@ -0,0 +1 @@ +MD5 e75f3a0a37dc8cbcc0653eb1700f3ac5 electricsheep-2.3b11.tar.gz 595147 diff --git a/x11-misc/electricsheep/files/electricsheep-2.3_beta11-paths.patch b/x11-misc/electricsheep/files/electricsheep-2.3_beta11-paths.patch new file mode 100644 index 000000000000..558569d69dc0 --- /dev/null +++ b/x11-misc/electricsheep/files/electricsheep-2.3_beta11-paths.patch @@ -0,0 +1,53 @@ +--- configure.in.orig 2003-01-25 19:12:25.000000000 -0500 ++++ configure.in 2003-01-25 19:16:01.000000000 -0500 +@@ -8,6 +8,10 @@ + AC_PROG_INSTALL + AC_PROG_MAKE_SET + AC_HEADER_STDC ++ ++dnl Set PACKAGE_DATA_DIR in config.h. ++AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}", [pkg data dir]) ++ + AC_C_CONST + AC_TYPE_SIZE_T + AC_HEADER_TIME +--- electricsheep.c.orig 2003-01-25 19:24:57.000000000 -0500 ++++ electricsheep.c 2003-01-25 19:25:44.000000000 -0500 +@@ -38,7 +38,7 @@ + #include "config.h" + + // should get this from configure +-char *splash_prefix = "/usr/local/share/"; ++char *splash_prefix = PACKAGE_DATA_DIR; + + char *proxy_name = 0; + char *proxy_user = 0; +@@ -421,7 +421,7 @@ + + if (nobg || (!on_root && !window_id)) return; + if (more) +- sprintf(ob, "-merge -at 500,0 %selectricsheep-%s.tif", ++ sprintf(ob, "-merge -at 500,0 %s/electricsheep-%s.tif", + splash_prefix, more); + else + ob[0] = 0; +@@ -432,8 +432,8 @@ + qbuf[0] = 0; + + sprintf(pbuf, "xsetbg %s " +- "-border black -at 0,0 %selectricsheep-splash-0.tif " +- "-merge -center %selectricsheep-splash-1.tif %s", ++ "-border black -at 0,0 %s/electricsheep-splash-0.tif " ++ "-merge -center %s/electricsheep-splash-1.tif %s", + qbuf, splash_prefix, splash_prefix, ob); + mysystem2(pbuf, "splash0"); + } +@@ -1360,7 +1360,7 @@ + else + qbuf[0] = 0; + +- sprintf(pbuf, "xsetbg %s -at 0,0 %selectricsheep-splash-1.tif", ++ sprintf(pbuf, "xsetbg %s -at 0,0 %s/electricsheep-splash-1.tif", + qbuf, splash_prefix); + mysystem2(pbuf, "logo"); + while (1) sleep(60); |