Re: filesystem hierarchy standard for game developers
- From: Paul Donnelly <paul-donnelly@xxxxxxxxxxxxx>
- Date: Sun, 13 Dec 2009 20:50:45 -0600
Ray <bear@xxxxxxxxx> writes:
Alex wrote:
Ray wrote:
A legal game installer never does a local installation by
default: 'local' directories are reserved specifically for the
use of the site administrators....
I think my
interpretation of the FHS is quite a bit different in this point. The
/usr hierarchy belongs to the "system", i.e. either the BSD variant or
the Linux distribution of your choice. Only the official software
management tools for your system, e.g. apt-get for Debian, yum for
Fedora or the ports system for FreeBSD, should install software there.
Okay, I'll admit I'm not entirely sure on this point; I think it is clear
though that an "ordinary" installer in a linux distro (deb package or
whatever) should not use any of the "local" directories.
I agree.
On the other hand, /usr/local is where the the admin can install
software that is not part of the system's official distribution. The
reason for the distinction, as I understand it, is that the system
provides for easy installation, upgrade and removal of software that is
in /usr, and manual installations there by the administrator might
interfere with the system's software management in undesirable ways.
True, but it's worse than that; automated package management tools
can also affect the admin-installed software in undesirable ways.
Isn't it the admin's responsibility to not screw things with
incompatible duplicate programs? Installing to /usr/local instead of
making a package is pretty sloppy anyway (assuming a system with a
package manager).
Finally, a note on user-specific installation. While the FHS says
nothing about the structure of home directories, there's something
called the "XDG Base Directory Specification" on freedesktop.org:
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
The specification looks a bit rough and unfinished, but quite a few
desktop applications on my machine seem to use it, so it may be worth a
look for developers of software that should integrate into a desktop
environment.
It looks like it would only be applicable to Xwindows applications,
not to all games.
In what way?
.
- Follow-Ups:
- Prev by Date: Re: Announcing release of Brogue v.1.0
- Next by Date: Re: filesystem hierarchy standard for game developers
- Previous by thread: Free Inside information about the Latest Games and Gaming. 42874
- Next by thread: Re: filesystem hierarchy standard for game developers
- Index(es):
Relevant Pages
|