Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 42325
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: scott@teamslack.net
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
twindistress-1.03.ebuild An ebuild for twindistress-1.03 text/plain scott@teamslack.net 2004-02-20 20:35 0000 1.54 KB Details
twindistress-1.03.ebuild twindistress-1.03.ebuild text/plain scott@teamslack.net 2004-02-21 07:04 0000 1.72 KB Details
twindistress-1.03.ebuild twindistress-1.03.ebuild text/plain scott@teamslack.net 2004-02-21 09:59 0000 1.60 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 42325 depends on: Show dependency tree
Bug 42325 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-02-20 20:34 0000
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 From scott@teamslack.net 2004-02-20 20:35:43 0000 -------
Created an attachment (id=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 From scott@teamslack.net 2004-02-21 07:04:58 0000 -------
Created an attachment (id=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 From Mr. Bones. 2004-02-21 07:17:27 0000 -------
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 From scott@teamslack.net 2004-02-21 09:59:29 0000 -------
Created an attachment (id=26054) [details]
twindistress-1.03.ebuild

I changed the saving of the high scores to ${GAMES_STATEDIR}/${PN}, as per
suggestion.

------- Comment #5 From Mr. Bones. 2004-02-22 05:29:15 0000 -------
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!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug