1 |
commit: 0d0f44b2d543706c14ece28da489dec25af1a44f |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Feb 7 19:31:50 2020 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Fri Feb 7 20:08:22 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=0d0f44b2 |
7 |
|
8 |
games-action/reflectball: remove package |
9 |
|
10 |
Unavailable sources, deprecated |
11 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
12 |
|
13 |
.../reflectball/files/reflectball-0.11-fixes.diff | 194 --------------------- |
14 |
.../files/reflectball-0.11-homedir.diff | 73 -------- |
15 |
.../reflectball/files/reflectball-0.11-import.diff | 117 ------------- |
16 |
.../files/reflectball-0.11-makefile.diff | 21 --- |
17 |
games-action/reflectball/files/reflectball.png | Bin 1034 -> 0 bytes |
18 |
games-action/reflectball/metadata.xml | 8 - |
19 |
games-action/reflectball/reflectball-0.11.ebuild | 62 ------- |
20 |
7 files changed, 475 deletions(-) |
21 |
|
22 |
diff --git a/games-action/reflectball/files/reflectball-0.11-fixes.diff b/games-action/reflectball/files/reflectball-0.11-fixes.diff |
23 |
deleted file mode 100644 |
24 |
index d69b054..0000000 |
25 |
--- a/games-action/reflectball/files/reflectball-0.11-fixes.diff |
26 |
+++ /dev/null |
27 |
@@ -1,194 +0,0 @@ |
28 |
-diff -Naur RefLectBall/src/bulletcommand.d RefLectBall-gentoo/src/bulletcommand.d |
29 |
---- RefLectBall/src/bulletcommand.d 2006-10-24 19:55:56.000000000 +0200 |
30 |
-+++ RefLectBall-gentoo/src/bulletcommand.d 2007-10-11 21:35:39.000000000 +0200 |
31 |
-@@ -36,7 +36,7 @@ |
32 |
- |
33 |
- buf.length = 256; |
34 |
- buf = fname ~ "\0"; |
35 |
-- parser[bank] = BulletMLParserTinyXML_new(buf); |
36 |
-+ parser[bank] = BulletMLParserTinyXML_new(buf.ptr); |
37 |
- if(parser[bank]) BulletMLParserTinyXML_parse(parser[bank]); |
38 |
- buf.length = 0; |
39 |
- } |
40 |
-@@ -169,7 +169,8 @@ |
41 |
- if(eid != -1){ |
42 |
- TskBuf[eid].parent = BulletCommand.now.id; |
43 |
- d = (d <= 180.0f ? d : -(360.0f - d)); |
44 |
-- d = d / ROTVAL; |
45 |
-+ d = d / ROTVAL; |
46 |
-+ TskBuf[eid].roll = 0; |
47 |
- TskBuf[eid].bullet_speed = s; |
48 |
- TskBuf[eid].bullet_direction = d; |
49 |
- TskBuf[eid].bullet_velx = (sin(d) * (-s * VEL_SDM_SS_RATIO)); |
50 |
-diff -Naur RefLectBall/src/luminous.d RefLectBall-gentoo/src/luminous.d |
51 |
---- RefLectBall/src/luminous.d 2006-07-08 04:49:12.000000000 +0200 |
52 |
-+++ RefLectBall-gentoo/src/luminous.d 2007-10-11 21:35:39.000000000 +0200 |
53 |
-@@ -7,7 +7,7 @@ |
54 |
- */ |
55 |
- |
56 |
- private import std.math; |
57 |
--private import std.string; |
58 |
-+private import std.c.string; |
59 |
- private import opengl; |
60 |
- private import util_sdl; |
61 |
- private import task; |
62 |
-@@ -36,7 +36,7 @@ |
63 |
- glDisable(GL_CULL_FACE); |
64 |
- glDisable(GL_DEPTH_TEST); |
65 |
- glDisable(GL_TEXTURE_2D); |
66 |
-- glDisable(GL_COLOR_MATERIAL); |
67 |
-+ glDisable(GL_COLOR_MATERIAL); |
68 |
- init(0.0f, SCREEN_X, SCREEN_Y); |
69 |
- TskBuf[id].fp_draw = &TSKluminousDraw; |
70 |
- TskBuf[id].step++; |
71 |
-@@ -68,11 +68,11 @@ |
72 |
- |
73 |
- static void makeLuminousTexture() |
74 |
- { |
75 |
-- uint *data = td; |
76 |
-+ uint *data = td.ptr; |
77 |
- int i; |
78 |
- |
79 |
- td[0..length] = 0; |
80 |
-- //memset(data, 0, luminousTextureWidth * luminousTextureHeight * 4 * uint.sizeof); |
81 |
-+ memset(data, 0, luminousTextureWidth * luminousTextureHeight * 4 * uint.sizeof); |
82 |
- glGenTextures(1, &luminousTexture); |
83 |
- glBindTexture(GL_TEXTURE_2D, luminousTexture); |
84 |
- glTexImage2D(GL_TEXTURE_2D, 0, 4, luminousTextureWidth, luminousTextureHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, data); |
85 |
-diff -Naur RefLectBall/src/main.d RefLectBall-gentoo/src/main.d |
86 |
---- RefLectBall/src/main.d 2006-10-20 20:10:16.000000000 +0200 |
87 |
-+++ RefLectBall-gentoo/src/main.d 2007-10-11 21:35:39.000000000 +0200 |
88 |
-@@ -4,14 +4,14 @@ |
89 |
- 'main.d' |
90 |
- */ |
91 |
- |
92 |
--private import std.c.windows.windows; |
93 |
-+//private import std.c.windows.windows; |
94 |
- private import std.stdio; |
95 |
- private import std.string; |
96 |
- private import std.random; |
97 |
- private import std.math; |
98 |
- private import SDL; |
99 |
- private import opengl; |
100 |
--private import reflection; |
101 |
-+//private import reflection; |
102 |
- private import util_sdl; |
103 |
- private import util_glbf; |
104 |
- private import util_pad; |
105 |
-@@ -65,8 +65,8 @@ |
106 |
- str_buf[i] = lpCmdLine[i]; |
107 |
- } |
108 |
- split_buf = split(str_buf); |
109 |
-- if(split_buf[0].length > 1) Reflection.init(split_buf[0]); |
110 |
-- else Reflection.init("main.exe"); |
111 |
-+ // if(split_buf[0].length > 1) Reflection.init(split_buf[0]); |
112 |
-+ // else Reflection.init("main.exe"); |
113 |
- } |
114 |
- |
115 |
- try{ |
116 |
-@@ -84,7 +84,7 @@ |
117 |
- }else{ |
118 |
- int main(char[][] argv) |
119 |
- { |
120 |
-- Reflection.init(argv[argv.length-1]); |
121 |
-+ // Reflection.init(argv[argv.length-1]); |
122 |
- return boot(); |
123 |
- } |
124 |
- } |
125 |
-diff -Naur RefLectBall/src/task.d RefLectBall-gentoo/src/task.d |
126 |
---- RefLectBall/src/task.d 2006-10-20 20:08:50.000000000 +0200 |
127 |
-+++ RefLectBall-gentoo/src/task.d 2007-10-11 21:35:39.000000000 +0200 |
128 |
-@@ -175,7 +175,9 @@ |
129 |
- TskBuf[i].fp_draw = null; |
130 |
- TskBuf[i].fp_exit = null; |
131 |
- TskBuf[i].bullet_command = null; |
132 |
-- TskBuf[i].bullet_state = null; |
133 |
-+ TskBuf[i].bullet_state = null; |
134 |
-+ TskBuf[i].bullet_accx = 0; |
135 |
-+ TskBuf[i].bullet_accy = 0; |
136 |
- } |
137 |
- TskBuf[i].tskid = TSKID_NONE; |
138 |
- TskBuf[i].entry = -1; |
139 |
-@@ -186,7 +188,7 @@ |
140 |
- TskBuf[i].fp_draw = null; |
141 |
- TskBuf[i].fp_exit = null; |
142 |
- TskBuf[i].bullet_command = null; |
143 |
-- TskBuf[i].bullet_state = null; |
144 |
-+ TskBuf[i].bullet_state = null; |
145 |
- } |
146 |
- |
147 |
- int setTSK(int group,void function(int) func) |
148 |
-diff -Naur RefLectBall/src/util_glbf.d RefLectBall-gentoo/src/util_glbf.d |
149 |
---- RefLectBall/src/util_glbf.d 2006-07-07 17:37:52.000000000 +0200 |
150 |
-+++ RefLectBall-gentoo/src/util_glbf.d 2007-10-11 21:35:39.000000000 +0200 |
151 |
-@@ -156,7 +156,7 @@ |
152 |
- { |
153 |
- glBindTexture(GL_TEXTURE_2D, font.texture); // Select Our Font Texture |
154 |
- glListBase(font.base-32); // Choose The Font Set (0 or 1) |
155 |
-- glCallLists(str.length, GL_BYTE, str); // Write The Text To The Screen |
156 |
-+ glCallLists(str.length, GL_BYTE, str.ptr); // Write The Text To The Screen |
157 |
- } |
158 |
- |
159 |
- int glbfInit(GLBitmapFont* font, char* filename, GLfloat xsize, GLfloat xdots, GLfloat ydots) |
160 |
-diff -Naur RefLectBall/src/util_rand.d RefLectBall-gentoo/src/util_rand.d |
161 |
---- RefLectBall/src/util_rand.d 2006-07-26 16:50:10.000000000 +0200 |
162 |
-+++ RefLectBall-gentoo/src/util_rand.d 2007-10-11 21:35:39.000000000 +0200 |
163 |
-@@ -112,14 +112,14 @@ |
164 |
- |
165 |
- void next_state() |
166 |
- { |
167 |
-- uint *p=state; |
168 |
-+ uint *p=state.ptr; |
169 |
- |
170 |
- /* if init_genrand() has not been called, */ |
171 |
- /* a default initial seed is used */ |
172 |
- if (initf==0) init_genrand(5489); |
173 |
- |
174 |
- left = N; |
175 |
-- next = state; |
176 |
-+ next = state.ptr; |
177 |
- |
178 |
- for (int j=N-M+1; --j; p++) |
179 |
- *p = p[M] ^ TWIST(p[0], p[1]); |
180 |
-diff -Naur RefLectBall/src/util_sdl.d RefLectBall-gentoo/src/util_sdl.d |
181 |
---- RefLectBall/src/util_sdl.d 2006-10-19 19:04:16.000000000 +0200 |
182 |
-+++ RefLectBall-gentoo/src/util_sdl.d 2007-10-11 21:35:39.000000000 +0200 |
183 |
-@@ -105,7 +105,7 @@ |
184 |
- resizedSDL(width, height); |
185 |
- SDL_ShowCursor(SDL_DISABLE); |
186 |
- |
187 |
-- SDL_WM_SetCaption(PROJECT_NAME, null); |
188 |
-+ SDL_WM_SetCaption(PROJECT_NAME.ptr, null); |
189 |
- SDL_WM_SetIcon(SDL_LoadBMP("icon.bmp"), null); |
190 |
- |
191 |
- return 1; |
192 |
-@@ -142,7 +142,7 @@ |
193 |
- { |
194 |
- SDL_Surface* tmp; |
195 |
- |
196 |
-- tmp = IMG_Load(toStringz(fname)); |
197 |
-+// tmp = IMG_Load(toStringz(fname)); |
198 |
- if(tmp){ |
199 |
- SDL_Surface* tmp2; |
200 |
- int bpp = getBPP(tmp); |
201 |
-diff -Naur RefLectBall/src/util_snd.d RefLectBall-gentoo/src/util_snd.d |
202 |
---- RefLectBall/src/util_snd.d 2006-10-22 21:07:36.000000000 +0200 |
203 |
-+++ RefLectBall-gentoo/src/util_snd.d 2007-10-11 21:35:39.000000000 +0200 |
204 |
-@@ -99,7 +99,7 @@ |
205 |
- |
206 |
- char[] fileName = name ~ "\0"; |
207 |
- |
208 |
-- music[ch] = Mix_LoadMUS(fileName); |
209 |
-+ music[ch] = Mix_LoadMUS(fileName.ptr); |
210 |
- if(!music[ch]){ |
211 |
- writefln("snd load error %s", name); |
212 |
- sound_use = false; |
213 |
-@@ -119,7 +119,7 @@ |
214 |
- |
215 |
- char[] fileName = name ~ "\0"; |
216 |
- |
217 |
-- chunk[bank] = Mix_LoadWAV(fileName); |
218 |
-+ chunk[bank] = Mix_LoadWAV(fileName.ptr); |
219 |
- if(!chunk[bank]){ |
220 |
- sound_use = false; |
221 |
- } |
222 |
|
223 |
diff --git a/games-action/reflectball/files/reflectball-0.11-homedir.diff b/games-action/reflectball/files/reflectball-0.11-homedir.diff |
224 |
deleted file mode 100644 |
225 |
index ffdd267..0000000 |
226 |
--- a/games-action/reflectball/files/reflectball-0.11-homedir.diff |
227 |
+++ /dev/null |
228 |
@@ -1,73 +0,0 @@ |
229 |
-diff -Naur RefLectBall/src/gctrl.d RefLectBall-gentoo/src/gctrl.d |
230 |
---- RefLectBall/src/gctrl.d 2006-10-25 18:56:44.000000000 +0200 |
231 |
-+++ RefLectBall-gentoo/src/gctrl.d 2007-10-13 10:20:40.000000000 +0200 |
232 |
-@@ -66,6 +66,22 @@ |
233 |
- GCTRL_RANKING_EXEC, |
234 |
- GCTRL_RANKING_EXIT, |
235 |
- } |
236 |
-+ |
237 |
-+public static char[] pref_dir() |
238 |
-+{ |
239 |
-+ char * home = getenv("HOME"); |
240 |
-+ if (home is null) |
241 |
-+ throw new Error("HOME environment variable not defined"); |
242 |
-+ char[] dir = std.string.toString(home) ~ "/.reflectball"; |
243 |
-+ char[] dir2 = std.string.toString(home) ~ "/.reflectball/replay"; |
244 |
-+ try { |
245 |
-+ mkdir(dir); |
246 |
-+ mkdir(dir2); |
247 |
-+ } catch (FileException e) { |
248 |
-+ } |
249 |
-+ return dir; |
250 |
-+} |
251 |
-+ |
252 |
- |
253 |
- void TSKgctrl(int id) |
254 |
- { |
255 |
-@@ -78,7 +94,7 @@ |
256 |
- replay_data.length = 8; |
257 |
- } |
258 |
- replay_fmax = 0; |
259 |
-- fpath = listdir(std.path.curdir ~ "/replay"); |
260 |
-+ fpath = listdir(pref_dir() ~ "/" ~ "replay"); |
261 |
- for(int i = 0; i < fpath.length; i++){ |
262 |
- if(fnmatch(fpath[i], "rlb??????????????.rep")){ |
263 |
- replay_file.length = fcnt + 1; |
264 |
-@@ -118,7 +134,7 @@ |
265 |
- replay_data[i] = replay[i]; |
266 |
- } |
267 |
- char[] fname; |
268 |
-- fname = format("./replay/rlb%04d%02d%02d%02d%02d%02d.rep" |
269 |
-+ fname = format(pref_dir() ~ "/" ~ "/replay/rlb%04d%02d%02d%02d%02d%02d.rep" |
270 |
- ,year |
271 |
- ,month |
272 |
- ,date |
273 |
-@@ -152,8 +168,8 @@ |
274 |
- } |
275 |
- |
276 |
- void init_highscore(){ |
277 |
-- if(exists("score.dat")){ |
278 |
-- hi_score = cast(int[])read("score.dat"); |
279 |
-+ if(exists(pref_dir() ~ "/" ~ "score.dat")){ |
280 |
-+ hi_score = cast(int[])read(pref_dir() ~ "/" ~ "score.dat"); |
281 |
- }else{ |
282 |
- hi_score.length = RANKING_MAX * RANKING_RECORD; |
283 |
- for(int i = 0; i < RANKING_MAX; i++){ |
284 |
-@@ -161,7 +177,7 @@ |
285 |
- hi_score[i * RANKING_RECORD + RANKING_BREAK] = 0; |
286 |
- hi_score[i * RANKING_RECORD + RANKING_DESTR] = 0; |
287 |
- } |
288 |
-- write("score.dat", cast(void[])hi_score); |
289 |
-+ write(pref_dir() ~ "/" ~ "score.dat", cast(void[])hi_score); |
290 |
- } |
291 |
- } |
292 |
- |
293 |
-@@ -178,7 +194,7 @@ |
294 |
- hi_score[i * RANKING_RECORD + RANKING_SCORE] = score; |
295 |
- hi_score[i * RANKING_RECORD + RANKING_BREAK] = brk_ship; |
296 |
- hi_score[i * RANKING_RECORD + RANKING_DESTR] = enemy_dst; |
297 |
-- write("score.dat", cast(void[])hi_score); |
298 |
-+ write(pref_dir() ~ "/" ~ "score.dat", cast(void[])hi_score); |
299 |
- break; |
300 |
- } |
301 |
- } |
302 |
|
303 |
diff --git a/games-action/reflectball/files/reflectball-0.11-import.diff b/games-action/reflectball/files/reflectball-0.11-import.diff |
304 |
deleted file mode 100644 |
305 |
index 48c6b3b..0000000 |
306 |
--- a/games-action/reflectball/files/reflectball-0.11-import.diff |
307 |
+++ /dev/null |
308 |
@@ -1,117 +0,0 @@ |
309 |
-diff -Naur RefLectBall/import/SDL.d RefLectBall-gentoo/import/SDL.d |
310 |
---- RefLectBall/import/SDL.d 2006-07-26 16:24:12.000000000 +0200 |
311 |
-+++ RefLectBall-gentoo/import/SDL.d 2007-10-11 21:35:39.000000000 +0200 |
312 |
-@@ -31,7 +31,7 @@ |
313 |
- public import SDL_events; |
314 |
- public import SDL_video; |
315 |
- public import SDL_byteorder; |
316 |
--public import SDL_Version; |
317 |
-+public import SDL_version; |
318 |
- |
319 |
- extern(C): |
320 |
- |
321 |
-@@ -73,6 +73,7 @@ |
322 |
- */ |
323 |
- void SDL_Quit(); |
324 |
- |
325 |
-+/+ |
326 |
- void SDL_SetModuleHandle(void *hInst); |
327 |
- //extern(Windows) void* GetModuleHandle(char*); |
328 |
- extern(Windows) void* GetModuleHandleA(char*); |
329 |
-@@ -90,3 +91,4 @@ |
330 |
- { |
331 |
- SDL_Quit(); |
332 |
- } |
333 |
-++/ |
334 |
-diff -Naur RefLectBall/import/SDL_events.d RefLectBall-gentoo/import/SDL_events.d |
335 |
---- RefLectBall/import/SDL_events.d 2006-07-26 16:25:46.000000000 +0200 |
336 |
-+++ RefLectBall-gentoo/import/SDL_events.d 2007-10-11 21:35:39.000000000 +0200 |
337 |
-@@ -105,7 +105,7 @@ |
338 |
- Uint8 type; /* SDL_KEYDOWN or SDL_KEYUP */ |
339 |
- Uint8 which; /* The keyboard device index */ |
340 |
- Uint8 state; /* SDL_PRESSED or SDL_RELEASED */ |
341 |
-- SDL_keysym keysym; |
342 |
-+ SDL_keysym2 keysym; |
343 |
- } |
344 |
- |
345 |
- /* Mouse motion event structure */ |
346 |
-diff -Naur RefLectBall/import/SDL_keyboard.d RefLectBall-gentoo/import/SDL_keyboard.d |
347 |
---- RefLectBall/import/SDL_keyboard.d 2006-07-26 16:25:14.000000000 +0200 |
348 |
-+++ RefLectBall-gentoo/import/SDL_keyboard.d 2007-10-11 21:35:39.000000000 +0200 |
349 |
-@@ -26,7 +26,7 @@ |
350 |
- // !!! A hack! struct SDL_keysym is defined in this module, |
351 |
- // !!! so we need to resolve the nameclash... |
352 |
- // !!! Definitely won't work on *NIX but for now will do. |
353 |
--public import SDL_Keysym; |
354 |
-+public import SDL_keysym; |
355 |
- |
356 |
- extern(C): |
357 |
- |
358 |
-@@ -46,7 +46,7 @@ |
359 |
- An international character.. |
360 |
- } |
361 |
- */ |
362 |
--struct SDL_keysym { |
363 |
-+struct SDL_keysym2 { |
364 |
- Uint8 scancode; /* hardware specific scancode */ |
365 |
- SDLKey sym; /* SDL virtual keysym */ |
366 |
- SDLMod mod; /* current key modifiers */ |
367 |
-diff -Naur RefLectBall/import/SDL_syswm.d RefLectBall-gentoo/import/SDL_syswm.d |
368 |
---- RefLectBall/import/SDL_syswm.d 2006-07-26 16:25:32.000000000 +0200 |
369 |
-+++ RefLectBall-gentoo/import/SDL_syswm.d 2007-10-11 21:35:39.000000000 +0200 |
370 |
-@@ -22,7 +22,7 @@ |
371 |
- |
372 |
- /* Include file for SDL custom system window manager hooks */ |
373 |
- |
374 |
--public import SDL_Version; |
375 |
-+public import SDL_version; |
376 |
- |
377 |
- extern(C): |
378 |
- |
379 |
-diff -Naur RefLectBall/import/opengl.d RefLectBall-gentoo/import/opengl.d |
380 |
---- RefLectBall/import/opengl.d 2004-01-09 10:52:04.000000000 +0100 |
381 |
-+++ RefLectBall-gentoo/import/opengl.d 2007-10-11 21:35:39.000000000 +0200 |
382 |
-@@ -1,10 +1,4 @@ |
383 |
--version (Win32) { |
384 |
-- private import std.c.windows.windows; |
385 |
-- extern(Windows): |
386 |
--} |
387 |
--version (linux) { |
388 |
- extern(C): |
389 |
--} |
390 |
- |
391 |
- alias uint GLenum; |
392 |
- alias ubyte GLboolean; |
393 |
-@@ -1116,7 +1110,7 @@ |
394 |
- /*************************************************************/ |
395 |
- |
396 |
- void /*APIENTRY*/glAccum (GLenum op, GLfloat value); |
397 |
--void /*APIENTRY*/glAlphaFunc (GLenum func, GLclampf ref); |
398 |
-+void /*APIENTRY*/glAlphaFunc (GLenum func, GLclampf); |
399 |
- GLboolean /*APIENTRY*/glAreTexturesResident (GLsizei n, GLuint *textures, GLboolean *residences); |
400 |
- void /*APIENTRY*/glArrayElement (GLint i); |
401 |
- void /*APIENTRY*/glBegin (GLenum mode); |
402 |
-@@ -1369,7 +1363,7 @@ |
403 |
- void /*APIENTRY*/glScissor (GLint x, GLint y, GLsizei width, GLsizei height); |
404 |
- void /*APIENTRY*/glSelectBuffer (GLsizei size, GLuint *buffer); |
405 |
- void /*APIENTRY*/glShadeModel (GLenum mode); |
406 |
--void /*APIENTRY*/glStencilFunc (GLenum func, GLint ref, GLuint mask); |
407 |
-+void /*APIENTRY*/glStencilFunc (GLenum func, GLint, GLuint mask); |
408 |
- void /*APIENTRY*/glStencilMask (GLuint mask); |
409 |
- void /*APIENTRY*/glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); |
410 |
- void /*APIENTRY*/glTexCoord1d (GLdouble s); |
411 |
-diff -Naur RefLectBall/import/openglu.d RefLectBall-gentoo/import/openglu.d |
412 |
---- RefLectBall/import/openglu.d 2006-07-26 16:24:24.000000000 +0200 |
413 |
-+++ RefLectBall-gentoo/import/openglu.d 2007-10-11 21:35:39.000000000 +0200 |
414 |
-@@ -1,11 +1,6 @@ |
415 |
- public import opengl; |
416 |
- |
417 |
--version (Win32) { |
418 |
-- extern(Windows): |
419 |
--} |
420 |
--version (linux) { |
421 |
- extern(C): |
422 |
--} |
423 |
- |
424 |
- GLubyte* gluErrorString ( |
425 |
- GLenum errCode); |
426 |
|
427 |
diff --git a/games-action/reflectball/files/reflectball-0.11-makefile.diff b/games-action/reflectball/files/reflectball-0.11-makefile.diff |
428 |
deleted file mode 100644 |
429 |
index a088543..0000000 |
430 |
--- a/games-action/reflectball/files/reflectball-0.11-makefile.diff |
431 |
+++ /dev/null |
432 |
@@ -1,21 +0,0 @@ |
433 |
-diff -Naur Makefile Makefile |
434 |
---- Makefile 1970-01-01 01:00:00.000000000 +0100 |
435 |
-+++ Makefile 2007-10-11 21:35:39.000000000 +0200 |
436 |
-@@ -0,0 +1,17 @@ |
437 |
-+DC=gdmd |
438 |
-+DFLAGS=-g -O -d -release -Iimport -Isrc |
439 |
-+DOUT=-of |
440 |
-+ |
441 |
-+DSRC=$(shell find src/ -name "*.d") |
442 |
-+SOURCES=$(DSRC) import/SDL_video.d import/SDL_mixer.d import/SDL_image.d |
443 |
-+OBJS=$(SOURCES:.d=.o) |
444 |
-+EXE=reflectball |
445 |
-+ |
446 |
-+all: $(EXE) |
447 |
-+ |
448 |
-+$(EXE): $(OBJS) |
449 |
-+ gcc -o $@ $(OBJS) -lbulletml -lgphobos -lpthread -lm -lSDL -lGL -lGLU -lSDL_mixer |
450 |
-+ |
451 |
-+$(OBJS): %.o: %.d |
452 |
-+ $(DC) -c $(DOUT)$@ $(DFLAGS) $< |
453 |
-+ |
454 |
|
455 |
diff --git a/games-action/reflectball/files/reflectball.png b/games-action/reflectball/files/reflectball.png |
456 |
deleted file mode 100644 |
457 |
index 2b38eae..0000000 |
458 |
Binary files a/games-action/reflectball/files/reflectball.png and /dev/null differ |
459 |
|
460 |
diff --git a/games-action/reflectball/metadata.xml b/games-action/reflectball/metadata.xml |
461 |
deleted file mode 100644 |
462 |
index 5d0ede2..0000000 |
463 |
--- a/games-action/reflectball/metadata.xml |
464 |
+++ /dev/null |
465 |
@@ -1,8 +0,0 @@ |
466 |
-<?xml version="1.0" encoding="UTF-8"?> |
467 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
468 |
-<pkgmetadata> |
469 |
-<maintainer> |
470 |
- <email>frostworks@×××.de</email> |
471 |
- <name>Marcel Unbehaun</name> |
472 |
-</maintainer> |
473 |
-</pkgmetadata> |
474 |
|
475 |
diff --git a/games-action/reflectball/reflectball-0.11.ebuild b/games-action/reflectball/reflectball-0.11.ebuild |
476 |
deleted file mode 100644 |
477 |
index 8b8e790..0000000 |
478 |
--- a/games-action/reflectball/reflectball-0.11.ebuild |
479 |
+++ /dev/null |
480 |
@@ -1,62 +0,0 @@ |
481 |
-# Copyright 1999-2009 Gentoo Foundation |
482 |
-# Distributed under the terms of the GNU General Public License v2 |
483 |
-# $Header: $ |
484 |
- |
485 |
-EAPI="2" |
486 |
- |
487 |
-inherit d-games |
488 |
- |
489 |
-MY_PN=RefLectBall |
490 |
-MY_PV=${PV//./_} |
491 |
- |
492 |
-DESCRIPTION="jumpei isshiki's HelloWorldProject (2006/09/09) " |
493 |
-HOMEPAGE="http://homepage2.nifty.com/isshiki/prog_win_d.html" |
494 |
-SRC_URI="http://isshiki.la.coocan.jp/game/${MY_PN}.zip" |
495 |
- |
496 |
-LICENSE="BSD" |
497 |
-SLOT="0" |
498 |
-KEYWORDS="~ppc ~x86" |
499 |
-IUSE="" |
500 |
- |
501 |
-RDEPEND="media-libs/libsdl |
502 |
- media-libs/mesa |
503 |
- media-libs/sdl-mixer |
504 |
- dev-libs/libbulletml" |
505 |
-DEPEND="${RDEPEND}" |
506 |
- |
507 |
-S=${WORKDIR}/${MY_PN} |
508 |
- |
509 |
-src_prepare(){ |
510 |
- epatch "${FILESDIR}"/${P}-fixes.diff |
511 |
- epatch "${FILESDIR}"/${P}-homedir.diff |
512 |
- epatch "${FILESDIR}"/${P}-import.diff |
513 |
- epatch "${FILESDIR}"/${P}-makefile.diff |
514 |
- mv src/reflection.d src/reflection.d-OFF |
515 |
- sed -i \ |
516 |
- -e 's:"\(title.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \ |
517 |
- -e 's:"\(next.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \ |
518 |
- -e 's:"\(gameover.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \ |
519 |
- -e 's:"\(edificio.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/main.d \ |
520 |
- -e 's:"\(ref-ball[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \ |
521 |
- -e 's:"\(voice_[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \ |
522 |
- -e 's:"\(zlock[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \ |
523 |
- -e 's:"\(bullets[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \ |
524 |
- || die "sed failed" |
525 |
-} |
526 |
- |
527 |
-src_install() { |
528 |
- dogamesbin ${PN} |
529 |
- |
530 |
- local datadir="${GAMES_DATADIR}"/${PN} |
531 |
- dodir ${datadir} |
532 |
- insinto "${GAMES_DATADIR}"/${PN} |
533 |
- doins -r bullets *.bmp *.ogg *.wav || die |
534 |
- newicon "${FILESDIR}"/${PN}.png ${PN}.png |
535 |
- make_desktop_entry ${PN} ${PN} |
536 |
- dodoc readme* |
537 |
- prepgamesdirs |
538 |
-} |
539 |
- |
540 |
-pkg_postinst() { |
541 |
- games_pkg_postinst |
542 |
-} |