[quake3-bugzilla] [Bug 5767] FHS compliance

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Tue Oct 2 11:17:03 EDT 2012


https://bugzilla.icculus.org/show_bug.cgi?id=5767

--- Comment #2 from Simon McVittie <smcv-ioquake3 at pseudorandom.co.uk> 2012-10-02 11:17:01 EDT ---
The way we do this in Debian is to install arch-independent ("noarch") data in
/usr/share (with symlinks in /usr/lib) and binaries in /usr/lib, and tell
ioquake3 that its base path is under /usr/lib.

In Debian, lib64 isn't used, but in principle you could have symlinks from
/usr/lib64 to /usr/share in the arch-independent data packages too, and tell
64-bit ioquake3 binaries that their base path is under /usr/lib64.

We use wrapper scripts in /usr/games (or you could put them in /usr/bin) so we
can share one copy of ioquake3 and one copy of ioquake3-server between
OpenArena and Quake III Arena; the wrapper scripts change fs_basepath,
com_basegame, com_homepath, com_legacyprotocol, com_protocol, com_gamename
according to the game being used.

I haven't tried this for Reaction, Urban Terror or Smokin' Guns; they might
need engine patches.

The Fedora packaging for ioquake3 (I think they call it "quake3" there) is also
worth looking at.

-- 
Configure bugmail: https://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list