Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/xscreensaver: xscreensaver-5.08-r1.ebuild ChangeLog
Date: Thu, 30 Apr 2009 14:12:51
Message-Id: E1LzX0F-0005Ce-NN@stork.gentoo.org
1 ssuominen 09/04/30 14:12:43
2
3 Modified: ChangeLog
4 Added: xscreensaver-5.08-r1.ebuild
5 Log:
6 Fix segv with phosphor screensaver wrt #256446, thanks to Nick Soveiko.
7 (Portage version: 2.1.6.11/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.250 x11-misc/xscreensaver/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xscreensaver/ChangeLog?rev=1.250&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xscreensaver/ChangeLog?rev=1.250&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xscreensaver/ChangeLog?r1=1.249&r2=1.250
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v
19 retrieving revision 1.249
20 retrieving revision 1.250
21 diff -u -r1.249 -r1.250
22 --- ChangeLog 28 Apr 2009 16:41:10 -0000 1.249
23 +++ ChangeLog 30 Apr 2009 14:12:43 -0000 1.250
24 @@ -1,6 +1,13 @@
25 # ChangeLog for x11-misc/xscreensaver
26 # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v 1.249 2009/04/28 16:41:10 ssuominen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v 1.250 2009/04/30 14:12:43 ssuominen Exp $
29 +
30 +*xscreensaver-5.08-r1 (30 Apr 2009)
31 +
32 + 30 Apr 2009; Samuli Suominen <ssuominen@g.o>
33 + +files/xscreensaver-5.08-phosphor-segv.patch,
34 + +xscreensaver-5.08-r1.ebuild:
35 + Fix segv with phosphor screensaver wrt #256446, thanks to Nick Soveiko.
36
37 28 Apr 2009; Samuli Suominen <ssuominen@g.o>
38 xscreensaver-5.08.ebuild:
39
40
41
42 1.1 x11-misc/xscreensaver/xscreensaver-5.08-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xscreensaver/xscreensaver-5.08-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xscreensaver/xscreensaver-5.08-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: xscreensaver-5.08-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/xscreensaver-5.08-r1.ebuild,v 1.1 2009/04/30 14:12:43 ssuominen Exp $
52
53 EAPI=2
54 inherit autotools eutils flag-o-matic multilib pam
55
56 DESCRIPTION="A modular screen saver and locker for the X Window System"
57 SRC_URI="http://www.jwz.org/xscreensaver/${P}.tar.gz"
58 HOMEPAGE="http://www.jwz.org/xscreensaver"
59
60 LICENSE="BSD"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
63 IUSE="jpeg new-login opengl pam suid xinerama"
64
65 RDEPEND="x11-libs/libXmu
66 x11-libs/libXxf86vm
67 x11-libs/libXrandr
68 x11-libs/libXxf86misc
69 x11-libs/libXt
70 x11-libs/libX11
71 x11-libs/libXext
72 x11-apps/xwininfo
73 x11-apps/appres
74 media-libs/netpbm
75 >=dev-libs/libxml2-2.5
76 >=x11-libs/gtk+-2:2
77 >=gnome-base/libglade-1.99
78 pam? ( virtual/pam )
79 jpeg? ( media-libs/jpeg )
80 opengl? ( virtual/opengl )
81 xinerama? ( x11-libs/libXinerama )
82 new-login? ( gnome-base/gdm )"
83 DEPEND="${RDEPEND}
84 x11-proto/xf86vidmodeproto
85 x11-proto/xextproto
86 x11-proto/scrnsaverproto
87 x11-proto/recordproto
88 x11-proto/xf86miscproto
89 sys-devel/bc
90 dev-util/pkgconfig
91 sys-devel/gettext
92 dev-util/intltool
93 xinerama? ( x11-proto/xineramaproto )"
94
95 src_prepare() {
96 EPATCH_SUFFIX="patch" epatch "${FILESDIR}"/${PV}
97 epatch "${FILESDIR}"/${P}-phosphor-segv.patch #256446
98 eautoreconf #113681
99 }
100
101 src_configure() {
102 if use ppc || use ppc64; then
103 filter-flags -mabi=altivec
104 filter-flags -maltivec
105 append-flags -U__VEC__
106 fi
107
108 unset BC_ENV_ARGS #24568
109
110 econf \
111 --with-x-app-defaults=/usr/share/X11/app-defaults \
112 --with-hackdir=/usr/$(get_libdir)/misc/${PN} \
113 --with-configdir=/usr/share/${PN}/config \
114 --x-libraries=/usr/$(get_libdir) \
115 --x-includes=/usr/include \
116 --with-dpms-ext \
117 --with-xf86vmode-ext \
118 --with-xf86gamma-ext \
119 --with-randr-ext \
120 --with-proc-interrupts \
121 --with-xshm-ext \
122 --with-xdbe-ext \
123 --enable-locking \
124 --without-kerberos \
125 --without-gle \
126 --with-gtk \
127 --with-pixbuf \
128 --with-text-file=/etc/gentoo-release \
129 $(use_with suid setuid-hacks) \
130 $(use_with new-login login-manager) \
131 $(use_with xinerama xinerama-ext) \
132 $(use_with pam) \
133 $(use_with opengl gl) \
134 $(use_with jpeg)
135 }
136
137 src_compile() {
138 emake -j1 || die "emake failed." #155049
139 }
140
141 src_install() {
142 emake install_prefix="${D}" install || die "emake install failed."
143 dodoc README{,.hacking}
144
145 use pam && fperms 755 /usr/bin/${PN}
146 pamd_mimic_system ${PN} auth
147
148 # Collision with electricsheep, bug 135549
149 rm -f "${D}"/usr/share/${PN}/config/{electricsheep,fireflies}.xml
150 }