On 5/11/06, Alexander E. Patrakov <[EMAIL PROTECTED]> wrote:

ac_add_options --enable-pango
Required for rendering complex scripts like Thai

Interesting.  I didn't know about that.  Thanks for bringing it up.

ac_add_options --disable-updater
Disables checks for updates (they are pointless on a LiveCD)

The only nice thing about not disabling the updater is that you can
check for newer extensions/themes/plugins.  Checking for the update to
the core app (in my case Firefox) is grayed out.  But, you're probably
right that even checking for updated extensions on the LiveCD is
pointless.

The --as-needed was added because I don't want every library or program shipped
with seamonkey to be needlessly linked with libpangoxft-1.0. There will be no
harm if I add -Wl,--as-needed -lpangoxft-1.0 -Wl,--no-as-needed.

Shouldn't be any harm.  Alexander, could you test out the attached
patch without the LDFLAGS next build you do?  AFAICT, this is the only
directory that has sources that need to link to pangoxft.  In fact,
the program gfx/src/gtk/mozilla-decoder.cpp includes
<pango/pangoxft.h>.

--
Dan
--- gfx/src/gtk/Makefile.in.orig	2006-05-11 08:54:39.000000000 -0700
+++ gfx/src/gtk/Makefile.in	2006-05-11 08:55:48.000000000 -0700
@@ -201,6 +201,12 @@ EXTRA_DSO_LDOPTS += \
 		$(NULL)
 endif
 
+ifdef MOZ_ENABLE_PANGO
+EXTRA_DSO_LDOPTS += \
+		-lpangoxft-1.0 \
+		$(NULL)
+endif
+
 EXTRA_DSO_LDOPTS += $(XLDFLAGS) $(XLIBS) $(MOZ_GTK_LDFLAGS) $(MOZ_XFT_LIBS) $(MOZ_GTK2_LIBS)
 CXXFLAGS	+= $(MOZ_GTK_CFLAGS) $(MOZ_GTK2_CFLAGS)
 CFLAGS		+= $(MOZ_GTK_CFLAGS) $(MOZ_GTK2_CFLAGS)
-- 
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