Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Games grimoire - draft document

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "David C. Haley" <dhaley AT hot.rr.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Games grimoire - draft document
  • Date: Wed, 5 Oct 2005 20:19:37 +0000

Looks good! :))

No complaints here...

---
SilverS

On Thu, 06 Oct 2005 12:15:04 +0200
"Andrew \"ruskie\" Levstik" <ruskie AT mages.ath.cx> wrote:

> Sine I wanted to get this out asap I'll just post it here until the
> site is back up...
> Please comment on it. Feedback appreciated...
>
> ---THIS IS A DRAFT OF THE FINAL DOCUMENT---
> This is a document describing spells in the GAMES grimoire.
>
> Paths and permissions:
>
> ***
> ALL games should install their binaries to:
> /usr/games
>
> In case a game needs to have it's data in the same dir as the binary
> a symbolic link or a launcher script(prefered) should be used and the
> binary installed to /usr/share/games/$gamedir
>
> ***
> ALL game related data should go to:
> /usr/share/games/$gamedir
>
> ***
> If a game has the ability to write a score file to /var then it
> should go to: /var/games
> And the score file should be marked in volatiles and configs in the
> spell.
>
> ***
> The permissions on ALL games and game releated data should be:
>
> 0750 binaries and directories
> 0640 other files
>
> All games related files are owened by root:games.
>
> ***
> I have made some helper functions in the games FUNCTIONS file:
>
> One of these creates the following dirs if nonexistant:
> /usr/games
> /usr/share/games/$SPELL
> /var/games
>
> Another monitors /usr/games during install and assigns proper
> permissions to the binaries installed there 0750 and sets their
> ownership to root:games.
>
> There is also a function that will wipe out an
> empty /usr/share/games/$SPELL.
>
> If there is a spell that does configure && make && make install I
> have added a function to FUNCTIONS called default_games_build which
> is a modified default_build that runs configure with the proper
> parameters. -------------------------------------------
>
>




Archive powered by MHonArc 2.6.24.

Top of Page