On 3/13/10, Andrew Benton <[email protected]> wrote:
>> The confusion originates with new font-util which creates
>> /usr/lib/pkgconfig/fontutil.pc having the fontrootdir equate
>> by default to /usr/share/fonts/X11 and all the font packages determine
>> the font installation dir from that.
>
> Are you sure? If I install a font in my home folder with
> sh configure --with-fontrootdir=/home/andy/tmp
> make install
Yes, but the individual font packages do allow the override --with-fontrootdir.
> You only need to recompile xorg-server, it's not a big job. You need to set
> the option
I decided on the do-over. Like glibc, it seems too important to have defects
in the install. I tried recompiling, but the x-server locked up the system.
> --with-default-font-path=/usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,\
> /usr/share/fonts/X11/75dpi,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/cyrillic,\
> /usr/share/fonts/X11/TTF,/usr/share/fonts/X11/OTF
>
Looking at configure, it would use the --with-fontdir=FONTDIR as the basedir for
TTF, OTF, et. al., so that seems redundant.
I will try
# font-util configure
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--with-fontrootdir=/usr/share/fonts
# xorg-server configure
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--with-module-dir=/usr/lib/X11/modules \
--with-xkb-output=/var/lib/xkb \
--enable-install-setuid \
--with-fontdir=/usr/share/fonts
Then, theoretically, I won't need the X11-TTF link.
I'm only keeping the --with-module-dir=/usr/lib/X11/modules
because the book says so. Eliminating it would use the slightly uglier
/usr/lib/xorg/modules.
If all goes according to plan, it should work fine,
and fonts should not be so confusing.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page