Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 69976

Summary: ebuild: games-sports/ultimatestunts 0.6.0
Product: Gentoo Linux Reporter: Kåre Baastrup <spamme>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: enhancement CC: egore, flash3001, guaje1985, theBohemian
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.ultimatestunts.nl/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild for 0.5.2
ebuild for 0.5.2
polished ebuild for ultimatestunts
ultimatestunts-0.5.2.1.ebuild
ebuild for ultimatestunts 0.5.4
ultimatestunts-0.5.5.ebuild
ultimatestunts-0.5.6.ebuild
ultimatestunts-0.5.6.ebuild
ebuild updated for version 0.6.0
ultimatestunts-0.6.0.ebuild

Description Kåre Baastrup 2004-11-03 13:27:54 UTC
UltimateStunts will be a remake of the famous DOS-game "stunts". This DOS-game, which was released in the early 1990's, can be downloaded on several abandonware sites, e.g. the XTC site . It is a 3D racing game, with simple CGA/EGA/VGA graphics and no texture or smooth shading, but because of the spectacular stunts (loopings, bridges to jump over, etc.) it was really fun to play. One of the best aspects of this game is that it had a track editor. Because of the tile-based tracks, every gamer was able to make it's own tracks.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Kåre Baastrup 2005-01-29 01:34:54 UTC
Version bump to Ultimate Stunts 0.5.2
Comment 2 Robert Schuster 2005-01-29 05:06:59 UTC
Created attachment 49820 [details]
ebuild for 0.5.2

Based on Ycarus ebuild for 0.5.1, I added the version requirement for SDL.
Maybe someone could figure out the exat requirements for ODE and FMOD.
Comment 3 Robert Schuster 2005-01-29 05:10:14 UTC
Created attachment 49822 [details]
ebuild for 0.5.2

Same as above with fixed version requirements for ODE and FMOD. Works for me on
x86
Comment 4 Pablo Trabajos 2005-01-29 05:20:18 UTC
In what category do i have to put the ebuild?
Comment 5 Robert Schuster 2005-01-29 06:16:01 UTC
I suggest  games-sports
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2005-01-29 11:06:37 UTC
Comments:

fix the header so it looks like header.txt
take out the RESTRICT line
take out the RDEPEND line
move the S= line to just above src_unpack (same order as skel.ebuild)
sed in src_unpack, not src_compile
prepgamesdirs should be the last thing in src_install
Comment 7 Robert Schuster 2005-01-30 06:51:03 UTC
Created attachment 49932 [details]
polished ebuild for ultimatestunts

This should fix all problems.

And please dont be so harsh next time, I just wanted to help.
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2005-02-02 17:17:10 UTC
Created attachment 50241 [details]
ultimatestunts-0.5.2.1.ebuild

Doesn't compile for me because of a problem with /usr/include/netinet/in.h.

I suspect this is due to the 2.4 kernel headers.
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2005-02-19 10:41:50 UTC
*** Bug 82547 has been marked as a duplicate of this bug. ***
Comment 10 Charles Goodwin 2005-02-25 06:19:51 UTC
0.5.3 has since been released.
Comment 11 Robert Schuster 2005-03-31 16:27:37 UTC
Created attachment 54983 [details]
ebuild for ultimatestunts 0.5.4

