Gentoo Archives: gentoo-commits

From: "Michael Weber (xmw)" <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/xscreensaver: xscreensaver-5.21.ebuild ChangeLog xscreensaver-5.15.ebuild
Date: Fri, 31 May 2013 13:25:52
Message-Id: 20130531132545.78D812171D@flycatcher.gentoo.org
1 xmw 13/05/31 13:25:45
2
3 Modified: ChangeLog
4 Added: xscreensaver-5.21.ebuild
5 Removed: xscreensaver-5.15.ebuild
6 Log:
7 Version bump, drop old.
8
9 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
10
11 Revision Changes Path
12 1.327 x11-misc/xscreensaver/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xscreensaver/ChangeLog?rev=1.327&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xscreensaver/ChangeLog?rev=1.327&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xscreensaver/ChangeLog?r1=1.326&r2=1.327
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v
21 retrieving revision 1.326
22 retrieving revision 1.327
23 diff -u -r1.326 -r1.327
24 --- ChangeLog 17 Feb 2013 03:40:42 -0000 1.326
25 +++ ChangeLog 31 May 2013 13:25:45 -0000 1.327
26 @@ -1,6 +1,13 @@
27 # ChangeLog for x11-misc/xscreensaver
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v 1.326 2013/02/17 03:40:42 ssuominen Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v 1.327 2013/05/31 13:25:45 xmw Exp $
31 +
32 +*xscreensaver-5.21 (31 May 2013)
33 +
34 + 31 May 2013; Michael Weber <xmw@g.o>
35 + +files/xscreensaver-5.21-gentoo.patch, +xscreensaver-5.21.ebuild,
36 + -xscreensaver-5.15.ebuild:
37 + Version bump, drop old.
38
39 17 Feb 2013; Samuli Suominen <ssuominen@g.o> xscreensaver-5.20.ebuild:
40 Remove REQUIRED_USE to prevent conflict with package.use.force of USE flags
41
42
43
44 1.1 x11-misc/xscreensaver/xscreensaver-5.21.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xscreensaver/xscreensaver-5.21.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xscreensaver/xscreensaver-5.21.ebuild?rev=1.1&content-type=text/plain
48
49 Index: xscreensaver-5.21.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/xscreensaver-5.21.ebuild,v 1.1 2013/05/31 13:25:45 xmw Exp $
54
55 EAPI=4
56 inherit autotools eutils flag-o-matic multilib pam
57
58 DESCRIPTION="A modular screen saver and locker for the X Window System"
59 HOMEPAGE="http://www.jwz.org/xscreensaver/"
60 SRC_URI="http://www.jwz.org/xscreensaver/${P}.tar.gz"
61
62 LICENSE="BSD"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
65 IUSE="gdm jpeg new-login opengl pam +perl selinux suid xinerama"
66
67 COMMON_DEPEND="dev-libs/libxml2
68 >=gnome-base/libglade-2
69 media-libs/netpbm
70 x11-apps/appres
71 x11-apps/xwininfo
72 x11-libs/gtk+:2
73 x11-libs/libX11
74 x11-libs/libXext
75 x11-libs/libXi
76 x11-libs/libXmu
77 x11-libs/libXrandr
78 x11-libs/libXt
79 x11-libs/libXxf86misc
80 x11-libs/libXxf86vm
81 jpeg? ( virtual/jpeg )
82 new-login? (
83 gdm? ( gnome-base/gdm )
84 !gdm? ( || ( x11-misc/lightdm kde-base/kdm ) )
85 )
86 opengl? ( virtual/opengl )
87 pam? ( virtual/pam )
88 selinux? ( sec-policy/selinux-xscreensaver )
89 xinerama? ( x11-libs/libXinerama )"
90 # For USE="perl" see output of `qlist xscreensaver | grep bin | xargs grep '::'`
91 RDEPEND="${COMMON_DEPEND}
92 perl? (
93 dev-lang/perl
94 dev-perl/libwww-perl
95 virtual/perl-Digest-MD5
96 )"
97 DEPEND="${COMMON_DEPEND}
98 dev-util/intltool
99 virtual/pkgconfig
100 sys-devel/bc
101 sys-devel/gettext
102 x11-proto/recordproto
103 x11-proto/scrnsaverproto
104 x11-proto/xextproto
105 x11-proto/xf86miscproto
106 x11-proto/xf86vidmodeproto
107 xinerama? ( x11-proto/xineramaproto )"
108
109 src_prepare() {
110 if use new-login && ! use gdm; then #392967
111 sed -i \
112 -e "/default_l.*1/s:gdmflexiserver -ls:${EPREFIX}/usr/libexec/lightdm/&:" \
113 configure{,.in} || die
114 fi
115
116 epatch \
117 "${FILESDIR}"/${PN}-5.21-gentoo.patch \
118 "${FILESDIR}"/${PN}-5.05-interix.patch \
119 "${FILESDIR}"/${PN}-5.20-blurb-hndl-test-passwd.patch \
120 "${FILESDIR}"/${PN}-5.20-conf264.patch \
121 "${FILESDIR}"/${PN}-5.20-test-passwd-segv-tty.patch \
122 "${FILESDIR}"/${PN}-5.20-tests-miscfix.patch
123
124 eautoconf
125 eautoheader
126 }
127
128 src_configure() {
129 if use ppc || use ppc64; then
130 filter-flags -maltivec -mabi=altivec
131 append-flags -U__VEC__
132 fi
133
134 unset LINGUAS #113681
135 unset BC_ENV_ARGS #24568
136 export RPM_PACKAGE_VERSION=no #368025
137
138 econf \
139 --x-includes="${EPREFIX}"/usr/include \
140 --x-libraries="${EPREFIX}"/usr/$(get_libdir) \
141 --enable-locking \
142 --with-hackdir="${EPREFIX}"/usr/$(get_libdir)/misc/${PN} \
143 --with-configdir="${EPREFIX}"/usr/share/${PN}/config \
144 --with-x-app-defaults="${EPREFIX}"/usr/share/X11/app-defaults \
145 --with-dpms-ext \
146 $(use_with xinerama xinerama-ext) \
147 --with-xinput-ext \
148 --with-xf86vmode-ext \
149 --with-xf86gamma-ext \
150 --with-randr-ext \
151 --with-proc-interrupts \
152 $(use_with pam) \
153 --without-kerberos \
154 $(use_with new-login login-manager) \
155 --with-gtk \
156 $(use_with opengl gl) \
157 --without-gle \
158 --with-pixbuf \
159 $(use_with jpeg) \
160 --with-xshm-ext \
161 --with-xdbe-ext \
162 --with-text-file="${EPREFIX}"/etc/gentoo-release \
163 $(use_with suid setuid-hacks)
164 }
165
166 src_install() {
167 emake install_prefix="${D}" install
168 dodoc README{,.hacking}
169
170 use pam && fperms 755 /usr/bin/${PN}
171 pamd_mimic_system ${PN} auth
172
173 rm -f "${ED}"/usr/share/${PN}/config/{electricsheep,fireflies}.xml
174 }