Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25123 - seb-0714a.ebuild (New Package)
Summary: seb-0714a.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://aoeu.snth.net/seb/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-23 10:25 UTC by Rob Cakebread (RETIRED)
Modified: 2003-07-30 17:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
seb-0714a.ebuild (seb-0714a.ebuild,1.35 KB, text/plain)
2003-07-23 10:26 UTC, Rob Cakebread (RETIRED)
Details
audio-gentoo.diff (audio-gentoo.diff,2.37 KB, patch)
2003-07-23 10:27 UTC, Rob Cakebread (RETIRED)
Details | Diff
geom-gentoo.diff (geom-gentoo.diff,454 bytes, patch)
2003-07-23 10:29 UTC, Rob Cakebread (RETIRED)
Details | Diff
level-gentoo.diff (level-gentoo.diff,302 bytes, patch)
2003-07-23 10:30 UTC, Rob Cakebread (RETIRED)
Details | Diff
levels-gentoo.diff (levels-gentoo.diff,1.32 KB, patch)
2003-07-23 10:30 UTC, Rob Cakebread (RETIRED)
Details | Diff
main-gentoo.diff (main-gentoo.diff,654 bytes, patch)
2003-07-23 10:31 UTC, Rob Cakebread (RETIRED)
Details | Diff
mapc-gentoo.diff (mapc-gentoo.diff,324 bytes, patch)
2003-07-23 10:31 UTC, Rob Cakebread (RETIRED)
Details | Diff
state-gentoo.diff (state-gentoo.diff,1.35 KB, patch)
2003-07-23 10:32 UTC, Rob Cakebread (RETIRED)
Details | Diff
text-gentoo.diff (text-gentoo.diff,1.46 KB, patch)
2003-07-23 10:33 UTC, Rob Cakebread (RETIRED)
Details | Diff
seb-0714a.ebuild (seb-0714a.ebuild,1.01 KB, text/plain)
2003-07-23 12:22 UTC, Rob Cakebread (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Cakebread (RETIRED) gentoo-dev 2003-07-23 10:25:01 UTC
Super Empty Ball is an SDL/OpenGL clone of the game Super Monkey Ball. It needs
an accelerated video card to work properly.
Comment 1 Rob Cakebread (RETIRED) gentoo-dev 2003-07-23 10:26:00 UTC
Created attachment 14923 [details]
seb-0714a.ebuild
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2003-07-23 10:27:46 UTC
Created attachment 14924 [details, diff]
audio-gentoo.diff
Comment 3 Rob Cakebread (RETIRED) gentoo-dev 2003-07-23 10:29:45 UTC
Created attachment 14925 [details, diff]
geom-gentoo.diff
Comment 4 Rob Cakebread (RETIRED) gentoo-dev 2003-07-23 10:30:20 UTC
Created attachment 14926 [details, diff]
level-gentoo.diff
Comment 5 Rob Cakebread (RETIRED) gentoo-dev 2003-07-23 10:30:48 UTC
Created attachment 14927 [details, diff]
levels-gentoo.diff
Comment 6 Rob Cakebread (RETIRED) gentoo-dev 2003-07-23 10:31:18 UTC
Created attachment 14928 [details, diff]
main-gentoo.diff
Comment 7 Rob Cakebread (RETIRED) gentoo-dev 2003-07-23 10:31:55 UTC
Created attachment 14929 [details, diff]
mapc-gentoo.diff
Comment 8 Rob Cakebread (RETIRED) gentoo-dev 2003-07-23 10:32:26 UTC
Created attachment 14930 [details, diff]
state-gentoo.diff
Comment 9 Rob Cakebread (RETIRED) gentoo-dev 2003-07-23 10:33:13 UTC
Created attachment 14931 [details, diff]
text-gentoo.diff
Comment 10 Rob Cakebread (RETIRED) gentoo-dev 2003-07-23 10:36:34 UTC
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.
Comment 11 Rob Cakebread (RETIRED) gentoo-dev 2003-07-23 12:22:04 UTC
Created attachment 14935 [details]
seb-0714a.ebuild

Simplified src_install()
Comment 12 Chris Gianelloni (RETIRED) gentoo-dev 2003-07-23 12:28:28 UTC
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.
Comment 13 Rob Cakebread (RETIRED) gentoo-dev 2003-07-23 15:48:35 UTC
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.

Comment 14 SpanKY gentoo-dev 2003-07-23 15:59:40 UTC
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 :) 
Comment 15 Mr. Bones. (RETIRED) gentoo-dev 2003-07-29 22:18:29 UTC
Added to CVS.  Thanks for the bug report and ebuild Rob.

Enjoy.
Comment 16 Rob Cakebread (RETIRED) gentoo-dev 2003-07-30 16:52:16 UTC
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.
Comment 17 Mr. Bones. (RETIRED) gentoo-dev 2003-07-30 17:05:34 UTC
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.