0. Added to the wrong bug first :(
1. Version number for source package now created by bash substitution
2. Added desktop entry
3. Removed ode dependency (not used any more).
Comment 12 Chris Gianelloni (RETIRED) gentoo-dev 2005-06-14 14:36:52 UTC
Created attachment 61231 [details]
ultimatestunts-0.5.5.ebuild

This is my updated ebuild that tries to install the package pieces into the
proper locations.  I am still having trouble getting it to copy the data into
the correct directory, so I'm attaching it here for ideas.
Comment 13 Fernando (likewhoa) 2005-10-21 23:52:54 UTC
Created attachment 71167 [details]
ultimatestunts-0.5.6.ebuild

bump ebuild and a few changes to confirm to games.eclass standards.
Comment 14 Mr. Bones. (RETIRED) gentoo-dev 2005-10-21 23:55:36 UTC
no need for the pkg_postinst()
Comment 15 Fernando (likewhoa) 2005-10-22 00:12:48 UTC
aight. so when would you want to show that you need to be in the games group &
the creation of the env.d entry?
Comment 16 Mr. Bones. (RETIRED) gentoo-dev 2005-10-22 00:24:03 UTC
Go read http://www.gentoo.org/proj/en/desktop/games/games-ebuild-howto.xml
Comment 17 Fernando (likewhoa) 2005-10-22 00:36:02 UTC
dev page does not state that I shouldn't use the function on every game ebuild,
nor when it's proper to use so that's why i use it.. correct me if i'm wrong..
Comment 18 Mr. Bones. (RETIRED) gentoo-dev 2005-10-22 00:43:53 UTC
You only need to have functions in an ebuild if you do something other then the
default.  Since you don't, you don't need the pkg_postinst function.  The
default in this case is coming from the games eclass.
Comment 19 Fernando (likewhoa) 2005-10-22 00:59:16 UTC
gotcha, so that function would have been execute eitherway.. thanks, 

P.S congrats on baby..
Comment 20 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-23 06:54:56 UTC
Will the game build with X by default?  I'm just wondering if src_compile is
even needed.
Also, you should probably add virtual/x11 to the dependencies.
Remove the pkg_postinst as Mr_Bones_ said.
Change egamesinstall to make DESTDIR=${D} install.

Just out of curiousity, does the thing actually work now?
Comment 21 Fernando (likewhoa) 2005-10-25 05:33:47 UTC
Created attachment 71397 [details]
ultimatestunts-0.5.6.ebuild

took out src_compile since --with-x it's no mandatory and wish someone would
explain this to me why it's not.. changed "egamesinstall" in src_install to
"make DESTDIR=${D} install"
Comment 22 Fernando (likewhoa) 2005-10-25 05:37:18 UTC
(In reply to comment #20)
> Will the game build with X by default?  I'm just wondering if src_compile is
> even needed.
> Also, you should probably add virtual/x11 to the dependencies.
> Remove the pkg_postinst as Mr_Bones_ said.
> Change egamesinstall to make DESTDIR=${D} install.
> 
> Just out of curiousity, does the thing actually work now?

yes it works and it's good, just don't drink and drive, n/m get drunk you're not
gonna hurt anyone but your keyboard if you spill the beer on it.
Comment 23 Mr. Bones. (RETIRED) gentoo-dev 2005-10-25 07:21:31 UTC
sed'ing a .in file in src_install can't possibly be correct.
Comment 24 Andrei Slavoiu 2006-01-02 15:18:18 UTC
Created attachment 76023 [details]
ebuild updated for version 0.6.0

This ebuild is based on ultimatestunts-0.5.6.ebuild by Fernando V.
- removed dependency on fmod (it is not used by version 0.6.0)
- fixed the hardcoded path for the default config file (changed from /etc/ultimatestunts.conf to /etc/games/ultimatestunts.conf).
- aded a desktop entry
This ebuild was tested on the amd64 architecture.
Comment 25 Mr. Bones. (RETIRED) gentoo-dev 2006-01-02 16:25:41 UTC
Comments:

Should use GAMES_SYSCONFDIR instead of hardcoding to /etc...

No one yet has explained how seding a Makefile.in file in src_install is the right thing to do.  That seems totally wrong to me.

Needs to inherit eutils for make_desktop_entry

S= goes below DEPEND= like the rest of the games ebuilds.

Copyright year needs updating.
Comment 26 Adrian Frühwirth 2006-01-04 19:18:54 UTC
Created attachment 76201 [details]
ultimatestunts-0.6.0.ebuild

There you go...
Comment 27 Chris Gianelloni (RETIRED) gentoo-dev 2006-01-05 12:56:39 UTC
Added to CVS (with modular X dependencies)...

Thanks to everyone who worked on these ebuilds...