1 |
commit: 1d08d5fec85bc97000d63be7be0eb0720bce3438 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 28 11:48:42 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 28 11:48:42 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d08d5fe |
7 |
|
8 |
games-fps/duke3d: Remove last-rited pkg |
9 |
|
10 |
Closes: https://bugs.gentoo.org/654480 |
11 |
|
12 |
games-fps/duke3d/Manifest | 2 - |
13 |
games-fps/duke3d/duke3d-20040817-r2.ebuild | 114 ------------ |
14 |
games-fps/duke3d/files/20040817-credits.patch | 38 ---- |
15 |
.../files/20040817-duke3d-makefile-opts.patch | 33 ---- |
16 |
games-fps/duke3d/files/20040817-endian.patch | 26 --- |
17 |
games-fps/duke3d/files/20040817-gcc34.patch | 82 --------- |
18 |
.../duke3d/files/duke3d-20040817-as-needed.patch | 74 -------- |
19 |
games-fps/duke3d/files/duke3d-20040817-gcc4.patch | 180 ------------------- |
20 |
.../duke3d/files/duke3d-20040817-ldflags.patch | 66 ------- |
21 |
.../duke3d/files/duke3d-20040817-noinline.patch | 18 -- |
22 |
games-fps/duke3d/files/duke3d.cfg | 194 --------------------- |
23 |
games-fps/duke3d/files/network.cfg | 15 -- |
24 |
games-fps/duke3d/metadata.xml | 61 ------- |
25 |
profiles/package.mask | 4 - |
26 |
14 files changed, 907 deletions(-) |
27 |
|
28 |
diff --git a/games-fps/duke3d/Manifest b/games-fps/duke3d/Manifest |
29 |
deleted file mode 100644 |
30 |
index 234c2806271..00000000000 |
31 |
--- a/games-fps/duke3d/Manifest |
32 |
+++ /dev/null |
33 |
@@ -1,2 +0,0 @@ |
34 |
-DIST 3dduke13.zip 5924374 BLAKE2B 177329f04defdd2a2ab35a1926a321bbc8de023878ad6bec610669b5578cbe2f38bc0b03a37c0d0d2dcc99acf2b473ddf683b498b971b857b20964bcdbc7d7c8 SHA512 eb92daa88b4e7cfeebe1fb3d2c021e0a4a66262d0d6e76b5e27fe3cedd382e381d23b392a6d9adb42a418b9318e011c2d8adfbdc77d7c5371e61d8c091c7eb65 |
35 |
-DIST duke3d-20040817.tar.bz2 1509273 BLAKE2B 261ffcce5d3ed68f52e04167c43ae70ccb08818fce8a0790ef333ad1b421d9184e9c9ede7c2e6a5eb73978f384e6439439824ac7da7c4ac2f23ef87820a6c4cc SHA512 a08aa07153458501fb01878769af9797460525015b34d743250e3f04f15ee2dcfbb4110c94c83912ba2435e6d6c48127e2d36c0dc29833e0f6f95e3b925b571c |
36 |
|
37 |
diff --git a/games-fps/duke3d/duke3d-20040817-r2.ebuild b/games-fps/duke3d/duke3d-20040817-r2.ebuild |
38 |
deleted file mode 100644 |
39 |
index e75632b67ac..00000000000 |
40 |
--- a/games-fps/duke3d/duke3d-20040817-r2.ebuild |
41 |
+++ /dev/null |
42 |
@@ -1,114 +0,0 @@ |
43 |
-# Copyright 1999-2013 Gentoo Foundation |
44 |
-# Distributed under the terms of the GNU General Public License v2 |
45 |
- |
46 |
-EAPI=5 |
47 |
-fromcvs=0 |
48 |
-inherit unpacker eutils flag-o-matic games |
49 |
- |
50 |
-DEMO="3dduke13.zip" |
51 |
- |
52 |
-DESCRIPTION="Port of the original Duke Nukem 3D" |
53 |
-HOMEPAGE="http://icculus.org/projects/duke3d/" |
54 |
-SRC_URI="mirror://gentoo/${P}.tar.bz2 |
55 |
- demo? ( |
56 |
- ftp://ftp.3drealms.com/share/${DEMO} |
57 |
- ftp://ftp.planetmirror.com/pub/gameworld/downloads/${DEMO} |
58 |
- )" |
59 |
- |
60 |
-LICENSE="GPL-2" |
61 |
-SLOT="0" |
62 |
-KEYWORDS="~hppa ~x86" |
63 |
-IUSE="demo pic perl opengl" |
64 |
- |
65 |
-RDEPEND="media-libs/libsdl |
66 |
- media-libs/sdl-mixer |
67 |
- media-sound/timidity++ |
68 |
- media-sound/timidity-eawpatches |
69 |
- perl? ( dev-lang/perl[-ithreads] ) |
70 |
- opengl? ( virtual/opengl )" |
71 |
-DEPEND="${RDEPEND} |
72 |
- demo? ( app-arch/unzip ) |
73 |
- !pic? ( x86? ( dev-lang/nasm ) )" |
74 |
- |
75 |
-S=${WORKDIR}/${PN} |
76 |
- |
77 |
-use_tf() { use ${1} && echo "true" || echo "false"; } |
78 |
- |
79 |
-src_unpack() { |
80 |
- unpack ${A} |
81 |
- if use demo ; then |
82 |
- unpack_zip DN3DSW13.SHR |
83 |
- fi |
84 |
-} |
85 |
- |
86 |
-src_prepare() { |
87 |
- # configure buildengine |
88 |
- cd "${S}/source/buildengine" |
89 |
- sed -i \ |
90 |
- -e "/^useperl := / s:=.*:= $(use_tf perl):" \ |
91 |
- -e "/^useopengl := / s:=.*:= $(use_tf opengl):" \ |
92 |
- -e "/^usephysfs := / s:=.*:= false:" \ |
93 |
- -e 's:-O3::' -e 's: -g : :' \ |
94 |
- -e 's:/usr/lib/perl5/i386-linux/CORE/libperl.a::' \ |
95 |
- Makefile || die |
96 |
- epatch "${FILESDIR}/${PV}-endian.patch" |
97 |
- |
98 |
- # configure duke3d |
99 |
- cd "${S}/source" |
100 |
- # need to sync features with build engine |
101 |
- epatch \ |
102 |
- "${FILESDIR}/${PV}-credits.patch" \ |
103 |
- "${FILESDIR}/${PV}-duke3d-makefile-opts.patch" \ |
104 |
- "${FILESDIR}/${PV}-gcc34.patch" \ |
105 |
- "${FILESDIR}"/${P}-gcc4.patch \ |
106 |
- "${FILESDIR}"/${P}-noinline.patch \ |
107 |
- "${FILESDIR}"/${P}-as-needed.patch \ |
108 |
- "${FILESDIR}"/${P}-ldflags.patch |
109 |
- sed -i \ |
110 |
- -e "/^use_opengl := / s:=.*:= $(use_tf opengl):" \ |
111 |
- -e "/^use_physfs := / s:=.*:= false:" \ |
112 |
- Makefile || die |
113 |
- if ! use pic && use x86 ; then |
114 |
- sed -i \ |
115 |
- -e 's:^#USE_ASM:USE_ASM:' buildengine/Makefile || die |
116 |
- sed -i \ |
117 |
- -e '/^#use_asm := /s:#::' Makefile || die |
118 |
- fi |
119 |
- |
120 |
- # causes crazy redefine errors with gcc-3.[2-4].x |
121 |
- replace-flags -O3 -O2 |
122 |
- strip-flags #203969 |
123 |
-} |
124 |
- |
125 |
-src_compile() { |
126 |
- emake -C source/buildengine OPTFLAGS="${CFLAGS}" |
127 |
- emake -C source OPTIMIZE="${CFLAGS}" |
128 |
-} |
129 |
- |
130 |
-src_install() { |
131 |
- games_make_wrapper duke3d "${GAMES_BINDIR}/duke3d.bin" "${GAMES_DATADIR}/${PN}" |
132 |
- newgamesbin source/duke3d duke3d.bin |
133 |
- |
134 |
- dodoc readme.txt |
135 |
- |
136 |
- cd testdata |
137 |
- insinto "${GAMES_DATADIR}/${PN}" |
138 |
- newins defs.con DEFS.CON |
139 |
- newins game.con GAME.CON |
140 |
- newins user.con USER.CON |
141 |
- newins "${FILESDIR}/network.cfg" network.cfg.template |
142 |
- if use demo ; then |
143 |
- doins "${WORKDIR}/DUKE3D.GRP" |
144 |
- fi |
145 |
- |
146 |
- insinto "${GAMES_SYSCONFDIR}" |
147 |
- doins "${FILESDIR}/duke3d.cfg" |
148 |
- dosym "${GAMES_SYSCONFDIR}/duke3d.cfg" "${GAMES_DATADIR}/${PN}/DUKE3D.CFG" |
149 |
- |
150 |
- prepgamesdirs |
151 |
-} |
152 |
- |
153 |
-pkg_postinst() { |
154 |
- games_pkg_postinst |
155 |
- use demo || elog "Put the data files in ${GAMES_DATADIR}/${PN} before playing" |
156 |
-} |
157 |
|
158 |
diff --git a/games-fps/duke3d/files/20040817-credits.patch b/games-fps/duke3d/files/20040817-credits.patch |
159 |
deleted file mode 100644 |
160 |
index 19eefa4bf42..00000000000 |
161 |
--- a/games-fps/duke3d/files/20040817-credits.patch |
162 |
+++ /dev/null |
163 |
@@ -1,38 +0,0 @@ |
164 |
---- a/menues.c 2003-08-17 22:16:10.000000000 +0200 |
165 |
-+++ b/menues.c 2004-03-29 01:59:28.000000000 +0200 |
166 |
-@@ -1747,9 +1747,10 @@ |
167 |
- case 996: |
168 |
- case 997: |
169 |
- |
170 |
--// rotatesprite(c<<16,200<<15,65536L,0,MENUSCREEN,16,0,10+64,0,0,xdim-1,ydim-1); |
171 |
--// rotatesprite(c<<16,19<<16,65536L,0,MENUBAR,16,0,10,0,0,xdim-1,ydim-1); |
172 |
--// menutext(c,24,0,0,"CREDITS"); |
173 |
-+ c = (320>>1); |
174 |
-+ rotatesprite(c<<16,200<<15,65536L,0,MENUSCREEN,16,0,10+64,0,0,xdim-1,ydim-1); |
175 |
-+ rotatesprite(c<<16,19<<16,65536L,0,MENUBAR,16,0,10,0,0,xdim-1,ydim-1); |
176 |
-+ menutext(c,24,0,0,"CREDITS"); |
177 |
- |
178 |
- if(KB_KeyPressed(sc_Escape)) { cmenu(0); break; } |
179 |
- |
180 |
-@@ -1926,6 +1927,21 @@ |
181 |
- |
182 |
- menutext(c,67+16+16+16+16+16,SHX(-7),PHX(-7),"QUIT"); |
183 |
- |
184 |
-+ gametext(c,67+16+16+16+16+16+16+16,"Duke Nukem 3D for " |
185 |
-+#if defined PLATFORM_MACOSX |
186 |
-+ "MacOS" |
187 |
-+#elif defined PLATFORM_DOS |
188 |
-+ "MS-Dos" |
189 |
-+#elif defined PLATFORM_WIN32 |
190 |
-+ "Win32" |
191 |
-+#elif defined PLATFORM_UNIX |
192 |
-+ "Gentoo" |
193 |
-+#else |
194 |
-+ "unknown" |
195 |
-+#endif |
196 |
-+ ,16,2+8+16); |
197 |
-+ gametext(c,67+16+16+16+16+16+16+16+9,"build " __DATE__ " " __TIME__,16,2+8+16); |
198 |
-+ |
199 |
- break; |
200 |
- // CTW END - MODIFICATION |
201 |
- |
202 |
|
203 |
diff --git a/games-fps/duke3d/files/20040817-duke3d-makefile-opts.patch b/games-fps/duke3d/files/20040817-duke3d-makefile-opts.patch |
204 |
deleted file mode 100644 |
205 |
index 9ed2a005215..00000000000 |
206 |
--- a/games-fps/duke3d/files/20040817-duke3d-makefile-opts.patch |
207 |
+++ /dev/null |
208 |
@@ -1,33 +0,0 @@ |
209 |
---- a/Makefile.orig 2003-08-17 17:45:35.948650760 -0400 |
210 |
-+++ b/Makefile 2003-08-17 17:46:36.894385600 -0400 |
211 |
-@@ -4,6 +4,8 @@ |
212 |
- beos := false |
213 |
- macosx := false |
214 |
- #use_asm := true |
215 |
-+use_opengl := true |
216 |
-+use_physfs := false |
217 |
- |
218 |
- #-----------------------------------------------------------------------------# |
219 |
- # If this makefile fails to detect Cygwin correctly, or you want to force |
220 |
-@@ -80,6 +81,10 @@ |
221 |
- buildengine/pragmas.o \ |
222 |
- buildengine/unix_compat.o |
223 |
- |
224 |
-+ifeq ($(strip $(use_opengl)),true) |
225 |
-+ BUILDOBJS += buildengine/buildgl.o |
226 |
-+endif |
227 |
-+ |
228 |
- ifeq ($(strip $(use_asm)),true) |
229 |
- BUILDOBJS += buildengine/a_gnu.o buildengine/a_nasm.o |
230 |
- else |
231 |
-@@ -106,6 +106,10 @@ |
232 |
- |
233 |
- LDLIBS = $(SDL_LDFLAGS) -lSDL -lSDL_mixer $(EXTRALDFLAGS) |
234 |
- |
235 |
-+ifeq ($(strip $(use_physfs)),true) |
236 |
-+ LDLIBS += -lphysfs |
237 |
-+endif |
238 |
-+ |
239 |
- # !!! FIXME: Do we even need this? It doesn't fly on MacOS X. --ryan. |
240 |
- #LDLIBS += -Wl,-E |
241 |
- |
242 |
|
243 |
diff --git a/games-fps/duke3d/files/20040817-endian.patch b/games-fps/duke3d/files/20040817-endian.patch |
244 |
deleted file mode 100644 |
245 |
index 3bcdc1379db..00000000000 |
246 |
--- a/games-fps/duke3d/files/20040817-endian.patch |
247 |
+++ /dev/null |
248 |
@@ -1,26 +0,0 @@ |
249 |
---- buildengine/platform.h.old 2003-08-07 12:06:17.000000000 +0200 |
250 |
-+++ buildengine/platform.h 2004-08-24 18:35:05.292291088 +0200 |
251 |
-@@ -5,6 +5,7 @@ |
252 |
- #include "win32_compat.h" |
253 |
- #elif (defined PLATFORM_UNIX) |
254 |
- #include "unix_compat.h" |
255 |
-+#include <endian.h> |
256 |
- #elif (defined PLATFORM_DOS) |
257 |
- #include "doscmpat.h" |
258 |
- #else |
259 |
-@@ -60,9 +61,15 @@ |
260 |
- #define BUILDSWAP_INTEL16(x) _swap16(x) |
261 |
- #define BUILDSWAP_INTEL32(x) _swap32(x) |
262 |
- #else |
263 |
-+#if __BYTE_ORDER == __LITTLE_ENDIAN |
264 |
- #define PLATFORM_LITTLEENDIAN 1 |
265 |
- #define BUILDSWAP_INTEL16(x) (x) |
266 |
- #define BUILDSWAP_INTEL32(x) (x) |
267 |
-+#else |
268 |
-+#define PLATFORM_BIGENDIAN 1 |
269 |
-+#define BUILDSWAP_INTEL16(x) _swap16(x) |
270 |
-+#define BUILDSWAP_INTEL32(x) _swap32(x) |
271 |
-+#endif |
272 |
- #endif |
273 |
- |
274 |
- extern int has_altivec; /* PowerPC-specific. */ |
275 |
|
276 |
diff --git a/games-fps/duke3d/files/20040817-gcc34.patch b/games-fps/duke3d/files/20040817-gcc34.patch |
277 |
deleted file mode 100644 |
278 |
index a7de9c11638..00000000000 |
279 |
--- a/games-fps/duke3d/files/20040817-gcc34.patch |
280 |
+++ /dev/null |
281 |
@@ -1,82 +0,0 @@ |
282 |
---- source/astub.c.orig 2004-08-22 14:44:50.691126872 +0100 |
283 |
-+++ source/astub.c 2004-08-22 14:47:15.532107696 +0100 |
284 |
-@@ -540,6 +540,11 @@ |
285 |
- return(tempbuf); |
286 |
- } //end |
287 |
- |
288 |
-+void SpriteName(short spritenum, char *lo2) |
289 |
-+{ |
290 |
-+ sprintf(lo2,names[sprite[spritenum].picnum]); |
291 |
-+}// end SpriteName |
292 |
-+ |
293 |
- const char *ExtGetSpriteCaption(short spritenum) |
294 |
- { |
295 |
- |
296 |
-@@ -608,7 +613,11 @@ |
297 |
- // y1, y2 0-143 (status bar is 144 high, origin is top-left of STATUS BAR) |
298 |
- // col 0-15 |
299 |
- |
300 |
-- |
301 |
-+void PrintStatus(char *string,int num,char x,char y,char color) |
302 |
-+{ |
303 |
-+ sprintf(tempbuf,"%s %d",string,num); |
304 |
-+ printext16(x*8,y*8,color,-1,tempbuf,0); |
305 |
-+} |
306 |
- |
307 |
- void TotalMem() |
308 |
- { |
309 |
-@@ -1276,18 +1285,6 @@ |
310 |
- |
311 |
- } |
312 |
- |
313 |
-- |
314 |
--void PrintStatus(char *string,int num,char x,char y,char color) |
315 |
--{ |
316 |
-- sprintf(tempbuf,"%s %d",string,num); |
317 |
-- printext16(x*8,y*8,color,-1,tempbuf,0); |
318 |
--} |
319 |
-- |
320 |
--void SpriteName(short spritenum, char *lo2) |
321 |
--{ |
322 |
-- sprintf(lo2,names[sprite[spritenum].picnum]); |
323 |
--}// end SpriteName |
324 |
-- |
325 |
- char GAMEpalette[768]; |
326 |
- char WATERpalette[768]; |
327 |
- char SLIMEpalette[768]; |
328 |
-@@ -1326,6 +1323,17 @@ |
329 |
- ReadGamePalette(); |
330 |
- }// end ReadPaletteTable |
331 |
- |
332 |
-+void Ver() |
333 |
-+{ |
334 |
-+ sprintf(tempbuf,"DUKE NUKEM BUILD: V032696"); |
335 |
-+ if (qsetmode == 200) //In 3D mode |
336 |
-+ { printext256(60*8,24*8,11,-1,tempbuf,1); |
337 |
-+ rotatesprite((320-8)<<16,(200-8)<<16,64<<9,0,SPINNINGNUKEICON+(((4-totalclock>>3))&7),0,0,0,0,0,xdim-1,ydim-1); |
338 |
-+ }else |
339 |
-+ { printext16(0,0,15,-1,tempbuf,0); |
340 |
-+ } |
341 |
-+} |
342 |
-+ |
343 |
- void Keys3d(void) |
344 |
- { |
345 |
- long i,count,rate,nexti; |
346 |
-@@ -2206,17 +2214,6 @@ |
347 |
- } |
348 |
- } |
349 |
- |
350 |
--void Ver() |
351 |
--{ |
352 |
-- sprintf(tempbuf,"DUKE NUKEM BUILD: V032696"); |
353 |
-- if (qsetmode == 200) //In 3D mode |
354 |
-- { printext256(60*8,24*8,11,-1,tempbuf,1); |
355 |
-- rotatesprite((320-8)<<16,(200-8)<<16,64<<9,0,SPINNINGNUKEICON+(((4-totalclock>>3))&7),0,0,0,0,0,xdim-1,ydim-1); |
356 |
-- }else |
357 |
-- { printext16(0,0,15,-1,tempbuf,0); |
358 |
-- } |
359 |
--} |
360 |
-- |
361 |
- ActorMem(int i) |
362 |
- {int total=0,j; |
363 |
- switch(i) |
364 |
|
365 |
diff --git a/games-fps/duke3d/files/duke3d-20040817-as-needed.patch b/games-fps/duke3d/files/duke3d-20040817-as-needed.patch |
366 |
deleted file mode 100644 |
367 |
index c7793a833bf..00000000000 |
368 |
--- a/games-fps/duke3d/files/duke3d-20040817-as-needed.patch |
369 |
+++ /dev/null |
370 |
@@ -1,74 +0,0 @@ |
371 |
-diff -ur duke3d/source/buildengine/Makefile duke3d-patched/source/buildengine/Makefile |
372 |
---- source/buildengine/Makefile 2004-05-15 05:15:05.000000000 +0200 |
373 |
-+++ source/buildengine/Makefile 2008-02-27 23:10:46.000000000 +0100 |
374 |
-@@ -99,11 +99,11 @@ |
375 |
- ifeq ($(strip $(SDL_LIB_DIR)),please_set_me_cygwin_users) |
376 |
- $(error Cygwin users need to set the SDL_LIB_DIR envr var.) |
377 |
- else |
378 |
-- SDL_LDFLAGS := -L$(SDL_LIB_DIR) -lSDL |
379 |
-+ SDL_LIBS := -L$(SDL_LIB_DIR) -lSDL |
380 |
- endif |
381 |
- else |
382 |
- SDL_CFLAGS := $(shell sdl-config --cflags) |
383 |
-- SDL_LDFLAGS := $(shell sdl-config --libs) |
384 |
-+ SDL_LIBS := $(shell sdl-config --libs) |
385 |
- endif |
386 |
- |
387 |
- CC = gcc |
388 |
-@@ -202,7 +202,7 @@ |
389 |
- ASMFLAGS = -f $(ASMOBJFMT) $(ASMDEFS) |
390 |
- LINKER = gcc |
391 |
- CFLAGS += $(USE_ASM) -funsigned-char -DPLATFORM_UNIX -Wall $(SDL_CFLAGS) -fno-omit-frame-pointer |
392 |
--LDFLAGS += $(SDL_LDFLAGS) |
393 |
-+LDLIBS += $(SDL_LIBS) |
394 |
- |
395 |
- # Rules for turning source files into .o files |
396 |
- %.o: %.c |
397 |
-@@ -236,17 +236,17 @@ |
398 |
- |
399 |
- ifeq ($(strip $(usedlls)),true) |
400 |
- $(ENGINEDLL) : $(ENGINEOBJS) |
401 |
-- $(LINKER) -shared -o $(ENGINEDLL) $(LDFLAGS) $(ENGINEOBJS) |
402 |
-+ $(LINKER) -shared -o $(ENGINEDLL) $(LDFLAGS) $(ENGINEOBJS) $(LDLIBS) |
403 |
- |
404 |
- $(NETDLL) : $(NETOBJS) |
405 |
-- $(LINKER) -shared -o $(NETDLL) $(LDFLAGS) $(NETOBJS) |
406 |
-+ $(LINKER) -shared -o $(NETDLL) $(LDFLAGS) $(NETOBJS) $(LDLIBS) |
407 |
- endif |
408 |
- |
409 |
- $(GAMEEXE) : $(ENGINEDLL) $(NETDLL) $(GAMEOBJS) $(PERLOBJS) |
410 |
-- $(LINKER) -o $(GAMEEXE) $(LDFLAGS) $(LDPERL) $(PERLOBJS) $(GAMEOBJS) $(ENGINEDLL) $(NETDLL) |
411 |
-+ $(LINKER) -o $(GAMEEXE) $(LDFLAGS) $(PERLOBJS) $(GAMEOBJS) $(LDPERL) $(LDLIBS) $(ENGINEDLL) $(NETDLL) |
412 |
- |
413 |
- $(BUILDEXE) : $(ENGINEDLL) $(BUILDOBJS) |
414 |
-- $(LINKER) -o $(BUILDEXE) $(LDFLAGS) $(BUILDOBJS) $(ENGINEDLL) |
415 |
-+ $(LINKER) -o $(BUILDEXE) $(LDFLAGS) $(BUILDOBJS) $(LDLIBS) $(ENGINEDLL) |
416 |
- |
417 |
- listclean: |
418 |
- @echo "A 'make clean' would remove" $(CLEANUP) |
419 |
-diff -ur duke3d/source/Makefile duke3d-patched/source/Makefile |
420 |
---- source/Makefile 2004-05-15 05:14:16.000000000 +0200 |
421 |
-+++ source/Makefile 2008-02-27 23:09:57.000000000 +0100 |
422 |
-@@ -45,11 +45,11 @@ |
423 |
- ifeq ($(strip $(SDL_LIB_DIR)),please_set_me_cygwin_users) |
424 |
- $(error Cygwin users need to set the SDL_LIB_DIR envr var.) |
425 |
- else |
426 |
-- SDL_LDFLAGS := -L$(SDL_LIB_DIR) -lSDL |
427 |
-+ SDL_LIBS := -L$(SDL_LIB_DIR) -lSDL |
428 |
- endif |
429 |
- else |
430 |
- SDL_CFLAGS := $(shell sdl-config --cflags) |
431 |
-- SDL_LDFLAGS := $(shell sdl-config --libs) -L. |
432 |
-+ SDL_LIBS := $(shell sdl-config --libs) -L. |
433 |
- endif |
434 |
- |
435 |
- ifeq ($(strip $(macosx)),true) |
436 |
-@@ -104,7 +104,7 @@ |
437 |
- #CC = icc |
438 |
- #CFLAGS = -g $(SDL_CFLAGS) -DUSE_SDL=1 -DPLATFORM_UNIX=1 -DUSE_I386_ASM=1 $(EXTRACFLAGS) -O2 |
439 |
- |
440 |
--LDLIBS = $(SDL_LDFLAGS) -lSDL -lSDL_mixer $(EXTRALDFLAGS) |
441 |
-+LDLIBS = $(SDL_LIBS) -lSDL -lSDL_mixer $(EXTRALDFLAGS) |
442 |
- |
443 |
- # !!! FIXME: Do we even need this? It doesn't fly on MacOS X. --ryan. |
444 |
- #LDLIBS += -Wl,-E |
445 |
|
446 |
diff --git a/games-fps/duke3d/files/duke3d-20040817-gcc4.patch b/games-fps/duke3d/files/duke3d-20040817-gcc4.patch |
447 |
deleted file mode 100644 |
448 |
index 3aaf67c6c90..00000000000 |
449 |
--- a/games-fps/duke3d/files/duke3d-20040817-gcc4.patch |
450 |
+++ /dev/null |
451 |
@@ -1,180 +0,0 @@ |
452 |
-iff -ur duke3d/source/buildengine/a.c duke3d-gcc4/source/buildengine/a.c |
453 |
---- source/buildengine/a.c 2004-11-25 13:55:21.000000000 -0500 |
454 |
-+++ source/buildengine/a.c 2005-06-18 18:14:24.000000000 -0400 |
455 |
-@@ -186,7 +186,9 @@ |
456 |
- if (i3 == 0) |
457 |
- { |
458 |
- i1 += i4; |
459 |
-- ((unsigned long)i4) >>= mach3_al; |
460 |
-+ unsigned long temp = i4; |
461 |
-+ temp >>= mach3_al; |
462 |
-+ i4 = temp; |
463 |
- i4 = (i4&0xffffff00) | (source[i4]&0xff); |
464 |
- *dest = ((unsigned char*)i2)[i4]; |
465 |
- return i1; |
466 |
-diff -ur duke3d/source/buildengine/pragmas.c duke3d-gcc4/source/buildengine/pragmas.c |
467 |
---- source/buildengine/pragmas.c 2003-07-25 20:11:32.000000000 -0400 |
468 |
-+++ source/buildengine/pragmas.c 2005-06-18 18:25:37.000000000 -0400 |
469 |
-@@ -56,28 +56,39 @@ |
470 |
- |
471 |
- void clearbufbyte(void *buffer, int size, long fill_value) { |
472 |
- int lsize; |
473 |
-+ unsigned char *p=buffer; |
474 |
-+ unsigned short *s=buffer; |
475 |
- switch(size){ |
476 |
- case 0: return; |
477 |
-- case 1: *((unsigned char*)buffer)++ = fill_value; return; |
478 |
-- case 2: *((unsigned short*)buffer)++ = fill_value; return; |
479 |
-- case 3: { unsigned char *p=buffer; p[2]=p[1]=p[0] = fill_value;} return; |
480 |
-+ case 1: *p = fill_value; return; |
481 |
-+ case 2: *s = fill_value; return; |
482 |
-+ case 3: { p[2]=p[1]=p[0] = fill_value;} return; |
483 |
- default: |
484 |
- if ((int)buffer&1) { |
485 |
-- *((unsigned char*)buffer)++ = fill_value; size--; |
486 |
-+ *p = fill_value; ++p; size--; |
487 |
-+ buffer = p; |
488 |
- } |
489 |
- if ((int)buffer&2) { |
490 |
-- *((unsigned short*)buffer)++ = fill_value; size-=2; |
491 |
-+ *s = fill_value; ++s; size-=2; |
492 |
-+ buffer = s; |
493 |
- } |
494 |
- lsize = size>>2; |
495 |
-+ unsigned int *up = buffer; |
496 |
- while(lsize) { |
497 |
-- *((unsigned int*)buffer)++ = fill_value; |
498 |
-+ *up = fill_value; |
499 |
-+ ++up; |
500 |
- lsize--; |
501 |
- } |
502 |
-+ buffer = up; |
503 |
- if (size&2) { |
504 |
-- *((unsigned short*)buffer)++ = fill_value; |
505 |
-+ s = buffer; |
506 |
-+ *s = fill_value; |
507 |
-+ ++s; |
508 |
- } |
509 |
- if (size&1) { |
510 |
-- *((unsigned char*)buffer)++ = fill_value; |
511 |
-+ p = buffer; |
512 |
-+ *p = fill_value; |
513 |
-+ ++p; |
514 |
- } |
515 |
- } |
516 |
- } |
517 |
-@@ -122,7 +133,7 @@ |
518 |
- { |
519 |
- *((unsigned short *)source) = ((linum>>16)&0xffff); |
520 |
- linum += linum_inc; |
521 |
-- ((unsigned char*)source) = ((unsigned char*)source) + 2; |
522 |
-+ source = ((unsigned char*)source) + 2; |
523 |
- size--; |
524 |
- if (size == 0) return; |
525 |
- } |
526 |
- |
527 |
-diff -u -r duke3d/source/buildengine/a.h duke3d.gcc4.1.1/source/buildengine/a.h |
528 |
---- source/buildengine/a.h 2003-04-11 08:54:06.000000000 +0200 |
529 |
-+++ source/buildengine/a.h 2006-06-22 12:14:40.366393568 +0200 |
530 |
-@@ -116,56 +116,56 @@ |
531 |
- |
532 |
- #if ((defined __GNUC__) && (!defined C_IDENTIFIERS_UNDERSCORED)) |
533 |
- |
534 |
-- long asm_mmxoverlay(void) __attribute__ ((alias ("_asm_mmxoverlay"))); |
535 |
-- long asm_sethlinesizes(long,long,long) __attribute__ ((alias ("_asm_sethlinesizes"))); |
536 |
-- long asm_setpalookupaddress(char *) __attribute__ ((alias ("_asm_setpalookupaddress"))); |
537 |
-- long asm_setuphlineasm4(long,long) __attribute__ ((alias ("_asm_setuphlineasm4"))); |
538 |
-- long asm_hlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_hlineasm4"))); |
539 |
-- long asm_setuprhlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_setuprhlineasm4"))); |
540 |
-- long asm_rhlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_rhlineasm4"))); |
541 |
-- long asm_setuprmhlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_setuprmhlineasm4"))); |
542 |
-- long asm_rmhlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_rmhlineasm4"))); |
543 |
-- long asm_setupqrhlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_setupqrhlineasm4"))); |
544 |
-- long asm_qrhlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_qrhlineasm4"))); |
545 |
-- long asm_setvlinebpl(long) __attribute__ ((alias ("_asm_setvlinebpl"))); |
546 |
-- long asm_fixtransluscence(long) __attribute__ ((alias ("_asm_fixtransluscence"))); |
547 |
-- long asm_prevlineasm1(long,long,long,long,long,long) __attribute__ ((alias ("_asm_prevlineasm1"))); |
548 |
-- long asm_vlineasm1(long,long,long,long,long,long) __attribute__ ((alias ("_asm_vlineasm1"))); |
549 |
-- long asm_setuptvlineasm(long) __attribute__ ((alias ("_asm_setuptvlineasm"))); |
550 |
-- long asm_tvlineasm1(long,long,long,long,long,long) __attribute__ ((alias ("_asm_tvlineasm1"))); |
551 |
-- long asm_setuptvlineasm2(long,long,long) __attribute__ ((alias ("_asm_setuptvlineasm2"))); |
552 |
-- long asm_tvlineasm2(long,long,long,long,long,long) __attribute__ ((alias ("_asm_tvlineasm2"))); |
553 |
-- long asm_mvlineasm1(long,long,long,long,long,long) __attribute__ ((alias ("_asm_mvlineasm1"))); |
554 |
-- long asm_setupvlineasm(long) __attribute__ ((alias ("_asm_setupvlineasm"))); |
555 |
-- long asm_vlineasm4(long,long) __attribute__ ((alias ("_asm_vlineasm4"))); |
556 |
-- long asm_setupmvlineasm(long) __attribute__ ((alias ("_asm_setupmvlineasm"))); |
557 |
-- long asm_mvlineasm4(long,long) __attribute__ ((alias ("_asm_mvlineasm4"))); |
558 |
-- void asm_setupspritevline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_setupspritevline"))); |
559 |
-- void asm_spritevline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_spritevline"))); |
560 |
-- void asm_msetupspritevline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_msetupspritevline"))); |
561 |
-- void asm_mspritevline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_mspritevline"))); |
562 |
-- void asm_tsetupspritevline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_tsetupspritevline"))); |
563 |
-- void asm_tspritevline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_tspritevline"))); |
564 |
-- long asm_mhline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_mhline"))); |
565 |
-- long asm_mhlineskipmodify(long,long,long,long,long,long) __attribute__ ((alias ("_asm_mhlineskipmodify"))); |
566 |
-- long asm_msethlineshift(long,long) __attribute__ ((alias ("_asm_msethlineshift"))); |
567 |
-- long asm_thline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_thline"))); |
568 |
-- long asm_thlineskipmodify(long,long,long,long,long,long) __attribute__ ((alias ("_asm_thlineskipmodify"))); |
569 |
-- long asm_tsethlineshift(long,long) __attribute__ ((alias ("_asm_tsethlineshift"))); |
570 |
-- long asm_setupslopevlin(long,long,long) __attribute__ ((alias ("_asm_setupslopevlin"))); |
571 |
-- long asm_slopevlin(long,long,long,long,long,long) __attribute__ ((alias ("_asm_slopevlin"))); |
572 |
-- long asm_settransnormal(void) __attribute__ ((alias ("_asm_settransnormal"))); |
573 |
-- long asm_settransreverse(void) __attribute__ ((alias ("_asm_settransreverse"))); |
574 |
-- long asm_setupdrawslab(long,long) __attribute__ ((alias ("_asm_setupdrawslab"))); |
575 |
-- long asm_drawslab(long,long,long,long,long,long) __attribute__ ((alias ("_asm_drawslab"))); |
576 |
-- long asm_stretchhline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_stretchhline"))); |
577 |
-- long asm_isvmwarerunning(void) __attribute__ ((alias ("_asm_isvmwarerunning"))); |
578 |
-+ long asm_mmxoverlay(void) asm ("_asm_mmxoverlay"); |
579 |
-+ long asm_sethlinesizes(long,long,long) asm ("_asm_sethlinesizes"); |
580 |
-+ long asm_setpalookupaddress(char *) asm ("_asm_setpalookupaddress"); |
581 |
-+ long asm_setuphlineasm4(long,long) asm ("_asm_setuphlineasm4"); |
582 |
-+ long asm_hlineasm4(long,long,long,long,long,long) asm ("_asm_hlineasm4"); |
583 |
-+ long asm_setuprhlineasm4(long,long,long,long,long,long) asm ("_asm_setuprhlineasm4"); |
584 |
-+ long asm_rhlineasm4(long,long,long,long,long,long) asm ("_asm_rhlineasm4"); |
585 |
-+ long asm_setuprmhlineasm4(long,long,long,long,long,long) asm ("_asm_setuprmhlineasm4"); |
586 |
-+ long asm_rmhlineasm4(long,long,long,long,long,long) asm ("_asm_rmhlineasm4"); |
587 |
-+ long asm_setupqrhlineasm4(long,long,long,long,long,long) asm ("_asm_setupqrhlineasm4"); |
588 |
-+ long asm_qrhlineasm4(long,long,long,long,long,long) asm ("_asm_qrhlineasm4"); |
589 |
-+ long asm_setvlinebpl(long) asm ("_asm_setvlinebpl"); |
590 |
-+ long asm_fixtransluscence(long) asm ("_asm_fixtransluscence"); |
591 |
-+ long asm_prevlineasm1(long,long,long,long,long,long) asm ("_asm_prevlineasm1"); |
592 |
-+ long asm_vlineasm1(long,long,long,long,long,long) asm ("_asm_vlineasm1"); |
593 |
-+ long asm_setuptvlineasm(long) asm ("_asm_setuptvlineasm"); |
594 |
-+ long asm_tvlineasm1(long,long,long,long,long,long) asm ("_asm_tvlineasm1"); |
595 |
-+ long asm_setuptvlineasm2(long,long,long) asm ("_asm_setuptvlineasm2"); |
596 |
-+ long asm_tvlineasm2(long,long,long,long,long,long) asm ("_asm_tvlineasm2"); |
597 |
-+ long asm_mvlineasm1(long,long,long,long,long,long) asm ("_asm_mvlineasm1"); |
598 |
-+ long asm_setupvlineasm(long) asm ("_asm_setupvlineasm"); |
599 |
-+ long asm_vlineasm4(long,long) asm ("_asm_vlineasm4"); |
600 |
-+ long asm_setupmvlineasm(long) asm ("_asm_setupmvlineasm"); |
601 |
-+ long asm_mvlineasm4(long,long) asm ("_asm_mvlineasm4"); |
602 |
-+ void asm_setupspritevline(long,long,long,long,long,long) asm ("_asm_setupspritevline"); |
603 |
-+ void asm_spritevline(long,long,long,long,long,long) asm ("_asm_spritevline"); |
604 |
-+ void asm_msetupspritevline(long,long,long,long,long,long) asm ("_asm_msetupspritevline"); |
605 |
-+ void asm_mspritevline(long,long,long,long,long,long) asm ("_asm_mspritevline"); |
606 |
-+ void asm_tsetupspritevline(long,long,long,long,long,long) asm ("_asm_tsetupspritevline"); |
607 |
-+ void asm_tspritevline(long,long,long,long,long,long) asm ("_asm_tspritevline"); |
608 |
-+ long asm_mhline(long,long,long,long,long,long) asm ("_asm_mhline"); |
609 |
-+ long asm_mhlineskipmodify(long,long,long,long,long,long) asm("_asm_mhlineskipmodify"); |
610 |
-+ long asm_msethlineshift(long,long) asm("_asm_msethlineshift"); |
611 |
-+ long asm_thline(long,long,long,long,long,long) asm("_asm_thline"); |
612 |
-+ long asm_thlineskipmodify(long,long,long,long,long,long) asm("_asm_thlineskipmodify"); |
613 |
-+ long asm_tsethlineshift(long,long) asm("_asm_tsethlineshift"); |
614 |
-+ long asm_setupslopevlin(long,long,long) asm("_asm_setupslopevlin"); |
615 |
-+ long asm_slopevlin(long,long,long,long,long,long) asm("_asm_slopevlin"); |
616 |
-+ long asm_settransnormal(void) asm("_asm_settransnormal"); |
617 |
-+ long asm_settransreverse(void) asm("_asm_settransreverse"); |
618 |
-+ long asm_setupdrawslab(long,long) asm("_asm_setupdrawslab"); |
619 |
-+ long asm_drawslab(long,long,long,long,long,long) asm("_asm_drawslab"); |
620 |
-+ long asm_stretchhline(long,long,long,long,long,long) asm("_asm_stretchhline"); |
621 |
-+ long asm_isvmwarerunning(void) asm("_asm_isvmwarerunning"); |
622 |
- |
623 |
- /* |
624 |
- * !!! I need a reference to this, for mprotect(), but the actual function |
625 |
- * !!! is never called in BUILD...just from other ASM routines. --ryan. |
626 |
- */ |
627 |
-- long asm_prohlineasm4(void) __attribute__ ((alias ("_asm_prohlineasm4"))); |
628 |
-+ long asm_prohlineasm4(void) asm("_asm_prohlineasm4"); |
629 |
- |
630 |
- #endif /* ELF/GCC */ |
631 |
- #endif /* defined USE_I386_ASM */ |
632 |
|
633 |
diff --git a/games-fps/duke3d/files/duke3d-20040817-ldflags.patch b/games-fps/duke3d/files/duke3d-20040817-ldflags.patch |
634 |
deleted file mode 100644 |
635 |
index 79179e66380..00000000000 |
636 |
--- a/games-fps/duke3d/files/duke3d-20040817-ldflags.patch |
637 |
+++ /dev/null |
638 |
@@ -1,66 +0,0 @@ |
639 |
---- source/buildengine/Makefile.old 2010-10-08 14:32:05.000000000 +0200 |
640 |
-+++ source/buildengine/Makefile 2010-10-08 14:35:10.000000000 +0200 |
641 |
-@@ -73,7 +73,7 @@ |
642 |
- endif |
643 |
- |
644 |
- ifeq ($(strip $(solaris)),true) |
645 |
-- LDFLAGS += -lsocket -lnsl |
646 |
-+ LIBS += -lsocket -lnsl |
647 |
- CFLAGS += -DPLATFORM_SOLARIS |
648 |
- endif |
649 |
- |
650 |
-@@ -129,7 +129,7 @@ |
651 |
- |
652 |
- ifeq ($(strip $(macosx)),true) |
653 |
- CFLAGS += -DPLATFORM_MACOSX=1 -faltivec -falign-loops=32 -falign-functions=32 |
654 |
-- LDFLAGS += -framework AppKit -lSDL -lSDLmain |
655 |
-+ LIBS += -framework AppKit -lSDL -lSDLmain |
656 |
- endif |
657 |
- |
658 |
- ifeq ($(strip $(useopengl)),true) |
659 |
-@@ -146,7 +146,7 @@ |
660 |
- |
661 |
- ifeq ($(strip $(usephysfs)),true) |
662 |
- CFLAGS += -DUSE_PHYSICSFS |
663 |
-- LDFLAGS += -lphysfs |
664 |
-+ LIBS += -lphysfs |
665 |
- endif |
666 |
- |
667 |
- ifeq ($(strip $(usedlls)),true) |
668 |
-@@ -236,17 +236,17 @@ |
669 |
- |
670 |
- ifeq ($(strip $(usedlls)),true) |
671 |
- $(ENGINEDLL) : $(ENGINEOBJS) |
672 |
-- $(LINKER) -shared -o $(ENGINEDLL) $(LDFLAGS) $(ENGINEOBJS) $(LDLIBS) |
673 |
-+ $(LINKER) -shared -o $(ENGINEDLL) $(LIBS) $(ENGINEOBJS) $(LDLIBS) |
674 |
- |
675 |
- $(NETDLL) : $(NETOBJS) |
676 |
-- $(LINKER) -shared -o $(NETDLL) $(LDFLAGS) $(NETOBJS) $(LDLIBS) |
677 |
-+ $(LINKER) -shared -o $(NETDLL) $(LIBS) $(NETOBJS) $(LDLIBS) |
678 |
- endif |
679 |
- |
680 |
- $(GAMEEXE) : $(ENGINEDLL) $(NETDLL) $(GAMEOBJS) $(PERLOBJS) |
681 |
-- $(LINKER) -o $(GAMEEXE) $(LDFLAGS) $(PERLOBJS) $(GAMEOBJS) $(LDPERL) $(LDLIBS) $(ENGINEDLL) $(NETDLL) |
682 |
-+ $(LINKER) $(LDFLAGS) -o $(GAMEEXE) $(LIBS) $(PERLOBJS) $(GAMEOBJS) $(LDPERL) $(LDLIBS) $(ENGINEDLL) $(NETDLL) |
683 |
- |
684 |
- $(BUILDEXE) : $(ENGINEDLL) $(BUILDOBJS) |
685 |
-- $(LINKER) -o $(BUILDEXE) $(LDFLAGS) $(BUILDOBJS) $(LDLIBS) $(ENGINEDLL) |
686 |
-+ $(LINKER) $(LDFLAGS) -o $(BUILDEXE) $(LIBS) $(BUILDOBJS) $(LDLIBS) $(ENGINEDLL) |
687 |
- |
688 |
- listclean: |
689 |
- @echo "A 'make clean' would remove" $(CLEANUP) |
690 |
---- source/Makefile.old 2010-10-08 14:35:54.000000000 +0200 |
691 |
-+++ source/Makefile 2010-10-08 14:37:34.000000000 +0200 |
692 |
-@@ -152,10 +152,10 @@ |
693 |
- sounds.o \ |
694 |
- dukemusc.o \ |
695 |
- audiolib/audiolib.a |
696 |
-- $(CC) $^ $(BUILDOBJS) $(LDLIBS) -o $@ |
697 |
-+ $(CC) $(LDFLAGS) $^ $(BUILDOBJS) $(LDLIBS) -o $@ |
698 |
- |
699 |
- build: astub.o |
700 |
-- $(CC) $^ $(BUILDOBJS) buildengine/build.o $(LDLIBS) -o $@ |
701 |
-+ $(CC) $(LDFLAGS) $^ $(BUILDOBJS) buildengine/build.o $(LDLIBS) -o $@ |
702 |
- |
703 |
- clean: |
704 |
- $(MAKE) -C audiolib clean |
705 |
|
706 |
diff --git a/games-fps/duke3d/files/duke3d-20040817-noinline.patch b/games-fps/duke3d/files/duke3d-20040817-noinline.patch |
707 |
deleted file mode 100644 |
708 |
index a41c5c01d06..00000000000 |
709 |
--- a/games-fps/duke3d/files/duke3d-20040817-noinline.patch |
710 |
+++ /dev/null |
711 |
@@ -1,18 +0,0 @@ |
712 |
---- source/buildengine/engine.c.old 2009-02-06 09:11:54.000000000 +0100 |
713 |
-+++ source/buildengine/engine.c 2009-02-06 09:19:12.000000000 +0100 |
714 |
-@@ -391,6 +391,7 @@ |
715 |
- modify exact [eax ebx ecx]\ |
716 |
- |
717 |
- #elif (defined __GNUC__) || (defined __ICC) |
718 |
-+ __attribute__ ((noinline)) |
719 |
- static long nsqrtasm(int i1) |
720 |
- { |
721 |
- long retval; |
722 |
-@@ -601,6 +602,7 @@ |
723 |
- |
724 |
- #elif (defined __GNUC__) || (defined __ICC) |
725 |
- |
726 |
-+ __attribute__ ((noinline)) |
727 |
- int setgotpic(long i1) |
728 |
- { |
729 |
- int retval = 0; |
730 |
|
731 |
diff --git a/games-fps/duke3d/files/duke3d.cfg b/games-fps/duke3d/files/duke3d.cfg |
732 |
deleted file mode 100644 |
733 |
index 2e8c4a0671b..00000000000 |
734 |
--- a/games-fps/duke3d/files/duke3d.cfg |
735 |
+++ /dev/null |
736 |
@@ -1,194 +0,0 @@ |
737 |
-[Setup] |
738 |
-SetupVersion = "1.3D" |
739 |
- |
740 |
-[Screen Setup] |
741 |
-ScreenMode = 2 |
742 |
-ScreenWidth = 1024 |
743 |
-ScreenHeight = 768 |
744 |
-Shadows = 1 |
745 |
-Password = "" |
746 |
-Detail = 1 |
747 |
-Tilt = 1 |
748 |
-Messages = 1 |
749 |
-Out = 0 |
750 |
-ScreenSize = 8 |
751 |
-ScreenGamma = 0 |
752 |
- |
753 |
-[Sound Setup] |
754 |
-FXDevice = 0 |
755 |
-MusicDevice = 0 |
756 |
-FXVolume = 220 |
757 |
-MusicVolume = 200 |
758 |
-NumVoices = 8 |
759 |
-NumChannels = 2 |
760 |
-NumBits = 16 |
761 |
-MixRate = 44100 |
762 |
-MidiPort = 0x330 |
763 |
-BlasterAddress = 0x220 |
764 |
-BlasterType = 1 |
765 |
-BlasterInterrupt = 5 |
766 |
-BlasterDma8 = 1 |
767 |
-BlasterDma16 = 5 |
768 |
-BlasterEmu = 0x620 |
769 |
-ReverseStereo = 0 |
770 |
-SoundToggle = 1 |
771 |
-VoiceToggle = 1 |
772 |
-AmbienceToggle = 1 |
773 |
-MusicToggle = 1 |
774 |
- |
775 |
-[KeyDefinitions] |
776 |
-Move_Forward = "Up" "Kpad8" |
777 |
-Move_Backward = "Down" "Kpad2" |
778 |
-Turn_Left = "Left" "Kpad4" |
779 |
-Turn_Right = "Right" "KPad6" |
780 |
-Strafe = "LAlt" "RAlt" |
781 |
-Fire = "LCtrl" "RCtrl" |
782 |
-Open = "Space" "" |
783 |
-Run = "LShift" "RShift" |
784 |
-AutoRun = "CapLck" "" |
785 |
-Jump = "A" "/" |
786 |
-Crouch = "Z" "" |
787 |
-Look_Up = "PgUp" "Kpad9" |
788 |
-Look_Down = "PgDn" "Kpad3" |
789 |
-Look_Left = "Insert" "Kpad0" |
790 |
-Look_Right = "Delete" "Kpad." |
791 |
-Strafe_Left = "," "" |
792 |
-Strafe_Right = "." "" |
793 |
-Aim_Up = "Home" "KPad7" |
794 |
-Aim_Down = "End" "Kpad1" |
795 |
-Weapon_1 = "1" "" |
796 |
-Weapon_2 = "2" "" |
797 |
-Weapon_3 = "3" "" |
798 |
-Weapon_4 = "4" "" |
799 |
-Weapon_5 = "5" "" |
800 |
-Weapon_6 = "6" "" |
801 |
-Weapon_7 = "7" "" |
802 |
-Weapon_8 = "8" "" |
803 |
-Weapon_9 = "9" "" |
804 |
-Weapon_10 = "0" "" |
805 |
-Inventory = "Enter" "KpdEnt" |
806 |
-Inventory_Left = "[" "" |
807 |
-Inventory_Right = "]" "" |
808 |
-Holo_Duke = "H" "" |
809 |
-Jetpack = "J" "" |
810 |
-NightVision = "N" "" |
811 |
-MedKit = "M" "" |
812 |
-TurnAround = "BakSpc" "" |
813 |
-SendMessage = "T" "" |
814 |
-Map = "Tab" "" |
815 |
-Shrink_Screen = "-" "Kpad-" |
816 |
-Enlarge_Screen = "=" "Kpad+" |
817 |
-Center_View = "KPad5" "" |
818 |
-Holster_Weapon = "ScrLck" "" |
819 |
-Show_Opponents_Weapon = "W" "" |
820 |
-Map_Follow_Mode = "F" "" |
821 |
-See_Coop_View = "K" "" |
822 |
-Mouse_Aiming = "U" "" |
823 |
-Toggle_Crosshair = "I" "" |
824 |
-Steroids = "R" "" |
825 |
-Quick_Kick = "`" "" |
826 |
-Next_Weapon = "'" "" |
827 |
-Previous_Weapon = ";" "" |
828 |
- |
829 |
-[Controls] |
830 |
-ControllerType = 1 |
831 |
-JoystickPort = 0 |
832 |
-MouseSensitivity = 32768 |
833 |
-ExternalFilename = "EXTERNAL.EXE" |
834 |
-EnableRudder = 0 |
835 |
-MouseAiming = 0 |
836 |
-MouseButton0 = "Fire" |
837 |
-MouseButtonClicked0 = "" |
838 |
-MouseButton1 = "Strafe" |
839 |
-MouseButtonClicked1 = "Open" |
840 |
-MouseButton2 = "Move_Forward" |
841 |
-MouseButtonClicked2 = "" |
842 |
-JoystickButton0 = "Fire" |
843 |
-JoystickButtonClicked0 = "" |
844 |
-JoystickButton1 = "Strafe" |
845 |
-JoystickButtonClicked1 = "Inventory" |
846 |
-JoystickButton2 = "Run" |
847 |
-JoystickButtonClicked2 = "Jump" |
848 |
-JoystickButton3 = "Open" |
849 |
-JoystickButtonClicked3 = "Crouch" |
850 |
-JoystickButton4 = "Aim_Down" |
851 |
-JoystickButtonClicked4 = "" |
852 |
-JoystickButton5 = "Look_Right" |
853 |
-JoystickButtonClicked5 = "" |
854 |
-JoystickButton6 = "Aim_Up" |
855 |
-JoystickButtonClicked6 = "" |
856 |
-JoystickButton7 = "Look_Left" |
857 |
-JoystickButtonClicked7 = "" |
858 |
-MouseAnalogAxes0 = "analog_turning" |
859 |
-MouseDigitalAxes0_0 = "" |
860 |
-MouseDigitalAxes0_1 = "" |
861 |
-MouseAnalogScale0 = 0 |
862 |
-MouseAnalogAxes1 = "analog_moving" |
863 |
-MouseDigitalAxes1_0 = "" |
864 |
-MouseDigitalAxes1_1 = "" |
865 |
-MouseAnalogScale1 = 0 |
866 |
-JoystickAnalogAxes0 = "analog_turning" |
867 |
-JoystickDigitalAxes0_0 = "" |
868 |
-JoystickDigitalAxes0_1 = "" |
869 |
-JoystickAnalogScale0 = 0 |
870 |
-JoystickAnalogAxes1 = "analog_moving" |
871 |
-JoystickDigitalAxes1_0 = "" |
872 |
-JoystickDigitalAxes1_1 = "" |
873 |
-JoystickAnalogScale1 = 0 |
874 |
-JoystickAnalogAxes2 = "analog_strafing" |
875 |
-JoystickDigitalAxes2_0 = "" |
876 |
-JoystickDigitalAxes2_1 = "" |
877 |
-JoystickAnalogScale2 = 0 |
878 |
-JoystickAnalogAxes3 = "" |
879 |
-JoystickDigitalAxes3_0 = "Run" |
880 |
-JoystickDigitalAxes3_1 = "" |
881 |
-JoystickAnalogScale3 = 0 |
882 |
-GamePadDigitalAxes0_0 = "Turn_Left" |
883 |
-GamePadDigitalAxes0_1 = "Turn_Right" |
884 |
-GamePadDigitalAxes1_0 = "Move_Forward" |
885 |
-GamePadDigitalAxes1_1 = "Move_Backward" |
886 |
-MouseAimingFlipped = 0 |
887 |
-GameMouseAiming = 0 |
888 |
-AimingFlag = 0 |
889 |
- |
890 |
-[Comm Setup] |
891 |
-ComPort = 2 |
892 |
-IrqNumber = 65535 |
893 |
-UartAddress = 65535 |
894 |
-PortSpeed = 9600 |
895 |
-ToneDial = 1 |
896 |
-SocketNumber = 65535 |
897 |
-NumberPlayers = 2 |
898 |
-ModemName = "" |
899 |
-InitString = "ATZ" |
900 |
-HangupString = "ATH0=0" |
901 |
-DialoutString = "" |
902 |
-PlayerName = "DUKE" |
903 |
-RTSName = "DUKE.RTS" |
904 |
-PhoneNumber = "" |
905 |
-ConnectType = 0 |
906 |
-CommbatMacro#0 = "An inspiration for birth control." |
907 |
-CommbatMacro#1 = "You're gonna die for that!" |
908 |
-CommbatMacro#2 = "It hurts to be you." |
909 |
-CommbatMacro#3 = "Lucky Son of a Bitch." |
910 |
-CommbatMacro#4 = "Hmmm....Payback time." |
911 |
-CommbatMacro#5 = "You bottom dwelling scum sucker." |
912 |
-CommbatMacro#6 = "Damn, you're ugly." |
913 |
-CommbatMacro#7 = "Ha ha ha...Wasted!" |
914 |
-CommbatMacro#8 = "You suck!" |
915 |
-CommbatMacro#9 = "AARRRGHHHHH!!!" |
916 |
- |
917 |
-[Misc] |
918 |
-Executions = 5 |
919 |
-RunMode = 0 |
920 |
-Crosshairs = 1 |
921 |
-WeaponChoice0 = 3 |
922 |
-WeaponChoice1 = 4 |
923 |
-WeaponChoice2 = 5 |
924 |
-WeaponChoice3 = 7 |
925 |
-WeaponChoice4 = 8 |
926 |
-WeaponChoice5 = 6 |
927 |
-WeaponChoice6 = 0 |
928 |
-WeaponChoice7 = 2 |
929 |
-WeaponChoice8 = 9 |
930 |
-WeaponChoice9 = 1 |
931 |
|
932 |
diff --git a/games-fps/duke3d/files/network.cfg b/games-fps/duke3d/files/network.cfg |
933 |
deleted file mode 100644 |
934 |
index 46db8b3119f..00000000000 |
935 |
--- a/games-fps/duke3d/files/network.cfg |
936 |
+++ /dev/null |
937 |
@@ -1,15 +0,0 @@ |
938 |
-# lifted from happypenguin.org |
939 |
- |
940 |
-INTERFACE [your ip address] |
941 |
- |
942 |
-# only peer appears to work [SERVER or CLIENT or PEER] |
943 |
-MODE peer |
944 |
- |
945 |
-# create an allow line for everyone who will connect |
946 |
-ALLOW [another player's ip address] |
947 |
-ALLOW [another player's ip address] |
948 |
-ALLOW [another player's ip address] |
949 |
-ALLOW [another player's ip address] |
950 |
- |
951 |
-# try to find [number] of players and start the game |
952 |
-BROADCAST [number] |
953 |
|
954 |
diff --git a/games-fps/duke3d/metadata.xml b/games-fps/duke3d/metadata.xml |
955 |
deleted file mode 100644 |
956 |
index 1f342d0fbdc..00000000000 |
957 |
--- a/games-fps/duke3d/metadata.xml |
958 |
+++ /dev/null |
959 |
@@ -1,61 +0,0 @@ |
960 |
-<?xml version="1.0" encoding="UTF-8"?> |
961 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
962 |
-<pkgmetadata> |
963 |
- <maintainer type="project"> |
964 |
- <email>games@g.o</email> |
965 |
- <name>Gentoo Games Project</name> |
966 |
- </maintainer> |
967 |
- <longdescription> |
968 |
-The third chapter in the series, and the first with a 3D perspective |
969 |
-(the original Duke Nukem and the sequel, Duke Nukem II, are side |
970 |
-scrolling platform games). This game, set sometime in the early 21st |
971 |
-century, begins in a ravaged LA, which was overtaken by aliens while you |
972 |
-were abducted during Duke Nukem II. Duke, upon returning to Earth, finds |
973 |
-himself with another mess to clean up, and another alien race that needs |
974 |
-exterminating. Duke is a can-do hero who realizes that sometimes |
975 |
-innocent people have to die in order to save Earth, so accuracy of gun |
976 |
-fire is not a real concern to him. :) |
977 |
- |
978 |
-This game has a long list of cool things that haven't been attempted in |
979 |
-3D action games, yet. The weapons, for example, kick-butt: |
980 |
- |
981 |
- * There's a mine that can be placed on any wall and sends out a |
982 |
-laser trip beam-- perfect for multiplayer games. |
983 |
- * There's also a shrinker ray that reduces an opponent to the size |
984 |
-of a G.I. Joe, at which point they are foot fodder--watch them splat! |
985 |
- * As in Shadow Warrior, you can swim under water, and even shoot |
986 |
-players who are standing outside the water, or vice versa. |
987 |
- |
988 |
- What works: |
989 |
- * Basic gameplay seems fine. |
990 |
- * Sound and music. |
991 |
- * keyboard input. |
992 |
- * mouse input. |
993 |
- * Hi-res (what would be "VESA modes" in DOS). |
994 |
- * Windowed/fullscreen support. |
995 |
- * Save games. |
996 |
- * Record and playback demos compatible with the Atomic Edition (1.5). |
997 |
- * Shareware and retail versions should all work. |
998 |
- * BUILD editor works to a large degree. |
999 |
- * DukeBots for multiplayer AI. |
1000 |
- * Assembly code all has portable C fallbacks, now. |
1001 |
- * TCP/IP Networking! |
1002 |
- * Linux/x86 port. |
1003 |
- * Windows/x86 port. |
1004 |
- * BeOS/x86 port. |
1005 |
- * (incomplete) MacOS X port. |
1006 |
- |
1007 |
-What doesn't work/known bugs: |
1008 |
- * Joystick input isn't working yet. |
1009 |
- * File cases need to be exact in some places, not others. |
1010 |
- * Engine (game?) relies on compiler treating "char" as "unsigned" by default...this needs to be flushed out, for sanity's sake. But I'm anal. :) |
1011 |
- * Netcode handles packet loss _VERY_ poorly...it's fine for stable connections and LANs, though. |
1012 |
- * Configuring a multiplayer game involves editing text files and filling in IP addresses. Not very user-friendly. |
1013 |
- * Some text prompts try to read the SDL input queue instead of stdin like they should. |
1014 |
- * Probably other stuff. Do NOT consider this stable and complete yet! |
1015 |
-</longdescription> |
1016 |
- <use> |
1017 |
- <flag name="demo">Install the demo files</flag> |
1018 |
- <flag name="pic">disable optimized assembly code that is not PIC friendly</flag> |
1019 |
- </use> |
1020 |
-</pkgmetadata> |
1021 |
|
1022 |
diff --git a/profiles/package.mask b/profiles/package.mask |
1023 |
index 32b782ae3cc..1011ade0b4a 100644 |
1024 |
--- a/profiles/package.mask |
1025 |
+++ b/profiles/package.mask |
1026 |
@@ -329,10 +329,6 @@ games-fps/aaquake2 |
1027 |
# (#654352). Removal in a month. |
1028 |
games-fps/doomsday-resources |
1029 |
|
1030 |
-# Pacho Ramos <pacho@g.o> (17 Jun 2018) |
1031 |
-# Fails to run, use eduke32 instead (#654480). Removal in a month. |
1032 |
-games-fps/duke3d |
1033 |
- |
1034 |
# Mart Raudsepp <leio@g.o> (16 Jun 2018) |
1035 |
# No upstream (website disappeared), no upstream plugin maintainer, |
1036 |
# and pretty much a fringe format anyway. |