Installing XFree86 to FHS/better locations

Daniel Stone daniel@freedesktop.org
Mon, 16 Feb 2004 16:09:18 +1100


--qse+WBH4guesipZ+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Feb 15, 2004 at 11:56:09PM -0500, Donnie Berkholz wrote:
> Some of us have already talked about installing parts of XFree86 to more
> sane locations than /usr/X11R6.
>=20
> My plan so far is to install fonts to /usr/share/fonts, docs to
> /usr/share/doc, man pages to /usr/share/man. Haven't found a way to
> install info stuff to /usr/share/info yet. Pondering binaries to
> /usr/bin, libs to /usr/lib... thoughts? Mike Harris mentioned some
> hardcoded paths in third-party apps, could use symlinks to
> /usr/X11R6/{bin,lib} for compatibility.

GO! GO! GO! GO!

/usr/X11R6 is an anachronism that needs to die, IMO. Someone who isn't
in any danger of a release (like Debian ;) needs to do it, tho, to root
out any bugs. It's better to break them now and have the bugs reported
than to just have them silently fester there.

I'm considering doing a mass bug-finding and filing by virtue of a Perl
script run against the entire Debian archive.

> To do that, the FONTDIR variable was defined at build time as xc/fonts
> and at install time as /usr/share/fonts. ManDir and DocDir were
> specified in host.def. BinDir/LibDir could be the same.
>=20
> Mike suggested "#define SharedLibraryLoadFlags  -shared -Wl,-z,defs" to
> make ld die at linking if undefined symbols exist.

Yep, very good plan.

--=20
Daniel Stone                                            <daniel@freedesktop=
.org>
freedesktop.org: powering your desktop                http://www.freedeskto=
p.org

--qse+WBH4guesipZ+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAMFB+cPClnTztfv0RAi9bAJ0XGWjEgzpEvkKJfupewgfwEwlN5ACdEvUP
/++UMmmNHg/zRHXhpfHhri4=
=lGVS
-----END PGP SIGNATURE-----

--qse+WBH4guesipZ+--