Small patch for blam(low quality)

diff -urp ./blam-1.8.2/configure.in blam-1.8.2~/configure.in
--- ./blam-1.8.2/configure.in   2005-06-20 17:12:07.000000000 +0200
+++ blam-1.8.2~/configure.in    2006-09-22 19:00:57.000000000 +0200
@@ -69,9 +69,9 @@ dnl ******************
 AC_MSG_CHECKING([which mozilla to use])
 
 MOZILLA=
-AC_ARG_WITH([mozilla],
-       AC_HELP_STRING([--with-mozilla@<:@=mozilla|firefox|thunderbird@:>@],
-                      [Whether to use mozilla, firefox or thunderbird 
gtkmozembed (default: mozilla)]),
+AC_ARG_WITH([xulrunner],
+       
AC_HELP_STRING([--with-mozilla@<:@=mozilla|firefox|thunderbird|xulrunner@:>@],
+                      [Whether to use mozilla, firefox, thunderbird or 
xulrunner gtkmozembed (default: xulrunner)]),
        [MOZILLA="$withval"])
 
 dnl try to autodetect: if mozilla exists, use it, else try firefox, then 
thunderbird
@@ -82,10 +82,12 @@ if test "x$MOZILLA" = "x"; then
     MOZILLA=firefox
   elif pkg-config --exists thunderbird-gtkmozembed; then
     MOZILLA=thunderbird
+  elif pkg-config --exists xulrunner-gtkmozembed; then
+    MOZILLA=xulrunner
   else
     AC_MSG_ERROR([no mozilla installation found])
   fi
-elif test "x$with_mozilla" != "xmozilla" -a "x$with_mozilla" != "xfirefox" -a 
"x$with_mozilla" != "xthunderbird"; then
+elif test "x$with_mozilla" != "xmozilla" -a "x$with_mozilla" != "xfirefox" -a 
"x$with_mozilla" != "xthunderbird" -a "x$with_mozilla" != "xxulrunner"; then
   AC_MSG_ERROR([unknown mozilla name ($MOZILLA)])
 fi
 
@@ -97,6 +99,7 @@ case "$MOZILLA" in
 mozilla) min_version=1.7 flavour=mozilla ;;
 firefox) min_version=0.10 flavour=toolkit ;;
 thunderbird) min_version=0.8 flavour=toolkit ;;
+xulrunner) min_version=1.8 flavour=toolkit ;;
 esac
 
 MOZILLA_FLAVOUR=$flavour
diff -urp ./blam-1.8.2/debian/control blam-1.8.2~/debian/control
--- ./blam-1.8.2/debian/control 2006-09-22 19:59:36.000000000 +0200
+++ blam-1.8.2~/debian/control  2006-09-22 18:19:06.000000000 +0200
@@ -2,7 +2,7 @@ Source: blam
 Section: gnome
 Priority: optional
 Maintainer: Johan Svedberg <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.0.0), mono-mcs (>= 1.1.4) | c-sharp-compiler, 
libgtk-cil (>= 1.0), libmono-dev (>= 1.1.4), cli-common (>= 0.1.3), 
libgnome-cil (>= 1.0), libgconf-cil (>= 1.0), libglade-cil (>= 1.0), 
libgecko-cil (>= 0.6), libgtk2.0-dev (>= 2.2.0), libgconf2-dev (>= 2.4), 
libgnomeui-dev (>= 2.2), mozilla-dev (>= 1.7), cdbs, libxml-parser-perl
+Build-Depends: debhelper (>= 4.0.0), mono-mcs (>= 1.1.4) | c-sharp-compiler, 
libgtk-cil (>= 1.0), libmono-dev (>= 1.1.4), cli-common (>= 0.1.3), 
libgnome-cil (>= 1.0), libgconf-cil (>= 1.0), libglade-cil (>= 1.0), 
libgecko-cil (>= 0.6), libgtk2.0-dev (>= 2.2.0), libgconf2-dev (>= 2.4), 
libgnomeui-dev (>= 2.2), libxul-dev (>=1.8.0.5-4.2), cdbs, libxml-parser-perl
 Standards-Version: 3.6.2
 
 Package: blam
diff -urp ./blam-1.8.2/libblam/blam-gecko-utils.cpp 
blam-1.8.2~/libblam/blam-gecko-utils.cpp
--- ./blam-1.8.2/libblam/blam-gecko-utils.cpp   2005-05-06 10:07:49.000000000 
+0200
+++ blam-1.8.2~/libblam/blam-gecko-utils.cpp    2006-09-22 19:14:13.000000000 
+0200
@@ -29,7 +29,8 @@
 #include <nsEmbedString.h>
 #include <nsIPrefService.h>
 #include <nsIServiceManager.h>
-
+#include <nsServiceManagerUtils.h>
+#include <nsCOMPtr.h>
 #if defined (HAVE_CHROME_NSICHROMEREGISTRYSEA_H)
 #include <chrome/nsIChromeRegistrySea.h>
 #elif defined(MOZ_NSIXULCHROMEREGISTRY_SELECTSKIN)




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to