summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-05-01 18:41:16 +0000
committerSamuli Suominen <drac@gentoo.org>2007-05-01 18:41:16 +0000
commit5cdd02e743fb58f17c7d2c5bdf322235c662adc2 (patch)
tree04a128430257ee48a4fbddbbc991610759f304d8 /x11-misc
parentInitial commit of saaj. (diff)
downloadgentoo-2-5cdd02e743fb58f17c7d2c5bdf322235c662adc2.tar.gz
gentoo-2-5cdd02e743fb58f17c7d2c5bdf322235c662adc2.tar.bz2
gentoo-2-5cdd02e743fb58f17c7d2c5bdf322235c662adc2.zip
Fix USE="offensive" patch.
(Portage version: 2.1.2.5)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/xscreensaver/ChangeLog6
-rw-r--r--x11-misc/xscreensaver/files/xscreensaver-5.02-nsfw.patch158
-rw-r--r--x11-misc/xscreensaver/xscreensaver-5.02.ebuild4
3 files changed, 165 insertions, 3 deletions
diff --git a/x11-misc/xscreensaver/ChangeLog b/x11-misc/xscreensaver/ChangeLog
index 3ed237048995..883d1979f488 100644
--- a/x11-misc/xscreensaver/ChangeLog
+++ b/x11-misc/xscreensaver/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-misc/xscreensaver
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v 1.171 2007/05/01 14:10:59 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v 1.172 2007/05/01 18:41:16 drac Exp $
+
+ 01 May 2007; Samuli Suominen <drac@gentoo.org>
+ +files/xscreensaver-5.02-nsfw.patch, xscreensaver-5.02.ebuild:
+ Fix USE="offensive" patch.
*xscreensaver-5.02 (01 May 2007)
diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.02-nsfw.patch b/x11-misc/xscreensaver/files/xscreensaver-5.02-nsfw.patch
new file mode 100644
index 000000000000..ac7a1cf2b9aa
--- /dev/null
+++ b/x11-misc/xscreensaver/files/xscreensaver-5.02-nsfw.patch
@@ -0,0 +1,158 @@
+diff -ur xscreensaver-5.02.orig/driver/XScreenSaver.ad.in xscreensaver-5.02/driver/XScreenSaver.ad.in
+--- xscreensaver-5.02.orig/driver/XScreenSaver.ad.in 2007-04-21 06:33:17.000000000 +0300
++++ xscreensaver-5.02/driver/XScreenSaver.ad.in 2007-05-01 21:36:47.000000000 +0300
+@@ -302,10 +302,6 @@
+ fiberlamp -root \n\
+ boxfit -root \n\
+ celtic -root \n\
+-- default-n: webcollage -root \n\
+-- default-n: "WebCollage (whacked)" \
+- webcollage -root -filter \
+- 'vidwhacker -stdin -stdout' \n\
+ - default-n: vidwhacker -root \n\
+ \
+ @GL_KLUDGE@ GL: gears -root \n\
+@@ -488,7 +484,6 @@
+ *hacks.xanalogtv.name: XAnalogTV
+ *hacks.xspirograph.name: XSpiroGraph
+ *hacks.nerverot.name: NerveRot
+-*hacks.webcollage.name: WebCollage
+ *hacks.vidwhacker.name: VidWhacker
+ *hacks.morph3d.name: Morph3D
+ *hacks.bubble3d.name: Bubble3D
+diff -ur xscreensaver-5.02.orig/hacks/glx/glsnake.c xscreensaver-5.02/hacks/glx/glsnake.c
+--- xscreensaver-5.02.orig/hacks/glx/glsnake.c 2006-05-03 22:39:21.000000000 +0300
++++ xscreensaver-5.02/hacks/glx/glsnake.c 2007-05-01 21:35:04.000000000 +0300
+@@ -565,21 +565,6 @@
+ ZERO, PIN, ZERO, ZERO, ZERO, ZERO, PIN, ZERO, ZERO, ZERO, ZERO,
+ ZERO, PIN, ZERO }
+ },
+- { "erect penis", /* thanks benno */
+- { PIN, ZERO, PIN, PIN, ZERO, ZERO, PIN, ZERO, ZERO, ZERO, PIN,
+- PIN, ZERO, ZERO, ZERO, RIGHT, ZERO, ZERO, ZERO, ZERO, ZERO, ZERO,
+- ZERO, ZERO }
+- },
+- { "flaccid penis",
+- { PIN, ZERO, PIN, PIN, ZERO, ZERO, PIN, ZERO, ZERO, ZERO, PIN,
+- PIN, ZERO, ZERO, ZERO, RIGHT, PIN, ZERO, ZERO, ZERO, ZERO, ZERO,
+- ZERO, ZERO }
+- },
+- { "vagina",
+- { RIGHT, ZERO, ZERO, ZERO, RIGHT, ZERO, ZERO, PIN, ZERO, ZERO,
+- LEFT, ZERO, ZERO, ZERO, LEFT, ZERO, LEFT, PIN, LEFT, PIN, RIGHT,
+- PIN, RIGHT, ZERO }
+- },
+ { "mask",
+ { ZERO, RIGHT, LEFT, PIN, RIGHT, RIGHT, PIN, ZERO, ZERO, PIN,
+ ZERO, ZERO, PIN, ZERO, PIN, ZERO, PIN, ZERO, ZERO, PIN, ZERO,
+@@ -995,9 +980,6 @@
+ { "Parrot",
+ { ZERO, ZERO, ZERO, ZERO, RIGHT, RIGHT, ZERO, LEFT, PIN, RIGHT, ZERO, RIGHT, ZERO, RIGHT, ZERO, RIGHT, PIN, LEFT, ZERO, RIGHT, LEFT, ZERO, PIN, ZERO }
+ },
+- { "Penis",
+- { PIN, PIN, RIGHT, ZERO, PIN, PIN, ZERO, PIN, ZERO, ZERO, RIGHT, PIN, LEFT, ZERO, ZERO, PIN, ZERO, PIN, PIN, ZERO, LEFT, PIN, PIN, ZERO }
+- },
+ { "PictureComingSoon",
+ { LEFT, LEFT, ZERO, RIGHT, LEFT, PIN, RIGHT, RIGHT, PIN, RIGHT, LEFT, PIN, LEFT, RIGHT, PIN, RIGHT, RIGHT, PIN, RIGHT, LEFT, ZERO, RIGHT, RIGHT, ZERO }
+ },
+diff -ur xscreensaver-5.02.orig/hacks/Makefile.in xscreensaver-5.02/hacks/Makefile.in
+--- xscreensaver-5.02.orig/hacks/Makefile.in 2007-04-21 06:33:23.000000000 +0300
++++ xscreensaver-5.02/hacks/Makefile.in 2007-05-01 21:33:28.000000000 +0300
+@@ -102,7 +102,7 @@
+ blaster.c bumps.c ripples.c xspirograph.c \
+ nerverot.c xrayswarm.c hyperball.c zoom.c whirlwindwarp.c \
+ rotzoomer.c whirlygig.c speedmine.c vermiculate.c \
+- xpm-pixmap.c webcollage-helper.c twang.c apollonian.c \
++ xpm-pixmap.c twang.c apollonian.c \
+ euler2d.c juggle.c polyominoes.c thornbird.c fluidballs.c \
+ anemone.c halftone.c metaballs.c eruption.c popsquares.c \
+ barcode.c piecewise.c cloudlife.c fontglide.c apple2.c \
+@@ -110,9 +110,8 @@
+ mismunch.c pacman.c pacman_ai.c pacman_level.c \
+ fuzzyflakes.c anemotaxis.c memscroller.c substrate.c \
+ intermomentary.c fireworkx.c fireworkx_mmx.S fiberlamp.c \
+- boxfit.c interaggregate.c celtic.c webcollage-cocoa.m \
+- webcollage-helper-cocoa.m
+-SCRIPTS = vidwhacker webcollage ljlatest
++ boxfit.c interaggregate.c celtic.c
++SCRIPTS = vidwhacker ljlatest
+
+ # Programs that are mentioned in XScreenSaver.ad, and that have XML files,
+ # but that are not shipped with xscreensaver itself.
+@@ -140,7 +139,7 @@
+ blaster.o bumps.o ripples.o xspirograph.o \
+ nerverot.o xrayswarm.o hyperball.o zoom.o whirlwindwarp.o \
+ rotzoomer.o whirlygig.o speedmine.o vermiculate.o \
+- xpm-pixmap.o webcollage-helper.o twang.o apollonian.o \
++ xpm-pixmap.o twang.o apollonian.o \
+ euler2d.o juggle.o polyominoes.o thornbird.o fluidballs.o \
+ anemone.o halftone.o metaballs.o eruption.o popsquares.o \
+ barcode.o piecewise.o cloudlife.o fontglide.o apple2.o \
+@@ -148,8 +147,7 @@
+ mismunch.o pacman.o pacman_ai.o pacman_level.o \
+ fuzzyflakes.o anemotaxis.o memscroller.o substrate.o \
+ intermomentary.o fireworkx.o fiberlamp.o boxfit.o \
+- interaggregate.o celtic.o webcollage-cocoa.o \
+- webcollage-helper-cocoa.o
++ interaggregate.o celtic.o
+
+ NEXES = attraction blitspin bouboule braid bubbles decayscreen deco \
+ drift flag flame forest vines galaxy grav greynetic halo \
+@@ -173,7 +171,7 @@
+ celtic \
+ @JPEG_EXES@
+ SEXES = sonar
+-JPEG_EXES = webcollage-helper
++JPEG_EXES =
+ EXES = $(NEXES) $(SEXES)
+
+ HACK_OBJS_1 = $(UTILS_BIN)/resources.o $(UTILS_BIN)/visual.o \
+@@ -209,7 +207,7 @@
+ spotlight.man squiral.man starfish.man strange.man \
+ swirl.man t3d.man thornbird.man triangle.man truchet.man \
+ twang.man vermiculate.man vidwhacker.man vines.man \
+- wander.man webcollage.man whirlwindwarp.man whirlygig.man \
++ wander.man whirlwindwarp.man whirlygig.man \
+ worm.man xflame.man xjack.man xlyap.man xmatrix.man \
+ xrayswarm.man xspirograph.man xsublim.man \
+ zoom.man halftone.man eruption.man metaballs.man \
+@@ -978,10 +976,6 @@
+ xsublim: xsublim.o $(HACK_OBJS_1)
+ $(CC_HACK) -o $@ $@.o $(HACK_OBJS_1) $(HACK_LIBS)
+
+-webcollage-helper: webcollage-helper.o
+- $(CC_HACK) -o $@ $@.o $(XPM_LIBS) $(JPEG_LIBS)
+-
+-
+ ##############################################################################
+ #
+ # DO NOT DELETE: updated by make distdepend
+@@ -2476,17 +2470,6 @@
+ wander.o: $(UTILS_SRC)/usleep.h
+ wander.o: $(UTILS_SRC)/visual.h
+ wander.o: $(UTILS_SRC)/yarandom.h
+-webcollage-cocoa.o: ../config.h
+-webcollage-cocoa.o: $(srcdir)/screenhackI.h
+-webcollage-cocoa.o: $(srcdir)/screenhack.h
+-webcollage-cocoa.o: $(UTILS_SRC)/colors.h
+-webcollage-cocoa.o: $(UTILS_SRC)/grabscreen.h
+-webcollage-cocoa.o: $(UTILS_SRC)/hsv.h
+-webcollage-cocoa.o: $(UTILS_SRC)/resources.h
+-webcollage-cocoa.o: $(UTILS_SRC)/usleep.h
+-webcollage-cocoa.o: $(UTILS_SRC)/visual.h
+-webcollage-cocoa.o: $(UTILS_SRC)/yarandom.h
+-webcollage-helper.o: ../config.h
+ whirlwindwarp.o: ../config.h
+ whirlwindwarp.o: $(srcdir)/screenhackI.h
+ whirlwindwarp.o: $(srcdir)/screenhack.h
+diff -ur xscreensaver-5.02.orig/po/POTFILES.in xscreensaver-5.02/po/POTFILES.in
+--- xscreensaver-5.02.orig/po/POTFILES.in 2007-04-21 06:33:29.000000000 +0300
++++ xscreensaver-5.02/po/POTFILES.in 2007-05-01 21:35:33.000000000 +0300
+@@ -203,7 +203,6 @@
+ hacks/config/vidwhacker.xml
+ hacks/config/vines.xml
+ hacks/config/wander.xml
+-hacks/config/webcollage.xml
+ hacks/config/whirlwindwarp.xml
+ hacks/config/whirlygig.xml
+ hacks/config/worm.xml
diff --git a/x11-misc/xscreensaver/xscreensaver-5.02.ebuild b/x11-misc/xscreensaver/xscreensaver-5.02.ebuild
index 61f3cd7db96d..d233c9083584 100644
--- a/x11-misc/xscreensaver/xscreensaver-5.02.ebuild
+++ b/x11-misc/xscreensaver/xscreensaver-5.02.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/xscreensaver-5.02.ebuild,v 1.1 2007/05/01 14:10:59 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/xscreensaver-5.02.ebuild,v 1.2 2007/05/01 18:41:16 drac Exp $
inherit eutils flag-o-matic pam fixheadtails autotools
@@ -47,7 +47,7 @@ src_unpack() {
epatch "${FILESDIR}/${PN}-5.01-gentoo.patch"
# disable not-safe-for-work xscreensavers
- use offensive || epatch "${FILESDIR}/${PN}-5.01-nsfw.patch"
+ use offensive || epatch "${FILESDIR}/${P}-nsfw.patch"
# Fix bug #154444 - hypertorus hack:
epatch "${FILESDIR}/${PN}-5.01-hypertorus.xml.patch"