Super Empty Ball is an SDL/OpenGL clone of the game Super Monkey Ball. It needs an accelerated video card to work properly.
Created attachment 14923 [details] seb-0714a.ebuild
Created attachment 14924 [details, diff] audio-gentoo.diff
Created attachment 14925 [details, diff] geom-gentoo.diff
Created attachment 14926 [details, diff] level-gentoo.diff
Created attachment 14927 [details, diff] levels-gentoo.diff
Created attachment 14928 [details, diff] main-gentoo.diff
Created attachment 14929 [details, diff] mapc-gentoo.diff
Created attachment 14930 [details, diff] state-gentoo.diff
Created attachment 14931 [details, diff] text-gentoo.diff
Description of patches: main-gentoo.diff contains a bugfix. For some users the game wouldn't start. glitch13 in the Games forum figured this out, see: http://forums.gentoo.org/viewtopic.php?t=66960&start=25 All the other patches change the path to the datafiles so they are in /usr/share/games/seb/ I hope this was the proper way to go about making this ebuild. Any suggestions would be welcome. I hope I named the diff files properly.
Created attachment 14935 [details] seb-0714a.ebuild Simplified src_install()
I think it would be more desirable and cleaner to have a single patch. Also, is this something that could be done with sed rather than patches? It appears all of the patches are changing relative paths to absolute paths. The only patch which looks necessary is the main-gentoo.diff patch which resolves a Gentoo specific issue. I don't have time to check this second, but is there an install target in the Makefile? Would it not be easier to simply override the variable during src_install and use the Makefile's install routine? Also, try to maintain the patch as version specific if it needs to be, a single version sepcific patch will be much easier to modify when a new version is released upstream.
Unfortunately there is no install target in the Makefile and all the paths to the data are hard-coded to ./data I wasn't sure if it was ok to use sed on the source code for this kind of thing so I made the diffs. Please let me know how I should work on it from here when you get time. If I understand correctly, unless there is an easier way, I should combine all those diffs into one patch named seb-0714a-gentoo.patch? Thanks.
either 1 unified patch or a sed-ing of source is fine ... whatever gets the binary into ${GAMES_BINDIR} and gets the data into ${GAMES_DATADIR}/${PN} w/out having to mess around with changing of dirs and crap works for me :)
Added to CVS. Thanks for the bug report and ebuild Rob. Enjoy.
Hi, if its not too late could it be removed from CVS? After corresponding with the author we found out he's fixed just about everything we reported and this will remove the needed for any patches. We discovered another bug where some textures aren't showing properly, although it runs it'd be best not to put it in portage if possible.
I patched the source with sed so there are no patches to remove, just some sed code. If the author wants to release a new version, that's great, but there's no reason to remove the current version until then since it works (at least for me) well enough to get some fun out of it as it is.