diff options
author | Alastair Tse <liquidx@gentoo.org> | 2003-06-04 14:11:28 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2003-06-04 14:11:28 +0000 |
commit | 27edcb885978c2889ae1193ae613c1a06abe277e (patch) | |
tree | a9f3b0d97814f165ea1ed52bb325de5c7607374e /x11-misc/rss-glx | |
parent | many fixes with deps, useflags and installations (diff) | |
download | gentoo-2-27edcb885978c2889ae1193ae613c1a06abe277e.tar.gz gentoo-2-27edcb885978c2889ae1193ae613c1a06abe277e.tar.bz2 gentoo-2-27edcb885978c2889ae1193ae613c1a06abe277e.zip |
many fixes with deps, useflags and installations
Diffstat (limited to 'x11-misc/rss-glx')
-rw-r--r-- | x11-misc/rss-glx/ChangeLog | 12 | ||||
-rw-r--r-- | x11-misc/rss-glx/Manifest | 6 | ||||
-rw-r--r-- | x11-misc/rss-glx/files/digest-rss-glx-0.7.4-r1 | 1 | ||||
-rw-r--r-- | x11-misc/rss-glx/files/rss-glx-0.7.4-gcc33.patch | 294 | ||||
-rw-r--r-- | x11-misc/rss-glx/files/rss-glx-0.7.4-kdedesktop.patch | 11 | ||||
-rw-r--r-- | x11-misc/rss-glx/rss-glx-0.7.4-r1.ebuild | 111 |
6 files changed, 431 insertions, 4 deletions
diff --git a/x11-misc/rss-glx/ChangeLog b/x11-misc/rss-glx/ChangeLog index 5bfe3275db1f..6e01b9a30dbc 100644 --- a/x11-misc/rss-glx/ChangeLog +++ b/x11-misc/rss-glx/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for x11-misc/rss-glx # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/rss-glx/ChangeLog,v 1.2 2003/05/30 14:20:37 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/rss-glx/ChangeLog,v 1.3 2003/06/04 14:11:20 liquidx Exp $ + +*rss-glx-0.7.4-r1 (04 Jun 2003) + + 03 Jun 2003; Alastair Tse <liquidx@gentoo.org> rss-glx-0.7.4-r1.ebuild, + files/rss-glx-0.7.4-gcc33.patch, files/rss-glx-0.7.4-kdedesktop.patch: + - added gcc3.3 patch, thanks to Jason Rhinelander (#22034). + - automatically adds itself to xscreensaver config. + - fix kde xscreensaver installation issues. + - added kde .desktop patches and 3dnow/sse useflags. thanks to Daniel Black + (#18675) *rss-glx-0.7.4 (30 May 2003) diff --git a/x11-misc/rss-glx/Manifest b/x11-misc/rss-glx/Manifest index cc900538a503..89459b701c57 100644 --- a/x11-misc/rss-glx/Manifest +++ b/x11-misc/rss-glx/Manifest @@ -1,8 +1,8 @@ -MD5 81f20d62eba81461b028515a302b9721 ChangeLog 1620 +MD5 7587fddc7a33b196de748f190ce4002d ChangeLog 1715 MD5 3097eb4ef5aba9394457045b5ca6aecf rss-glx-0.6.8.ebuild 909 MD5 698f0749cec37bb3d324eea18a2b4130 rss-glx-0.7.3.ebuild 911 -MD5 7e9cd61a19ef322c13caa29b5ae50829 rss-glx-0.7.4.ebuild 3279 -MD5 95e705122efc124207086cd703558326 rss-glx-0.7.4-r1.ebuild 3554 +MD5 edf10533ae9c22cb019cbe15b1aa464c rss-glx-0.7.4.ebuild 913 +MD5 fa936d7dc98d45d9534d0f49a9abad1e rss-glx-0.7.4-r1.ebuild 3615 MD5 770314fd1bc3c265dfb526582bba9832 files/digest-rss-glx-0.6.8 67 MD5 2093b2ad927fd582daa01c6f8843ff70 files/digest-rss-glx-0.7.3 67 MD5 55ae7a0c63825a631b147a3c34f1131b files/digest-rss-glx-0.7.4 67 diff --git a/x11-misc/rss-glx/files/digest-rss-glx-0.7.4-r1 b/x11-misc/rss-glx/files/digest-rss-glx-0.7.4-r1 new file mode 100644 index 000000000000..faccd7ff1115 --- /dev/null +++ b/x11-misc/rss-glx/files/digest-rss-glx-0.7.4-r1 @@ -0,0 +1 @@ +MD5 4c3dfd7da7bed6af053febae860a09fc rss_glx-0.7.4.tar.bz2 4886147 diff --git a/x11-misc/rss-glx/files/rss-glx-0.7.4-gcc33.patch b/x11-misc/rss-glx/files/rss-glx-0.7.4-gcc33.patch new file mode 100644 index 000000000000..1dcc2c815116 --- /dev/null +++ b/x11-misc/rss-glx/files/rss-glx-0.7.4-gcc33.patch @@ -0,0 +1,294 @@ +diff -ur rss_glx-0.7.4/reallyslick/c_src/rsMath.c rss_glx-0.7.4-gcc3.3/reallyslick/c_src/rsMath.c +--- rss_glx-0.7.4/reallyslick/c_src/rsMath.c 2003-03-01 15:56:28.000000000 -0800 ++++ rss_glx-0.7.4-gcc3.3/reallyslick/c_src/rsMath.c 2003-06-01 18:17:56.000000000 -0700 +@@ -37,36 +37,36 @@ + void rsCPUDetect() { + #ifdef DETECT_X86_EXTS + __asm__ ( +- " +- xor %%eax, %%eax ++ ++" xor %%eax, %%eax\n" + +- cpuid ++" cpuid\n" + +- cmp $0x68747541, %%ebx +- jne not_amd ++" cmp $0x68747541, %%ebx\n" ++" jne not_amd\n" + +- mov $0x80000001, %%eax +- cpuid ++" mov $0x80000001, %%eax\n" ++" cpuid\n" + +- shr $31, %%edx +- jmp done ++" shr $31, %%edx\n" ++" jmp done\n" + +-not_amd: +- xor %%edx, %%edx +- cmp $1, %%eax +- jl no_exts ++"not_amd:\n" ++" xor %%edx, %%edx\n" ++" cmp $1, %%eax\n" ++" jl no_exts\n" + +- xor %%eax, %%eax +- inc %%eax ++" xor %%eax, %%eax\n" ++" inc %%eax\n" + +- cpuid ++" cpuid\n" + +- shr $24, %%edx +- and $2, %%edx ++" shr $24, %%edx\n" ++" and $2, %%edx\n" + +-no_exts: +-done: +- " ++"no_exts:\n" ++"done:\n" ++ + : "=d" (cpuid) + : + : "%eax", "%ebx", "%ecx" +@@ -86,48 +86,48 @@ + #ifdef USE_3DNOW + if (cpuid & FLAG_3DNOW) { + __asm__ ( +- " +- femms ++ ++" femms\n" + +- movq (%1), %%mm0 /* 1 | 0 */ +- movq 8(%1), %%mm1 /* - | 2 */ ++" movq (%1), %%mm0\n" /* 1 | 0 */ ++" movq 8(%1), %%mm1\n" /* - | 2 */ + +- movq %%mm0, %%mm2 /* 1 | 0 */ +- movq %%mm1, %%mm3 /* - | 2 */ ++" movq %%mm0, %%mm2\n" /* 1 | 0 */ ++" movq %%mm1, %%mm3\n" /* - | 2 */ + +- pfmul %%mm0, %%mm0 /* 1 * 1 | 0 * 0 */ +- pfmul %%mm1, %%mm1 /* - | 2 * 2 */ ++" pfmul %%mm0, %%mm0\n" /* 1 * 1 | 0 * 0 */ ++" pfmul %%mm1, %%mm1\n" /* - | 2 * 2 */ + +- movq %%mm0, %%mm7 /* 1 * 1 | 0 * 0 */ +- punpckhdq %%mm7, %%mm7 /* 1 * 1 | 1 * 1 */ ++" movq %%mm0, %%mm7\n" /* 1 * 1 | 0 * 0 */ ++" punpckhdq %%mm7, %%mm7\n" /* 1 * 1 | 1 * 1 */ + +- pfadd %%mm1, %%mm0 /* - | 0 * 0 + 2 * 2 */ +- pfadd %%mm7, %%mm0 /* - | 0 * 0 + 2 * 2 + 1 * 1 */ ++" pfadd %%mm1, %%mm0\n" /* - | 0 * 0 + 2 * 2 */ ++" pfadd %%mm7, %%mm0\n" /* - | 0 * 0 + 2 * 2 + 1 * 1 */ + +- pfrsqrt %%mm0, %%mm1 /* 24-bit sqrt */ +- movq %%mm1, %%mm4 +- pfmul %%mm1, %%mm1 +- punpckldq %%mm0, %%mm0 +- pfrsqit1 %%mm0, %%mm1 +- pfrcpit2 %%mm4, %%mm1 +- pfmul %%mm1, %%mm0 ++" pfrsqrt %%mm0, %%mm1\n" /* 24-bit sqrt */ ++" movq %%mm1, %%mm4\n" ++" pfmul %%mm1, %%mm1\n" ++" punpckldq %%mm0, %%mm0\n" ++" pfrsqit1 %%mm0, %%mm1\n" ++" pfrcpit2 %%mm4, %%mm1\n" ++" pfmul %%mm1, %%mm0\n" + +- movd %%mm0, %0 /* length */ ++" movd %%mm0, %0\n" /* length */ + +- pfrcp %%mm0, %%mm1 /* 24-bit reciprocal */ +- movq %%mm0, %%mm4 +- punpckldq %%mm4, %%mm4 +- pfrcpit1 %%mm1, %%mm4 +- pfrcpit2 %%mm1, %%mm4 ++" pfrcp %%mm0, %%mm1\n" /* 24-bit reciprocal */ ++" movq %%mm0, %%mm4\n" ++" punpckldq %%mm4, %%mm4\n" ++" pfrcpit1 %%mm1, %%mm4\n" ++" pfrcpit2 %%mm1, %%mm4\n" + +- pfmul %%mm4, %%mm2 /* 1 / length | 0 / length */ +- pfmul %%mm4, %%mm3 /* - | 2 / length */ ++" pfmul %%mm4, %%mm2\n" /* 1 / length | 0 / length */ ++" pfmul %%mm4, %%mm3\n" /* - | 2 / length */ + +- movq %%mm2, (%1) /* 1 | 0 */ +- movq %%mm3, 8(%1) /* - | 2 */ ++" movq %%mm2, (%1)\n" /* 1 | 0 */ ++" movq %%mm3, 8(%1)\n" /* - | 2 */ ++ ++" femms\n" + +- femms +- " + : "=m" (length) + : "d" (v) + ); +@@ -139,27 +139,27 @@ + #ifdef USE_SSE + if (cpuid & FLAG_SSE) { + __asm__ ( +- " +- movups (%1), %%xmm0 /* 0 | 1 | 2 | - */ +- movups %%xmm0, %%xmm1 /* 0 | 1 | 2 | - */ +- +- mulps %%xmm0, %%xmm0 /* 0 * 0 | 1 * 1 | 2 * 2 | - */ +- movups %%xmm0, %%xmm2 /* 0 * 0 | 1 * 1 | 2 * 2 | - */ +- +- shufps $9, %%xmm2, %%xmm2 /* 1 * 1 | 2 * 2 | - | - */ +- addss %%xmm2, %%xmm0 /* 0 * 0 + 1 * 1 | - | - | - */ +- shufps $1, %%xmm2, %%xmm2 /* 2 * 2 | - | - | - */ +- addss %%xmm2, %%xmm0 /* 0 * 0 + 1 * 1 + 2 * 2 | - | - | - */ +- +- sqrtss %%xmm0, %%xmm0 /* length | - | - | - */ +- movss %%xmm0, %0 /* length */ +- +- unpcklps %%xmm0, %%xmm0 /* length | length | - | - */ +- unpcklps %%xmm0, %%xmm0 /* length | length | length | length */ +- divps %%xmm0, %%xmm1 /* 1 / length | 2 / length | 3 / length | - */ ++ ++" movups (%1), %%xmm0\n" /* 0 | 1 | 2 | - */ ++" movups %%xmm0, %%xmm1\n" /* 0 | 1 | 2 | - */ ++ ++" mulps %%xmm0, %%xmm0\n" /* 0 * 0 | 1 * 1 | 2 * 2 | - */ ++" movups %%xmm0, %%xmm2\n" /* 0 * 0 | 1 * 1 | 2 * 2 | - */ ++ ++" shufps $9, %%xmm2, %%xmm2\n" /* 1 * 1 | 2 * 2 | - | - */ ++" addss %%xmm2, %%xmm0\n" /* 0 * 0 + 1 * 1 | - | - | - */ ++" shufps $1, %%xmm2, %%xmm2\n" /* 2 * 2 | - | - | - */ ++" addss %%xmm2, %%xmm0\n" /* 0 * 0 + 1 * 1 + 2 * 2 | - | - | - */ ++ ++" sqrtss %%xmm0, %%xmm0\n" /* length | - | - | - */ ++" movss %%xmm0, %0\n" /* length */ ++ ++" unpcklps %%xmm0, %%xmm0\n" /* length | length | - | - */ ++" unpcklps %%xmm0, %%xmm0\n" /* length | length | length | length */ ++" divps %%xmm0, %%xmm1\n" /* 1 / length | 2 / length | 3 / length | - */ + +- movups %%xmm1, (%1) /* 1 / length | 2 / length | 3 / length | - */ +- " ++" movups %%xmm1, (%1)\n" /* 1 / length | 2 / length | 3 / length | - */ ++ + : "=m" (length) + : "d" (v) + ); +@@ -187,41 +187,41 @@ + #ifdef USE_3DNOW + if (cpuid & FLAG_3DNOW) { + __asm__ ( +- " +- femms ++ ++" femms\n" + +- movq (%0), %%mm0 /* 1.1 | 1.0 */ +- movq 8(%0), %%mm1 /* - | 1.2 */ ++" movq (%0), %%mm0\n" /* 1.1 | 1.0 */ ++" movq 8(%0), %%mm1\n" /* - | 1.2 */ + +- movq (%1), %%mm2 /* 2.1 | 2.0 */ +- movq 8(%1), %%mm3 /* - | 2.2 */ ++" movq (%1), %%mm2\n" /* 2.1 | 2.0 */ ++" movq 8(%1), %%mm3\n" /* - | 2.2 */ + +- movq %%mm0, %%mm4 /* 1.1 | 1.0 */ +- punpckhdq %%mm4, %%mm4 /* 1.1 | 1.1 */ +- punpckldq %%mm1, %%mm4 /* 1.2 | 1.1 */ ++" movq %%mm0, %%mm4\n" /* 1.1 | 1.0 */ ++" punpckhdq %%mm4, %%mm4\n" /* 1.1 | 1.1 */ ++" punpckldq %%mm1, %%mm4\n" /* 1.2 | 1.1 */ + +- movq %%mm2, %%mm5 /* 2.1 | 2.0 */ +- punpckhdq %%mm2, %%mm5 /* 2.1 | 2.1 */ +- punpckldq %%mm3, %%mm5 /* 2.2 | 2.1 */ ++" movq %%mm2, %%mm5\n" /* 2.1 | 2.0 */ ++" punpckhdq %%mm2, %%mm5\n" /* 2.1 | 2.1 */ ++" punpckldq %%mm3, %%mm5\n" /* 2.2 | 2.1 */ + +- pfmul %%mm2, %%mm4 /* 1.2 * 2.1 | 2.0 * 1.1 */ +- pfmul %%mm0, %%mm5 /* 1.1 * 2.2 | 1.0 * 2.1 */ ++" pfmul %%mm2, %%mm4\n" /* 1.2 * 2.1 | 2.0 * 1.1 */ ++" pfmul %%mm0, %%mm5\n" /* 1.1 * 2.2 | 1.0 * 2.1 */ + +- pfmul %%mm0, %%mm3 /* - | 1.0 * 2.2 */ +- pfmul %%mm2, %%mm1 /* - | 2.0 * 1.2 */ ++" pfmul %%mm0, %%mm3\n" /* - | 1.0 * 2.2 */ ++" pfmul %%mm2, %%mm1\n" /* - | 2.0 * 1.2 */ + +- pfsub %%mm4, %%mm5 /* 0 | 2 */ +- pfsub %%mm3, %%mm1 /* - | 1 */ ++" pfsub %%mm4, %%mm5\n" /* 0 | 2 */ ++" pfsub %%mm3, %%mm1\n" /* - | 1 */ + +- movq %%mm5, %%mm6 /* 0 | 2 */ +- punpckldq %%mm1, %%mm1 /* 1 | 1 */ +- punpckhdq %%mm1, %%mm6 /* 1 | 0 */ ++" movq %%mm5, %%mm6\n" /* 0 | 2 */ ++" punpckldq %%mm1, %%mm1\n" /* 1 | 1 */ ++" punpckhdq %%mm1, %%mm6\n" /* 1 | 0 */ + +- movq %%mm6, (%2) /* 1 | 0 */ +- movq %%mm5, 8(%2) /* - | 2 */ ++" movq %%mm6, (%2)\n" /* 1 | 0 */ ++" movq %%mm5, 8(%2)\n" /* - | 2 */ + +- femms +- " ++" femms\n" ++ + : + : "a" (vec1), "b" (vec2), "d" (v) + ); +@@ -233,24 +233,24 @@ + #ifdef USE_SSE + if (cpuid & FLAG_SSE) { + __asm__ ( +- " +- movups (%0), %%xmm0 /* 1.0 | 1.1 | 1.2 | - */ +- movups (%1), %%xmm1 /* 2.0 | 2.1 | 2.2 | - */ ++ ++" movups (%0), %%xmm0\n" /* 1.0 | 1.1 | 1.2 | - */ ++" movups (%1), %%xmm1\n" /* 2.0 | 2.1 | 2.2 | - */ + +- movups %%xmm0, %%xmm2 /* 1.0 | 1.1 | 1.2 | - */ +- shufps $201, %%xmm2, %%xmm2 /* 1.1 | 1.2 | 1.0 | - */ +- movups %%xmm1, %%xmm3 /* 2.0 | 2.1 | 2.2 | - */ +- shufps $201, %%xmm3, %%xmm3 /* 2.1 | 2.2 | 2.0 | - */ ++" movups %%xmm0, %%xmm2\n" /* 1.0 | 1.1 | 1.2 | - */ ++" shufps $201, %%xmm2, %%xmm2\n" /* 1.1 | 1.2 | 1.0 | - */ ++" movups %%xmm1, %%xmm3\n" /* 2.0 | 2.1 | 2.2 | - */ ++" shufps $201, %%xmm3, %%xmm3\n" /* 2.1 | 2.2 | 2.0 | - */ + +- mulps %%xmm1, %%xmm2 /* 1.1 * 2.0 | 1.2 * 2.1 | 1.0 * 2.2 | - */ +- mulps %%xmm0, %%xmm3 /* 2.1 * 1.0 | 2.2 * 1.1 | 2.0 * 1.2 | - */ ++" mulps %%xmm1, %%xmm2\n" /* 1.1 * 2.0 | 1.2 * 2.1 | 1.0 * 2.2 | - */ ++" mulps %%xmm0, %%xmm3\n" /* 2.1 * 1.0 | 2.2 * 1.1 | 2.0 * 1.2 | - */ + +- subps %%xmm2, %%xmm3 /* 2 | 0 | 1 | - */ ++" subps %%xmm2, %%xmm3\n" /* 2 | 0 | 1 | - */ + +- shufps $201, %%xmm3, %%xmm3 /* 0 | 1 | 2 | - */ ++" shufps $201, %%xmm3, %%xmm3\n" /* 0 | 1 | 2 | - */ + +- movups %%xmm3, (%2) /* 0 | 1 | 2 | - */ +- " ++" movups %%xmm3, (%2)\n" /* 0 | 1 | 2 | - */ ++ + : + : "a" (vec1), "c" (vec2), "d" (v) + ); diff --git a/x11-misc/rss-glx/files/rss-glx-0.7.4-kdedesktop.patch b/x11-misc/rss-glx/files/rss-glx-0.7.4-kdedesktop.patch new file mode 100644 index 000000000000..d8f082eca346 --- /dev/null +++ b/x11-misc/rss-glx/files/rss-glx-0.7.4-kdedesktop.patch @@ -0,0 +1,11 @@ +--- rss_glx-0.7.4/reallyslick/cpp_src/Makefile.in 2003-06-02 15:38:07.000000000 +0100 ++++ rss_glx-0.7.4/reallyslick/cpp_src/Makefile.in 2003-06-02 15:38:34.000000000 +0100 +@@ -139,7 +139,7 @@ + + @INSTALL_XSCREENSAVER_CONFIG_FILES_TRUE@dist_config_DATA = cyclone.xml fieldlines.xml flocks.xml flux.xml helios.xml plasma.xml skyrocket.xml solarwinds.xml + +-@INSTALL_XSCREENSAVER_CONFIG_FILES_TRUE@dist_kdessconfig_DATA = cyclone.desktop fieldlines.desktop flocks.desktop flux.desktop helios.desktop plasma.desktop skyrocket.desktop solarwinds.desktop ++@INSTALL_KDE_CONFIG_FILES_TRUE@dist_kdessconfig_DATA = cyclone.desktop fieldlines.desktop flocks.desktop flux.desktop helios.desktop plasma.desktop skyrocket.desktop solarwinds.desktop + + man_MANS = cyclone.1 fieldlines.1 flocks.1 flux.1 helios.1 plasma.1 skyrocket.1 solarwinds.1 + diff --git a/x11-misc/rss-glx/rss-glx-0.7.4-r1.ebuild b/x11-misc/rss-glx/rss-glx-0.7.4-r1.ebuild new file mode 100644 index 000000000000..4b5eac1d0829 --- /dev/null +++ b/x11-misc/rss-glx/rss-glx-0.7.4-r1.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/rss-glx/rss-glx-0.7.4-r1.ebuild,v 1.1 2003/06/04 14:11:20 liquidx Exp $ + +use kde && inherit kde + +MY_P=${PN/-/_}-${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="Really Slick Screensavers using OpenGL for XScreenSaver" +HOMEPAGE="http://rss-glx.sourceforge.net/" +SRC_URI="mirror://sourceforge/rss-glx/${MY_P}.tar.bz2" + +IUSE="kde sse 3dnow" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc" + +DEPEND="virtual/x11 + virtual/opengl + kde? ( kde-base/kdeartwork ) : ( x11-misc/xscreensaver )" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-kdedesktop.patch + epatch ${FILESDIR}/${P}-gcc33.patch +} + +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 \ + `use_enable sse` \ + `use_enable 3dnow` \ + ${myconf} || die + + emake || die +} + +src_install() { + make DESTDIR=${D} install || die "install failed" + dodoc COPYING INSTALL README README.xscreensaver +} + +pkg_postinst() { + if [ -f ${ROOT}/usr/X11R6/lib/X11/app-defaults/XScreenSaver ]; then + einfo "Adding Really Slick Screensavers to XScreenSaver" + + sed -i '/*programs:/a\ + GL: \"Cyclone\" cyclone --root \\n\\\ + GL: \"Euphoria\" euphoria --root \\n\\\ + GL: \"Fieldlines\" fieldlines --root \\n\\\ + GL: \"Flocks\" flocks --root \\n\\\ + GL: \"Flux\" flux --root \\n\\\ + GL: \"Helios\" helios --root \\n\\\ + GL: \"Lattice\" lattice --root \\n\\\ + GL: \"Plasma\" plasma --root \\n\\\ + GL: \"Skyrocket\" skyrocket --root \\n\\\ + GL: \"Solarwinds\" solarwinds --root \\n\\\ + GL: \"Colorfire\" colorfire --root \\n\\\ + GL: \"Hufos Smoke\" hufo_smoke --root \\n\\\ + GL: \"Hufos Tunnel\" hufo_tunnel --root \\n\\\ + GL: \"Sundancer2\" sundancer2 --root \\n\\\ + GL: \"BioF\" biof --root \\n\\\ + GL: \"BusySpheres\" busyspheres --root \\n\\' \ + ${ROOT}/usr/X11R6/lib/X11/app-defaults/XScreenSaver + + 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() { + if [ -f ${ROOT}/usr/X11R6/lib/X11/app-defaults/XScreenSaver ]; then + einfo "Removing Really Slick Screensavers from XScreenSaver configuration." + sed -e '/\"Cyclone\" cyclone/d' \ + -e '/\"Euphoria\" euphoria/d' \ + -e '/\"Fieldlines\" fieldlines/d' \ + -e '/\"Flocks\" flocks/d' \ + -e '/\"Flux\" flux/d' \ + -e '/\"Helios\" helios/d' \ + -e '/\"Lattice\" lattice/d' \ + -e '/\"Plasma\" plasma/d' \ + -e '/\"Skyrocket\" skyrocket/d' \ + -e '/\"Solarwinds\" solarwinds/d' \ + -e '/\"Colorfire\" colorfire/d' \ + -e '/\"Hufos Smoke\" hufo_smoke/d' \ + -e '/\"Hufos Tunnel\" hufo_tunnel/d' \ + -e '/\"Sundancer2\" sundancer2/d' \ + -e '/\"BioF\" biof/d' \ + -e '/\"BusySpheres\" busyspheres/d' -i \ + ${ROOT}/usr/X11R6/lib/X11/app-defaults/XScreenSaver + fi +} + |