Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/default/linux/musl/, profiles/, games-emulation/nestra/, ...
Date: Tue, 12 Oct 2021 15:07:58
Message-Id: 1634050470.5f10d8cc41de845a5d99841b65af7991f6ad8d57.ionen@gentoo
1 commit: 5f10d8cc41de845a5d99841b65af7991f6ad8d57
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 12 14:45:44 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 12 14:54:30 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f10d8cc
7
8 games-emulation/nestra: treeclean
9
10 Closes: https://bugs.gentoo.org/701414
11 Closes: https://bugs.gentoo.org/739188
12 Closes: https://bugs.gentoo.org/739222
13 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
14
15 games-emulation/nestra/Manifest | 2 -
16 .../nestra/files/nestra-0.66-exec-stack.patch | 10 ---
17 .../nestra/files/nestra-0.66-include.patch | 73 ----------------------
18 games-emulation/nestra/metadata.xml | 8 ---
19 games-emulation/nestra/nestra-0.66-r3.ebuild | 49 ---------------
20 profiles/arch/amd64/no-multilib/package.mask | 1 -
21 profiles/default/linux/musl/package.mask | 3 +-
22 profiles/package.mask | 7 ---
23 8 files changed, 1 insertion(+), 152 deletions(-)
24
25 diff --git a/games-emulation/nestra/Manifest b/games-emulation/nestra/Manifest
26 deleted file mode 100644
27 index 40544bba409..00000000000
28 --- a/games-emulation/nestra/Manifest
29 +++ /dev/null
30 @@ -1,2 +0,0 @@
31 -DIST nestra-0.66.tar.gz 49757 BLAKE2B 0ec8603cd9afc33a1b194e1c39cdc8d3173d1ad4c7c76e6e00214883cdfcd8f2cf35bfb4b74e131822aaf8c7864a50980d642bc87aca26372f06b8fab145a7cf SHA512 25f9d0c0359b46ddcd451552e7737b0f955a18e7a4ebd30d5494b12f787b9c45a49579207328c06c10efc7f8283bc688eb2061c538523ed257825b2394d978ce
32 -DIST nestra_0.66-10.diff.gz 2414 BLAKE2B 5b83ac9eee4d8c141dc473000b5f713ab4eb0a38707334d4fd044b9617f01b83c4a19670ef27874f6511f1f9b1d578ba35d5ba9ac244621b19ca3b9c00d5a30d SHA512 4ea1ad97f6c2eca0434dee4031e0486cc1c7c25237a467d4bf33bd0656b52441143855e07b29e1bdcf95514e19fe68ecb8f73d0972d17d9e3b6fd7a92d2db8c6
33
34 diff --git a/games-emulation/nestra/files/nestra-0.66-exec-stack.patch b/games-emulation/nestra/files/nestra-0.66-exec-stack.patch
35 deleted file mode 100644
36 index d9e9b3c6114..00000000000
37 --- a/games-emulation/nestra/files/nestra-0.66-exec-stack.patch
38 +++ /dev/null
39 @@ -1,10 +0,0 @@
40 ---- a/x86.S.orig 2006-01-09 20:02:58.000000000 -0500
41 -+++ b/x86.S 2006-01-09 20:03:38.000000000 -0500
42 -@@ -1458,3 +1458,7 @@
43 - leal 0x1(%eax),%ebx
44 - popl %eax
45 - jmp i_next
46 -+
47 -+#ifdef __ELF__
48 -+.section .note.GNU-stack,"",@progbits
49 -+#endif
50
51 diff --git a/games-emulation/nestra/files/nestra-0.66-include.patch b/games-emulation/nestra/files/nestra-0.66-include.patch
52 deleted file mode 100644
53 index 096fd18af47..00000000000
54 --- a/games-emulation/nestra/files/nestra-0.66-include.patch
55 +++ /dev/null
56 @@ -1,73 +0,0 @@
57 ---- a/comptbl.c
58 -+++ b/comptbl.c
59 -@@ -9,6 +9,7 @@
60 - #include <stdio.h>
61 - #include <string.h>
62 - #include <errno.h>
63 -+#include <stdlib.h>
64 -
65 - #define ALLOC_SIZE 0x400000 /* 4MB */
66 - #define TBL_BASE ((unsigned char *)0x10000000)
67 ---- a/d6502.c
68 -+++ b/d6502.c
69 -@@ -1,6 +1,7 @@
70 - /* 6502 disassembler */
71 - /* Public Domain */
72 -
73 -+#include <stdio.h>
74 - #include "globals.h"
75 -
76 - char Opcodes_6502[256][4]={
77 ---- a/emu.c
78 -+++ b/emu.c
79 -@@ -12,6 +12,7 @@
80 - #include <sys/mman.h>
81 - #include <stdio.h>
82 - #include <stdlib.h>
83 -+#include <string.h>
84 -
85 - #include "mapper.h"
86 - #include "io.h"
87 ---- a/fb.c
88 -+++ b/fb.c
89 -@@ -2,6 +2,8 @@
90 - /* Framebuffer/pixmap rendering */
91 - /* Public Domain */
92 -
93 -+#include <stdlib.h>
94 -+#include <string.h>
95 - #include <stdio.h>
96 - #include "mapper.h"
97 - #include "globals.h"
98 ---- a/io.c
99 -+++ b/io.c
100 -@@ -5,6 +5,7 @@
101 - to do I/O operations. */
102 -
103 - #include <stdio.h>
104 -+#include <string.h>
105 - #include "mapper.h"
106 - #include "io.h"
107 - #include "globals.h"
108 ---- a/mapper.c
109 -+++ b/mapper.c
110 -@@ -1,6 +1,7 @@
111 - /* Nestra mapper.c */
112 - /* Public Domain */
113 -
114 -+#include <string.h>
115 - #include "mapper.h"
116 - #include "consts.h"
117 -
118 ---- a/x11.c
119 -+++ b/x11.c
120 -@@ -1,6 +1,9 @@
121 - /* Nestra x11.c */
122 - /* Public Domain */
123 -
124 -+#include <stdlib.h>
125 -+#include <string.h>
126 -+#include <stdio.h>
127 - #include <X11/Xlib.h>
128 - #include <X11/keysym.h>
129 - #include <X11/Xutil.h>
130
131 diff --git a/games-emulation/nestra/metadata.xml b/games-emulation/nestra/metadata.xml
132 deleted file mode 100644
133 index 1c3ba213c49..00000000000
134 --- a/games-emulation/nestra/metadata.xml
135 +++ /dev/null
136 @@ -1,8 +0,0 @@
137 -<?xml version="1.0" encoding="UTF-8"?>
138 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
139 -<pkgmetadata>
140 -<maintainer type="project">
141 - <email>games@g.o</email>
142 - <name>Gentoo Games Project</name>
143 -</maintainer>
144 -</pkgmetadata>
145
146 diff --git a/games-emulation/nestra/nestra-0.66-r3.ebuild b/games-emulation/nestra/nestra-0.66-r3.ebuild
147 deleted file mode 100644
148 index 73ec6ac1948..00000000000
149 --- a/games-emulation/nestra/nestra-0.66-r3.ebuild
150 +++ /dev/null
151 @@ -1,49 +0,0 @@
152 -# Copyright 1999-2021 Gentoo Authors
153 -# Distributed under the terms of the GNU General Public License v2
154 -
155 -EAPI=7
156 -
157 -inherit toolchain-funcs flag-o-matic
158 -
159 -PATCH="${P/-/_}-10.diff"
160 -DESCRIPTION="NES emulation for Linux/x86"
161 -HOMEPAGE="http://nestra.linuxgames.com/"
162 -SRC_URI="http://nestra.linuxgames.com/${P}.tar.gz
163 - mirror://debian/pool/contrib/n/nestra/${PATCH}.gz"
164 -S="${WORKDIR}/${PN}"
165 -
166 -LICENSE="GPL-2"
167 -SLOT="0"
168 -KEYWORDS="~amd64 ~x86"
169 -
170 -RDEPEND="x11-libs/libX11[abi_x86_32(-)]"
171 -DEPEND="${RDEPEND}"
172 -
173 -src_prepare() {
174 - default
175 -
176 - eapply "${WORKDIR}"/${PATCH}
177 - eapply "${FILESDIR}"/${P}-exec-stack.patch
178 - eapply "${FILESDIR}"/${P}-include.patch
179 -
180 - append-ldflags -Wl,-z,noexecstack
181 - use amd64 && multilib_toolchain_setup x86
182 -
183 - sed -i \
184 - -e "s:-L/usr/X11R6/lib:${LDFLAGS}:" \
185 - -e 's:-O2 ::' \
186 - -e "s:gcc:$(tc-getCC) ${CFLAGS}:" \
187 - -e "s:ld:$(tc-getLD) -m elf_i386 $(raw-ldflags):" \
188 - Makefile || die
189 -}
190 -
191 -src_compile() {
192 - use amd64 && multilib_toolchain_setup x86
193 - default
194 -}
195 -
196 -src_install() {
197 - dobin nestra
198 - einstalldocs
199 - doman nestra.6
200 -}
201
202 diff --git a/profiles/arch/amd64/no-multilib/package.mask b/profiles/arch/amd64/no-multilib/package.mask
203 index d753dcd3504..00637a39be9 100644
204 --- a/profiles/arch/amd64/no-multilib/package.mask
205 +++ b/profiles/arch/amd64/no-multilib/package.mask
206 @@ -61,7 +61,6 @@ games-arcade/jardinains
207 games-arcade/thinktanks-demo
208 games-emulation/caps
209 games-emulation/gens
210 -games-emulation/nestra
211 <games-emulation/pcsx2-9999
212 games-emulation/vgba
213 games-emulation/zinc
214
215 diff --git a/profiles/default/linux/musl/package.mask b/profiles/default/linux/musl/package.mask
216 index b3990d52750..c0b4d10a84c 100644
217 --- a/profiles/default/linux/musl/package.mask
218 +++ b/profiles/default/linux/musl/package.mask
219 @@ -1,4 +1,4 @@
220 -# Copyright 1999-2020 Gentoo Authors
221 +# Copyright 1999-2021 Gentoo Authors
222 # Distributed under the terms of the GNU General Public License v2
223
224 sys-libs/uclibc-ng
225 @@ -35,7 +35,6 @@ games-arcade/barbarian-bin
226 games-arcade/dynamitejack
227 games-arcade/jardinains
228 games-arcade/thinktanks-demo
229 -games-emulation/nestra
230 games-emulation/zinc
231 games-emulation/zsnes
232 games-fps/etqw-demo
233
234 diff --git a/profiles/package.mask b/profiles/package.mask
235 index c9aecb6ef6b..9fb0a93bde5 100644
236 --- a/profiles/package.mask
237 +++ b/profiles/package.mask
238 @@ -291,13 +291,6 @@ games-emulation/caps
239 # Removal on 2021-10-12. bug #776904
240 media-libs/sdl-terminal
241
242 -# Ionen Wolkens <ionen@g.o> (2021-09-12)
243 -# Stuck on x86 / amd64-multilib, no upstream, code relies on
244 -# several implicit constructs and undefined behavior, ebuild
245 -# semi-broken and runtime seems broken even if built.
246 -# Removal on 2021-10-12. bug #701414, bug #739188.
247 -games-emulation/nestra
248 -
249 # Anna Vyalkova <cyber+gentoo@×××××.in> (2021-09-07)
250 # Mask backwards-incompatible version to avoid autodeletion of previous one.
251 # Data migration is not supported upstream and can't be done automatically.