Gentoo Archives: gentoo-commits

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