diff options
author | Alastair Tse <liquidx@gentoo.org> | 2004-07-24 06:28:11 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2004-07-24 06:28:11 +0000 |
commit | efb33b07e3039575394dc3529e162ee685f9e82d (patch) | |
tree | ffcc608b31ac539121df60eb60b2ac5a1ed59eec /x11-misc/xscreensaver | |
parent | add offensive useflag for xscreensaver (#46256) (diff) | |
download | gentoo-2-efb33b07e3039575394dc3529e162ee685f9e82d.tar.gz gentoo-2-efb33b07e3039575394dc3529e162ee685f9e82d.tar.bz2 gentoo-2-efb33b07e3039575394dc3529e162ee685f9e82d.zip |
implemented a nsfw (offensive) USE flag to allow users to explicitly enable questionable shapes in glsnakes (#46256)
Diffstat (limited to 'x11-misc/xscreensaver')
-rw-r--r-- | x11-misc/xscreensaver/ChangeLog | 9 | ||||
-rw-r--r-- | x11-misc/xscreensaver/files/xscreensaver-4.16-nsfw.patch | 38 | ||||
-rw-r--r-- | x11-misc/xscreensaver/xscreensaver-4.16.ebuild | 11 |
3 files changed, 52 insertions, 6 deletions
diff --git a/x11-misc/xscreensaver/ChangeLog b/x11-misc/xscreensaver/ChangeLog index 7f93229b9a85..471d634c51d0 100644 --- a/x11-misc/xscreensaver/ChangeLog +++ b/x11-misc/xscreensaver/ChangeLog @@ -1,6 +1,11 @@ -# ChangeLog for x11-misc/xscreensaver + ChangeLog for x11-misc/xscreensaver # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v 1.57 2004/07/24 05:43:09 liquidx Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v 1.58 2004/07/24 06:28:11 liquidx Exp $ + + 24 Jul 2004; Alastair Tse <liquidx@gentoo.org> + +files/xscreensaver-4.16-nsfw.patch, xscreensaver-4.16.ebuild: + implemented a "offensive" USE flag to allow users to explicitly + enable questionable shapes in glsnakes (#46256) *xscreensaver-4.16 (24 Jul 2004) diff --git a/x11-misc/xscreensaver/files/xscreensaver-4.16-nsfw.patch b/x11-misc/xscreensaver/files/xscreensaver-4.16-nsfw.patch new file mode 100644 index 000000000000..54b143f43ae9 --- /dev/null +++ b/x11-misc/xscreensaver/files/xscreensaver-4.16-nsfw.patch @@ -0,0 +1,38 @@ +*** hacks/glx/glsnake.c Sun Sep 28 02:33:57 2003 +--- hacks/glx/glsnakepatched.c Tue Mar 30 13:52:54 2004 +*************** +*** 559,579 **** + 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, +--- 559,564 ---- +*************** +*** 985,993 **** + { "Parrot", + { ZERO, ZERO, ZERO, ZERO, RIGHT, RIGHT, ZERO, LEFT, PIN, RIGHT, ZERO, RIGHT, ZERO, RIGHT, ZERO, RIGHT, PIN, LEFT, ZERO, RIGHT, LEFT, ZERO, PIN } + }, +- { "Penis", +- { PIN, PIN, RIGHT, ZERO, PIN, PIN, ZERO, PIN, ZERO, ZERO, RIGHT, PIN, LEFT, ZERO, ZERO, PIN, ZERO, PIN, PIN, ZERO, LEFT, PIN, PIN } +- }, + { "PictureCommingSoon", + { LEFT, LEFT, ZERO, RIGHT, LEFT, PIN, RIGHT, RIGHT, PIN, RIGHT, LEFT, PIN, LEFT, RIGHT, PIN, RIGHT, RIGHT, PIN, RIGHT, LEFT, ZERO, RIGHT, RIGHT } + }, +--- 970,975 ---- diff --git a/x11-misc/xscreensaver/xscreensaver-4.16.ebuild b/x11-misc/xscreensaver/xscreensaver-4.16.ebuild index 373bb1aacc84..ab1c97df9ba4 100644 --- a/x11-misc/xscreensaver/xscreensaver-4.16.ebuild +++ b/x11-misc/xscreensaver/xscreensaver-4.16.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/xscreensaver-4.16.ebuild,v 1.1 2004/07/24 05:43:09 liquidx Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/xscreensaver-4.16.ebuild,v 1.2 2004/07/24 06:28:11 liquidx Exp $ inherit eutils -IUSE="pam kerberos krb4 gtk gtk2 gnome opengl jpeg xinerama" +IUSE="pam kerberos krb4 gtk gtk2 gnome opengl jpeg xinerama offensive" DESCRIPTION="a modular screensaver for X11" SRC_URI="http://www.jwz.org/xscreensaver/${P}.tar.gz" @@ -73,12 +73,15 @@ pkg_setup() { src_unpack() { unpack ${A} + cd ${S} # disable rpm -q checking, otherwise it breaks sandbox if rpm is installed - EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${PN}-4.10-norpm.patch + epatch ${FILESDIR}/${PN}-4.10-norpm.patch # set default fortune to /usr/bin/fortune even if one can't be found - EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${PN}-4.14-fortune.patch + epatch ${FILESDIR}/${PN}-4.14-fortune.patch # disabled because it is out of date - liquidx (15/06/2004) # use icc && EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${PN}-4.14-icc.patch + # disable not-safe-for-work xscreensavers + use offensive || epatch ${FILESDIR}/${PN}-4.16-nsfw.patch } src_compile() { |