nodejs: add 0.8.18
PATCH v2 1/8 nodejs: add 0.8.18
--- ...uiltin-define-to-denote-hard-abi-when-in-.patch | 60 ++++++++++++++++++++++ meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb | 42 +++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 meta-oe/recipes-devtools/nodejs/nodejs/0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch create mode 100644 meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb
meta-oe/recipes-devtools/nodejs/nodejs/0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch new file +60 -0
@@ -0,0 +1,60 @@ +From bf701e7cb3616631a354ed9ecbed6dd16f60c60d Mon Sep 17 00:00:00 2001 +From: Koen Kooi <[email protected]> +Date: Wed, 30 Jan 2013 10:43:47 +0100 +Subject: [PATCH] gcc has a builtin define to denote hard abi when in use, e.g. + when using -mfloat-abi=hard it will define __ARM_PCS_VFP to 1 and therefore + we should check that to determine which calling convention is in use and not + __VFP_FP__ which merely indicates presence of VFP unit + +The fix has been provided by Khem Raj <[email protected]> + +Upstream-Status: Forwarded + +Signed-off-by: Koen Kooi <[email protected]> +--- + deps/v8/src/arm/assembler-arm.cc | 4 ++-- + deps/v8/src/platform-linux.cc | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/deps/v8/src/arm/assembler-arm.cc b/deps/v8/src/arm/assembler-arm.cc +index 1787d15..c64ef58 100644 +--- a/deps/v8/src/arm/assembler-arm.cc ++++ b/deps/v8/src/arm/assembler-arm.cc +@@ -71,10 +71,10 @@ static unsigned CpuFeaturesImpliedByCompiler() { + // If the compiler is allowed to use VFP then we can use VFP too in our code + // generation even when generating snapshots. ARMv7 and hardware floating + // point support implies VFPv3, see ARM DDI 0406B, page A1-6. +-#if defined(CAN_USE_ARMV7_INSTRUCTIONS) && defined(__VFP_FP__) \ ++#if defined(CAN_USE_ARMV7_INSTRUCTIONS) && defined(__ARM_PCS_VFP) \ + && !defined(__SOFTFP__) + answer |= 1u << VFP3 | 1u << ARMv7 | 1u << VFP2; +-#endif // defined(CAN_USE_ARMV7_INSTRUCTIONS) && defined(__VFP_FP__) ++#endif // defined(CAN_USE_ARMV7_INSTRUCTIONS) && defined(__ARM_PCS_VFP) + // && !defined(__SOFTFP__) + #endif // _arm__ + +diff --git a/deps/v8/src/platform-linux.cc b/deps/v8/src/platform-linux.cc +index ed9eb79..10d1879 100644 +--- a/deps/v8/src/platform-linux.cc ++++ b/deps/v8/src/platform-linux.cc +@@ -170,7 +170,7 @@ bool OS::ArmCpuHasFeature(CpuFeature feature) { + // calling this will return 1.0 and otherwise 0.0. + static void ArmUsingHardFloatHelper() { + asm("mov r0, #0":::"r0"); +-#if defined(__VFP_FP__) && !defined(__SOFTFP__) ++#if defined(__ARM_PCS_VFP) && !defined(__SOFTFP__) + // Load 0x3ff00000 into r1 using instructions available in both ARM + // and Thumb mode. + asm("mov r1, #3":::"r1"); +@@ -195,7 +195,7 @@ static void ArmUsingHardFloatHelper() { + #else + asm("vmov d0, r0, r1"); + #endif // __thumb__ +-#endif // defined(__VFP_FP__) && !defined(__SOFTFP__) ++#endif // defined(__ARM_PCS_VFP) && !defined(__SOFTFP__) + asm("mov r1, #0":::"r1"); + } + +-- +1.8.1 +
meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb new file +42 -0
42 lines not on this page · raw message
Signature · 1 line
1.8.1.4
PATCH v2 2/8 Revert "cloud9: add EnvironmentFile"
This introduces a gentoo-ism which we don't want, and is fixed differently now
This reverts commit 222b4eb3e469a84e929a968def6773405f369a3d.
--- meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service | 1 - 1 file changed, 1 deletion(-)
meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service +0 -1
@@ -3,7 +3,6 @@ Description=Cloud9 IDE ConditionPathExists=|/var/lib/cloud9 [Service] -EnvironmentFile=-/etc/conf.d/node ExecStart=/usr/bin/node4 /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000 [Install]
Signature · 1 line
1.8.1.4
PATCH v2 3/8 python-tornado: update to top of 2.2 branch
In reply to Koen KooiDrags in a few bugfixes needed for gateone
--- meta-oe/recipes-devtools/python/python-tornado_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-devtools/python/python-tornado_git.bb +3 -3
@@ -2,9 +2,9 @@ DESCRIPTION = "Tornado is an open source version of the scalable, non-blocking w LICENSE = "Apache" LIC_FILES_CHKSUM = "file://README;md5=e7fb9954003d7cd93322ccf282210d1c" -PV = "2.2" -SRCREV = "02bc76155de5bf4dca243e4d0c019c0ac4c8b3be" -PR = "r1" +PV = "2.2.1+git${SRCPV}" + +SRCREV = "c501917eba46dec30b1f2ef12497dffc4beec505" SRC_URI = "git://github.com/facebook/tornado.git;branch=branch2.2 \ file://0001-disable-AI_ADDRCONFIG-flag.patch \ "
Signature · 1 line
1.8.1.4
Re: [meta-oe][PATCHv2 3/8] python-tornado: update to top of 2.2 branch
Quoted 12 lines · Koen Kooi
Drags in a few bugfixes needed for gateone
Signed-off-by Koen Kooi <[email protected]>--- meta-oe/recipes-devtools/python/python-tornado_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)meta-oe/recipes-devtools/python/python-tornado_git.bb +0
-0
meta-oe/recipes-devtools/python/python-tornado_git.bb DESCRIPTION = "Tornado is an open source version of the scalable, non-blocking w · line 5
Quoted 7 lines
meta-oe/recipes-devtools/python/python-tornado_git.bb +1
-3@@ -2,9 +2,9 @@ DESCRIPTION = "Tornado is an open source version of the scalable, non-blocking w LICENSE = "Apache" LIC_FILES_CHKSUM = "file://README;md5=e7fb9954003d7cd93322ccf282210d1c" -PV = "2.2" -SRCREV = "02bc76155de5bf4dca243e4d0c019c0ac4c8b3be" -PR = "r1" +PV = "2.2.1+git${SRCPV}"
Why not go to the latest stable version 2.4.1?
Quoted 6 lines
meta-oe/recipes-devtools/python/python-tornado_git.bb +2
-0+ +SRCREV = "c501917eba46dec30b1f2ef12497dffc4beec505" SRC_URI = "git://github.com/facebook/tornado.git;branch=branch2.2 \ file://0001-disable-AI_ADDRCONFIG-flag.patch \ "
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
PATCH v2 4/8 gateone: fix html5 feature check
In reply to Koen KooiThe BlobBuilder and Blob checks never succeeded, even on cutting edge browsers. Nudge SRCREV forward to drag in those fixes.
--- meta-oe/recipes-connectivity/gateone/gateone_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-connectivity/gateone/gateone_git.bb +2 -2
@@ -2,10 +2,10 @@ DESCRIPTION = "HTML5 (plugin-free) web-based terminal emulator and SSH client" LICENSE = "AGPLv3" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ee5b168fc7de89a0cadc49e27830aa2c" -PR = "r9" +PR = "r10" PV = "1.1" -SRCREV = "bb74e1095adb66b04b51ed6ff10ae0aa96afdd46" +SRCREV = "ea5db3dcb3bbbe445ae6d1a5611c1f8d547c57b9" SRC_URI = "git://github.com/liftoff/GateOne.git \ file://gateone-avahi.service \ file://server.conf \
Signature · 1 line
1.8.1.4
PATCH v2 5/8 nodejs4: reinstate installing all the files
In reply to Koen KooiCloud9 needs the headers to build the o3-xml binary, using 0.8.x headers makes it crash.
This installs everything namespaced as 'node4' to avoid collisions.
--- meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-)
meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb +15 -3
@@ -28,8 +28,20 @@ do_compile () { } do_install () { - install -d ${D}${bindir} - install -m 0755 build/default/node ${D}${bindir}/node4 -} + DESTDIR=${D} oe_runmake install + + # fix namespace conflicts with other nodejs recipes + mv ${D}${bindir}/node ${D}${bindir}/node4 + mv ${D}${bindir}/node-waf ${D}${bindir}/node4-waf + + mv ${D}${includedir}/node ${D}${includedir}/node4 + mv ${D}${libdir}/node ${D}${libdir}/node4 + mv ${D}${libdir}/pkgconfig/nodejs.pc ${D}${libdir}/pkgconfig/nodejs4.pc + sed -i -e s:include/node:include/node4: ${D}${libdir}/pkgconfig/nodejs4.pc + + mv ${D}${datadir}/man/man1/node.1 ${D}${datadir}/man/man1/node4.1 +} +FILES_${PN} += "${libdir}/node4/wafadmin" +BBCLASSEXTEND = "native"
Signature · 1 line
1.8.1.4
PATCH v2 6/8 cloud9: use node4 to build o3-xml binary
In reply to Koen KooiUsing node 0.8.x will make it crash at runtime
--- meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb +3 -3
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4784c3bcff601fd8f9515f52a11e7018" PR = "r2" -DEPENDS = "libxml2 nodejs-native" +DEPENDS = "libxml2 nodejs4-native" SRC_URI = "git://github.com/ajaxorg/cloud9.git;name=cloud9ide \ git://github.com/ajaxorg/o3;destsuffix=o3;name=o3 \
@@ -68,11 +68,11 @@ do_configure () { node-waf -vv configure } -EXTRA_CXXFLAGS = "-Idefault/include -I../include -Idefault/hosts -I../hosts -Idefault/modules -I../modules -Idefault/deps -I../deps -I${STAGING_DIR_NATIVE}/usr/include/node -fPIC -DPIC" +EXTRA_CXXFLAGS = "-Idefault/include -I../include -Idefault/hosts -I../hosts -Idefault/modules -I../modules -Idefault/deps -I../deps -I${STAGING_DIR_NATIVE}/usr/include/node4 -fPIC -DPIC" do_compile () { cd ${WORKDIR}/o3 - node tools/gluegen.js + node4 tools/gluegen.js cd hosts ${CXX} ${TARGET_CXXFLAGS} ${EXTRA_CXXFLAGS} -c -o sh_node.o node-o3/sh_node.cc ${CXX} ${TARGET_CXXFLAGS} ${EXTRA_CXXFLAGS} -c -o sh_node_libs.o node-o3/sh_node_libs.cc
Signature · 1 line
1.8.1.4
PATCH v2 7/8 cloud9: add autorestart on crash
In reply to Koen Kooi--- meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service | 1 + meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service +1 -0
@@ -3,6 +3,7 @@ Description=Cloud9 IDE ConditionPathExists=|/var/lib/cloud9 [Service] +Restart=always ExecStart=/usr/bin/node4 /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000 [Install]
meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend +1 -1
@@ -1,6 +1,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -PRINC := "${@int(PRINC) + 1}" +PRINC := "${@int(PRINC) + 2}" inherit systemd
Signature · 1 line
1.8.1.4
PATCH v2 8/8 cloud9 bbappend: add EnvironmentFile
In reply to Koen Kooi--- meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service | 1 + 1 file changed, 1 insertion(+)
meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service +1 -0
@@ -4,6 +4,7 @@ ConditionPathExists=|/var/lib/cloud9 [Service] Restart=always +EnvironmentFile=-/etc/default/node ExecStart=/usr/bin/node4 /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000 [Install]
Signature · 1 line
1.8.1.4