Dan Nicholson wrote:
> On 3/14/06, Bruce Dubbs <[EMAIL PROTECTED]> wrote:
>> Dan Nicholson wrote:
>>
>>> --without-add-fonts is the same as saying --with-add-fonts=no,
>>> standard autoconf macro. This is not strictly necessary if we are not
>>> going to install the X fonts in */lib/X11/fonts. I think it is a
>>> safeguard against this situation, but if you'd prefer the switch not
>>> to be added that's fine.
>> We are just adding a switch that does the default. I would prefer that
>> the fontconfig changes were reverted.
OK, I see (finally) what is going on. In fontconfig's configure is:
=======================
#
# Add more fonts if available. By default, add only the directories
# with outline fonts; those with bitmaps can be added as desired in
# local.conf or ~/.fonts.conf
#
# Check whether --with-add-fonts or --without-add-fonts was given.
if test "${with_add_fonts+set}" = set; then
withval="$with_add_fonts"
add_fonts="$withval"
else
add_fonts=yes
fi;
case "$add_fonts" in
yes)
FC_ADD_FONTS=""
for dir in /usr/X11R6/lib/X11 /usr/X11/lib/X11 /usr/lib/X11; do
case x"$FC_ADD_FONTS" in
x)
sub="$dir/fonts"
if test -d "$sub"; then
case x$FC_ADD_FONTS in
x)
FC_ADD_FONTS="$sub"
;;
*)
FC_ADD_FONTS="$FC_ADD_FONTS,$sub"
;;
esac
fi
;;
esac
done
======================
We state in BLFS that fontconfig is a required dependency for xorg (but
optional for Xfree86.
If the book is followed, then there is no problem because /usr/X* is not
installed yet. If fontconfig is reinstalled after X, then we get
something that we would prefer to manage manually.
It seems to me that one thing we could do would be to add a warning that
--without-add-fonts is needed if reinstalling fontconfig after X is
installed.
OTOH, we could re-revert to what you had. In that case, the explanation
that was there does not match the comment above that indicates that
bitmap fonts are skipped.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page