[jhbuild] 3.12: Add js24



commit c4475d8534c5303424fb0b86d2b0c9091dfe582e
Author: Colin Walters <walters verbum org>
Date:   Mon Dec 2 23:06:07 2013 -0500

    3.12: Add js24

 modulesets/gnome-suites-core-deps-3.12.modules |   17 ++++++++++
 patches/js24-buildapi.patch                    |   38 ++++++++++++++++++++++++
 2 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/modulesets/gnome-suites-core-deps-3.12.modules b/modulesets/gnome-suites-core-deps-3.12.modules
index 75fd5ee..40fe5e9 100644
--- a/modulesets/gnome-suites-core-deps-3.12.modules
+++ b/modulesets/gnome-suites-core-deps-3.12.modules
@@ -70,6 +70,8 @@
       href="http://www.maxmind.com/download/"/>
 <repository type="tarball" name="ftp.mozilla.org"
       href="http://ftp.mozilla.org/"/>
+<repository type="tarball" name="people.mozilla.org"
+      href="http://people.mozilla.org/"/>
 <repository type="tarball" name="kernel.org"
       href="http://www.kernel.org"/>
 <repository type="tarball" name="ftp.gnu.org"
@@ -786,6 +788,21 @@
     </dependencies>
   </autotools>
 
+  <autotools id="js24" check-target="false"
+      autogenargs="--enable-threadsafe --with-system-nspr --disable-tests --disable-strip --enable-ctypes 
--enable-system-ffi --disable-intl-api">
+    <pkg-config>mozjs-24.1.pc</pkg-config>
+    <branch repo="people.mozilla.org"
+            module="~sstangl/mozjs-24.1.0.rc1.tar.bz2"
+            version="24.1.0.rc1"
+            hash="sha256:69ca3ae747cae5cad980bdcd59e688bc99114901c8c1e0b789d187f4ef1e7264"
+            checkoutdir="js24-24.1.0.rc1">
+      <patch file="js24-buildapi.patch" strip="1"/>
+    </branch>
+    <dependencies>
+      <dep package="nspr"/>
+    </dependencies>
+  </autotools>
+
   <autotools id="json-glib" autogenargs="--enable-installed-tests">
     <branch/>
     <dependencies>
diff --git a/patches/js24-buildapi.patch b/patches/js24-buildapi.patch
new file mode 100644
index 0000000..b794f9b
--- /dev/null
+++ b/patches/js24-buildapi.patch
@@ -0,0 +1,38 @@
+From 2134f0387c3fd24413a7c49b1b26c52e21ec7c46 Mon Sep 17 00:00:00 2001
+From: Colin Walters <walters verbum org>
+Date: Wed, 18 Jan 2012 22:25:47 -0500
+Subject: [PATCH] build: Add toplevel trampoline configure/Makefile
+
+These just invoke the ones in js/src.
+---
+ Makefile  |    5 +++++
+ configure |    5 +++++
+ 2 files changed, 10 insertions(+), 0 deletions(-)
+ 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..93ef339
+--- /dev/null
++++ b/configure
+@@ -0,0 +1,5 @@
++#!/bin/sh
++# http://people.gnome.org/~walters/docs/build-api.txt
++echo \#buildapi-variable-no-builddir >/dev/null
++cd js/src
++exec ./configure "$@"
+-- 
+1.7.1
+


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