On 9/23/06, Joe Ciccone <[EMAIL PROTECTED]> wrote:
Dan Nicholson wrote: > > Here's my main concern. Most packages install their app-defaults > settings and other info in ${datadir}/X11. What directories (and non > libraries) do you have in ${libdir}? IIRC, some things install their > configuration in ${libdir}/X11 and it wouldn't be the same if > --datadir was dropped. > > [snip] > > /usr/lib/X11/Cards > /usr/lib/X11/Options > /usr/lib/X11/Xcms.txt This is weird, It's a multilib system yet I have a lot of different items in lib and lib64 (for another day). I'm going to go by what's in lib./usr/lib/X11/app-defaults/Mwm (only thing in app-defaults) /usr/lib/X11/mwm mwm is from lesstiff and is probably able to be moved.
For lesstif, try passing appdir=/usr/share/X11/app-defaults to `make install'. OK, this is looking promising. For the stuff I mentioned, it probably doesn't matter whether it's in lib/ or share/. I looked at the scripts on my box and I was only changing datadir or libdir for a handful of packages. All the fonts I was building with --libdir=/usr/share to get the fonts in /usr/share/X11/fonts, but this requires telling a bunch of other packages where the fonts are. The only other package was xinit with --libdir=/usr/share to get the xinit directory in /usr/share/X11. But that doesn't really matter because the only package that seems to care about its contents are xinit itself. So, I think those are both non-issues as far as BLFS is concerned. I didn't have to tell any packages --datadir=/usr/lib, but I also don't build most of the apps. xterm probably has to be told --with-app-defaults=/usr/share/X11/app-defaults. The main issue without --datadir=/usr/lib is that X apps that want to dump some configuration files seem to think that /usr/lib/X11 is the place to go. These are the ones that need to be checked. For my next round of installing X, I'll try to be thorough and see if this can be done. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
