Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42325 - twindistress-1.03.ebuild (new gaming ebuild)
Summary: twindistress-1.03.ebuild (new gaming ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://twind.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-20 20:34 UTC by scott
Modified: 2004-02-22 05:29 UTC (History)
0 users

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


Attachments
An ebuild for twindistress-1.03 (twindistress-1.03.ebuild,1.54 KB, text/plain)
2004-02-20 20:35 UTC, scott
Details
twindistress-1.03.ebuild (twindistress-1.03.ebuild,1.72 KB, text/plain)
2004-02-21 07:04 UTC, scott
Details
twindistress-1.03.ebuild (twindistress-1.03.ebuild,1.60 KB, text/plain)
2004-02-21 09:59 UTC, scott
Details

Note You need to log in before you can comment on or make changes to this bug.
Description scott 2004-02-20 20:34:09 UTC
Check the attachment for an ebuild for twin distress.  From the website:
The object of the game is to remove all of the blocks from the screen before the time runs out. Two blocks are removed at a time, and must be of the same color. After completing a level, you will be rewarded with a bonus point for every tick left on the clock. For each level thereafter, the time to complete the the level will be shorter.
Suggested: games-puzzle

Reproducible: Always
Steps to Reproduce:
Comment 1 scott 2004-02-20 20:35:43 UTC
Created attachment 26023 [details]
An ebuild for twindistress-1.03

I'm not sure about the part where I do:
fperms 770 "${GAMES_DATADIR}/${PN}/lib"
The purpose is so the highscore file can be saved, but I'm not sure if it poses
a security risk.
Comment 2 scott 2004-02-21 07:04:58 UTC
Created attachment 26047 [details]
twindistress-1.03.ebuild

added make_desktop_entry and changed the ebuild to put an icon for the game
into /usr/share/pixmaps
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-02-21 07:17:27 UTC
High scores need to be saved in ${GAMES_STATEDIR}/${PN}.  Writing into /usr
is considered bad form since /usr is supposed to be able to be mounted read-only.

The rest of the ebuild is very well done.
Comment 4 scott 2004-02-21 09:59:29 UTC
Created attachment 26054 [details]
twindistress-1.03.ebuild

I changed the saving of the high scores to ${GAMES_STATEDIR}/${PN}, as per
suggestion.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-02-22 05:29:15 UTC
games-puzzle/twindistress added to CVS.  Thanks for the bug report and ebuild.
Check the ebuild in portage for how the DEPEND stuff should look for future
submissions.  Thanks!