As brought up by Alexander[1], the Firefox fails to build when
--enable-pango is used. This holds true for all of the Mozilla
products (SeaMonkey and Thunderbird, too) because the issue is in the
shared gtk2 graphics backend.  The problem is that when --enable-pango
is used, mozilla-decoder.cpp uses functions from pangoxft.  The
library just needs to be linked in.

Question on preference.  I've come up with two seds to do the trick.

sed -i.bak \
   "/mozilla-decoder.cpp/a EXTRA_DSO_LDOPTS += $(pkg-config --libs pangoxft)" \
   gfx/src/gtk/Makefile.in

sed -i.bak \
   '/mozilla-decoder.cpp/a EXTRA_DSO_LDOPTS += libpangoxft-1.0' \
   gfx/src/gtk/Makefile.in

Which is better?  The first is more accurate, but will spit out a lot
of libraries.  In the second form, ld is finding all those libraries.

[1] 
http://archives.linuxfromscratch.org/mail-archives/blfs-support/2006-May/059635.html

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to