Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, app-emulation/e-uae/files/, app-emulation/e-uae/
Date: Tue, 28 May 2019 13:28:25
Message-Id: 1559050082.045112a9203516f7ce889cb9d76f44e0f3658193.mgorny@gentoo
1 commit: 045112a9203516f7ce889cb9d76f44e0f3658193
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 28 13:21:10 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 28 13:28:02 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=045112a9
7
8 app-emulation/e-uae: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/602966
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 app-emulation/e-uae/Manifest | 1 -
14 app-emulation/e-uae/e-uae-0.8.29_rc4-r3.ebuild | 157 ---------------------
15 .../files/e-uae-0.8.29_rc4-high-cpu-usage.patch | 18 ---
16 .../e-uae/files/e-uae-0.8.29_rc4-no_schily.patch | 20 ---
17 .../e-uae/files/e-uae-0.8.29_rc4-tinfo.patch | 22 ---
18 app-emulation/e-uae/metadata.xml | 14 --
19 profiles/package.mask | 3 +-
20 7 files changed, 1 insertion(+), 234 deletions(-)
21
22 diff --git a/app-emulation/e-uae/Manifest b/app-emulation/e-uae/Manifest
23 deleted file mode 100644
24 index 18008f16883..00000000000
25 --- a/app-emulation/e-uae/Manifest
26 +++ /dev/null
27 @@ -1 +0,0 @@
28 -DIST e-uae-0.8.29-WIP4.tar.bz2 1122718 BLAKE2B 4120e7d14e4ee1a8be04839680c30dc57286524a68eb8036a8f48a0724c3581884045c2ad11bb8409a88b2f43bd132b92083e1e1cc088c5b4768f3b6dfdef458 SHA512 63d5c60ca017ba7ffaba32c4d7edceba0410b773066cc58e226c8cc2c92152eb3689698b0affe478cc63c996c731fbbf56d9028dfd000394d904f193f860473f
29
30 diff --git a/app-emulation/e-uae/e-uae-0.8.29_rc4-r3.ebuild b/app-emulation/e-uae/e-uae-0.8.29_rc4-r3.ebuild
31 deleted file mode 100644
32 index 27993eabc59..00000000000
33 --- a/app-emulation/e-uae/e-uae-0.8.29_rc4-r3.ebuild
34 +++ /dev/null
35 @@ -1,157 +0,0 @@
36 -# Copyright 1999-2019 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=6
40 -
41 -inherit autotools flag-o-matic pax-utils
42 -
43 -DESCRIPTION="The Ubiquitous Amiga Emulator with an emulation core largely based on WinUAE"
44 -HOMEPAGE="http://www.rcdrummond.net/uae/"
45 -# We support _rcX for WIPX versions and _preYYYYMMDD for CVS snapshots.
46 -if [[ "${PV%%_rc*}" = "${PV}" ]] ; then
47 - # _pre is used, cvs version
48 - my_ver=${PV%%_pre*}
49 - snap_ver=${PV##*_pre}
50 - S="${WORKDIR}"/${PN}-${my_ver}-${snap_ver}
51 - SRC_URI="http://www.rcdrummond.net/uae/test/${snap_ver}/${PN}-${my_ver}-${snap_ver}.tar.bz2"
52 -else
53 - my_ver=${PV%%_rc*}
54 - WIP_ver=${PV##*_rc}
55 - S="${WORKDIR}"/${PN}-${my_ver}-WIP${WIP_ver}
56 - SRC_URI="http://www.rcdrummond.net/uae/${PN}-${my_ver}-WIP${WIP_ver}/${PN}-${my_ver}-WIP${WIP_ver}.tar.bz2"
57 -fi
58 -
59 -LICENSE="GPL-2"
60 -SLOT="0"
61 -KEYWORDS="amd64 ppc x86"
62 -IUSE="X dga ncurses sdl alsa oss sdl-sound capslib"
63 -
64 -# Note: opposed to ./configure --help zlib support required! Check
65 -# src/Makefile.am that includes zfile.c unconditionaly.
66 -RDEPEND="
67 - sys-libs/zlib
68 - virtual/cdrtools
69 - X? (
70 - x11-libs/libXt
71 - x11-libs/libxkbfile
72 - x11-libs/libXext
73 - x11-misc/xkeyboard-config
74 - dga? (
75 - x11-libs/libXxf86dga
76 - x11-libs/libXxf86vm
77 - )
78 - )
79 - !X? (
80 - sdl? ( media-libs/libsdl )
81 - !sdl? ( sys-libs/ncurses:0= )
82 - )
83 - alsa? ( media-libs/alsa-lib )
84 - !alsa? ( sdl-sound? ( media-libs/sdl-sound ) )
85 - capslib? ( >=games-emulation/caps-20060612 )
86 -"
87 -
88 -DEPEND="${RDEPEND}
89 - X? ( dga? ( x11-base/xorg-proto ) )
90 -"
91 -
92 -PATCHES=(
93 - "${FILESDIR}"/${P}-tinfo.patch #527628
94 - "${FILESDIR}"/${P}-no_schily.patch
95 -)
96 -
97 -src_prepare() {
98 - default
99 - # Fix for high cpu use when compiled with --disable-audio
100 - if ! use alsa && ! use sdl-sound && ! use oss ; then
101 - eapply "${FILESDIR}"/${P}-high-cpu-usage.patch
102 - fi
103 - eautoreconf #527628
104 -}
105 -
106 -src_configure() {
107 - strip-flags
108 -
109 - local myconf=()
110 -
111 - # Sound setup.
112 - if use alsa; then
113 - elog "Choosing alsa as sound target to use."
114 - myconf=( --with-alsa --without-sdl-sound )
115 - elif use sdl-sound ; then
116 - if ! use sdl ; then
117 - ewarn "sdl-sound is not enabled because sdl USE flag is disabled. Leaving"
118 - ewarn "sound on oss autodetection."
119 - myconf=( --without-alsa --without-sdl-sound )
120 - else
121 - elog "Choosing sdl-sound as sound target to use."
122 - ewarn "E-UAE with the SDL audio back-end doesn't work correctly in Linux."
123 - ewarn "Better use alsa... You've been warned ;)"
124 - myconf=( --without-alsa --with-sdl-sound )
125 - fi
126 - elif use oss ; then
127 - elog "Choosing oss as sound target to use."
128 - ewarn "oss will be autodetected. See output of configure."
129 - myconf=( --without-alsa --without-sdl-sound )
130 - else
131 - ewarn "There is no alsa, sdl-sound or oss in USE. Sound target disabled!"
132 - myconf=( --disable-audio )
133 - fi
134 -
135 - # VIDEO setup. X is autodetected (there is no --with-X option).
136 - if use X ; then
137 - elog "Using X11 for video output."
138 - ewarn "Fullscreen mode is not working in X11 currently. Use sdl."
139 - myconf+=( --without-curses --without-sdl-gfx )
140 - use dga && ewarn "To use dga you have to run e-uae as root."
141 - use dga && myconf+=( --enable-dga --enable-vidmode )
142 - elif use sdl ; then
143 - elog "Using sdl for video output."
144 - myconf+=( --with-sdl --with-sdl-gfx --without-curses )
145 - elif use ncurses; then
146 - elog "Using ncurses for video output."
147 - myconf+=( --with-curses --without-sdl-gfx )
148 - else
149 - ewarn "There is no X or sdl or ncurses in USE!"
150 - ewarn "Following upstream falling back on ncurses."
151 - myconf+=( --with-curses --without-sdl-gfx )
152 - fi
153 -
154 - # bug #415787
155 - myconf+=(
156 - --disable-ui
157 - $(use_with capslib caps)
158 - --with-zlib
159 -
160 - # And explicitly state defaults:
161 - --enable-aga
162 -
163 - --enable-autoconfig
164 - --enable-scsi-device
165 - --enable-cdtv
166 - --enable-cd32
167 -
168 - --enable-bsdsock
169 -
170 - --with-libscg-includedir="${EPREFIX}"/usr/include/scsilib
171 - )
172 -
173 - econf ${myconf[@]}
174 -}
175 -
176 -src_compile() {
177 - emake -j1
178 -}
179 -
180 -src_install() {
181 - emake DESTDIR="${D}" install
182 -
183 - # The emulator needs to be able to create executable heap
184 - # - doesn't need trampoline emulation though.
185 - pax-mark me "${ED%/}/usr/bin/uae"
186 -
187 - # Rename it to e-uae
188 - mv "${ED%/}"/usr/bin/{,e-}uae || die
189 - mv "${ED%/}"/usr/bin/{,e-}readdisk || die
190 -
191 - dodoc docs/* README ChangeLog
192 -}
193
194 diff --git a/app-emulation/e-uae/files/e-uae-0.8.29_rc4-high-cpu-usage.patch b/app-emulation/e-uae/files/e-uae-0.8.29_rc4-high-cpu-usage.patch
195 deleted file mode 100644
196 index ad73b34c062..00000000000
197 --- a/app-emulation/e-uae/files/e-uae-0.8.29_rc4-high-cpu-usage.patch
198 +++ /dev/null
199 @@ -1,18 +0,0 @@
200 -Index: src/sd-none/sound.c
201 -===================================================================
202 -RCS file: /cvsroot/uaedev/uae/src/sd-none/sound.c,v
203 -retrieving revision 1.4
204 -diff -u -r1.4 sound.c
205 ---- a/src/sd-none/sound.c 15 Feb 2007 04:47:38 -0000 1.4
206 -+++ b/src/sd-none/sound.c 25 May 2007 14:47:35 -0000
207 -@@ -30,10 +30,6 @@
208 - {
209 - }
210 -
211 --void update_sound (int freq)
212 --{
213 --}
214 --
215 - void reset_sound (void)
216 - {
217 - }
218
219 diff --git a/app-emulation/e-uae/files/e-uae-0.8.29_rc4-no_schily.patch b/app-emulation/e-uae/files/e-uae-0.8.29_rc4-no_schily.patch
220 deleted file mode 100644
221 index 1a9ebcb408b..00000000000
222 --- a/app-emulation/e-uae/files/e-uae-0.8.29_rc4-no_schily.patch
223 +++ /dev/null
224 @@ -1,20 +0,0 @@
225 -configure.in:1134: error: required file 'src/libscg.a' not found
226 -configure.in:1134: error: required file 'src/libschily.a' not found
227 -
228 ---- e-uae-0.8.29-WIP4/configure.in
229 -+++ e-uae-0.8.29-WIP4/configure.in
230 -@@ -1162,13 +1162,7 @@
231 - SCSIOBJS="scsiemul.o blkdev.o blkdev-libscg.o"
232 - UAE_DEFINES="$UAE_DEFINES -DSCSIEMU"
233 - NEED_THREAD_SUPPORT=yes
234 -- if [[ "$srcdir" != "." ]]; then
235 -- AC_CONFIG_LINKS(src/libscg.a:src/libscg.a)
236 -- AC_CONFIG_LINKS(src/libschily.a:src/libschily.a)
237 -- UAE_LIBS="$UAE_LIBS $LIBSCG_LIBS"
238 -- else
239 -- UAE_LIBS="$UAE_LIBS -L. $SCGLIBS"
240 -- fi
241 -+ UAE_LIBS="$UAE_LIBS $LIBSCG_LIBS"
242 - ],
243 - [
244 - AC_MSG_RESULT(no)
245
246 diff --git a/app-emulation/e-uae/files/e-uae-0.8.29_rc4-tinfo.patch b/app-emulation/e-uae/files/e-uae-0.8.29_rc4-tinfo.patch
247 deleted file mode 100644
248 index 7f94dd20d8d..00000000000
249 --- a/app-emulation/e-uae/files/e-uae-0.8.29_rc4-tinfo.patch
250 +++ /dev/null
251 @@ -1,22 +0,0 @@
252 ---- e-uae-0.8.29-WIP4/configure.in
253 -+++ e-uae-0.8.29-WIP4/configure.in
254 -@@ -624,6 +624,7 @@
255 - AC_PATH_XTRA
256 -
257 - dnl Check for ncurses
258 -+AC_CHECK_LIB(tinfo, main, HAVE_TINFO_LIB=yes, HAVE_TINFO_LIB=no)
259 - AC_CHECK_LIB(ncurses, waddch, HAVE_NCURSES_LIB=yes, HAVE_NCURSES_LIB=no)
260 -
261 - dnl Check for SDL
262 -@@ -793,7 +794,10 @@
263 -
264 - if [[ "x$WANT_NCURSES" = "xyes" ]]; then
265 - if [[ "x$HAVE_NCURSES_LIB" = "xyes" ]]; then
266 -- GFX_LIBS="-lncurses"
267 -+ if [[ "x$HAVE_TINFO_LIB" = "xyes" ]]; then
268 -+ GFX_LIBS="-ltinfo"
269 -+ fi
270 -+ GFX_LIBS="$GFX_LIBS -lncurses"
271 - GFX_CFLAGS=
272 - GFX_CPPFLAGS=
273 - GFX_DEP=gfx-curses
274
275 diff --git a/app-emulation/e-uae/metadata.xml b/app-emulation/e-uae/metadata.xml
276 deleted file mode 100644
277 index 35a11c55489..00000000000
278 --- a/app-emulation/e-uae/metadata.xml
279 +++ /dev/null
280 @@ -1,14 +0,0 @@
281 -<?xml version="1.0" encoding="UTF-8"?>
282 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
283 -<pkgmetadata>
284 - <!-- maintainer-needed -->
285 - <longdescription lang="en">
286 - E-UAE is a fork of UAE which intends to merge all the new features of
287 - WinUAE with UAE.
288 - </longdescription>
289 - <use>
290 - <flag name="capslib">Add CAPS library support</flag>
291 - <flag name="sdl-sound">Use <pkg>media-libs/sdl-sound</pkg> for audio
292 - output</flag>
293 - </use>
294 -</pkgmetadata>
295
296 diff --git a/profiles/package.mask b/profiles/package.mask
297 index 30d5648a56c..2f8a3f11082 100644
298 --- a/profiles/package.mask
299 +++ b/profiles/package.mask
300 @@ -412,9 +412,8 @@ sys-cluster/moosefs
301
302 # James Le Cuirot <chewi@g.o> (20 Apr 2019)
303 # Ancient and long dead upstream. Use app-emulation/fs-uae
304 -# instead. Removal in 30 days. Bugs #432092, #602966.
305 +# instead. Removal in 30 days. Bug #432092.
306 app-emulation/uae
307 -app-emulation/e-uae
308
309 # Miroslav Šulc <fordfrog@g.o> (19 Apr 2019)
310 # Depends on >=virtual/{jdk,jre}-11 which is masked