[Lunar-commits] <moonbase-other> spidermonkey: version bumped

v4hn me at v4hn.de
Sun Jul 15 23:10:15 CEST 2012


commit f3a57c9e630bb57e893bd5c6480eefce6229bb2f
Author: v4hn <me at v4hn.de>
Date: Sun, 15 Jul 2012 14:10:15 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/f3a57c9e630bb57e893bd5c6480eefce6229bb2f

spidermonkey: version bumped
---
  libs/spidermonkey/BUILD                                      +7/-9     
  libs/spidermonkey/DETAILS                                    +6/-15    
  2 files changed, 13 insertions (+), 24 deletions (-)

--- a/libs/spidermonkey/BUILD
+++ b/libs/spidermonkey/BUILD
@@ -1,16 +1,14 @@
 (
 
-  export CFLAGS="${CFLAGS} -DJS_C_STRINGS_ARE_UTF8"
+  cd $SOURCE_DIRECTORY/js/src &&
 
-  patch_it $SOURCE2 1 &&
-  patch_it $SOURCE3 1 &&
-  patch_it $SOURCE4 1 &&
+  OPTS+=" --with-system-nspr --enable-threadsafe" &&
 
-  sedit 's;include;include/js;' src/rules.mk &&
+  CXXFLAGS+=" -fpermissive" &&
 
-  cd $SOURCE_DIRECTORY/src &&
-  make -f Makefile.ref JS_THREADSAFE=1 &&
-  prepare_install &&
-  make -f Makefile.ref install
+  default_build &&
+
+  #for backwards compatibility
+  ln -sf /usr/lib/libmozjs${VERSION%\.*}.a /usr/lib/libjs_static.a
 
 ) > $C_FIFO 2>&1
--- a/libs/spidermonkey/DETAILS
+++ b/libs/spidermonkey/DETAILS
@@ -1,23 +1,14 @@
           MODULE=spidermonkey
-         VERSION=1.7.0
-          SOURCE=js-${VERSION}.tar.gz
-         SOURCE2=$MODULE-1.5-build.patch
-         SOURCE3=$MODULE-1.7.0-Makefile.patch
-         SOURCE4=$MODULE-1.7.0-threadsafe.patch
+         VERSION=185-1.0.0
+          SOURCE=js${VERSION}.tar.gz
       SOURCE_URL=ftp://ftp.mozilla.org/pub/mozilla.org/js
-     SOURCE2_URL=$PATCH_URL
-     SOURCE3_URL=$PATCH_URL
-     SOURCE4_URL=$PATCH_URL
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/js
-      SOURCE_VFY=sha256:44363f0f3895800ee6010763eae90c0d15ed28e07d783bc7b3c607ce98d8668b
-     SOURCE2_VFY=sha256:04a2b3b1b85825f463c6eb703d32e66747e2a8cca81b0026b958862eb1248fdb
-     SOURCE3_VFY=sha256:3707e3f85a7a2a698c23f38dad0b1006c753f89bf051f125bd5ac83212a02841
-     SOURCE4_VFY=sha256:92bafa79933dc28f7ffefa1ccebdf181a18b5638ced278759ce25d51f2438789
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/js-1.8.5
+      SOURCE_VFY=sha256:5d12f7e1f5b4a99436685d97b9b7b75f094d33580227aa998c406bbae6f2a687
         WEB_SITE=http://www.mozilla.org/js/spidermonkey/
          ENTERED=20051030
-         UPDATED=20101205
+         UPDATED=20120714
            SHORT="Mozilla's C implementation of JavaScript"
-PSAFE=no
+           PSAFE=no
 
 cat << EOF
 This is SpiderMonkey, Mozilla's C implementation of JavaScript.




More information about the Lunar-commits mailing list