Re: filesystem hierarchy standard for game developers



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?
.



Relevant Pages

  • Re: Too many dependencies? was: Is Linux always so frustating?
    ... If you have to install a whole package to meet one dependency then we ... depend on unwanted/unrequited applications. ... computer and the dependencies could prevent me from doing this as the ...
    (Fedora)
  • RE: OSD SDP to cache and install application
    ... Thanks Matthew. ... we have a bare image with the applications installed ... Each package must finish before another can begin. ... forcing applications to install directly after each other. ...
    (microsoft.public.sms.tools)
  • Re: How to deploy applications.
    ... If you Assign a package ... I know how to add applications to a computer via the computer ... > which is supposed to use the app because the users cannot install ... > but the application must be in a .msi package. ...
    (microsoft.public.windows.server.sbs)
  • How to install a Package - Ubuntu and Windows
    ... In Ubuntu, all components are ... Each package serves one purpose. ... To install a program, select Applications> Add/Remove. ...
    (microsoft.public.windows.vista.general)
  • Errors applying kernel patch 118833-36
    ... install of Solaris 10 11/06. ... However, once the package list is done, I see a worrisome message: ... Below is the complete console output of the patch run. ... Changes for package SUNWnfsskr will not be applied to the system. ...
    (SunManagers)