1 |
commit: 04d2168265f0c2cbd77529e53cb4d1860a7ab28b |
2 |
Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> |
3 |
AuthorDate: Sun Oct 16 23:23:15 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 30 09:38:27 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04d21682 |
7 |
|
8 |
x11-misc/xscreensaver: drop old unstable versions |
9 |
|
10 |
Last stable version 6.01 will be kept around until 6.05 is stabilized |
11 |
|
12 |
Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/27807 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
profiles/base/package.use.force | 4 - |
17 |
x11-misc/xscreensaver/Manifest | 3 - |
18 |
x11-misc/xscreensaver/xscreensaver-6.02-r1.ebuild | 239 --------------------- |
19 |
x11-misc/xscreensaver/xscreensaver-6.03.ebuild | 247 ---------------------- |
20 |
x11-misc/xscreensaver/xscreensaver-6.04.ebuild | 247 ---------------------- |
21 |
5 files changed, 740 deletions(-) |
22 |
|
23 |
diff --git a/profiles/base/package.use.force b/profiles/base/package.use.force |
24 |
index 7393b9660566..f19dbdaf80c5 100644 |
25 |
--- a/profiles/base/package.use.force |
26 |
+++ b/profiles/base/package.use.force |
27 |
@@ -21,10 +21,6 @@ sys-devel/clang pie |
28 |
dev-java/openjdk:11 system-bootstrap |
29 |
dev-java/openjdk:17 system-bootstrap |
30 |
|
31 |
-# Joonas Niilola <juippis@g.o> (2022-01-08) |
32 |
-# -xft broken, investigate in bug #830777 |
33 |
-~x11-misc/xscreensaver-6.02 xft |
34 |
- |
35 |
# Michał Górny <mgorny@g.o> (2021-11-04) |
36 |
# Enable all LLVM targets unconditionally. Unfortunately, disabling |
37 |
# targets tend to break reverse dependencies (e.g. Rust) and we are yet |
38 |
|
39 |
diff --git a/x11-misc/xscreensaver/Manifest b/x11-misc/xscreensaver/Manifest |
40 |
index fd4388280ff6..4a0d19e2f771 100644 |
41 |
--- a/x11-misc/xscreensaver/Manifest |
42 |
+++ b/x11-misc/xscreensaver/Manifest |
43 |
@@ -1,5 +1,2 @@ |
44 |
DIST xscreensaver-6.01.tar.gz 27820165 BLAKE2B b2c90b47fb65db79d2473c1e396717156e414a0200672971adadf5729056ad9210822955a71f1a098e2142c00c5e60b24aababf9431903f96ff76e8c2d474052 SHA512 3a6e875196e1340909b2a379c25e758fef490d3d10154aef3096ec1be50fabe0d852de806d45a067eefd061381c8541acd7902d28be3bac15b76bd9d4bf0c02a |
45 |
-DIST xscreensaver-6.02.tar.gz 22672643 BLAKE2B 2d931fe93230e8c7344abd9180e26ab8775f82604e6f4804c82821c486203be567708cf50f7a11276a6b39df493fe5652b4198765ecb3bc5afc8cbc5a01d4801 SHA512 2291ec6ca2d2a24dae975f7f3a8e1733c06f289eb74955db5b3344c7ddcc1d72f82d380df984ef9199f2ed7ab8a7bc920da57d98f589ae5fd1cee082755ba1ff |
46 |
-DIST xscreensaver-6.03.tar.gz 25703584 BLAKE2B 1276e469e8f4116fac5d434aeacbc16ff8243b56095d39ff4fcbb390abad935e70d308d2a3ecfebaa453f2dd19944ecc2edb18a229248c02f2e3997f30436bce SHA512 4aa30824c972a73dc09aeba478cad074f273839a4c7641cddd292da38fc75db10a3f6243cbe8619c5e39cad54c27d33e1e271dfed167458faa7747fb0a090630 |
47 |
-DIST xscreensaver-6.04.tar.gz 26112437 BLAKE2B 42411d5f63a99d4aaccbc3bc34f8c31a1f25f1806eaf513a1ba59c2f24722e27fa2a7b1970c82a591502627224c4b4269176bda3475aba58bb945d5cd9a9464b SHA512 7e8f01853b3d9252ce0120894db7dd4fa3cd19114602a09aa770ec750e2f3742585ca4daf19b009e97386f8c0e3cc89330fe760148c6388f41de8cc1f48f8071 |
48 |
DIST xscreensaver-6.05.1.tar.gz 26110057 BLAKE2B 97c16c9f0b2a0b4d00ddccd711b921ca683bd233bc3d07ecad38b68ff94b149a20512246dd6bae052323f00b1b433f56469c5638a031cbc65b61c2b84a0180e3 SHA512 c659a769ff71020b9f96b7e707bd1bcc667eb304179305d56b1be45eed095d650a8aa019890a0c5d444672f9dd68516c99c53b0df94cd96196d7f30a24b987e3 |
49 |
|
50 |
diff --git a/x11-misc/xscreensaver/xscreensaver-6.02-r1.ebuild b/x11-misc/xscreensaver/xscreensaver-6.02-r1.ebuild |
51 |
deleted file mode 100644 |
52 |
index b7f191412b75..000000000000 |
53 |
--- a/x11-misc/xscreensaver/xscreensaver-6.02-r1.ebuild |
54 |
+++ /dev/null |
55 |
@@ -1,239 +0,0 @@ |
56 |
-# Copyright 1999-2022 Gentoo Authors |
57 |
-# Distributed under the terms of the GNU General Public License v2 |
58 |
- |
59 |
-EAPI=7 |
60 |
- |
61 |
-inherit autotools flag-o-matic font optfeature pam strip-linguas |
62 |
- |
63 |
-DESCRIPTION="Modular screen saver and locker for the X Window System" |
64 |
-HOMEPAGE="https://www.jwz.org/xscreensaver/" |
65 |
-SRC_URI="https://www.jwz.org/xscreensaver/${P}.tar.gz" |
66 |
- |
67 |
-# Font license mapping for folder ./hacks/fonts/ as following: |
68 |
-# clacon.ttf -- MIT |
69 |
-# gallant12x22.ttf -- unclear, hence dropped |
70 |
-# luximr.ttf -- bh-luxi (package media-fonts/font-bh-ttf) |
71 |
-# OCRAStd.otf -- unclear, hence dropped |
72 |
-# SpecialElite.ttf -- Apache-2.0 |
73 |
-LICENSE="BSD fonts? ( MIT Apache-2.0 )" |
74 |
-SLOT="0" |
75 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
76 |
-IUSE="elogind fonts +gdk-pixbuf gdm gles glx +gtk jpeg +locking new-login offensive opengl pam +perl +png selinux suid systemd +xft xinerama" |
77 |
-REQUIRED_USE=" |
78 |
- gdk-pixbuf? ( gtk ) |
79 |
- gles? ( !glx opengl ) |
80 |
- glx? ( opengl ) |
81 |
- gtk? ( png ) |
82 |
- opengl? ( png ) |
83 |
- ?? ( elogind systemd ) |
84 |
-" |
85 |
- |
86 |
-COMMON_DEPEND=" |
87 |
- dev-libs/libxml2 |
88 |
- x11-apps/appres |
89 |
- x11-apps/xwininfo |
90 |
- x11-libs/libX11 |
91 |
- x11-libs/libXext |
92 |
- x11-libs/libXi |
93 |
- x11-libs/libXrandr |
94 |
- x11-libs/libXt |
95 |
- x11-libs/libXxf86vm |
96 |
- elogind? ( sys-auth/elogind ) |
97 |
- gdk-pixbuf? ( |
98 |
- x11-libs/gdk-pixbuf-xlib |
99 |
- >=x11-libs/gdk-pixbuf-2.42.0:2 |
100 |
- ) |
101 |
- gtk? ( x11-libs/gtk+:2 ) |
102 |
- jpeg? ( virtual/jpeg:0 ) |
103 |
- locking? ( virtual/libcrypt:= ) |
104 |
- new-login? ( |
105 |
- gdm? ( gnome-base/gdm ) |
106 |
- !gdm? ( || ( x11-misc/lightdm lxde-base/lxdm ) ) |
107 |
- ) |
108 |
- opengl? ( |
109 |
- virtual/glu |
110 |
- virtual/opengl |
111 |
- ) |
112 |
- pam? ( sys-libs/pam ) |
113 |
- png? ( media-libs/libpng:= ) |
114 |
- systemd? ( >=sys-apps/systemd-221 ) |
115 |
- xft? ( x11-libs/libXft ) |
116 |
- xinerama? ( x11-libs/libXinerama ) |
117 |
-" |
118 |
-# For USE="perl" see output of `qlist xscreensaver | grep bin | xargs grep '::'` |
119 |
-RDEPEND=" |
120 |
- ${COMMON_DEPEND} |
121 |
- media-gfx/fbida |
122 |
- perl? ( |
123 |
- dev-lang/perl |
124 |
- dev-perl/libwww-perl |
125 |
- virtual/perl-Digest-MD5 |
126 |
- ) |
127 |
- selinux? ( sec-policy/selinux-xscreensaver ) |
128 |
-" |
129 |
-DEPEND=" |
130 |
- ${COMMON_DEPEND} |
131 |
- x11-base/xorg-proto |
132 |
-" |
133 |
-BDEPEND=" |
134 |
- dev-util/intltool |
135 |
- sys-devel/bc |
136 |
- sys-devel/gettext |
137 |
- virtual/pkgconfig |
138 |
-" |
139 |
-PATCHES=( |
140 |
- "${FILESDIR}"/${PN}-6.01-interix.patch |
141 |
- "${FILESDIR}"/${PN}-5.31-pragma.patch |
142 |
- "${FILESDIR}"/${PN}-6.01-gentoo.patch |
143 |
- "${FILESDIR}"/${PN}-5.45-gcc.patch |
144 |
- "${FILESDIR}"/${PN}-6.01-configure.ac-sandbox.patch |
145 |
- "${FILESDIR}"/${PN}-6.01-without-gl-makefile.patch |
146 |
- "${FILESDIR}"/${PN}-6.01-non-gtk-install.patch |
147 |
- "${FILESDIR}"/${PN}-6.01-gtk-detection.patch |
148 |
- "${FILESDIR}"/${PN}-6.01-configure-install_sh.patch |
149 |
-) |
150 |
- |
151 |
-DOCS=( README{,.hacking} ) |
152 |
- |
153 |
-src_prepare() { |
154 |
- default |
155 |
- |
156 |
- sed -i configure.ac -e '/^ALL_LINGUAS=/d' || die |
157 |
- strip-linguas -i po/ |
158 |
- export ALL_LINGUAS="${LINGUAS}" |
159 |
- |
160 |
- if use new-login && ! use gdm; then #392967 |
161 |
- sed -i \ |
162 |
- -e "/default_l.*1/s:gdmflexiserver -ls:${EPREFIX}/usr/libexec/lightdm/&:" \ |
163 |
- configure{,.ac} || die |
164 |
- fi |
165 |
- |
166 |
- # We are patching driver/XScreenSaver.ad.in, so let's delete the |
167 |
- # header generated from it so that it gets back in sync during build: |
168 |
- rm driver/XScreenSaver_ad.h || die |
169 |
- |
170 |
- if ! use offensive; then |
171 |
- sed -i \ |
172 |
- -e '/boobies/d;/boobs/d;/cock/d;/pussy/d;/viagra/d;/vibrator/d' \ |
173 |
- hacks/barcode.c || die |
174 |
- sed -i \ |
175 |
- -e 's|erect penis|shuffle board|g' \ |
176 |
- -e 's|flaccid penis|flaccid anchor|g' \ |
177 |
- -e 's|vagina|engagement ring|g' \ |
178 |
- -e 's|Penis|Shuttle|g' \ |
179 |
- hacks/glx/glsnake.c || die |
180 |
- sed -i \ |
181 |
- 's| Stay.*fucking mask\.$||' \ |
182 |
- hacks/glx/covid19.man \ |
183 |
- hacks/config/covid19.xml || die |
184 |
- fi |
185 |
- |
186 |
- # Must be eauto*re*conf, to force the rebuild |
187 |
- eautoreconf |
188 |
-} |
189 |
- |
190 |
-src_configure() { |
191 |
- if use ppc || use ppc64; then |
192 |
- filter-flags -maltivec -mabi=altivec |
193 |
- append-flags -U__VEC__ |
194 |
- fi |
195 |
- |
196 |
- unset BC_ENV_ARGS #24568 |
197 |
- |
198 |
- # Works similarly to -Werror, |
199 |
- # https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration |
200 |
- filter-flags -pedantic-errors |
201 |
- |
202 |
- # WARNING: This is NOT a normal autoconf script |
203 |
- # Some of the --with options are NOT standard, and expect "--with-X=no" rather than "--without-X" |
204 |
- ECONF_OPTS=( |
205 |
- $(use_enable locking) |
206 |
- $(use_with elogind) |
207 |
- $(use_with gdk-pixbuf pixbuf) |
208 |
- $(use_with gles) |
209 |
- $(use_with glx) |
210 |
- $(use_with gtk) |
211 |
- $(use_with new-login login-manager) |
212 |
- $(use_with opengl gl) |
213 |
- $(use_with pam) |
214 |
- $(use_with suid setuid-hacks) |
215 |
- $(use_with systemd) |
216 |
- $(use_with xinerama xinerama-ext) |
217 |
- --with-jpeg=$(usex jpeg yes no) |
218 |
- --with-png=$(usex png yes no) |
219 |
- --with-xft=$(usex xft yes no) |
220 |
- --with-app-defaults="${EPREFIX}"/usr/share/X11/app-defaults |
221 |
- --with-configdir="${EPREFIX}"/usr/share/${PN}/config |
222 |
- --with-dpms-ext |
223 |
- --with-hackdir="${EPREFIX}"/usr/$(get_libdir)/misc/${PN} |
224 |
- --with-proc-interrupts |
225 |
- --with-randr-ext |
226 |
- --with-text-file="${EPREFIX}"/etc/gentoo-release |
227 |
- --with-xdbe-ext |
228 |
- --with-xf86gamma-ext |
229 |
- --with-xf86vmode-ext |
230 |
- --with-xinput-ext |
231 |
- --with-xkb-ext |
232 |
- --with-xshm-ext |
233 |
- --without-gle |
234 |
- --without-kerberos |
235 |
- --without-motif |
236 |
- --with-proc-oom |
237 |
- --x-includes="${EPREFIX}"/usr/include |
238 |
- --x-libraries="${EPREFIX}"/usr/$(get_libdir) |
239 |
- ) |
240 |
- # WARNING: This is NOT a normal autoconf script |
241 |
- econf "${ECONF_OPTS[@]}" |
242 |
-} |
243 |
- |
244 |
-src_compile() { |
245 |
- # stock target is "default", which is broken in some releases. |
246 |
- emake all |
247 |
-} |
248 |
- |
249 |
-src_install() { |
250 |
- use pam && dodir /etc/pam.d/ |
251 |
- emake install_prefix="${D}" DESTDIR="${D}" install |
252 |
- |
253 |
- if use fonts; then |
254 |
- # Do not install fonts with unclear licensing |
255 |
- rm -v "${ED}${FONTDIR}"/{gallant12x22.ttf,OCRAStd.otf} || die |
256 |
- |
257 |
- # Do not duplicate font Luxi Mono (of package media-fonts/font-bh-ttf) |
258 |
- rm -v "${ED}${FONTDIR}"/luximr.ttf || die |
259 |
- |
260 |
- font_xfont_config |
261 |
- else |
262 |
- rm -v "${ED}${FONTDIR}"/*.{ttf,otf} || die |
263 |
- rmdir -v "${ED}${FONTDIR}" || die #812473 |
264 |
- fi |
265 |
- |
266 |
- einstalldocs |
267 |
- |
268 |
- if use pam; then |
269 |
- fperms 755 /usr/bin/${PN} |
270 |
- pamd_mimic_system ${PN} auth |
271 |
- fi |
272 |
- |
273 |
- # bugs #809599, #828869 |
274 |
- if ! use gtk; then |
275 |
- rm "${ED}/usr/bin/xscreensaver-demo" || die |
276 |
- fi |
277 |
-} |
278 |
- |
279 |
-pkg_postinst() { |
280 |
- use fonts && font_pkg_postinst |
281 |
- |
282 |
- # bug #811885 |
283 |
- if ! use glx && use opengl; then |
284 |
- elog "Enable USE='glx' if OpenGL screensavers are crashing." |
285 |
- fi |
286 |
- |
287 |
- optfeature 'Bitmap fonts 75dpi' media-fonts/font-adobe-75dpi |
288 |
- optfeature 'Bitmap fonts 100dpi' media-fonts/font-adobe-100dpi |
289 |
- optfeature 'Truetype font Luxi Mono' media-fonts/font-bh-ttf |
290 |
-} |
291 |
- |
292 |
-pkg_postrm() { |
293 |
- use fonts && font_pkg_postrm |
294 |
-} |
295 |
|
296 |
diff --git a/x11-misc/xscreensaver/xscreensaver-6.03.ebuild b/x11-misc/xscreensaver/xscreensaver-6.03.ebuild |
297 |
deleted file mode 100644 |
298 |
index c56932d1468c..000000000000 |
299 |
--- a/x11-misc/xscreensaver/xscreensaver-6.03.ebuild |
300 |
+++ /dev/null |
301 |
@@ -1,247 +0,0 @@ |
302 |
-# Copyright 1999-2022 Gentoo Authors |
303 |
-# Distributed under the terms of the GNU General Public License v2 |
304 |
- |
305 |
-EAPI=7 |
306 |
- |
307 |
-inherit autotools flag-o-matic font optfeature pam strip-linguas |
308 |
- |
309 |
-DESCRIPTION="Modular screen saver and locker for the X Window System" |
310 |
-HOMEPAGE="https://www.jwz.org/xscreensaver/" |
311 |
-SRC_URI="https://www.jwz.org/xscreensaver/${P}.tar.gz" |
312 |
- |
313 |
-# Font license mapping for folder ./hacks/fonts/ as following: |
314 |
-# clacon.ttf -- MIT |
315 |
-# gallant12x22.ttf -- unclear, hence dropped |
316 |
-# luximr.ttf -- bh-luxi (package media-fonts/font-bh-ttf) |
317 |
-# OCRAStd.otf -- unclear, hence dropped |
318 |
-# SpecialElite.ttf -- Apache-2.0 |
319 |
-LICENSE="BSD fonts? ( MIT Apache-2.0 )" |
320 |
-SLOT="0" |
321 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
322 |
-IUSE="elogind fonts +gdk-pixbuf gdm gles glx +gtk jpeg +locking new-login offensive opengl pam +perl +png selinux suid systemd +xft xinerama" |
323 |
-REQUIRED_USE=" |
324 |
- gdk-pixbuf? ( gtk ) |
325 |
- gles? ( !glx opengl ) |
326 |
- glx? ( opengl ) |
327 |
- gtk? ( png ) |
328 |
- opengl? ( png ) |
329 |
- ?? ( elogind systemd ) |
330 |
-" |
331 |
- |
332 |
-COMMON_DEPEND=" |
333 |
- dev-libs/libxml2 |
334 |
- x11-apps/appres |
335 |
- x11-apps/xwininfo |
336 |
- x11-libs/libX11 |
337 |
- x11-libs/libXext |
338 |
- x11-libs/libXi |
339 |
- x11-libs/libXrandr |
340 |
- x11-libs/libXt |
341 |
- x11-libs/libXxf86vm |
342 |
- elogind? ( sys-auth/elogind ) |
343 |
- gdk-pixbuf? ( |
344 |
- x11-libs/gdk-pixbuf-xlib |
345 |
- >=x11-libs/gdk-pixbuf-2.42.0:2 |
346 |
- ) |
347 |
- gtk? ( x11-libs/gtk+:2 ) |
348 |
- jpeg? ( virtual/jpeg:0 ) |
349 |
- locking? ( virtual/libcrypt:= ) |
350 |
- new-login? ( |
351 |
- gdm? ( gnome-base/gdm ) |
352 |
- !gdm? ( || ( x11-misc/lightdm lxde-base/lxdm ) ) |
353 |
- ) |
354 |
- opengl? ( |
355 |
- virtual/glu |
356 |
- virtual/opengl |
357 |
- ) |
358 |
- pam? ( sys-libs/pam ) |
359 |
- png? ( media-libs/libpng:= ) |
360 |
- systemd? ( >=sys-apps/systemd-221 ) |
361 |
- xft? ( x11-libs/libXft ) |
362 |
- xinerama? ( x11-libs/libXinerama ) |
363 |
-" |
364 |
-# For USE="perl" see output of `qlist xscreensaver | grep bin | xargs grep '::'` |
365 |
-RDEPEND=" |
366 |
- ${COMMON_DEPEND} |
367 |
- media-gfx/fbida |
368 |
- perl? ( |
369 |
- dev-lang/perl |
370 |
- dev-perl/libwww-perl |
371 |
- virtual/perl-Digest-MD5 |
372 |
- ) |
373 |
- selinux? ( sec-policy/selinux-xscreensaver ) |
374 |
-" |
375 |
-DEPEND=" |
376 |
- ${COMMON_DEPEND} |
377 |
- x11-base/xorg-proto |
378 |
-" |
379 |
-BDEPEND=" |
380 |
- dev-util/intltool |
381 |
- sys-devel/bc |
382 |
- sys-devel/gettext |
383 |
- virtual/pkgconfig |
384 |
-" |
385 |
-PATCHES=( |
386 |
- "${FILESDIR}"/${PN}-6.01-interix.patch |
387 |
- "${FILESDIR}"/${PN}-5.31-pragma.patch |
388 |
- "${FILESDIR}"/${PN}-6.01-gentoo.patch |
389 |
- "${FILESDIR}"/${PN}-5.45-gcc.patch |
390 |
- "${FILESDIR}"/${PN}-6.01-configure.ac-sandbox.patch |
391 |
- "${FILESDIR}"/${PN}-6.01-without-gl-makefile.patch |
392 |
- "${FILESDIR}"/${PN}-6.01-non-gtk-install.patch |
393 |
- "${FILESDIR}"/${PN}-6.01-gtk-detection.patch |
394 |
- "${FILESDIR}"/${PN}-6.01-configure-install_sh.patch |
395 |
- "${FILESDIR}"/${PN}-6.03-without-gl-configure.patch |
396 |
-) |
397 |
- |
398 |
-DOCS=( README{,.hacking} ) |
399 |
- |
400 |
-src_prepare() { |
401 |
- default |
402 |
- |
403 |
- sed -i configure.ac -e '/^ALL_LINGUAS=/d' || die |
404 |
- strip-linguas -i po/ |
405 |
- export ALL_LINGUAS="${LINGUAS}" |
406 |
- |
407 |
- if use new-login && ! use gdm; then #392967 |
408 |
- sed -i \ |
409 |
- -e "/default_l.*1/s:gdmflexiserver -ls:${EPREFIX}/usr/libexec/lightdm/&:" \ |
410 |
- configure{,.ac} || die |
411 |
- fi |
412 |
- |
413 |
- # We are patching driver/XScreenSaver.ad.in, so let's delete the |
414 |
- # header generated from it so that it gets back in sync during build: |
415 |
- rm driver/XScreenSaver_ad.h || die |
416 |
- |
417 |
- if ! use offensive; then |
418 |
- sed -i \ |
419 |
- -e '/boobies/d;/boobs/d;/cock/d;/pussy/d;/viagra/d;/vibrator/d' \ |
420 |
- hacks/barcode.c || die |
421 |
- sed -i \ |
422 |
- -e 's|erect penis|shuffle board|g' \ |
423 |
- -e 's|flaccid penis|flaccid anchor|g' \ |
424 |
- -e 's|vagina|engagement ring|g' \ |
425 |
- -e 's|Penis|Shuttle|g' \ |
426 |
- hacks/glx/glsnake.c || die |
427 |
- sed -i \ |
428 |
- 's| Stay.*fucking mask\.$||' \ |
429 |
- hacks/glx/covid19.man \ |
430 |
- hacks/config/covid19.xml || die |
431 |
- fi |
432 |
- |
433 |
- config_rpath_update "${S}"/config.rpath |
434 |
- |
435 |
- # Must be eauto*re*conf, to force the rebuild |
436 |
- eautoreconf |
437 |
-} |
438 |
- |
439 |
-src_configure() { |
440 |
- if use ppc || use ppc64; then |
441 |
- filter-flags -maltivec -mabi=altivec |
442 |
- append-flags -U__VEC__ |
443 |
- fi |
444 |
- |
445 |
- unset BC_ENV_ARGS #24568 |
446 |
- |
447 |
- # Works similarly to -Werror, |
448 |
- # https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration |
449 |
- filter-flags -pedantic-errors |
450 |
- |
451 |
- # /proc/interrupts won't always have the keyboard bits needed |
452 |
- # Not clear this does anything in 6.03+(?) but let's keep it for now in case. |
453 |
- # (See also: configure argument) |
454 |
- export ac_cv_have_proc_interrupts=yes |
455 |
- |
456 |
- # WARNING: This is NOT a normal autoconf script |
457 |
- # Some of the --with options are NOT standard, and expect "--with-X=no" rather than "--without-X" |
458 |
- ECONF_OPTS=( |
459 |
- $(use_enable locking) |
460 |
- $(use_with elogind) |
461 |
- $(use_with gdk-pixbuf pixbuf) |
462 |
- $(use_with gles) |
463 |
- $(use_with glx) |
464 |
- $(use_with gtk) |
465 |
- $(use_with new-login login-manager) |
466 |
- $(use_with opengl gl) |
467 |
- $(use_with pam) |
468 |
- $(use_with suid setuid-hacks) |
469 |
- $(use_with systemd) |
470 |
- $(use_with xinerama xinerama-ext) |
471 |
- --with-jpeg=$(usex jpeg yes no) |
472 |
- --with-png=$(usex png yes no) |
473 |
- --with-xft=$(usex xft yes no) |
474 |
- --with-app-defaults="${EPREFIX}"/usr/share/X11/app-defaults |
475 |
- --with-configdir="${EPREFIX}"/usr/share/${PN}/config |
476 |
- --with-dpms-ext |
477 |
- --with-hackdir="${EPREFIX}"/usr/$(get_libdir)/misc/${PN} |
478 |
- --with-proc-interrupts |
479 |
- --with-randr-ext |
480 |
- --with-text-file="${EPREFIX}"/etc/gentoo-release |
481 |
- --with-xdbe-ext |
482 |
- --with-xf86gamma-ext |
483 |
- --with-xf86vmode-ext |
484 |
- --with-xinput-ext |
485 |
- --with-xkb-ext |
486 |
- --with-xshm-ext |
487 |
- --without-gle |
488 |
- --without-kerberos |
489 |
- --without-motif |
490 |
- --with-proc-oom |
491 |
- --x-includes="${EPREFIX}"/usr/include |
492 |
- --x-libraries="${EPREFIX}"/usr/$(get_libdir) |
493 |
- ) |
494 |
- # WARNING: This is NOT a normal autoconf script |
495 |
- econf "${ECONF_OPTS[@]}" |
496 |
-} |
497 |
- |
498 |
-src_compile() { |
499 |
- # stock target is "default", which is broken in some releases. |
500 |
- emake all |
501 |
-} |
502 |
- |
503 |
-src_install() { |
504 |
- use pam && dodir /etc/pam.d/ |
505 |
- emake install_prefix="${D}" DESTDIR="${D}" install |
506 |
- |
507 |
- if use fonts; then |
508 |
- # Do not install fonts with unclear licensing |
509 |
- rm -v "${ED}${FONTDIR}"/{gallant12x22.ttf,OCRAStd.otf} || die |
510 |
- |
511 |
- # Do not duplicate font Luxi Mono (of package media-fonts/font-bh-ttf) |
512 |
- rm -v "${ED}${FONTDIR}"/luximr.ttf || die |
513 |
- |
514 |
- font_xfont_config |
515 |
- else |
516 |
- rm -v "${ED}${FONTDIR}"/*.{ttf,otf} || die |
517 |
- rmdir -v "${ED}${FONTDIR}" || die #812473 |
518 |
- fi |
519 |
- |
520 |
- einstalldocs |
521 |
- |
522 |
- if use pam; then |
523 |
- fperms 755 /usr/bin/${PN} |
524 |
- pamd_mimic_system ${PN} auth |
525 |
- fi |
526 |
- |
527 |
- # bugs #809599, #828869 |
528 |
- if ! use gtk; then |
529 |
- rm "${ED}/usr/bin/xscreensaver-demo" || die |
530 |
- fi |
531 |
-} |
532 |
- |
533 |
-pkg_postinst() { |
534 |
- use fonts && font_pkg_postinst |
535 |
- |
536 |
- # bug #811885 |
537 |
- if ! use glx && use opengl; then |
538 |
- elog "Enable USE='glx' if OpenGL screensavers are crashing." |
539 |
- fi |
540 |
- |
541 |
- optfeature 'Bitmap fonts 75dpi' media-fonts/font-adobe-75dpi |
542 |
- optfeature 'Bitmap fonts 100dpi' media-fonts/font-adobe-100dpi |
543 |
- optfeature 'Truetype font Luxi Mono' media-fonts/font-bh-ttf |
544 |
-} |
545 |
- |
546 |
-pkg_postrm() { |
547 |
- use fonts && font_pkg_postrm |
548 |
-} |
549 |
|
550 |
diff --git a/x11-misc/xscreensaver/xscreensaver-6.04.ebuild b/x11-misc/xscreensaver/xscreensaver-6.04.ebuild |
551 |
deleted file mode 100644 |
552 |
index 300a5d4c25c8..000000000000 |
553 |
--- a/x11-misc/xscreensaver/xscreensaver-6.04.ebuild |
554 |
+++ /dev/null |
555 |
@@ -1,247 +0,0 @@ |
556 |
-# Copyright 1999-2022 Gentoo Authors |
557 |
-# Distributed under the terms of the GNU General Public License v2 |
558 |
- |
559 |
-EAPI=8 |
560 |
- |
561 |
-inherit autotools flag-o-matic font optfeature pam strip-linguas |
562 |
- |
563 |
-DESCRIPTION="Modular screen saver and locker for the X Window System" |
564 |
-HOMEPAGE="https://www.jwz.org/xscreensaver/" |
565 |
-SRC_URI="https://www.jwz.org/xscreensaver/${P}.tar.gz" |
566 |
- |
567 |
-# Font license mapping for folder ./hacks/fonts/ as following: |
568 |
-# clacon.ttf -- MIT |
569 |
-# gallant12x22.ttf -- unclear, hence dropped |
570 |
-# luximr.ttf -- bh-luxi (package media-fonts/font-bh-ttf) |
571 |
-# OCRAStd.otf -- unclear, hence dropped |
572 |
-# SpecialElite.ttf -- Apache-2.0 |
573 |
-LICENSE="BSD fonts? ( MIT Apache-2.0 )" |
574 |
-SLOT="0" |
575 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
576 |
-IUSE="elogind fonts +gdk-pixbuf gdm gles glx +gtk jpeg +locking new-login offensive opengl pam +perl +png selinux suid systemd +xft xinerama" |
577 |
-REQUIRED_USE=" |
578 |
- gdk-pixbuf? ( gtk ) |
579 |
- gles? ( !glx opengl ) |
580 |
- glx? ( opengl ) |
581 |
- gtk? ( png ) |
582 |
- opengl? ( png ) |
583 |
- ?? ( elogind systemd ) |
584 |
-" |
585 |
- |
586 |
-COMMON_DEPEND=" |
587 |
- dev-libs/libxml2 |
588 |
- x11-apps/appres |
589 |
- x11-apps/xwininfo |
590 |
- x11-libs/libX11 |
591 |
- x11-libs/libXext |
592 |
- x11-libs/libXi |
593 |
- x11-libs/libXrandr |
594 |
- x11-libs/libXt |
595 |
- x11-libs/libXxf86vm |
596 |
- elogind? ( sys-auth/elogind ) |
597 |
- gdk-pixbuf? ( |
598 |
- x11-libs/gdk-pixbuf-xlib |
599 |
- >=x11-libs/gdk-pixbuf-2.42.0:2 |
600 |
- ) |
601 |
- gtk? ( x11-libs/gtk+:2 ) |
602 |
- jpeg? ( media-libs/libjpeg-turbo:= ) |
603 |
- locking? ( virtual/libcrypt:= ) |
604 |
- new-login? ( |
605 |
- gdm? ( gnome-base/gdm ) |
606 |
- !gdm? ( || ( x11-misc/lightdm lxde-base/lxdm ) ) |
607 |
- ) |
608 |
- opengl? ( |
609 |
- virtual/glu |
610 |
- virtual/opengl |
611 |
- ) |
612 |
- pam? ( sys-libs/pam ) |
613 |
- png? ( media-libs/libpng:= ) |
614 |
- systemd? ( >=sys-apps/systemd-221 ) |
615 |
- xft? ( x11-libs/libXft ) |
616 |
- xinerama? ( x11-libs/libXinerama ) |
617 |
-" |
618 |
-# For USE="perl" see output of `qlist xscreensaver | grep bin | xargs grep '::'` |
619 |
-RDEPEND=" |
620 |
- ${COMMON_DEPEND} |
621 |
- media-gfx/fbida |
622 |
- perl? ( |
623 |
- dev-lang/perl |
624 |
- dev-perl/libwww-perl |
625 |
- virtual/perl-Digest-MD5 |
626 |
- ) |
627 |
- selinux? ( sec-policy/selinux-xscreensaver ) |
628 |
-" |
629 |
-DEPEND=" |
630 |
- ${COMMON_DEPEND} |
631 |
- x11-base/xorg-proto |
632 |
-" |
633 |
-BDEPEND=" |
634 |
- dev-util/intltool |
635 |
- sys-devel/bc |
636 |
- sys-devel/gettext |
637 |
- virtual/pkgconfig |
638 |
-" |
639 |
-PATCHES=( |
640 |
- "${FILESDIR}"/${PN}-6.01-interix.patch |
641 |
- "${FILESDIR}"/${PN}-5.31-pragma.patch |
642 |
- "${FILESDIR}"/${PN}-6.01-gentoo.patch |
643 |
- "${FILESDIR}"/${PN}-5.45-gcc.patch |
644 |
- "${FILESDIR}"/${PN}-6.01-configure.ac-sandbox.patch |
645 |
- "${FILESDIR}"/${PN}-6.01-without-gl-makefile.patch |
646 |
- "${FILESDIR}"/${PN}-6.01-non-gtk-install.patch |
647 |
- "${FILESDIR}"/${PN}-6.01-gtk-detection.patch |
648 |
- "${FILESDIR}"/${PN}-6.01-configure-install_sh.patch |
649 |
- "${FILESDIR}"/${PN}-6.03-without-gl-configure.patch |
650 |
-) |
651 |
- |
652 |
-DOCS=( README{,.hacking} ) |
653 |
- |
654 |
-src_prepare() { |
655 |
- default |
656 |
- |
657 |
- sed -i configure.ac -e '/^ALL_LINGUAS=/d' || die |
658 |
- strip-linguas -i po/ |
659 |
- export ALL_LINGUAS="${LINGUAS}" |
660 |
- |
661 |
- if use new-login && ! use gdm; then #392967 |
662 |
- sed -i \ |
663 |
- -e "/default_l.*1/s:gdmflexiserver -ls:${EPREFIX}/usr/libexec/lightdm/&:" \ |
664 |
- configure{,.ac} || die |
665 |
- fi |
666 |
- |
667 |
- # We are patching driver/XScreenSaver.ad.in, so let's delete the |
668 |
- # header generated from it so that it gets back in sync during build: |
669 |
- rm driver/XScreenSaver_ad.h || die |
670 |
- |
671 |
- if ! use offensive; then |
672 |
- sed -i \ |
673 |
- -e '/boobies/d;/boobs/d;/cock/d;/pussy/d;/viagra/d;/vibrator/d' \ |
674 |
- hacks/barcode.c || die |
675 |
- sed -i \ |
676 |
- -e 's|erect penis|shuffle board|g' \ |
677 |
- -e 's|flaccid penis|flaccid anchor|g' \ |
678 |
- -e 's|vagina|engagement ring|g' \ |
679 |
- -e 's|Penis|Shuttle|g' \ |
680 |
- hacks/glx/glsnake.c || die |
681 |
- sed -i \ |
682 |
- 's| Stay.*fucking mask\.$||' \ |
683 |
- hacks/glx/covid19.man \ |
684 |
- hacks/config/covid19.xml || die |
685 |
- fi |
686 |
- |
687 |
- config_rpath_update "${S}"/config.rpath |
688 |
- |
689 |
- # Must be eauto*re*conf, to force the rebuild |
690 |
- eautoreconf |
691 |
-} |
692 |
- |
693 |
-src_configure() { |
694 |
- if use ppc || use ppc64; then |
695 |
- filter-flags -maltivec -mabi=altivec |
696 |
- append-flags -U__VEC__ |
697 |
- fi |
698 |
- |
699 |
- unset BC_ENV_ARGS #24568 |
700 |
- |
701 |
- # Works similarly to -Werror, |
702 |
- # https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration |
703 |
- filter-flags -pedantic-errors |
704 |
- |
705 |
- # /proc/interrupts won't always have the keyboard bits needed |
706 |
- # Not clear this does anything in 6.03+(?) but let's keep it for now in case. |
707 |
- # (See also: configure argument) |
708 |
- export ac_cv_have_proc_interrupts=yes |
709 |
- |
710 |
- # WARNING: This is NOT a normal autoconf script |
711 |
- # Some of the --with options are NOT standard, and expect "--with-X=no" rather than "--without-X" |
712 |
- ECONF_OPTS=( |
713 |
- $(use_enable locking) |
714 |
- $(use_with elogind) |
715 |
- $(use_with gdk-pixbuf pixbuf) |
716 |
- $(use_with gles) |
717 |
- $(use_with glx) |
718 |
- $(use_with gtk) |
719 |
- $(use_with new-login login-manager) |
720 |
- $(use_with opengl gl) |
721 |
- $(use_with pam) |
722 |
- $(use_with suid setuid-hacks) |
723 |
- $(use_with systemd) |
724 |
- $(use_with xinerama xinerama-ext) |
725 |
- --with-jpeg=$(usex jpeg yes no) |
726 |
- --with-png=$(usex png yes no) |
727 |
- --with-xft=$(usex xft yes no) |
728 |
- --with-app-defaults="${EPREFIX}"/usr/share/X11/app-defaults |
729 |
- --with-configdir="${EPREFIX}"/usr/share/${PN}/config |
730 |
- --with-dpms-ext |
731 |
- --with-hackdir="${EPREFIX}"/usr/$(get_libdir)/misc/${PN} |
732 |
- --with-proc-interrupts |
733 |
- --with-randr-ext |
734 |
- --with-text-file="${EPREFIX}"/etc/gentoo-release |
735 |
- --with-xdbe-ext |
736 |
- --with-xf86gamma-ext |
737 |
- --with-xf86vmode-ext |
738 |
- --with-xinput-ext |
739 |
- --with-xkb-ext |
740 |
- --with-xshm-ext |
741 |
- --without-gle |
742 |
- --without-kerberos |
743 |
- --without-motif |
744 |
- --with-proc-oom |
745 |
- --x-includes="${EPREFIX}"/usr/include |
746 |
- --x-libraries="${EPREFIX}"/usr/$(get_libdir) |
747 |
- ) |
748 |
- # WARNING: This is NOT a normal autoconf script |
749 |
- econf "${ECONF_OPTS[@]}" |
750 |
-} |
751 |
- |
752 |
-src_compile() { |
753 |
- # stock target is "default", which is broken in some releases. |
754 |
- emake all |
755 |
-} |
756 |
- |
757 |
-src_install() { |
758 |
- use pam && dodir /etc/pam.d/ |
759 |
- emake install_prefix="${D}" DESTDIR="${D}" install |
760 |
- |
761 |
- if use fonts; then |
762 |
- # Do not install fonts with unclear licensing |
763 |
- rm -v "${ED}${FONTDIR}"/{gallant12x22.ttf,OCRAStd.otf} || die |
764 |
- |
765 |
- # Do not duplicate font Luxi Mono (of package media-fonts/font-bh-ttf) |
766 |
- rm -v "${ED}${FONTDIR}"/luximr.ttf || die |
767 |
- |
768 |
- font_xfont_config |
769 |
- else |
770 |
- rm -v "${ED}${FONTDIR}"/*.{ttf,otf} || die |
771 |
- rmdir -v "${ED}${FONTDIR}" || die #812473 |
772 |
- fi |
773 |
- |
774 |
- einstalldocs |
775 |
- |
776 |
- if use pam; then |
777 |
- fperms 755 /usr/bin/${PN} |
778 |
- pamd_mimic_system ${PN} auth |
779 |
- fi |
780 |
- |
781 |
- # bugs #809599, #828869 |
782 |
- if ! use gtk; then |
783 |
- rm "${ED}/usr/bin/xscreensaver-demo" || die |
784 |
- fi |
785 |
-} |
786 |
- |
787 |
-pkg_postinst() { |
788 |
- use fonts && font_pkg_postinst |
789 |
- |
790 |
- # bug #811885 |
791 |
- if ! use glx && use opengl; then |
792 |
- elog "Enable USE='glx' if OpenGL screensavers are crashing." |
793 |
- fi |
794 |
- |
795 |
- optfeature 'Bitmap fonts 75dpi' media-fonts/font-adobe-75dpi |
796 |
- optfeature 'Bitmap fonts 100dpi' media-fonts/font-adobe-100dpi |
797 |
- optfeature 'Truetype font Luxi Mono' media-fonts/font-bh-ttf |
798 |
-} |
799 |
- |
800 |
-pkg_postrm() { |
801 |
- use fonts && font_pkg_postrm |
802 |
-} |