On, Saturday 22 July 2006 22:11 DJ Lucas wrote:
> [EMAIL PROTECTED] ~]# echo $XORG_PREFIX
> /opt/X11
> [EMAIL PROTECTED] ~]# echo $XORG_CONFIG
> --prefix=/opt/X11 --sysconfdir=/etc --localstatedir=/var
> --datadir=/opt/X11/lib
> [EMAIL PROTECTED] ~]# ls -d /opt/X11/lib/*/
> /opt/X11/lib/aclocal/  /opt/X11/lib/pkgconfig/  /opt/X11/lib/X11/
> /opt/X11/lib/icons/    /opt/X11/lib/terminfo/   /opt/X11/lib/xserver/

The following may also be interesting:
$ cat libxcursor-1.1.6/src/library.c
...
#ifndef ICONDIR
#define ICONDIR "/usr/X11R6/lib/X11/icons"
#endif

#ifndef XCURSORPATH
#define XCURSORPATH "~/.icons:/usr/share/icons:/usr/share/pixmaps:"ICONDIR
#endif
...

This's the only place where ICONDIR is mentioned. It can also be set
in ./configure with the --with-icondir= option. Moreover you can set
the whole XCURSORPATH variable using configure's --with-cursorpath
option.

So I think it's more correctly in my example to use
--with-icondir=/usr/lib/X11/icons than to set datadir to /usr/lib/X11.

What's for me, I'll use --with-icondir=/usr/share/cursors

P.S. I was unable to find the cursor dir in my Gentoo so I incline to
thinking everybody makes the directory in question where one likes.

-- 
Nothing but perfection
pv
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to