1 |
commit: f3523929d1a6e0a9201f88c41edaf495f22f5e26 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Feb 6 18:46:18 2020 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Thu Feb 6 21:20:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=f3523929 |
7 |
|
8 |
games-arcade/dave: remove ebuild |
9 |
|
10 |
Sources unavailable, deprecated eclass |
11 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
12 |
|
13 |
games-arcade/dave/dave-1.0.ebuild | 52 ----- |
14 |
games-arcade/dave/files/dave-1.0-data.patch | 322 --------------------------- |
15 |
games-arcade/dave/files/dave-1.0-gcc43.patch | 22 -- |
16 |
games-arcade/dave/metadata.xml | 5 - |
17 |
4 files changed, 401 deletions(-) |
18 |
|
19 |
diff --git a/games-arcade/dave/dave-1.0.ebuild b/games-arcade/dave/dave-1.0.ebuild |
20 |
deleted file mode 100644 |
21 |
index 1e38dd2..0000000 |
22 |
--- a/games-arcade/dave/dave-1.0.ebuild |
23 |
+++ /dev/null |
24 |
@@ -1,52 +0,0 @@ |
25 |
-# Copyright 1999-2009 Gentoo Foundation |
26 |
-# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/dave/dave-1.0.ebuild,v 1.1 2008/09/02 13:31:40 frostwork Exp $ |
28 |
- |
29 |
-EAPI="2" |
30 |
- |
31 |
-inherit games |
32 |
- |
33 |
-DESCRIPTION="Dave - The ordinary spaceman" |
34 |
-HOMEPAGE="http://thykka.ath.cx/dave/?page=115" |
35 |
-SRC_URI="http://tyk-ry.utu.fi/~jupet/${PN}_sources.zip" |
36 |
- |
37 |
-LICENSE="GPL-2" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="~amd64 ~x86" |
40 |
-IUSE="" |
41 |
- |
42 |
-RDEPEND="virtual/opengl |
43 |
- media-libs/libsdl |
44 |
- media-libs/sdl-mixer |
45 |
- media-libs/sdl-image |
46 |
- media-libs/libogg |
47 |
- media-libs/libvorbis |
48 |
- media-libs/glew" |
49 |
-DEPEND="${RDEPEND} |
50 |
- dev-util/cmake" |
51 |
- |
52 |
-S="${WORKDIR}"/"${PN}" |
53 |
- |
54 |
-src_prepare(){ |
55 |
- epatch "${FILESDIR}"/${P}-data.patch |
56 |
- epatch "${FILESDIR}"/${P}-gcc43.patch |
57 |
-} |
58 |
- |
59 |
-src_compile() { |
60 |
- # dave does not allow out tree build |
61 |
- cmake . |
62 |
- emake || die "make failed" |
63 |
-} |
64 |
- |
65 |
-src_install() { |
66 |
- local datadir="${GAMES_DATADIR}"/${PN} |
67 |
- |
68 |
- dogamesbin ${PN} |
69 |
- newgamesbin editor ${PN}-editor |
70 |
- dodir ${datadir} |
71 |
- insinto "${datadir}" |
72 |
- doins -r audio graphics levels || die "data install failed" |
73 |
- insinto "${GAMES_SYSCONFDIR}"/${PN} |
74 |
- newins ${PN}.conf.sample ${PN}.conf || die "conf install failed" |
75 |
- |
76 |
-} |
77 |
|
78 |
diff --git a/games-arcade/dave/files/dave-1.0-data.patch b/games-arcade/dave/files/dave-1.0-data.patch |
79 |
deleted file mode 100644 |
80 |
index 41b01da..0000000 |
81 |
--- a/games-arcade/dave/files/dave-1.0-data.patch |
82 |
+++ /dev/null |
83 |
@@ -1,322 +0,0 @@ |
84 |
-diff -Naur dave-org/analog_effects.cpp dave/analog_effects.cpp |
85 |
---- dave-org/analog_effects.cpp 2008-08-13 21:43:21.000000000 +0200 |
86 |
-+++ dave/analog_effects.cpp 2008-09-02 14:26:36.000000000 +0200 |
87 |
-@@ -881,7 +881,7 @@ |
88 |
- MotionBlur::MotionBlur() : chroma(1.0f), amount(0.3f), prog(NULL), blurred_fbo(NULL), blurred_texture(NULL) |
89 |
- { |
90 |
- if (game->get_ext()->shaders && game->get_ext()->fbo) { |
91 |
-- prog = new GLProgram("graphics/motion_blur_vert.glsl", "graphics/motion_blur_frag.glsl"); |
92 |
-+ prog = new GLProgram("/usr/share/games/dave/graphics/motion_blur_vert.glsl", "/usr/share/games/dave/graphics/motion_blur_frag.glsl"); |
93 |
- prog->use(); |
94 |
- prog->set_int("current", 0); |
95 |
- prog->set_int("blurred", 1); |
96 |
-@@ -938,7 +938,7 @@ |
97 |
- { |
98 |
- if (!game->get_ext()->shaders || !game->get_ext()->fbo) |
99 |
- return; |
100 |
-- prog = new GLProgram("graphics/gaussian_blur_vert.glsl", "graphics/gaussian_blur_frag.glsl"); |
101 |
-+ prog = new GLProgram("/usr/share/games/dave/graphics/gaussian_blur_vert.glsl", "/usr/share/games/dave/graphics/gaussian_blur_frag.glsl"); |
102 |
- prog->use(); |
103 |
- prog->set_int("image", 0); |
104 |
- prog->unuse(); |
105 |
-@@ -982,7 +982,7 @@ |
106 |
- TV::TV() : zoom(0.0f), started_zooming_at(-1000.0f), zooming_in(false) |
107 |
- { |
108 |
- room = new Scene(); |
109 |
-- tv = new Model("graphics/telq.3ds"); |
110 |
-+ tv = new Model("/usr/share/games/dave/graphics/telq.3ds"); |
111 |
- tv->set_texture( lib["toelloe.png" ]); |
112 |
- tv->set_self_illumination(&proxy); |
113 |
- tv->set_environment( lib["tv_environment.png" ]); |
114 |
-@@ -1060,7 +1060,7 @@ |
115 |
- PalNoise::PalNoise() |
116 |
- { |
117 |
- noise = lib["pal_noise.png"]; |
118 |
-- prog = new GLProgram("graphics/noise_vert.glsl", "graphics/noise_frag.glsl"); |
119 |
-+ prog = new GLProgram("/usr/share/games/dave/graphics/noise_vert.glsl", "/usr/share/games/dave/graphics/noise_frag.glsl"); |
120 |
- } |
121 |
- |
122 |
- PalNoise::~PalNoise() |
123 |
-@@ -1123,7 +1123,7 @@ |
124 |
- set_bend(0.0f); |
125 |
- offset = 0.0f; |
126 |
- if (game->get_ext()->shaders) |
127 |
-- prog = new GLProgram("graphics/tape_vert.glsl", "graphics/tape_frag.glsl"); |
128 |
-+ prog = new GLProgram("/usr/share/games/dave/graphics/tape_vert.glsl", "/usr/share/games/dave/graphics/tape_frag.glsl"); |
129 |
- } |
130 |
- |
131 |
- TapeDistortion::~TapeDistortion() |
132 |
-diff -Naur dave-org/editor.cpp dave/editor.cpp |
133 |
---- dave-org/editor.cpp 2008-08-13 21:43:21.000000000 +0200 |
134 |
-+++ dave/editor.cpp 2008-09-02 14:22:30.000000000 +0200 |
135 |
-@@ -101,7 +101,7 @@ |
136 |
- |
137 |
- for (int pass=0; pass<2; pass++) { |
138 |
- struct dirent *dir; |
139 |
-- DIR *d = opendir("graphics"); |
140 |
-+ DIR *d = opendir("/usr/share/games/dave/graphics"); |
141 |
- if (d) { |
142 |
- while ((dir = readdir(d)) != NULL) { |
143 |
- string name = dir->d_name; |
144 |
-diff -Naur dave-org/game.cpp dave/game.cpp |
145 |
---- dave-org/game.cpp 2008-08-13 21:43:21.000000000 +0200 |
146 |
-+++ dave/game.cpp 2008-09-02 14:37:18.000000000 +0200 |
147 |
-@@ -260,7 +260,7 @@ |
148 |
- dave_kuopio->add_ability(new Ability(Ability::LASER_PULSE)); |
149 |
- dave_kuopio->set_flags(Level::Block::MONOCHROME, true); |
150 |
- if (ext.shaders) |
151 |
-- kuopio_prog = new GLProgram("graphics/kuopio_vert.glsl", "graphics/kuopio_frag.glsl"); |
152 |
-+ kuopio_prog = new GLProgram("/usr/share/games/dave/graphics/kuopio_vert.glsl", "/usr/share/games/dave/graphics/kuopio_frag.glsl"); |
153 |
- cerr<<"dave lisätty\n"; |
154 |
- current_level->reset(); |
155 |
- cerr<<"vihulaiset lisätty\n"; |
156 |
-@@ -291,10 +291,10 @@ |
157 |
- |
158 |
- remote = new Remote(); |
159 |
- |
160 |
-- img_rewind = new Image("graphics/rewind.png", true); |
161 |
-- img_stop = new Image("graphics/stop.png" , true); |
162 |
-- img_play = new Image("graphics/play.png" , true); |
163 |
-- img_record = new Image("graphics/rec.png" , true); |
164 |
-+ img_rewind = new Image("/usr/share/games/dave/graphics/rewind.png", true); |
165 |
-+ img_stop = new Image("/usr/share/games/dave/graphics/stop.png" , true); |
166 |
-+ img_play = new Image("/usr/share/games/dave/graphics/play.png" , true); |
167 |
-+ img_record = new Image("/usr/share/games/dave/graphics/rec.png" , true); |
168 |
- } |
169 |
- |
170 |
- Game::~Game() |
171 |
-@@ -824,7 +824,7 @@ |
172 |
- { |
173 |
- const bool gfin = game_completed; |
174 |
- render(); |
175 |
-- Mix_Music *vaapukka = Mix_LoadMUS("audio/Kirahvi_nimelta_Tuike_-_Vaapukkamehulaulu.ogg"); |
176 |
-+ Mix_Music *vaapukka = Mix_LoadMUS("/usr/share/games/dave/audio/Kirahvi_nimelta_Tuike_-_Vaapukkamehulaulu.ogg"); |
177 |
- Mix_PlayMusic(vaapukka, -1); |
178 |
- if (fin) |
179 |
- Mix_SetMusicPosition(224.0); |
180 |
-@@ -844,7 +844,7 @@ |
181 |
- |
182 |
- set<int> pages; |
183 |
- struct dirent *dir; |
184 |
-- DIR *d = opendir("graphics"); |
185 |
-+ DIR *d = opendir("/usr/share/games/dave/graphics"); |
186 |
- if (d) { |
187 |
- while ((dir = readdir(d)) != NULL) { |
188 |
- const char *name = dir->d_name; |
189 |
-@@ -870,7 +870,7 @@ |
190 |
- teletext[page] = new Teletext(); |
191 |
- teletext[page]->set_text(string(41 * 26, ' ')); |
192 |
- ostringstream fname; |
193 |
-- fname << "graphics/page" << page << ".tv"; |
194 |
-+ fname << "/usr/share/games/dave/graphics/page" << page << ".tv"; |
195 |
- ifstream main_text(fname.str().c_str(), ios_base::in | ios_base::binary); |
196 |
- string::size_type pos = 0; |
197 |
- for (int y=0; y<25; y++) { |
198 |
-@@ -1009,7 +1009,7 @@ |
199 |
- if (!prev_credits) { |
200 |
- static Mix_Music *noman; |
201 |
- if (!noman) |
202 |
-- noman = Mix_LoadMUS("audio/Delicious_Orange_-_No-Man.ogg"); |
203 |
-+ noman = Mix_LoadMUS("/usr/share/games/dave/audio/Delicious_Orange_-_No-Man.ogg"); |
204 |
- Mix_PlayMusic(noman, -1); |
205 |
- start = 0.001f * SDL_GetTicks(); |
206 |
- } |
207 |
-@@ -1301,7 +1301,7 @@ |
208 |
- |
209 |
- void Game::save_config() const |
210 |
- { |
211 |
-- ofstream f("dave.conf", ios_base::out | ios_base::binary); |
212 |
-+ ofstream f("/etc/games/dave/dave.conf", ios_base::out | ios_base::binary); |
213 |
- for (map<string, string>::const_iterator i=config.begin(); i!=config.end(); ++i) { |
214 |
- f << i->first; |
215 |
- int si = 20 - i->first.size(); |
216 |
-@@ -1318,11 +1318,11 @@ |
217 |
- // Parsing file |
218 |
- config.clear(); |
219 |
- ifstream f; |
220 |
-- f.open("dave.conf", ios_base::in | ios_base::binary); |
221 |
-+ f.open("/etc/games/dave/dave.conf", ios_base::in | ios_base::binary); |
222 |
- if (!f.good()) { |
223 |
- f.close(); |
224 |
- f.clear(); |
225 |
-- f.open("dave.conf.sample", ios_base::in | ios_base::binary); |
226 |
-+ f.open("/etc/games/dave/dave.conf.sample", ios_base::in | ios_base::binary); |
227 |
- } |
228 |
- if (!f.good()) { |
229 |
- char cwd[128]; |
230 |
-@@ -1367,10 +1367,10 @@ |
231 |
- string Game::get_level_filename() const |
232 |
- { |
233 |
- switch (current_level_number) { |
234 |
-- case 0: return "levels/practice.dave"; |
235 |
-- case 1: return "levels/avaruus.dave"; |
236 |
-- case 2: return "levels/ruohikko.dave"; |
237 |
-- case 3: return "levels/videonauhuri.dave"; |
238 |
-+ case 0: return "/usr/share/games/dave/levels/practice.dave"; |
239 |
-+ case 1: return "/usr/share/games/dave/levels/avaruus.dave"; |
240 |
-+ case 2: return "/usr/share/games/dave/levels/ruohikko.dave"; |
241 |
-+ case 3: return "/usr/share/games/dave/levels/videonauhuri.dave"; |
242 |
- default: |
243 |
- throw; |
244 |
- } |
245 |
-diff -Naur dave-org/level.cpp dave/level.cpp |
246 |
---- dave-org/level.cpp 2008-08-13 21:43:21.000000000 +0200 |
247 |
-+++ dave/level.cpp 2008-09-02 14:29:41.000000000 +0200 |
248 |
-@@ -503,7 +503,7 @@ |
249 |
- starfield[i].set_texture(lib["star.png"]); |
250 |
- background_scene->add_model(&starfield[i]); |
251 |
- if (!i) |
252 |
-- starfield[i].load_shader("graphics/starfield_vert.glsl", "graphics/starfield_frag.glsl"); |
253 |
-+ starfield[i].load_shader("/usr/share/games/dave/graphics/starfield_vert.glsl", "/usr/share/games/dave/graphics/starfield_frag.glsl"); |
254 |
- else |
255 |
- starfield[i].use_same_shader_as(&starfield[0]); |
256 |
- } |
257 |
-@@ -520,12 +520,12 @@ |
258 |
- else if (lev == 2) { // Grass |
259 |
- if (rocket == NULL) { |
260 |
- background_scene = new Scene(); |
261 |
-- rocket = new Model("graphics/roket.3ds"); |
262 |
-+ rocket = new Model("/usr/share/games/dave/graphics/roket.3ds"); |
263 |
- background_scene->add_model(rocket); |
264 |
-- valley = new Model("graphics/laakso.3ds"); |
265 |
-+ valley = new Model("/usr/share/games/dave/graphics/laakso.3ds"); |
266 |
- valley->set_texture(lib["laakso.png"]); |
267 |
- background_scene->add_model(valley); |
268 |
-- sun = new Model("graphics/aurinko.3ds"); |
269 |
-+ sun = new Model("/usr/share/games/dave/graphics/aurinko.3ds"); |
270 |
- sun->set_texture(lib["aurinko.png"]); |
271 |
- background_scene->add_model(sun); |
272 |
- gaussian = new GaussianBlur(); |
273 |
-@@ -577,28 +577,28 @@ |
274 |
- (*i)->handle(this, dt, time); |
275 |
- |
276 |
- if (current_music[0] == NULL) { |
277 |
-- current_music [0] = Mix_LoadMUS("audio/thyks-video_cleaner_fluid.ogg"); |
278 |
-- current_music_reversed[0] = Mix_LoadMUS("audio/thyks-video_cleaner_fluid_reverse.ogg"); |
279 |
-+ current_music [0] = Mix_LoadMUS("/usr/share/games/dave/audio/thyks-video_cleaner_fluid.ogg"); |
280 |
-+ current_music_reversed[0] = Mix_LoadMUS("/usr/share/games/dave/audio/thyks-video_cleaner_fluid_reverse.ogg"); |
281 |
- intro [0] = NULL; |
282 |
- current_music [1] = current_music[0]; |
283 |
- current_music_reversed[1] = current_music_reversed[0]; |
284 |
- intro [1] = NULL; |
285 |
-- current_music [2] = Mix_LoadMUS("audio/sid000loop.ogg"); |
286 |
-- current_music_reversed[2] = Mix_LoadMUS("audio/sid000loop_reverse.ogg"); |
287 |
-- intro [2] = Mix_LoadMUS("audio/sid000intro.ogg"); |
288 |
-- current_music [3] = Mix_LoadMUS("audio/sid002loop.ogg"); |
289 |
-- current_music_reversed[3] = Mix_LoadMUS("audio/sid002loop_reverse.ogg"); |
290 |
-- intro [3] = Mix_LoadMUS("audio/sid002intro.ogg"); |
291 |
-- |
292 |
-- ch_lever = Mix_LoadWAV("audio/avaruusvipu.ogg"); |
293 |
-- ch_lazor = Mix_LoadWAV("audio/lazor.ogg"); |
294 |
-- ch_pink = Mix_LoadWAV("audio/pink_noise_10s.ogg"); |
295 |
-- ch_piuingg = Mix_LoadWAV("audio/piuingg.ogg"); |
296 |
-- ch_random = Mix_LoadWAV("audio/random.ogg"); |
297 |
-- ch_tv_noise = Mix_LoadWAV("audio/tv_noise_10s.ogg"); |
298 |
-- ch_tilu = Mix_LoadWAV("audio/tilulilu.ogg"); |
299 |
-- ch_charge = Mix_LoadWAV("audio/charge.ogg"); |
300 |
-- ch_pack = Mix_LoadWAV("audio/pack.ogg"); |
301 |
-+ current_music [2] = Mix_LoadMUS("/usr/share/games/dave/audio/sid000loop.ogg"); |
302 |
-+ current_music_reversed[2] = Mix_LoadMUS("/usr/share/games/dave/audio/sid000loop_reverse.ogg"); |
303 |
-+ intro [2] = Mix_LoadMUS("/usr/share/games/dave/audio/sid000intro.ogg"); |
304 |
-+ current_music [3] = Mix_LoadMUS("/usr/share/games/dave/audio/sid002loop.ogg"); |
305 |
-+ current_music_reversed[3] = Mix_LoadMUS("/usr/share/games/dave/audio/sid002loop_reverse.ogg"); |
306 |
-+ intro [3] = Mix_LoadMUS("/usr/share/games/dave/audio/sid002intro.ogg"); |
307 |
-+ |
308 |
-+ ch_lever = Mix_LoadWAV("/usr/share/games/dave/audio/avaruusvipu.ogg"); |
309 |
-+ ch_lazor = Mix_LoadWAV("/usr/share/games/dave/audio/lazor.ogg"); |
310 |
-+ ch_pink = Mix_LoadWAV("/usr/share/games/dave/audio/pink_noise_10s.ogg"); |
311 |
-+ ch_piuingg = Mix_LoadWAV("/usr/share/games/dave/audio/piuingg.ogg"); |
312 |
-+ ch_random = Mix_LoadWAV("/usr/share/games/dave/audio/random.ogg"); |
313 |
-+ ch_tv_noise = Mix_LoadWAV("/usr/share/games/dave/audio/tv_noise_10s.ogg"); |
314 |
-+ ch_tilu = Mix_LoadWAV("/usr/share/games/dave/audio/tilulilu.ogg"); |
315 |
-+ ch_charge = Mix_LoadWAV("/usr/share/games/dave/audio/charge.ogg"); |
316 |
-+ ch_pack = Mix_LoadWAV("/usr/share/games/dave/audio/pack.ogg"); |
317 |
- |
318 |
- play_music(false); |
319 |
- Mix_VolumeMusic(SDL_MIX_MAXVOLUME); |
320 |
-diff -Naur dave-org/library.cpp dave/library.cpp |
321 |
---- dave-org/library.cpp 2008-08-12 16:38:51.000000000 +0200 |
322 |
-+++ dave/library.cpp 2008-09-02 14:27:09.000000000 +0200 |
323 |
-@@ -102,7 +102,7 @@ |
324 |
- Image *l = new Image(); |
325 |
- string ff; |
326 |
- |
327 |
-- ff = "graphics/" + filename; |
328 |
-+ ff = "/usr/share/games/dave/graphics/" + filename; |
329 |
- if (l->load(ff, true)) |
330 |
- return l; |
331 |
- |
332 |
-diff -Naur dave-org/model.cpp dave/model.cpp |
333 |
---- dave-org/model.cpp 2008-08-13 21:43:21.000000000 +0200 |
334 |
-+++ dave/model.cpp 2008-09-02 14:27:54.000000000 +0200 |
335 |
-@@ -160,7 +160,7 @@ |
336 |
- build_kdtree(kdtree, hash); |
337 |
- |
338 |
- char buf[64]; |
339 |
-- sprintf(buf, "graphics/aocache%x.tmp", hash); |
340 |
-+ sprintf(buf, "/usr/share/games/dave/graphics/aocache%x.tmp", hash); |
341 |
- |
342 |
- FILE* fp = fopen(buf, "rb"); |
343 |
- if (fp) |
344 |
-@@ -598,9 +598,9 @@ |
345 |
- |
346 |
- if (using_shader) { |
347 |
- if (game->get_ext()->simple_shaders == false) |
348 |
-- program = new GLProgram("graphics/telq_vert.glsl", "graphics/telq_frag.glsl"); |
349 |
-+ program = new GLProgram("/usr/share/games/dave/graphics/telq_vert.glsl", "/usr/share/games/dave/graphics/telq_frag.glsl"); |
350 |
- else |
351 |
-- program = new GLProgram("graphics/telq_vert.glsl", "graphics/telq_frag.mac.glsl"); |
352 |
-+ program = new GLProgram("/usr/share/games/dave/graphics/telq_vert.glsl", "/usr/share/games/dave/graphics/telq_frag.mac.glsl"); |
353 |
- program->use(); |
354 |
- program->set_int("tex", 0); |
355 |
- program->set_int("self_illum", 1); |
356 |
-diff -Naur dave-org/opengl.cpp dave/opengl.cpp |
357 |
---- dave-org/opengl.cpp 2008-08-12 16:38:51.000000000 +0200 |
358 |
-+++ dave/opengl.cpp 2008-09-02 14:24:50.000000000 +0200 |
359 |
-@@ -72,7 +72,7 @@ |
360 |
- fprintf(stderr, "Compling shader '%s', '%s'...", vertFile, fragFile); |
361 |
- prog = glCreateProgramObjectARB(); |
362 |
- |
363 |
-- load_file("graphics/std.glsl", buffer); |
364 |
-+ load_file("/usr/share/games/dave/graphics/std.glsl", buffer); |
365 |
- |
366 |
- static const char* src[2] = { buffer, buffer2 }; |
367 |
- |
368 |
-diff -Naur dave-org/remote.cpp dave/remote.cpp |
369 |
---- dave-org/remote.cpp 2008-08-13 21:43:21.000000000 +0200 |
370 |
-+++ dave/remote.cpp 2008-09-02 14:31:24.000000000 +0200 |
371 |
-@@ -38,11 +38,11 @@ |
372 |
- static Storyboard/*<256>*/ record(Storyboard::PLAYBACK, 1 ); // Records the movements of Dave while record button is pressed |
373 |
- |
374 |
- Remote::Remote() : |
375 |
-- Model("graphics/remote/runko.3DS"), |
376 |
-+ Model("/usr/share/games/dave/graphics/remote/runko.3DS"), |
377 |
- pressed(NOTHING), |
378 |
- paused(false), |
379 |
- screen_texture(GL_RGB8, 512, 512), |
380 |
-- grid("graphics/lcd_grid.png", false) |
381 |
-+ grid("/usr/share/games/dave/graphics/lcd_grid.png", false) |
382 |
- { |
383 |
- set_texture(lib["remote/mappi3.png"]); |
384 |
- scene = new Scene(); |
385 |
-@@ -51,17 +51,17 @@ |
386 |
- set_position(0.0f, 0.0f, /*-23.0f*/ -40.0f); |
387 |
- //set_rotation(90.0f, 0.0f, 0.0f); |
388 |
- |
389 |
-- screen = new Model("graphics/remote/nayttooikee2.3DS"); |
390 |
-+ screen = new Model("/usr/share/games/dave/graphics/remote/nayttooikee2.3DS"); |
391 |
- add_model(screen); |
392 |
- screen->set_texture(new TextureProxy(&screen_texture)); |
393 |
-- gaps = new Model("graphics/remote/nreunat.3DS"); |
394 |
-+ gaps = new Model("/usr/share/games/dave/graphics/remote/nreunat.3DS"); |
395 |
- add_model(gaps); |
396 |
- gaps->set_texture(lib["remote/napit.png"]); |
397 |
- button_count = 27; |
398 |
- buttons = new Model [button_count] (); |
399 |
- for (int i=0; i<button_count; i++) { |
400 |
- ostringstream s; |
401 |
-- s << "graphics/remote/n" << i + 1 << "ya.3DS"; |
402 |
-+ s << "/usr/share/games/dave/graphics/remote/n" << i + 1 << "ya.3DS"; |
403 |
- buttons[i].load(s.str()); |
404 |
- buttons[i].set_texture(lib["remote/napit.png"]); |
405 |
- add_model(&buttons[i]); |
406 |
|
407 |
diff --git a/games-arcade/dave/files/dave-1.0-gcc43.patch b/games-arcade/dave/files/dave-1.0-gcc43.patch |
408 |
deleted file mode 100644 |
409 |
index 483f02d..0000000 |
410 |
--- a/games-arcade/dave/files/dave-1.0-gcc43.patch |
411 |
+++ /dev/null |
412 |
@@ -1,22 +0,0 @@ |
413 |
-diff -urN dave.old/fellow.cpp dave/fellow.cpp |
414 |
---- dave.old/fellow.cpp 2008-08-13 21:43:21.000000000 +0200 |
415 |
-+++ dave/fellow.cpp 2008-09-03 10:45:11.000000000 +0200 |
416 |
-@@ -23,6 +23,7 @@ |
417 |
- */ |
418 |
- |
419 |
- #include <cassert> |
420 |
-+#include <typeinfo> |
421 |
- #include <sstream> |
422 |
- #include <set> |
423 |
- #if defined(__MACOS__) || defined(__APPLE__) |
424 |
-diff -urN dave.old/kdtree.cpp dave/kdtree.cpp |
425 |
---- dave.old/kdtree.cpp 2008-08-12 16:38:52.000000000 +0200 |
426 |
-+++ dave/kdtree.cpp 2008-09-03 10:58:19.000000000 +0200 |
427 |
-@@ -23,6 +23,7 @@ |
428 |
- */ |
429 |
- |
430 |
- #include "kdtree.h" |
431 |
-+#include <cstdio> |
432 |
- #include <stack> |
433 |
- #include <algorithm> |
434 |
- #include <assert.h> |
435 |
|
436 |
diff --git a/games-arcade/dave/metadata.xml b/games-arcade/dave/metadata.xml |
437 |
deleted file mode 100644 |
438 |
index 4a5a466..0000000 |
439 |
--- a/games-arcade/dave/metadata.xml |
440 |
+++ /dev/null |
441 |
@@ -1,5 +0,0 @@ |
442 |
-<?xml version="1.0" encoding="UTF-8"?> |
443 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
444 |
-<pkgmetadata> |
445 |
-<herd>playboys</herd> |
446 |
-</pkgmetadata> |