summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2007-12-30 20:06:22 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2007-12-30 20:06:22 +0000
commit1b82dd7d3fddb11709b24a173c7086f193511209 (patch)
tree3b4247419a86dcdf72fa6e5dd6ce6490edd7da6b /x11-misc
parentVersion bump. Use global use flag for setuid screensavers. Use up to date .de... (diff)
downloadhistorical-1b82dd7d3fddb11709b24a173c7086f193511209.tar.gz
historical-1b82dd7d3fddb11709b24a173c7086f193511209.tar.bz2
historical-1b82dd7d3fddb11709b24a173c7086f193511209.zip
Update patch. Sort ebuild.
Package-Manager: portage-2.1.4_rc11
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/xscreensaver/ChangeLog6
-rw-r--r--x11-misc/xscreensaver/Manifest20
-rw-r--r--x11-misc/xscreensaver/files/xscreensaver-5.04-gentoo.patch140
-rw-r--r--x11-misc/xscreensaver/xscreensaver-5.04.ebuild23
4 files changed, 169 insertions, 20 deletions
diff --git a/x11-misc/xscreensaver/ChangeLog b/x11-misc/xscreensaver/ChangeLog
index 080f56310d0d..aa524b1ecdea 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.205 2007/12/30 19:39:31 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v 1.206 2007/12/30 20:06:21 drac Exp $
+
+ 30 Dec 2007; Samuli Suominen <drac@gentoo.org>
+ +files/xscreensaver-5.04-gentoo.patch, xscreensaver-5.04.ebuild:
+ Update patch. Sort ebuild.
*xscreensaver-5.04 (30 Dec 2007)
diff --git a/x11-misc/xscreensaver/Manifest b/x11-misc/xscreensaver/Manifest
index ec4bdfb132fe..16f04140a856 100644
--- a/x11-misc/xscreensaver/Manifest
+++ b/x11-misc/xscreensaver/Manifest
@@ -14,6 +14,10 @@ AUX xscreensaver-5.04-desktop-entry.patch 636 RMD160 b784667858307267ef146d35361
MD5 1aeb373d5be04735f27203a2aa5b34d1 files/xscreensaver-5.04-desktop-entry.patch 636
RMD160 b784667858307267ef146d353616897277f1ee84 files/xscreensaver-5.04-desktop-entry.patch 636
SHA256 85e23a898aced1f7497f71fed00d7556be7378ff5e755655b5ead3c15d7d8743 files/xscreensaver-5.04-desktop-entry.patch 636
+AUX xscreensaver-5.04-gentoo.patch 4806 RMD160 abc9b3e218d4a8a5618d1ab04d00a21d4633c847 SHA1 56ae0cd141d9ac0667974d4b6f9162e80f2f87e3 SHA256 fdf5396983d5905b1d6d3eefdd6eed981abc2567d6bae58141516a75ab708a08
+MD5 3c776efd9bfc6fbf34726c58411cb551 files/xscreensaver-5.04-gentoo.patch 4806
+RMD160 abc9b3e218d4a8a5618d1ab04d00a21d4633c847 files/xscreensaver-5.04-gentoo.patch 4806
+SHA256 fdf5396983d5905b1d6d3eefdd6eed981abc2567d6bae58141516a75ab708a08 files/xscreensaver-5.04-gentoo.patch 4806
AUX xscreensaver-5.04-nsfw.patch 7068 RMD160 c03aaa7bc15d1813db382318cb017e8c33e98d99 SHA1 7239231e337540c2c99802951bf6e681e2c68297 SHA256 01a8a4495175c56888a0648a898475fde9ea67d1887ecb78624e57cf1def38fb
MD5 3c1ec7cf5084e4f4c0114c6484a80d8d files/xscreensaver-5.04-nsfw.patch 7068
RMD160 c03aaa7bc15d1813db382318cb017e8c33e98d99 files/xscreensaver-5.04-nsfw.patch 7068
@@ -24,14 +28,14 @@ EBUILD xscreensaver-5.03.ebuild 4475 RMD160 72bfbe6fd349d3d35af9ce7d1501dff553a5
MD5 1f7365b42242eefaba3aa81b4d26f2c1 xscreensaver-5.03.ebuild 4475
RMD160 72bfbe6fd349d3d35af9ce7d1501dff553a56187 xscreensaver-5.03.ebuild 4475
SHA256 f7279fa3d14a512710a653bcdabc27258eeaff267b3cf2d1f8916e0e6b0c91dd xscreensaver-5.03.ebuild 4475
-EBUILD xscreensaver-5.04.ebuild 3274 RMD160 7d54cdf1afcbad4555c1c29c950e5fab02778da1 SHA1 0fc565f2a1eb84d22fa9cfebcdbe05651e79ea0c SHA256 fcfe50d512f004fb3093725a980163091a8f3d04bebd65ff4ac2e4b762c8099e
-MD5 16e2106a058c61d50becd4716e823463 xscreensaver-5.04.ebuild 3274
-RMD160 7d54cdf1afcbad4555c1c29c950e5fab02778da1 xscreensaver-5.04.ebuild 3274
-SHA256 fcfe50d512f004fb3093725a980163091a8f3d04bebd65ff4ac2e4b762c8099e xscreensaver-5.04.ebuild 3274
-MISC ChangeLog 33863 RMD160 fcccf5956b32c5fd3f22d55fea36d4ca7a216227 SHA1 aa8dee0a8ba35f17c24ba9b2d00bb40bb031f5bb SHA256 7ea847f4b874a793d85fe299f41f430a8925dab9f9831afada4fbf14ac6cd011
-MD5 f113e496e7962cf52c89e0ba1b769a52 ChangeLog 33863
-RMD160 fcccf5956b32c5fd3f22d55fea36d4ca7a216227 ChangeLog 33863
-SHA256 7ea847f4b874a793d85fe299f41f430a8925dab9f9831afada4fbf14ac6cd011 ChangeLog 33863
+EBUILD xscreensaver-5.04.ebuild 3287 RMD160 8f88d44edf3b24e926b3eaac4b0395a1b7817683 SHA1 97ae7726206a5bfa8b59cd35e36c15f93be441fb SHA256 8cfac3489cd847d273d2fa26300311ca73e8de178fb9f6731ab293392f474f37
+MD5 43c0161ccface50cb25b81bde83f4331 xscreensaver-5.04.ebuild 3287
+RMD160 8f88d44edf3b24e926b3eaac4b0395a1b7817683 xscreensaver-5.04.ebuild 3287
+SHA256 8cfac3489cd847d273d2fa26300311ca73e8de178fb9f6731ab293392f474f37 xscreensaver-5.04.ebuild 3287
+MISC ChangeLog 34009 RMD160 af210a351376758fc2be0235e4901e5474afd0db SHA1 82c22f83bced5942406f63acfd72555d9cd0274f SHA256 23e19921b9ba62b2dfdfc9240be5c33d9bebaada5ec4d7ec822b1fd3fb2fd4b6
+MD5 59307ca61f5feb7153046e70d0ec89af ChangeLog 34009
+RMD160 af210a351376758fc2be0235e4901e5474afd0db ChangeLog 34009
+SHA256 23e19921b9ba62b2dfdfc9240be5c33d9bebaada5ec4d7ec822b1fd3fb2fd4b6 ChangeLog 34009
MISC metadata.xml 387 RMD160 c34d8cf1f88cf45e7d0b6503f403ab8b8db11b20 SHA1 debca11d5df5829ba86249140fdb4f4a42d3103c SHA256 5ae2b87a5da10d0ec7099d2f48602c4d9c09e0247c0ff85856cf4b944d761360
MD5 44efda022b0c02da6c8b2096905feae9 metadata.xml 387
RMD160 c34d8cf1f88cf45e7d0b6503f403ab8b8db11b20 metadata.xml 387
diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.04-gentoo.patch b/x11-misc/xscreensaver/files/xscreensaver-5.04-gentoo.patch
new file mode 100644
index 000000000000..c136e95dcd5b
--- /dev/null
+++ b/x11-misc/xscreensaver/files/xscreensaver-5.04-gentoo.patch
@@ -0,0 +1,140 @@
+diff -ur xscreensaver-5.04.orig/configure.in xscreensaver-5.04/configure.in
+--- xscreensaver-5.04.orig/configure.in 2007-11-11 03:00:31.000000000 +0200
++++ xscreensaver-5.04/configure.in 2007-12-30 21:46:13.000000000 +0200
+@@ -4145,41 +4145,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 -ur xscreensaver-5.04.orig/driver/XScreenSaver.ad.in xscreensaver-5.04/driver/XScreenSaver.ad.in
+--- xscreensaver-5.04.orig/driver/XScreenSaver.ad.in 2007-11-13 10:36:00.000000000 +0200
++++ xscreensaver-5.04/driver/XScreenSaver.ad.in 2007-12-30 21:46:13.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 -ur xscreensaver-5.04.orig/driver/xscreensaver.c xscreensaver-5.04/driver/xscreensaver.c
+--- xscreensaver-5.04.orig/driver/xscreensaver.c 2007-11-11 23:11:59.000000000 +0200
++++ xscreensaver-5.04/driver/xscreensaver.c 2007-12-30 21:46:13.000000000 +0200
+@@ -1644,10 +1644,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 -ur xscreensaver-5.04.orig/hacks/webcollage xscreensaver-5.04/hacks/webcollage
+--- xscreensaver-5.04.orig/hacks/webcollage 2007-11-08 05:05:23.000000000 +0200
++++ xscreensaver-5.04/hacks/webcollage 2007-12-30 21:46:13.000000000 +0200
+@@ -860,7 +860,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/xscreensaver-5.04.ebuild b/x11-misc/xscreensaver/xscreensaver-5.04.ebuild
index 5264f063c7e0..5d1e41f3e994 100644
--- a/x11-misc/xscreensaver/xscreensaver-5.04.ebuild
+++ b/x11-misc/xscreensaver/xscreensaver-5.04.ebuild
@@ -1,8 +1,8 @@
# 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.04.ebuild,v 1.1 2007/12/30 19:39:31 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/xscreensaver-5.04.ebuild,v 1.2 2007/12/30 20:06:21 drac Exp $
-inherit eutils flag-o-matic pam fixheadtails autotools
+inherit autotools eutils fixheadtails flag-o-matic pam
DESCRIPTION="A modular screen saver and locker for the X Window System"
SRC_URI="http://www.jwz.org/xscreensaver/${P}.tar.gz"
@@ -43,27 +43,28 @@ src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/${PN}-5.02-gentoo.patch
+ # Gentoo specific hacks and settings.
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ use offensive || epatch "${FILESDIR}"/${P}-nsfw.patch
- # Update spec. using desktop-file-validate.
+ # TODO. Get this fixed upstream.
epatch "${FILESDIR}"/${P}-desktop-entry.patch
- # disable offensive screensavers.
- use offensive || epatch "${FILESDIR}"/${P}-nsfw.patch
-
eautoreconf
- # change head and tail calls to POSIX ones.
+ # TODO. Get this fixed upstream.
ht_fix_all
}
src_compile() {
- # simple workaround for the flurry screensaver
+ # Simple workaround for the flurry screensaver.
+ # TODO. Figure out if this is still needed?
filter-flags -mabi=altivec
filter-flags -maltivec
append-flags -U__VEC__
unset BC_ENV_ARGS
+
econf \
--with-x-app-defaults=/usr/share/X11/app-defaults \
--with-hackdir=/usr/lib/misc/xscreensaver \
@@ -88,7 +89,7 @@ src_compile() {
$(use_with opengl gl) \
$(use_with jpeg)
- # Fix bug 155049.
+ # Bug 155049.
emake -j1 || die "emake failed."
}
@@ -100,7 +101,7 @@ src_install() {
use pam && fperms 755 /usr/bin/xscreensaver
pamd_mimic_system xscreensaver auth
- # Fix bug #135549.
+ # Bug 135549.
rm -f "${D}"/usr/share/xscreensaver/config/electricsheep.xml
rm -f "${D}"/usr/share/xscreensaver/config/fireflies.xml
dodir /usr/share/man/man6x