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

Bug 104127

Summary: dismount ebuild reqest
Product: Gentoo Linux Reporter: Alexander Jenisch <nt>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: enhancement CC: 4glitch, flash3001
Priority: High Keywords: EBUILD
Version: 2005.0   
Hardware: All   
OS: Linux   
URL: http://jet.ro/dismount/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: games-simulation/porrasturvat-1.0.3
ebuild upgraded version
games-simulation/porrasturvat-1.0.3
porrasturvat-bin-1.0.3.ebuild
porrasturvat-bin-1.0.3.ebuild

Description Alexander Jenisch 2005-08-29 05:42:43 UTC
Push a ragdoll down the stairs with different forces and angles. Score is given
based on total injuries caused to the ragdoll.
Comment 1 Christoph Brill (egore) (RESIGNED) 2005-08-29 10:34:06 UTC
Created attachment 67188 [details]
games-simulation/porrasturvat-1.0.3

An ebuild ... as usual some issues:
a) is binary ... ;)
b) always tries to write highscore file to installed dir, iirc
c) new license (included in the package)
Comment 2 Piotr Szymaniak 2006-01-09 03:33:50 UTC
Hi.
I think the ebuild should also have:

RDEPEND="media-libs/sdl-image"

It uses media-libs/libsdl and media-libs/sdl-image to run. (:
Comment 3 Piotr Szymaniak 2006-01-09 03:40:34 UTC
Created attachment 76609 [details]
ebuild upgraded version

Added RDEPEND
Comment 4 Piotr Szymaniak 2006-01-09 07:50:03 UTC
Created attachment 76641 [details]
games-simulation/porrasturvat-1.0.3

> games-simulation/porrasturvat-1.0.3
> 
> b) always tries to write highscore file to installed dir, iirc

If there is a way (via. ebuild) to create an empty file "scores.dat" (in dir where the game is installed), then give it a "games" group and read/write permissions?
It should solve "Can't write scores!" (or simmilar) error.
Well, i think this is working! (:
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2006-01-09 13:55:07 UTC
writing into GAMES_DATADIR isn't allowed.
Comment 6 Alexandru Toma 2006-01-20 06:19:19 UTC
Look at the barbarian-bin ebuild.... you can do something similar here I think to solve the high score problem.

http://www.gentoo.org/cgi-bin/viewcvs.cgi/games-arcade/barbarian-bin/barbarian-bin-1.01.ebuild?rev=1.4&view=auto
Comment 7 Piotr Szymaniak 2006-02-04 02:25:25 UTC
(In reply to comment #6)
> Look at the barbarian-bin ebuild.... you can do something similar here I think
> to solve the high score problem.
> 
> http://www.gentoo.org/cgi-bin/viewcvs.cgi/games-arcade/barbarian-bin/barbarian-bin-1.01.ebuild?rev=1.4&view=auto

Link is dead?
http://rsync.netpimpz.com/portageview.cgi?disp=goapp&app=barbarian-bin&cat=games-arcade
I'm new with making ebuilds... so someone with more experience will help maybe?
Comment 8 Paul Bredbury 2006-02-14 01:27:00 UTC
Created attachment 79741 [details]
porrasturvat-bin-1.0.3.ebuild

Here is a tidied ebuild for Porrasturvat, fixing the use of scores.dat.
Comment 9 Paul Bredbury 2006-02-14 01:45:01 UTC
Created attachment 79742 [details]
porrasturvat-bin-1.0.3.ebuild

Here is a tidied ebuild for Porrasturvat, fixing the use of scores.dat.
Comment 10 Dmitri Bogomolov 2009-12-18 14:52:31 UTC
This bug have a wrong description, isn't it?