DRL > Discussion
Ubuntu Package
Simon-v:
From what i've seen, the typical Linux game packaging scheme is fairly straightforward.
The executables are placed in /usr/games/ (example: "/usr/games/doomrl")
The data files are placed in their own subdirectory under /usr/share/games/ (example: "/usr/share/games/doomrl/doomrl.wad" or or "/usr/share/games/doomrl/music/e1m1.mp3")
Per-user configuration, save and log files are placed a hidden directory in the user's home directory (example: "$HOME/.doomrl/player.wad")
The game needs to check for these locations and be able to regenerate a new set of the per-user configuration files when they are removed in order to work in a multi-user environment. The rest (library dependencies, splitting the game distro between required and optional parts, menu entries, desktop launchers, man files etc.) is normally the job of the packager.
theduck101:
Yep - that's about it. My current setup is just to get around the fact that DoomRL doesn't support this yet. An alternative scheme if you'd rather keep everything together is to install to /opt i.e. /opt/doomrl/ - that way the devs don't need to change any paths to get to the data files (this is what google does for chrome). Then all that would be necessary is to cater for $HOME/.doomrl config files...
Simon-v:
Placing in /opt would would still require you to symlink the doomrl executable to one of the standard places in $PATH in order for it to be found when running "doomrl" from the command line.
For documentation: In addition to man files, the executable (or its wrapper script, if used) should catch "-h|--help" and print out brief usage notes, even if there aren't any at the moment.
Finally, proper multi-user installation packages and such might not be obviously necessary right now, but they have the potential of increasing the game's spread. It is my understanding that this kind of thing is considered desirable by this community.
theduck101:
--- Quote ---Placing in /opt would would still require you to symlink the doomrl executable to one of the standard places in $PATH in order for it to be found when running "doomrl" from the command line.
--- End quote ---
Good point, didn't think of that :-/
--- Quote ---Finally, proper multi-user installation packages and such might not be obviously necessary right now, but they have the potential of increasing the game's spread. It is my understanding that this kind of thing is considered desirable by this community.
--- End quote ---
I'm still pretty new here so I don't know what the conventions are for this type of thing. I'll be more than happy to put a proper standards compliant package together.
Kornel Kisielewicz:
Ok, so gather up the requests from my side, and somebody please post it to the tracker with a 0.9.9.6 target.
What do you mean by "extended names" feature?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version