On 2006-10-10 11:14:12 -0700, Mark Duling wrote:
But what about fonts? I can specify that they be installed in ${prefix}, but the app can't find them.
This is probably a config problem. Under Linux, one can have fonts in /usr/local/share/fonts (in addition to /usr/share/fonts) and they are found.
I've tried putting the ${prefix}-my-font-path in the catalogue path in /etc/X11/fs/config but it still can't find them.
Do you mean you're using a font server on your machine? Otherwise I don't know how the font paths are set up under Mac OS X. Perhaps with the xset command from the system and/or user xinitrc. Moreover some applications use /etc/fonts/fonts.conf or $prefix/etc/fonts/fonts.conf (via libraries such as Xft).
Also, what about writing to /etc/X11/app-defaults? It seems to me there may be no way around that.
There is. See XFILESEARCHPATH and XUSERFILESEARCHPATH in the X(7) man page. These environment variables may be set up in the system and/or user xinitrc. -- Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)