The following diff brings in support for xulrunner-1.9.2, and hard-codes
the dependency on that version.  Could we get this into Lucid?

diff --git a/debian/control b/debian/control
index 2aef1c3..b3ac29b 100644
--- a/debian/control
+++ b/debian/control
@@ -2,13 +2,13 @@ Source: mongodb
 Section: devel
 Priority: optional
 Maintainer: Richard Kreuter <rich...@10gen.com>
-Build-Depends: debhelper (>= 7), libpcre3, libpcre3-dev, scons, xulrunner-dev, 
libboost1.35-dev | libboost1.37-dev | libboost1.38-dev | libboost1.40-dev, 
libboost-thread1.35-dev | libboost-thread1.37-dev | libboost-thread1.38-dev | 
libboost-thread1.40-dev, libboost-filesystem1.35-dev | 
libboost-filesystem1.37-dev | libboost-filesystem1.38-dev | 
libboost-filesystem1.40-dev, libboost-program-options1.35-dev | 
libboost-program-options1.37-dev | libboost-program-options1.38-dev | 
libboost-program-options1.40-dev, libboost-date-time1.35-dev | 
libboost-date-time1.37-dev | libboost-date-time1.38-dev | 
libboost-date-time1.40-dev, libpcap-dev, libreadline-dev
+Build-Depends: debhelper (>= 7), libpcre3, libpcre3-dev, scons, 
xulrunner-1.9.2-dev, libboost1.35-dev | libboost1.37-dev | libboost1.38-dev | 
libboost1.40-dev, libboost-thread1.35-dev | libboost-thread1.37-dev | 
libboost-thread1.38-dev | libboost-thread1.40-dev, libboost-filesystem1.35-dev 
| libboost-filesystem1.37-dev | libboost-filesystem1.38-dev | 
libboost-filesystem1.40-dev, libboost-program-options1.35-dev | 
libboost-program-options1.37-dev | libboost-program-options1.38-dev | 
libboost-program-options1.40-dev, libboost-date-time1.35-dev | 
libboost-date-time1.37-dev | libboost-date-time1.38-dev | 
libboost-date-time1.40-dev, libpcap-dev, libreadline-dev
 Standards-Version: 3.8.0
 Homepage: http://www.mongodb.org
 
 Package: mongodb
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, xulrunner-dev
+Depends: ${shlibs:Depends}, ${misc:Depends}, xulrunner-1.9.2
 Description: An object/document-oriented database
  MongoDB is a high-performance, open source, schema-free 
  document-oriented  data store that's easy to deploy, manage
diff --git a/buildscripts/hacks_ubuntu.py b/buildscripts/hacks_ubuntu.py
index 56649f8..480c622 100644
--- a/buildscripts/hacks_ubuntu.py
+++ b/buildscripts/hacks_ubuntu.py
@@ -39,7 +39,9 @@ def foundxulrunner( env , options ):
     env.Prepend( RPATH=[ libroot ] )
 
     env.Prepend( CPPPATH=[ incroot + "stable/" , 
-                           incroot + "unstable/" ] )
+                           incroot + "unstable/" ,
+                           incroot ] )
+    env.Prepend( CPPPATH=[ "/usr/include/nspr/" ] )
     
     env.Append( CPPDEFINES=[ "XULRUNNER" , "OLDJS" ] )
     if best.find( "1.9.0" ) >= 0 or best.endswith("1.9"):
diff --git a/scripting/engine_spidermonkey.h b/scripting/engine_spidermonkey.h
index a39d8fb..4e420de 100644
--- a/scripting/engine_spidermonkey.h
+++ b/scripting/engine_spidermonkey.h
@@ -42,6 +42,7 @@
 #endif
 
 #include "jsapi.h"
+#include "jsobj.h"
 #include "jsdate.h"
 #include "jsregexp.h"

-- 
mongo / mongod as packaged can't load libmozjs.so
https://bugs.launchpad.net/bugs/557024
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to