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/, games-emulation/fakenes/, games-emulation/fakenes/files/
Date: Wed, 23 Dec 2020 09:10:18
Message-Id: 1608714567.f67c488d8bb4911f97a882a0b8bfbe9f2ccf0bda.mgorny@gentoo
1 commit: f67c488d8bb4911f97a882a0b8bfbe9f2ccf0bda
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 23 09:09:27 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 23 09:09:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f67c488d
7
8 games-emulation/fakenes: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/746230
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 games-emulation/fakenes/Manifest | 1 -
14 games-emulation/fakenes/fakenes-0.5.8-r3.ebuild | 77 ----------
15 .../fakenes/files/fakenes-0.5.8-underlink.patch | 8 -
16 .../fakenes/files/fakenes-0.5.8-zlib.patch | 170 ---------------------
17 games-emulation/fakenes/metadata.xml | 11 --
18 profiles/package.mask | 6 -
19 6 files changed, 273 deletions(-)
20
21 diff --git a/games-emulation/fakenes/Manifest b/games-emulation/fakenes/Manifest
22 deleted file mode 100644
23 index 9e99f68878e..00000000000
24 --- a/games-emulation/fakenes/Manifest
25 +++ /dev/null
26 @@ -1 +0,0 @@
27 -DIST fakenes-0.5.8.tar.bz2 274503 BLAKE2B 64b410052e54c0cd1b474f5bacce220f39455c0de9024582cfc98ea307900b771428eeb9cb4e83e0cd72b0a221d10856f23f1c34b3058050a7dbc81b03e88c07 SHA512 2a22c51cf7171661a92584e083c3dfd69d009b586c22f8b5a4b4022065309ae4d6370a81997c035a9e19ff225e87d92e1b572b313585f2e05776cbf7c1c971aa
28
29 diff --git a/games-emulation/fakenes/fakenes-0.5.8-r3.ebuild b/games-emulation/fakenes/fakenes-0.5.8-r3.ebuild
30 deleted file mode 100644
31 index e8aeb3a8b2c..00000000000
32 --- a/games-emulation/fakenes/fakenes-0.5.8-r3.ebuild
33 +++ /dev/null
34 @@ -1,77 +0,0 @@
35 -# Copyright 1999-2018 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=6
39 -inherit desktop flag-o-matic toolchain-funcs gnome2-utils
40 -
41 -DESCRIPTION="Portable, Open Source NES emulator which is written mostly in C"
42 -HOMEPAGE="http://fakenes.sourceforge.net/"
43 -SRC_URI="mirror://sourceforge/fakenes/${P}.tar.bz2"
44 -
45 -LICENSE="ZLIB"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -IUSE="openal opengl zlib"
49 -
50 -RDEPEND="
51 - >=media-libs/allegro-4.4.1.1:0[opengl?]
52 - dev-games/hawknl
53 - openal? (
54 - media-libs/openal
55 - media-libs/freealut
56 - )
57 - zlib? ( sys-libs/zlib )
58 -"
59 -DEPEND="${RDEPEND}
60 - virtual/pkgconfig
61 -"
62 -
63 -src_prepare() {
64 - default
65 - sed -i \
66 - -e "s:openal-config:pkg-config openal:" \
67 - build/openal.cbd || die
68 -
69 - sed -i \
70 - -e "s:LIBAGL = agl:LIBAGL = alleggl:" \
71 - build/alleggl.cbd || die
72 - eapply "${FILESDIR}"/${P}-{underlink,zlib}.patch
73 -}
74 -
75 -src_compile() {
76 - local myconf
77 -
78 - append-ldflags -Wl,-z,noexecstack
79 -
80 - echo "$(tc-getBUILD_CC) cbuild.c -o cbuild"
81 - $(tc-getBUILD_CC) cbuild.c -o cbuild || die "cbuild build failed"
82 -
83 - use openal || myconf="$myconf -openal"
84 - use opengl || myconf="$myconf -alleggl"
85 - use zlib || myconf="$myconf -zlib"
86 -
87 - LD="$(tc-getCC) ${CFLAGS}" ./cbuild ${myconf} --verbose || die "cbuild failed"
88 -}
89 -
90 -src_install() {
91 - dobin fakenes
92 - insinto "/usr/share/${PN}"
93 - doins support/*
94 -
95 - cd docs && HTML_DOCS="faq.html" einstalldocs && cd ..
96 -
97 - newicon -s 32 support/icon-32x32.png ${PN}.png
98 - make_desktop_entry ${PN} "FakeNES"
99 -}
100 -
101 -pkg_preinst() {
102 - gnome2_icon_savelist
103 -}
104 -
105 -pkg_postinst() {
106 - gnome2_icon_cache_update
107 -}
108 -
109 -pkg_postrm() {
110 - gnome2_icon_cache_update
111 -}
112
113 diff --git a/games-emulation/fakenes/files/fakenes-0.5.8-underlink.patch b/games-emulation/fakenes/files/fakenes-0.5.8-underlink.patch
114 deleted file mode 100644
115 index 48f37a5fd83..00000000000
116 --- a/games-emulation/fakenes/files/fakenes-0.5.8-underlink.patch
117 +++ /dev/null
118 @@ -1,8 +0,0 @@
119 ---- a/build/hawknl.cbd.old 2011-06-22 17:28:16.733408930 +0200
120 -+++ b/build/hawknl.cbd 2011-06-22 17:28:29.217203187 +0200
121 -@@ -22,4 +22,4 @@
122 -
123 - # --
124 -
125 --LDFLAGS += ' -lNL'
126 -+LDFLAGS += ' -lNL -lm'
127
128 diff --git a/games-emulation/fakenes/files/fakenes-0.5.8-zlib.patch b/games-emulation/fakenes/files/fakenes-0.5.8-zlib.patch
129 deleted file mode 100644
130 index 15549051a6a..00000000000
131 --- a/games-emulation/fakenes/files/fakenes-0.5.8-zlib.patch
132 +++ /dev/null
133 @@ -1,170 +0,0 @@
134 -diff -ur fakenes-0.5.8-old/src/include/unzip.h fakenes-0.5.8/src/include/unzip.h
135 ---- fakenes-0.5.8-old/src/include/unzip.h 2012-08-22 20:51:45.310735240 +0200
136 -+++ fakenes-0.5.8/src/include/unzip.h 2012-08-22 20:56:40.737069700 +0200
137 -@@ -119,9 +119,9 @@
138 - tm_unz tmu_date;
139 - } unz_file_info;
140 -
141 --extern int ZEXPORT unzStringFileNameCompare OF ((const char* fileName1,
142 -+extern int ZEXPORT unzStringFileNameCompare (const char* fileName1,
143 - const char* fileName2,
144 -- int iCaseSensitivity));
145 -+ int iCaseSensitivity);
146 - /*
147 - Compare two filename (fileName1,fileName2).
148 - If iCaseSenisivity = 1, comparision is case sensitivity (like strcmp)
149 -@@ -132,7 +132,7 @@
150 - */
151 -
152 -
153 --extern unzFile ZEXPORT unzOpen OF((const char *path));
154 -+extern unzFile ZEXPORT unzOpen (const char *path);
155 - /*
156 - Open a Zip file. path contain the full pathname (by example,
157 - on a Windows NT computer "c:\\zlib\\zlib111.zip" or on an Unix computer
158 -@@ -143,24 +143,24 @@
159 - of this unzip package.
160 - */
161 -
162 --extern int ZEXPORT unzClose OF((unzFile file));
163 -+extern int ZEXPORT unzClose (unzFile file);
164 - /*
165 - Close a ZipFile opened with unzipOpen.
166 - If there is files inside the .Zip opened with unzOpenCurrentFile (see later),
167 - these files MUST be closed with unzipCloseCurrentFile before call unzipClose.
168 - return UNZ_OK if there is no problem. */
169 -
170 --extern int ZEXPORT unzGetGlobalInfo OF((unzFile file,
171 -- unz_global_info *pglobal_info));
172 -+extern int ZEXPORT unzGetGlobalInfo (unzFile file,
173 -+ unz_global_info *pglobal_info);
174 - /*
175 - Write info about the ZipFile in the *pglobal_info structure.
176 - No preparation of the structure is needed
177 - return UNZ_OK if there is no problem. */
178 -
179 -
180 --extern int ZEXPORT unzGetGlobalComment OF((unzFile file,
181 -+extern int ZEXPORT unzGetGlobalComment (unzFile file,
182 - char *szComment,
183 -- uLong uSizeBuf));
184 -+ uLong uSizeBuf);
185 - /*
186 - Get the global comment string of the ZipFile, in the szComment buffer.
187 - uSizeBuf is the size of the szComment buffer.
188 -@@ -171,22 +171,22 @@
189 - /***************************************************************************/
190 - /* Unzip package allow you browse the directory of the zipfile */
191 -
192 --extern int ZEXPORT unzGoToFirstFile OF((unzFile file));
193 -+extern int ZEXPORT unzGoToFirstFile (unzFile file);
194 - /*
195 - Set the current file of the zipfile to the first file.
196 - return UNZ_OK if there is no problem
197 - */
198 -
199 --extern int ZEXPORT unzGoToNextFile OF((unzFile file));
200 -+extern int ZEXPORT unzGoToNextFile (unzFile file);
201 - /*
202 - Set the current file of the zipfile to the next file.
203 - return UNZ_OK if there is no problem
204 - return UNZ_END_OF_LIST_OF_FILE if the actual file was the latest.
205 - */
206 -
207 --extern int ZEXPORT unzLocateFile OF((unzFile file,
208 -+extern int ZEXPORT unzLocateFile (unzFile file,
209 - const char *szFileName,
210 -- int iCaseSensitivity));
211 -+ int iCaseSensitivity);
212 - /*
213 - Try locate the file szFileName in the zipfile.
214 - For the iCaseSensitivity signification, see unzStringFileNameCompare
215 -@@ -197,14 +197,14 @@
216 - */
217 -
218 -
219 --extern int ZEXPORT unzGetCurrentFileInfo OF((unzFile file,
220 -+extern int ZEXPORT unzGetCurrentFileInfo (unzFile file,
221 - unz_file_info *pfile_info,
222 - char *szFileName,
223 - uLong fileNameBufferSize,
224 - void *extraField,
225 - uLong extraFieldBufferSize,
226 - char *szComment,
227 -- uLong commentBufferSize));
228 -+ uLong commentBufferSize);
229 - /*
230 - Get Info about the current file
231 - if pfile_info!=NULL, the *pfile_info structure will contain somes info about
232 -@@ -223,22 +223,22 @@
233 - from it, and close it (you can close it before reading all the file)
234 - */
235 -
236 --extern int ZEXPORT unzOpenCurrentFile OF((unzFile file));
237 -+extern int ZEXPORT unzOpenCurrentFile (unzFile file);
238 - /*
239 - Open for reading data the current file in the zipfile.
240 - If there is no error, the return value is UNZ_OK.
241 - */
242 -
243 --extern int ZEXPORT unzCloseCurrentFile OF((unzFile file));
244 -+extern int ZEXPORT unzCloseCurrentFile (unzFile file);
245 - /*
246 - Close the file in zip opened with unzOpenCurrentFile
247 - Return UNZ_CRCERROR if all the file was read but the CRC is not good
248 - */
249 -
250 -
251 --extern int ZEXPORT unzReadCurrentFile OF((unzFile file,
252 -+extern int ZEXPORT unzReadCurrentFile (unzFile file,
253 - voidp buf,
254 -- unsigned len));
255 -+ unsigned len);
256 - /*
257 - Read bytes from the current file (opened by unzOpenCurrentFile)
258 - buf contain buffer where data must be copied
259 -@@ -250,19 +250,19 @@
260 - (UNZ_ERRNO for IO error, or zLib error for uncompress error)
261 - */
262 -
263 --extern z_off_t ZEXPORT unztell OF((unzFile file));
264 -+extern z_off_t ZEXPORT unztell (unzFile file);
265 - /*
266 - Give the current position in uncompressed data
267 - */
268 -
269 --extern int ZEXPORT unzeof OF((unzFile file));
270 -+extern int ZEXPORT unzeof (unzFile file);
271 - /*
272 - return 1 if the end of file was reached, 0 elsewhere
273 - */
274 -
275 --extern int ZEXPORT unzGetLocalExtrafield OF((unzFile file,
276 -+extern int ZEXPORT unzGetLocalExtrafield (unzFile file,
277 - voidp buf,
278 -- unsigned len));
279 -+ unsigned len);
280 - /*
281 - Read extra field from the current file (opened by unzOpenCurrentFile)
282 - This is the local-header version of the extra field (sometimes, there is
283 -diff -ur fakenes-0.5.8-old/src/unzip.c fakenes-0.5.8/src/unzip.c
284 ---- fakenes-0.5.8-old/src/unzip.c 2012-08-22 20:51:45.300735366 +0200
285 -+++ fakenes-0.5.8/src/unzip.c 2012-08-22 20:57:42.596243769 +0200
286 -@@ -500,7 +500,7 @@
287 - /*
288 - Get Info about the current file in the zipfile, with internal only info
289 - */
290 --local int unzlocal_GetCurrentFileInfoInternal OF((unzFile file,
291 -+local int unzlocal_GetCurrentFileInfoInternal (unzFile file,
292 - unz_file_info *pfile_info,
293 - unz_file_info_internal
294 - *pfile_info_internal,
295 -@@ -509,7 +509,7 @@
296 - void *extraField,
297 - uLong extraFieldBufferSize,
298 - char *szComment,
299 -- uLong commentBufferSize));
300 -+ uLong commentBufferSize);
301 -
302 - local int unzlocal_GetCurrentFileInfoInternal (file,
303 - pfile_info,
304
305 diff --git a/games-emulation/fakenes/metadata.xml b/games-emulation/fakenes/metadata.xml
306 deleted file mode 100644
307 index b669d82dff8..00000000000
308 --- a/games-emulation/fakenes/metadata.xml
309 +++ /dev/null
310 @@ -1,11 +0,0 @@
311 -<?xml version="1.0" encoding="UTF-8"?>
312 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
313 -<pkgmetadata>
314 - <maintainer type="project">
315 - <email>games@g.o</email>
316 - <name>Gentoo Games Project</name>
317 - </maintainer>
318 - <upstream>
319 - <remote-id type="sourceforge">fakenes</remote-id>
320 - </upstream>
321 -</pkgmetadata>
322
323 diff --git a/profiles/package.mask b/profiles/package.mask
324 index 666a831a101..dc8c5132fc0 100644
325 --- a/profiles/package.mask
326 +++ b/profiles/package.mask
327 @@ -284,12 +284,6 @@ dev-lua/luadoc
328 =sys-kernel/gentoo-kernel-bin-5.4.78-r1
329 =sys-kernel/gentoo-kernel-bin-5.4.78
330
331 -# David Seifert <soap@g.o> (2020-11-22)
332 -# Upstream abandoned since 2012, tons of QA issues and
333 -# build bugs, esoteric NIH build system. Bug #293567, #670954,
334 -# #697444, #699320, #708058, #746230, Removal in 30 days.
335 -games-emulation/fakenes
336 -
337 # Jonas Stein <jstein@g.o> (2020-11-12)
338 # Adobe will stop distributing Flash Player after 2020-12-31.
339 # Masked for removal after 2020-12-31