swf-player is using the Netscape Plugin API, which does *not* require
linking against any Mozilla libraries.  It only requires the header
files from one of the -dev packages.  Therefore I believe the following
patch:

--- plugin/Makefile.am~ 2006-01-09 20:33:42.000000000 +0000
+++ plugin/Makefile.am  2007-02-22 23:07:54.000000000 +0000
@@ -11,7 +11,7 @@
 libswfdecmozilla_la_SOURCES = plugin.c
 libswfdecmozilla_la_CFLAGS = $(GLOBAL_CFLAGS) $(MOZILLA_CFLAGS) $(X_CFLAGS) \
        -DBINDIR=\"$(bindir)/\"
-libswfdecmozilla_la_LDFLAGS = -module -avoid-version $(X_LIBS) $(MOZILLA_LIBS)
+libswfdecmozilla_la_LDFLAGS = -module -avoid-version $(X_LIBS)
 libswfdecmozilla_la_LIBADD = -lXt
 
 
-- END --

plus autoreconf fixes this.  With this change, I was able to load a
swfdec plugin built against libxul-dev into Firefox 2.0.

Ben.

-- 
Ben Hutchings
Beware of bugs in the above code;
I have only proved it correct, not tried it. - Donald Knuth

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to