#2119: Wrong datadir for xorg 7.1 : -> --datadir=$XORG_PREFIX/lib"
--------------------+-------------------------------------------------------
Reporter: EdB | Owner: [email protected]
Type: task | Status: new
Priority: normal | Milestone: 6.2
Component: BOOK | Version: SVN
Severity: normal | Resolution:
Keywords: |
--------------------+-------------------------------------------------------
Comment (by Bryan Kadzban):
I've just built almost all of X.org 7.1 with
{{{--datadir=$XORG_PREFIX/share}}}. (I used /usr/lib on a bunch of
packages at the beginning, but they were all protocol header packages,
which don't use /usr/share anyway. I also didn't build xprint (or stuff
that requires it) at all, because it requires Mesa. Since I use an nvidia
card, I don't have (or want) Mesa. I also didn't build most of the
drivers, only the 12 or so that I have hardware for.)
I haven't seen any problems so far with that decision, though a lot of
packages put non-library stuff into /usr/lib (e.g. fonts -- I let the
fonts install into /usr/lib/X11/lib/fonts/ to kinda match the old layout
of XFree -- and xorg-cf-files, which put themselves into
/usr/lib/X11/config).
I did have a couple issues with drivers being installed in the wrong place
(this is a multilib system, and they put themselves in /usr/lib because I
neglected to tell them {{{--libdir=/usr/lib64}}}). But that's unrelated
to the issue here, and they were all really 64-bit files, so I just moved
them and Xorg was happy.
So anyway, on this system at least (CLFS 1.0.0-rc4 base, multilib setup),
it didn't cause any apparent problems to install with
{{{--datadir=$XORG_PREFIX/share}}} instead of lib. Of course the only
things in /usr/share now are files named XErrorDB, XKeysymDB, rgb.txt, and
xman.help, and directories named app-defaults and xkb (that stuff is not
duplicated in any of my lib*/X11 directories, though).
Based on my experience, I'd say change XORG_CONFIG to
{{{--datadir=$XORG_PREFIX/share}}} instead. (Unless somebody knows where
the original discussion that put in the --datadir switch is? I tried
blfs-dev, but couldn't find anything. Maybe I was searching for the wrong
strings again.)
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2119>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page