This patch plus an autoreconf (with automake1.9) is sufficient to make
swfdec0.3 build against xulrunner, but I couldn't say whether it works
correctly.

diff -ur swfdec0.3-0.3.6.orig/configure.ac swfdec0.3-0.3.6/configure.ac
--- swfdec0.3-0.3.6.orig/configure.ac   2006-01-10 07:07:14.000000000 +0000
+++ swfdec0.3-0.3.6/configure.ac        2006-08-27 20:57:23.000000000 +0000
@@ -121,9 +121,12 @@
   AC_DEFINE(HAVE_MAD, 1, [Define if mad is enabled])
 fi
 
-PKG_CHECK_MODULES(MOZILLA, mozilla-plugin, HAVE_MOZILLA=yes, HAVE_MOZILLA=no)
+PKG_CHECK_MODULES(MOZILLA, xulrunner-plugin, HAVE_MOZILLA=yes, HAVE_MOZILLA=no)
 if test "$HAVE_MOZILLA" = no ; then
-  PKG_CHECK_MODULES(MOZILLA, firefox-plugin, HAVE_MOZILLA=yes, HAVE_MOZILLA=no)
+  PKG_CHECK_MODULES(MOZILLA, mozilla-plugin, HAVE_MOZILLA=yes, HAVE_MOZILLA=no)
+  if test "$HAVE_MOZILLA" = no ; then
+    PKG_CHECK_MODULES(MOZILLA, firefox-plugin, HAVE_MOZILLA=yes, 
HAVE_MOZILLA=no)
+  fi
 fi
 AC_SUBST(MOZILLA_CFLAGS)
 AC_SUBST(MOZILLA_LIBS)
diff -ur swfdec0.3-0.3.6.orig/debian/control swfdec0.3-0.3.6/debian/control
--- swfdec0.3-0.3.6.orig/debian/control 2006-08-27 21:06:04.000000000 +0000
+++ swfdec0.3-0.3.6/debian/control      2006-08-27 20:55:21.000000000 +0000
@@ -1,7 +1,7 @@
 Source: swfdec0.3
 Priority: optional
 Maintainer: David Schleef <[EMAIL PROTECTED]>
-Build-Depends: cdbs, debhelper (>> 3.0.0), libgtk2.0-dev (>> 2.1.2), 
mozilla-dev | firefox-dev, libcairo2-dev, zlib1g-dev, libmad0-dev, libxt-dev, 
liboil0.3-dev, libgstreamer0.10-dev, libgstreamer-plugins-base0.10-dev
+Build-Depends: cdbs, debhelper (>> 3.0.0), libgtk2.0-dev (>> 2.1.2), 
libxul-dev | mozilla-dev | firefox-dev, libcairo2-dev, zlib1g-dev, libmad0-dev, 
libxt-dev, liboil0.3-dev, libgstreamer0.10-dev, 
libgstreamer-plugins-base0.10-dev
 Standards-Version: 3.5.6
 
 Package: libswfdec0.3-dev
-- END --

Ben.

-- 
Ben Hutchings -- [EMAIL PROTECTED] shortened to [EMAIL PROTECTED]
If you've signed my GPG key, please send a signature on and to the new uid.
I'm not a reverse psychological virus.  Please don't copy me into your sig.

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

Reply via email to