Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xscreensaver/
Date: Fri, 07 Oct 2016 15:47:26
Message-Id: 1475855240.c454124e814bd18c3b8755f496a34777a8e211b2.jer@gentoo
1 commit: c454124e814bd18c3b8755f496a34777a8e211b2
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 7 15:45:58 2016 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 7 15:47:20 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c454124e
7
8 x11-misc/xscreensaver: Old (bug #596458 by Blake Leverett).
9
10 Package-Manager: portage-2.3.1
11 RepoMan-Options: --force
12
13 x11-misc/xscreensaver/xscreensaver-5.35.ebuild | 143 -------------------------
14 1 file changed, 143 deletions(-)
15
16 diff --git a/x11-misc/xscreensaver/xscreensaver-5.35.ebuild b/x11-misc/xscreensaver/xscreensaver-5.35.ebuild
17 deleted file mode 100644
18 index 25f1014..00000000
19 --- a/x11-misc/xscreensaver/xscreensaver-5.35.ebuild
20 +++ /dev/null
21 @@ -1,143 +0,0 @@
22 -# Copyright 1999-2016 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -# $Id$
25 -
26 -EAPI=6
27 -inherit autotools eutils flag-o-matic multilib pam
28 -
29 -DESCRIPTION="A modular screen saver and locker for the X Window System"
30 -HOMEPAGE="http://www.jwz.org/xscreensaver/"
31 -SRC_URI="
32 - http://www.jwz.org/xscreensaver/${P}.tar.gz
33 -"
34 -
35 -LICENSE="BSD"
36 -SLOT="0"
37 -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"
38 -IUSE="gdm jpeg new-login opengl pam +perl selinux suid xinerama"
39 -
40 -COMMON_DEPEND="
41 - >=gnome-base/libglade-2
42 - dev-libs/libxml2
43 - media-libs/netpbm
44 - x11-apps/appres
45 - x11-apps/xwininfo
46 - x11-libs/gtk+:2
47 - x11-libs/libX11
48 - x11-libs/libXext
49 - x11-libs/libXi
50 - x11-libs/libXmu
51 - x11-libs/libXrandr
52 - x11-libs/libXt
53 - x11-libs/libXxf86misc
54 - x11-libs/libXxf86vm
55 - jpeg? ( virtual/jpeg:0 )
56 - new-login? (
57 - gdm? ( gnome-base/gdm )
58 - !gdm? ( || ( x11-misc/lightdm kde-base/kdm ) )
59 - )
60 - opengl? (
61 - virtual/glu
62 - virtual/opengl
63 - )
64 - pam? ( virtual/pam )
65 - xinerama? ( x11-libs/libXinerama )
66 -"
67 -# For USE="perl" see output of `qlist xscreensaver | grep bin | xargs grep '::'`
68 -RDEPEND="
69 - ${COMMON_DEPEND}
70 - perl? (
71 - dev-lang/perl
72 - dev-perl/libwww-perl
73 - virtual/perl-Digest-MD5
74 - )
75 - selinux? ( sec-policy/selinux-xscreensaver )
76 -"
77 -DEPEND="
78 - ${COMMON_DEPEND}
79 - dev-util/intltool
80 - sys-devel/bc
81 - sys-devel/gettext
82 - virtual/pkgconfig
83 - x11-proto/recordproto
84 - x11-proto/scrnsaverproto
85 - x11-proto/xextproto
86 - x11-proto/xf86miscproto
87 - x11-proto/xf86vidmodeproto
88 - xinerama? ( x11-proto/xineramaproto )
89 -"
90 -
91 -src_prepare() {
92 - sed -i configure.in -e '/^ALL_LINGUAS=/d' || die
93 - strip-linguas -i po/
94 - export ALL_LINGUAS="${LINGUAS}"
95 -
96 - if use new-login && ! use gdm; then #392967
97 - sed -i \
98 - -e "/default_l.*1/s:gdmflexiserver -ls:${EPREFIX}/usr/libexec/lightdm/&:" \
99 - configure{,.in} || die
100 - fi
101 -
102 - epatch \
103 - "${FILESDIR}"/${PN}-5.33-gentoo.patch \
104 - "${FILESDIR}"/${PN}-5.05-interix.patch \
105 - "${FILESDIR}"/${PN}-5.20-blurb-hndl-test-passwd.patch \
106 - "${FILESDIR}"/${PN}-5.20-test-passwd-segv-tty.patch \
107 - "${FILESDIR}"/${PN}-5.20-tests-miscfix.patch \
108 - "${FILESDIR}"/${PN}-5.28-comment-style.patch \
109 - "${FILESDIR}"/${PN}-5.31-pragma.patch \
110 - "${FILESDIR}"/${PN}-5.35-comments.patch
111 -
112 - eapply_user
113 -
114 - eautoconf
115 - eautoheader
116 -}
117 -
118 -src_configure() {
119 - if use ppc || use ppc64; then
120 - filter-flags -maltivec -mabi=altivec
121 - append-flags -U__VEC__
122 - fi
123 -
124 - unset BC_ENV_ARGS #24568
125 - export RPM_PACKAGE_VERSION=no #368025
126 -
127 - econf \
128 - $(use_with jpeg) \
129 - $(use_with new-login login-manager) \
130 - $(use_with opengl gl) \
131 - $(use_with pam) \
132 - $(use_with suid setuid-hacks) \
133 - $(use_with xinerama xinerama-ext) \
134 - --enable-locking \
135 - --with-configdir="${EPREFIX}"/usr/share/${PN}/config \
136 - --with-dpms-ext \
137 - --with-gtk \
138 - --with-hackdir="${EPREFIX}"/usr/$(get_libdir)/misc/${PN} \
139 - --with-pixbuf \
140 - --with-proc-interrupts \
141 - --with-randr-ext \
142 - --with-text-file="${EPREFIX}"/etc/gentoo-release \
143 - --with-x-app-defaults="${EPREFIX}"/usr/share/X11/app-defaults \
144 - --with-xdbe-ext \
145 - --with-xf86gamma-ext \
146 - --with-xf86vmode-ext \
147 - --with-xinput-ext \
148 - --with-xshm-ext \
149 - --without-gle \
150 - --without-kerberos \
151 - --x-includes="${EPREFIX}"/usr/include \
152 - --x-libraries="${EPREFIX}"/usr/$(get_libdir)
153 -}
154 -
155 -src_install() {
156 - emake install_prefix="${D}" install
157 -
158 - dodoc README{,.hacking}
159 -
160 - use pam && fperms 755 /usr/bin/${PN}
161 - pamd_mimic_system ${PN} auth
162 -
163 - rm -f "${ED}"/usr/share/${PN}/config/{electricsheep,fireflies}.xml
164 -}