summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-02-19 21:01:50 +0000
committerSamuli Suominen <drac@gentoo.org>2007-02-19 21:01:50 +0000
commitceff2dcf4144b17c91ba8db336a04f1b337a8f50 (patch)
treefa52fa348649ea50cd87f066f960b19a7cf00da5 /x11-misc/xscreensaver
parentVersion bump, fixes bugs 167467 and 158404 (diff)
downloadgentoo-2-ceff2dcf4144b17c91ba8db336a04f1b337a8f50.tar.gz
gentoo-2-ceff2dcf4144b17c91ba8db336a04f1b337a8f50.tar.bz2
gentoo-2-ceff2dcf4144b17c91ba8db336a04f1b337a8f50.zip
Clean unused patches too.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'x11-misc/xscreensaver')
-rw-r--r--x11-misc/xscreensaver/files/xscreensaver-5.00-gentoo.patch157
-rw-r--r--x11-misc/xscreensaver/files/xscreensaver-5.00-get_float_resource.patch14
-rw-r--r--x11-misc/xscreensaver/files/xscreensaver-5.00-nsfw.patch146
3 files changed, 0 insertions, 317 deletions
diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.00-gentoo.patch b/x11-misc/xscreensaver/files/xscreensaver-5.00-gentoo.patch
deleted file mode 100644
index ace6b251d51f..000000000000
--- a/x11-misc/xscreensaver/files/xscreensaver-5.00-gentoo.patch
+++ /dev/null
@@ -1,157 +0,0 @@
-diff -Nru xscreensaver-5.00.vanilla/configure.in xscreensaver-5.00/configure.in
---- xscreensaver-5.00.vanilla/configure.in 2006-05-24 00:07:00.000000000 +0200
-+++ xscreensaver-5.00/configure.in 2006-06-04 11:35:01.000000000 +0200
-@@ -717,6 +717,8 @@
- # Look for the directory under a standard set of common directories.
- # Check X11 before X11Rn because it's often a symlink to the current release.
- for ac_dir in \
-+ /usr/lib/X11/app-defaults \
-+ \
- /usr/X11/lib/app-defaults \
- /usr/X11R6/lib/app-defaults \
- /usr/X11R6/lib/X11/app-defaults \
-@@ -747,7 +749,6 @@
- /usr/x386/lib/X11/app-defaults \
- /usr/XFree86/lib/X11/app-defaults \
- \
-- /usr/lib/X11/app-defaults \
- /usr/local/lib/X11/app-defaults \
- /usr/unsupported/lib/X11/app-defaults \
- /usr/athena/lib/X11/app-defaults \
-@@ -4054,41 +4055,7 @@
- # Now let's warn if there's a previous RPM version already installed.
- # But don't bother with this test if we are currently *building* an RPM.
-
--if test -z "$RPM_PACKAGE_VERSION" ; then
--
-- rpmnames="xscreensaver xscreensaver-base xscreensaver-extras"
--
-- # M4 sucks!!
-- changequote(X,Y)
-- rpmv=`(rpm -qv $rpmnames) 2>/dev/null | \
-- sed -n 's/^[-a-z]*-\([0-9][0-9]*[.][0-9][0-9a-z]*\)-.*$/\1/p' | \
-- head -1`
-- changequote([,])
--
-- if test \! -z "$rpmv" ; then
-- rpmbdir=`rpm -ql $rpmnames | sed -n 's@^\(.*\)/xscreensaver-demo$@\1@p'`
-- rpmhdir=`rpm -ql $rpmnames | sed -n 's@^\(.*\)/attraction$@\1@p'`
--
-- warning=no
-- warnL "There is already an installed RPM of xscreensaver $rpmv"
-- warn2 'on this system. You might want to remove it ("rpm -ve")'
-- warn2 'before running "make install" in this directory.'
-- echo ""
-- warn2 "Alternately, you could build this version of xscreensaver"
-- warn2 'as an RPM, and then install that. An "xscreensaver.spec"'
-- warn2 'file is included. Try "rpmbuild -v -ba xscreensaver.spec".'
-- warn2 "See the RPM documentation for more info."
-- echo ""
--
-- if test "$rpmbdir" = "$rpmhdir" ; then
-- warn2 "The RPM version was installed in $rpmbdir/."
-- do_dir_warning=yes
-- else
-- warn2 "The RPM version was installed in $rpmbdir/,"
-- warn2 "with demos in $rpmhdir/."
-- fi
-- fi
--fi
-+# Nope - breaks compilation with sandbox violation
-
- if test "${bindir}" = "${HACKDIR}" ; then
- do_dir_warning=yes
-diff -Nru xscreensaver-5.00.vanilla/driver/XScreenSaver.ad.in xscreensaver-5.00/driver/XScreenSaver.ad.in
---- xscreensaver-5.00.vanilla/driver/XScreenSaver.ad.in 2006-05-24 01:01:34.000000000 +0200
-+++ xscreensaver-5.00/driver/XScreenSaver.ad.in 2006-06-04 11:36:55.000000000 +0200
-@@ -31,36 +31,36 @@
- *mode: random
- *timeout: 0:10:00
- *cycle: 0:10:00
--*lockTimeout: 0:00:00
-+*lockTimeout: 0:20:00
- *passwdTimeout: 0:00:30
--*dpmsEnabled: False
--*dpmsStandby: 2:00:00
--*dpmsSuspend: 2:00:00
--*dpmsOff: 4:00:00
--*grabDesktopImages: True
-+*dpmsEnabled: True
-+*dpmsStandby: 1:00:00
-+*dpmsSuspend: 1:00:00
-+*dpmsOff: 2:00:00
-+*grabDesktopImages: False
- *grabVideoFrames: False
- *chooseRandomImages: @DEFAULT_IMAGES_P@
- *imageDirectory: @DEFAULT_IMAGE_DIRECTORY@
- *nice: 10
- *memoryLimit: 0
--*lock: False
-+*lock: True
- *verbose: False
- *timestamp: True
- *fade: True
- *unfade: False
- *fadeSeconds: 0:00:03
- *fadeTicks: 20
--*splash: True
-+*splash: False
- *splashDuration: 0:00:05
- *visualID: default
- *captureStderr: True
- *ignoreUninstalledPrograms: False
-
--*textMode: file
--*textLiteral: XScreenSaver
--*textFile: @DEFAULT_TEXT_FILE@
--*textProgram: fortune
--*textURL: http://www.livejournal.com/stats/latest-rss.bml
-+*textMode: literal
-+*textLiteral: Gentoo Linux
-+*textFile: /etc/gentoo-release
-+*textProgram: /usr/bin/fortune
-+*textURL: http://planet.gentoo.org/rss20.xml
-
- *overlayTextForeground: #FFFF00
- *overlayTextBackground: #000000
-@@ -117,7 +117,10 @@
-
- ! The format used for printing the date and time in the password dialog box
- ! (see the strftime(3) manual page for details.)
--*dateFormat: %d-%b-%y (%a); %I:%M %p
-+! Preferred time representation for the current locale
-+*dateFormat: %x %X
-+! Xscreensaver's default
-+! *dateFormat: %d-%b-%y (%a); %I:%M %p
- ! To show the time only:
- ! *dateFormat: %I:%M %p
- ! For 24 hour time:
-diff -Nru xscreensaver-5.00.vanilla/driver/xscreensaver.c xscreensaver-5.00/driver/xscreensaver.c
---- xscreensaver-5.00.vanilla/driver/xscreensaver.c 2006-05-18 01:35:54.000000000 +0200
-+++ xscreensaver-5.00/driver/xscreensaver.c 2006-06-04 11:37:16.000000000 +0200
-@@ -1626,10 +1626,12 @@
- if (hint.res_class) XFree (hint.res_class);
- }
-
-+ /*
- fprintf (stderr, "%s: %d: unrecognised ClientMessage \"%s\" received\n",
- blurb(), screen, (str ? str : "(null)"));
- fprintf (stderr, "%s: %d: for window 0x%lx (%s)\n",
- blurb(), screen, (unsigned long) w, wdesc);
-+ */
- if (str) XFree (str);
- }
-
-diff -Nru xscreensaver-5.00.vanilla/hacks/webcollage xscreensaver-5.00/hacks/webcollage
---- xscreensaver-5.00.vanilla/hacks/webcollage 2006-05-18 01:58:51.000000000 +0200
-+++ xscreensaver-5.00/hacks/webcollage 2006-06-04 11:37:18.000000000 +0200
-@@ -845,7 +845,8 @@
-
-
- sub pick_dictionary() {
-- my @dicts = ("/usr/dict/words",
-+ my @dicts = ("/usr/share/dict/cracklib-small",
-+ "/usr/dict/words",
- "/usr/share/dict/words",
- "/usr/share/lib/dict/words");
- foreach my $f (@dicts) {
diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.00-get_float_resource.patch b/x11-misc/xscreensaver/files/xscreensaver-5.00-get_float_resource.patch
deleted file mode 100644
index 2eb5958612f1..000000000000
--- a/x11-misc/xscreensaver/files/xscreensaver-5.00-get_float_resource.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- utils/resources.c.orig 2006-08-12 14:39:01.000000000 +0200
-+++ utils/resources.c 2006-08-12 14:39:47.000000000 +0200
-@@ -123,9 +123,9 @@
- get_float_resource (Display *dpy, char *res_name, char *res_class)
- {
- double val;
-- char c, *s = get_string_resource (dpy, res_name, res_class);
-+ char *s = get_string_resource (dpy, res_name, res_class);
- if (! s) return 0.0;
-- if (1 == sscanf (s, " %lf %c", &val, &c))
-+ if (1 == sscanf (s, " %lf", &val))
- {
- free (s);
- return val;
diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.00-nsfw.patch b/x11-misc/xscreensaver/files/xscreensaver-5.00-nsfw.patch
deleted file mode 100644
index 0d1d810dba46..000000000000
--- a/x11-misc/xscreensaver/files/xscreensaver-5.00-nsfw.patch
+++ /dev/null
@@ -1,146 +0,0 @@
-diff -Nru xscreensaver-5.00.vanilla/driver/XScreenSaver.ad.in xscreensaver-5.00/driver/XScreenSaver.ad.in
---- xscreensaver-5.00.vanilla/driver/XScreenSaver.ad.in 2006-05-24 01:01:34.000000000 +0200
-+++ xscreensaver-5.00/driver/XScreenSaver.ad.in 2006-06-04 11:39:04.000000000 +0200
-@@ -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 -Nru xscreensaver-5.00.vanilla/driver/XScreenSaver_ad.h xscreensaver-5.00/driver/XScreenSaver_ad.h
---- xscreensaver-5.00.vanilla/driver/XScreenSaver_ad.h 2006-05-24 01:01:34.000000000 +0200
-+++ xscreensaver-5.00/driver/XScreenSaver_ad.h 2006-06-04 11:39:04.000000000 +0200
-@@ -203,10 +203,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: gears -root \\n\
-@@ -359,7 +355,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 -Nru xscreensaver-5.00.vanilla/hacks/Makefile.in xscreensaver-5.00/hacks/Makefile.in
---- xscreensaver-5.00.vanilla/hacks/Makefile.in 2006-05-24 01:01:36.000000000 +0200
-+++ xscreensaver-5.00/hacks/Makefile.in 2006-06-04 11:39:04.000000000 +0200
-@@ -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 \
-@@ -111,7 +111,7 @@
- fuzzyflakes.c anemotaxis.c memscroller.c substrate.c \
- intermomentary.c fireworkx.c fireworkx_mmx.S fiberlamp.c \
- boxfit.c interaggregate.c celtic.c
--SCRIPTS = vidwhacker webcollage ljlatest
-+SCRIPTS = vidwhacker ljlatest
-
- # Programs that are mentioned in XScreenSaver.ad, and that have XML files,
- # but that are not shipped with xscreensaver itself.
-@@ -139,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 \
-@@ -171,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 \
-@@ -208,7 +208,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 \
-@@ -1520,7 +1520,6 @@
- wander.o: ../config.h
- wander.o: $(srcdir)/screenhackI.h
- wander.o: $(srcdir)/screenhack.h
--webcollage-helper.o: ../config.h
- whirlwindwarp.o: ../config.h
- whirlwindwarp.o: $(srcdir)/screenhackI.h
- whirlwindwarp.o: $(srcdir)/screenhack.h
-diff -Nru xscreensaver-5.00.vanilla/hacks/glx/glsnake.c xscreensaver-5.00/hacks/glx/glsnake.c
---- xscreensaver-5.00.vanilla/hacks/glx/glsnake.c 2006-05-03 21:39:21.000000000 +0200
-+++ xscreensaver-5.00/hacks/glx/glsnake.c 2006-06-04 11:40:30.000000000 +0200
-@@ -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 -Nru xscreensaver-5.00.vanilla/po/POTFILES.in xscreensaver-5.00/po/POTFILES.in
---- xscreensaver-5.00.vanilla/po/POTFILES.in 2006-05-24 01:01:41.000000000 +0200
-+++ xscreensaver-5.00/po/POTFILES.in 2006-06-04 11:39:04.000000000 +0200
-@@ -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