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