[jhbuild] moduleset: Add module for new Spidermonkey 17esr engine



commit 3fca7726168ca3885d8a026f0050bf2cd7674a39
Author: Tim Lunn <tim feathertop org>
Date:   Mon Mar 4 08:07:52 2013 +1100

    moduleset: Add module for new Spidermonkey 17esr engine
    
    https://bugzilla.gnome.org/show_bug.cgi?id=692565

 modulesets/gnome-suites-core-deps-3.8.modules |   17 ++++++++++
 modulesets/gnome-sysdeps-3.8.modules          |    6 ++++
 patches/js17-build-fixes.patch                |   40 +++++++++++++++++++++++++
 3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/modulesets/gnome-suites-core-deps-3.8.modules b/modulesets/gnome-suites-core-deps-3.8.modules
index 31fbcb5..e9bc93b 100644
--- a/modulesets/gnome-suites-core-deps-3.8.modules
+++ b/modulesets/gnome-suites-core-deps-3.8.modules
@@ -62,6 +62,8 @@
     href="http://pyzy.googlecode.com/files/"/>
 <repository type="tarball" name="maxmind.com"
       href="http://www.maxmind.com/download/"/>
+<repository type="tarball" name="people.mozilla.org"
+      href="http://people.mozilla.org/"/>
 
 <include href="gnome-sysdeps-3.8.modules"/>
 
@@ -703,6 +705,21 @@
     </dependencies>
   </autotools>
 
+  <autotools id="js17" check-target="false"
+      autogenargs="--enable-threadsafe --with-system-nspr">
+    <pkg-config>mozjs-17.0.pc</pkg-config>
+    <branch repo="people.mozilla.org"
+            module="~sstangl/mozjs17.0.0.rc1.tar.gz"
+            version="17.0.0.rc0"
+            hash="sha256:80bc258b42a0313229d6cd20f377bf3aac6f072347fba6b4f8f366f264cf5476"
+            checkoutdir="js17-17.0.0.rc1">
+      <patch file="js17-build-fixes.patch" strip="1"/>
+    </branch>
+    <dependencies>
+      <dep package="nspr"/>
+    </dependencies>
+  </autotools>
+
   <autotools id="json-glib">
     <branch/>
     <dependencies>
diff --git a/modulesets/gnome-sysdeps-3.8.modules b/modulesets/gnome-sysdeps-3.8.modules
index 62943ad..874b2ef 100644
--- a/modulesets/gnome-sysdeps-3.8.modules
+++ b/modulesets/gnome-sysdeps-3.8.modules
@@ -540,6 +540,12 @@
             version="3.12.11"/>
   </systemmodule>
 
+  <systemmodule id="nspr">
+    <pkg-config>nspr.pc</pkg-config>
+    <branch repo="system"
+            version="4.9.2"/>
+  </systemmodule>
+
   <systemmodule id="openldap">
     <branch repo="system"/>
     <systemdependencies>
diff --git a/patches/js17-build-fixes.patch b/patches/js17-build-fixes.patch
new file mode 100644
index 0000000..25f71fc
--- /dev/null
+++ b/patches/js17-build-fixes.patch
@@ -0,0 +1,40 @@
+From d09750e208fbb65d87aa46e7b90bb51acf8f0679 Mon Sep 17 00:00:00 2001
+From: Colin Walters <walters verbum org>
+Date: Sun, 10 Feb 2013 16:29:02 -0500
+Subject: [PATCH] Add toplevel configure/Makefile
+
+So this module implements the Build API:
+http://people.gnome.org/~walters/docs/build-api.txt
+---
+ Makefile  | 5 +++++
+ configure | 5 +++++
+ 2 files changed, 10 insertions(+)
+ create mode 100644 Makefile
+ create mode 100755 configure
+
+diff --git a/Makefile b/Makefile
+new file mode 100644
+index 0000000..98de844
+--- /dev/null
++++ b/Makefile
+@@ -0,0 +1,5 @@
++all:
++      cd js/src && $(MAKE)
++
++install:
++      cd js/src && $(MAKE) install DESTDIR=$(DESTDIR)
+diff --git a/configure b/configure
+new file mode 100755
+index 0000000..db588c3
+--- /dev/null
++++ b/configure
+@@ -0,0 +1,5 @@
++#!/bin/sh
++dnl http://people.gnome.org/~walters/docs/build-api.txt
++echo \#buildapi-variable-no-builddir >/dev/null
++cd js/src
++exec ./configure "$@"
+-- 
+1.8.1.2
+
+


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]