All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/8] nodejs: add 0.8.18
@ 2013-04-10 16:14 Koen Kooi
  2013-04-10 16:14 ` [meta-oe][PATCH 2/8] Revert "cloud9: add EnvironmentFile" Koen Kooi
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Koen Kooi @ 2013-04-10 16:14 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 ...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

diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch
new file mode 100644
index 0000000..6268d69
--- /dev/null
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch
@@ -0,0 +1,60 @@
+From bf701e7cb3616631a354ed9ecbed6dd16f60c60d Mon Sep 17 00:00:00 2001
+From: Koen Kooi <koen@dominion.thruhere.net>
+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 <raj.khem@gmail.com>
+
+Upstream-Status: Forwarded
+
+Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
+---
+ 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
+
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb b/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb
new file mode 100644
index 0000000..4c4a18c
--- /dev/null
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb
@@ -0,0 +1,42 @@
+DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript"
+HOMEPAGE = "http://nodejs.org"
+LICENSE = "MIT & BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=95a589a3257ab7dfe37d8a8379e3c72d"
+
+DEPENDS = "openssl"
+
+SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz \
+           file://0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch \
+"
+SRC_URI[md5sum] = "25ed6aa5710ac46b867ff3f17a4da1d6"
+SRC_URI[sha256sum] = "1d63dd42f9bd22f087585ddf80a881c6acbe1664891b1dda3b71306fe9ae00f9"
+
+S = "${WORKDIR}/node-v${PV}"
+
+# v8 errors out if you have set CCACHE
+CCACHE = ""
+
+ARCHFLAGS_arm = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--with-arm-float-abi=hard', '--with-arm-float-abi=softfp', d)}"
+ARCHFLAGS ?= ""
+
+# Node is way too cool to use proper autotools, so we install two wrappers to forcefully inject proper arch cflags to workaround gypi
+do_configure () {
+  export LD="${CXX}"
+
+  ./configure --prefix=${prefix} --without-snapshot ${ARCHFLAGS}
+}
+
+do_compile () {
+  export LD="${CXX}"
+  make BUILDTYPE=Release
+}
+
+do_install () {
+  DESTDIR=${D} oe_runmake install
+}
+
+RDEPENDS_${PN} = "curl python-shell python-datetime python-subprocess python-crypt python-textutils python-netclient "
+RDEPENDS_${PN}_virtclass-native = "curl-native python-native"
+
+FILES_${PN} += "${libdir}/node/wafadmin ${libdir}/node_modules ${libdir}/dtrace"
+BBCLASSEXTEND = "native"
-- 
1.8.1.4




^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [meta-oe][PATCH 2/8] Revert "cloud9: add EnvironmentFile"
  2013-04-10 16:14 [meta-oe][PATCH 1/8] nodejs: add 0.8.18 Koen Kooi
@ 2013-04-10 16:14 ` Koen Kooi
  2013-04-10 16:14 ` [meta-oe][PATCH 3/8] python-tornado: update to top of 2.2 branch Koen Kooi
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 16+ messages in thread
From: Koen Kooi @ 2013-04-10 16:14 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

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(-)

diff --git a/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service b/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service
index 54a9db0..714b465 100644
--- a/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service
+++ b/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service
@@ -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]
-- 
1.8.1.4




^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [meta-oe][PATCH 3/8] python-tornado: update to top of 2.2 branch
  2013-04-10 16:14 [meta-oe][PATCH 1/8] nodejs: add 0.8.18 Koen Kooi
  2013-04-10 16:14 ` [meta-oe][PATCH 2/8] Revert "cloud9: add EnvironmentFile" Koen Kooi
@ 2013-04-10 16:14 ` Koen Kooi
  2013-04-10 16:23   ` Paul Eggleton
  2013-04-10 16:14 ` [meta-oe][PATCH 4/8] gateone: fix html5 feature check Koen Kooi
                   ` (5 subsequent siblings)
  7 siblings, 1 reply; 16+ messages in thread
From: Koen Kooi @ 2013-04-10 16:14 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

Drags in a few bugfixes needed for gateone

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta-oe/recipes-devtools/python/python-tornado_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/python/python-tornado_git.bb b/meta-oe/recipes-devtools/python/python-tornado_git.bb
index 00d0bbb..82a94e6 100644
--- a/meta-oe/recipes-devtools/python/python-tornado_git.bb
+++ b/meta-oe/recipes-devtools/python/python-tornado_git.bb
@@ -3,8 +3,8 @@ LICENSE = "Apache"
 LIC_FILES_CHKSUM = "file://README;md5=e7fb9954003d7cd93322ccf282210d1c"
 
 PV = "2.2"
-SRCREV = "02bc76155de5bf4dca243e4d0c019c0ac4c8b3be"
 PR = "r1"
+SRCREV = "c501917eba46dec30b1f2ef12497dffc4beec505"
 SRC_URI = "git://github.com/facebook/tornado.git;branch=branch2.2 \
            file://0001-disable-AI_ADDRCONFIG-flag.patch \
           "
-- 
1.8.1.4




^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [meta-oe][PATCH 4/8] gateone: fix html5 feature check
  2013-04-10 16:14 [meta-oe][PATCH 1/8] nodejs: add 0.8.18 Koen Kooi
  2013-04-10 16:14 ` [meta-oe][PATCH 2/8] Revert "cloud9: add EnvironmentFile" Koen Kooi
  2013-04-10 16:14 ` [meta-oe][PATCH 3/8] python-tornado: update to top of 2.2 branch Koen Kooi
@ 2013-04-10 16:14 ` Koen Kooi
  2013-04-10 22:04   ` Martin Jansa
  2013-04-10 16:14 ` [meta-oe][PATCH 5/8] nodejs4: reinstate installing all the files Koen Kooi
                   ` (4 subsequent siblings)
  7 siblings, 1 reply; 16+ messages in thread
From: Koen Kooi @ 2013-04-10 16:14 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

The BlobBuilder and Blob checks never succeeded, even on cutting edge browsers. Nudge SRCREV forward to drag in those fixes.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta-oe/recipes-connectivity/gateone/gateone_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-connectivity/gateone/gateone_git.bb b/meta-oe/recipes-connectivity/gateone/gateone_git.bb
index 652876f..8133cf9 100644
--- a/meta-oe/recipes-connectivity/gateone/gateone_git.bb
+++ b/meta-oe/recipes-connectivity/gateone/gateone_git.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ee5b168fc7de89a0cadc49e27830aa2c"
 PR = "r9"
 
 PV = "1.1"
-SRCREV = "bb74e1095adb66b04b51ed6ff10ae0aa96afdd46"
+SRCREV = "ea5db3dcb3bbbe445ae6d1a5611c1f8d547c57b9"
 SRC_URI = "git://github.com/liftoff/GateOne.git \
            file://gateone-avahi.service \
            file://server.conf \
-- 
1.8.1.4




^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [meta-oe][PATCH 5/8] nodejs4: reinstate installing all the files
  2013-04-10 16:14 [meta-oe][PATCH 1/8] nodejs: add 0.8.18 Koen Kooi
                   ` (2 preceding siblings ...)
  2013-04-10 16:14 ` [meta-oe][PATCH 4/8] gateone: fix html5 feature check Koen Kooi
@ 2013-04-10 16:14 ` Koen Kooi
  2013-04-11  9:29   ` Martin Jansa
  2013-04-10 16:14 ` [meta-oe][PATCH 6/8] cloud9: use node4 to build o3-xml binary Koen Kooi
                   ` (3 subsequent siblings)
  7 siblings, 1 reply; 16+ messages in thread
From: Koen Kooi @ 2013-04-10 16:14 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

Cloud9 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.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb b/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
index 522b539..58ca135 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
@@ -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"
-- 
1.8.1.4




^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [meta-oe][PATCH 6/8] cloud9: use node4 to build o3-xml binary
  2013-04-10 16:14 [meta-oe][PATCH 1/8] nodejs: add 0.8.18 Koen Kooi
                   ` (3 preceding siblings ...)
  2013-04-10 16:14 ` [meta-oe][PATCH 5/8] nodejs4: reinstate installing all the files Koen Kooi
@ 2013-04-10 16:14 ` Koen Kooi
  2013-04-10 16:14 ` [meta-oe][PATCH 7/8] cloud9: add autorestart on crash Koen Kooi
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 16+ messages in thread
From: Koen Kooi @ 2013-04-10 16:14 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

Using node 0.8.x will make it crash at runtime

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb b/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb
index a78c653..ef32829 100644
--- a/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb
+++ b/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb
@@ -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
-- 
1.8.1.4




^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [meta-oe][PATCH 7/8] cloud9: add autorestart on crash
  2013-04-10 16:14 [meta-oe][PATCH 1/8] nodejs: add 0.8.18 Koen Kooi
                   ` (4 preceding siblings ...)
  2013-04-10 16:14 ` [meta-oe][PATCH 6/8] cloud9: use node4 to build o3-xml binary Koen Kooi
@ 2013-04-10 16:14 ` Koen Kooi
  2013-04-10 16:14 ` [meta-oe][PATCH 8/8] cloud9 bbappend: add EnvironmentFile Koen Kooi
  2013-04-11  9:47 ` [meta-oe][PATCH 1/8] nodejs: add 0.8.18 Martin Jansa
  7 siblings, 0 replies; 16+ messages in thread
From: Koen Kooi @ 2013-04-10 16:14 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 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(-)

diff --git a/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service b/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service
index 714b465..f805ea9 100644
--- a/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service
+++ b/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service
@@ -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]
diff --git a/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend b/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend
index 777d2f4..afa85bf 100644
--- a/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend
+++ b/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend
@@ -1,6 +1,6 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PRINC := "${@int(PRINC) + 1}"
+PRINC := "${@int(PRINC) + 2}"
 
 inherit systemd
 
-- 
1.8.1.4




^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [meta-oe][PATCH 8/8] cloud9 bbappend: add EnvironmentFile
  2013-04-10 16:14 [meta-oe][PATCH 1/8] nodejs: add 0.8.18 Koen Kooi
                   ` (5 preceding siblings ...)
  2013-04-10 16:14 ` [meta-oe][PATCH 7/8] cloud9: add autorestart on crash Koen Kooi
@ 2013-04-10 16:14 ` Koen Kooi
  2013-04-11  9:47 ` [meta-oe][PATCH 1/8] nodejs: add 0.8.18 Martin Jansa
  7 siblings, 0 replies; 16+ messages in thread
From: Koen Kooi @ 2013-04-10 16:14 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service b/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service
index f805ea9..495b131 100644
--- a/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service
+++ b/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service
@@ -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]
-- 
1.8.1.4




^ permalink raw reply related	[flat|nested] 16+ messages in thread

* Re: [meta-oe][PATCH 3/8] python-tornado: update to top of 2.2 branch
  2013-04-10 16:14 ` [meta-oe][PATCH 3/8] python-tornado: update to top of 2.2 branch Koen Kooi
@ 2013-04-10 16:23   ` Paul Eggleton
  0 siblings, 0 replies; 16+ messages in thread
From: Paul Eggleton @ 2013-04-10 16:23 UTC (permalink / raw)
  To: Koen Kooi, openembedded-devel

On Wednesday 10 April 2013 18:14:17 Koen Kooi wrote:
> Drags in a few bugfixes needed for gateone
> 
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
>  meta-oe/recipes-devtools/python/python-tornado_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-devtools/python/python-tornado_git.bb
> b/meta-oe/recipes-devtools/python/python-tornado_git.bb index
> 00d0bbb..82a94e6 100644
> --- a/meta-oe/recipes-devtools/python/python-tornado_git.bb
> +++ b/meta-oe/recipes-devtools/python/python-tornado_git.bb
> @@ -3,8 +3,8 @@ LICENSE = "Apache"
>  LIC_FILES_CHKSUM = "file://README;md5=e7fb9954003d7cd93322ccf282210d1c"
> 
>  PV = "2.2"
> -SRCREV = "02bc76155de5bf4dca243e4d0c019c0ac4c8b3be"
>  PR = "r1"
> +SRCREV = "c501917eba46dec30b1f2ef12497dffc4beec505"
>  SRC_URI = "git://github.com/facebook/tornado.git;branch=branch2.2 \
>             file://0001-disable-AI_ADDRCONFIG-flag.patch \
>            "

Shouldn't PV include SRCPV here? Looking at the repo I'm guessing PV ought to 
be "2.2.1+git${SRCPV}"

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [meta-oe][PATCH 4/8] gateone: fix html5 feature check
  2013-04-10 16:14 ` [meta-oe][PATCH 4/8] gateone: fix html5 feature check Koen Kooi
@ 2013-04-10 22:04   ` Martin Jansa
  2013-04-11  5:33     ` Koen Kooi
  0 siblings, 1 reply; 16+ messages in thread
From: Martin Jansa @ 2013-04-10 22:04 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

[-- Attachment #1: Type: text/plain, Size: 1362 bytes --]

On Wed, Apr 10, 2013 at 06:14:18PM +0200, Koen Kooi wrote:
> The BlobBuilder and Blob checks never succeeded, even on cutting edge browsers. Nudge SRCREV forward to drag in those fixes.
> 
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
>  meta-oe/recipes-connectivity/gateone/gateone_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-connectivity/gateone/gateone_git.bb b/meta-oe/recipes-connectivity/gateone/gateone_git.bb
> index 652876f..8133cf9 100644
> --- a/meta-oe/recipes-connectivity/gateone/gateone_git.bb
> +++ b/meta-oe/recipes-connectivity/gateone/gateone_git.bb
> @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ee5b168fc7de89a0cadc49e27830aa2c"
>  PR = "r9"
>  
>  PV = "1.1"
> -SRCREV = "bb74e1095adb66b04b51ed6ff10ae0aa96afdd46"
> +SRCREV = "ea5db3dcb3bbbe445ae6d1a5611c1f8d547c57b9"

I'll at least bump PR in this one.

>  SRC_URI = "git://github.com/liftoff/GateOne.git \
>             file://gateone-avahi.service \
>             file://server.conf \
> -- 
> 1.8.1.4
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [meta-oe][PATCH 4/8] gateone: fix html5 feature check
  2013-04-10 22:04   ` Martin Jansa
@ 2013-04-11  5:33     ` Koen Kooi
  2013-04-11  9:28       ` Martin Jansa
  0 siblings, 1 reply; 16+ messages in thread
From: Koen Kooi @ 2013-04-11  5:33 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-devel


Op 11 apr. 2013, om 00:04 heeft Martin Jansa <martin.jansa@gmail.com> het volgende geschreven:

> On Wed, Apr 10, 2013 at 06:14:18PM +0200, Koen Kooi wrote:
>> The BlobBuilder and Blob checks never succeeded, even on cutting edge browsers. Nudge SRCREV forward to drag in those fixes.
>> 
>> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
>> ---
>> meta-oe/recipes-connectivity/gateone/gateone_git.bb | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/meta-oe/recipes-connectivity/gateone/gateone_git.bb b/meta-oe/recipes-connectivity/gateone/gateone_git.bb
>> index 652876f..8133cf9 100644
>> --- a/meta-oe/recipes-connectivity/gateone/gateone_git.bb
>> +++ b/meta-oe/recipes-connectivity/gateone/gateone_git.bb
>> @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ee5b168fc7de89a0cadc49e27830aa2c"
>> PR = "r9"
>> 
>> PV = "1.1"
>> -SRCREV = "bb74e1095adb66b04b51ed6ff10ae0aa96afdd46"
>> +SRCREV = "ea5db3dcb3bbbe445ae6d1a5611c1f8d547c57b9"
> 
> I'll at least bump PR in this one.

Wait, what? Isn't PRSERV mandatory nowadays?


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [meta-oe][PATCH 4/8] gateone: fix html5 feature check
  2013-04-11  5:33     ` Koen Kooi
@ 2013-04-11  9:28       ` Martin Jansa
  0 siblings, 0 replies; 16+ messages in thread
From: Martin Jansa @ 2013-04-11  9:28 UTC (permalink / raw)
  To: Koen Kooi; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1499 bytes --]

On Thu, Apr 11, 2013 at 07:33:10AM +0200, Koen Kooi wrote:
> 
> Op 11 apr. 2013, om 00:04 heeft Martin Jansa <martin.jansa@gmail.com> het volgende geschreven:
> 
> > On Wed, Apr 10, 2013 at 06:14:18PM +0200, Koen Kooi wrote:
> >> The BlobBuilder and Blob checks never succeeded, even on cutting edge browsers. Nudge SRCREV forward to drag in those fixes.
> >> 
> >> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> >> ---
> >> meta-oe/recipes-connectivity/gateone/gateone_git.bb | 2 +-
> >> 1 file changed, 1 insertion(+), 1 deletion(-)
> >> 
> >> diff --git a/meta-oe/recipes-connectivity/gateone/gateone_git.bb b/meta-oe/recipes-connectivity/gateone/gateone_git.bb
> >> index 652876f..8133cf9 100644
> >> --- a/meta-oe/recipes-connectivity/gateone/gateone_git.bb
> >> +++ b/meta-oe/recipes-connectivity/gateone/gateone_git.bb
> >> @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ee5b168fc7de89a0cadc49e27830aa2c"
> >> PR = "r9"
> >> 
> >> PV = "1.1"
> >> -SRCREV = "bb74e1095adb66b04b51ed6ff10ae0aa96afdd46"
> >> +SRCREV = "ea5db3dcb3bbbe445ae6d1a5611c1f8d547c57b9"
> > 
> > I'll at least bump PR in this one.
> 
> Wait, what? Isn't PRSERV mandatory nowadays?

Yes but for different SRCREV I would like to see it in something more
stable then PRSERV (e.g. to be able to compare .ipk files from different
builders and see which one has this newer SRCREV.)

Ideally add SRCPV to PV :).

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [meta-oe][PATCH 5/8] nodejs4: reinstate installing all the files
  2013-04-10 16:14 ` [meta-oe][PATCH 5/8] nodejs4: reinstate installing all the files Koen Kooi
@ 2013-04-11  9:29   ` Martin Jansa
  2013-04-11 10:18     ` Koen Kooi
  0 siblings, 1 reply; 16+ messages in thread
From: Martin Jansa @ 2013-04-11  9:29 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

[-- Attachment #1: Type: text/plain, Size: 2271 bytes --]

On Wed, Apr 10, 2013 at 06:14:19PM +0200, Koen Kooi wrote:
> Cloud9 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.
> 
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
>  meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb | 18 +++++++++++++++---
>  1 file changed, 15 insertions(+), 3 deletions(-)
> 
> diff --git a/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb b/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
> index 522b539..58ca135 100644
> --- a/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
> +++ b/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
> @@ -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"

nodejs4-native fails here:
| mv: cannot stat
`/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/x86_64-linux/nodejs4-native/0.4.12-r0/image/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/node':
No such file or directory
| ERROR: Function failed: do_install (see
/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/x86_64-linux/nodejs4-native/0.4.12-r0/temp/log.do_install.6513
for further information)


> -- 
> 1.8.1.4
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [meta-oe][PATCH 1/8] nodejs: add 0.8.18
  2013-04-10 16:14 [meta-oe][PATCH 1/8] nodejs: add 0.8.18 Koen Kooi
                   ` (6 preceding siblings ...)
  2013-04-10 16:14 ` [meta-oe][PATCH 8/8] cloud9 bbappend: add EnvironmentFile Koen Kooi
@ 2013-04-11  9:47 ` Martin Jansa
  2013-04-11 10:46   ` Koen Kooi
  7 siblings, 1 reply; 16+ messages in thread
From: Martin Jansa @ 2013-04-11  9:47 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

[-- Attachment #1: Type: text/plain, Size: 6121 bytes --]

On Wed, Apr 10, 2013 at 06:14:15PM +0200, Koen Kooi wrote:
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>

Replying on first, because there isn't any cover letter :).

I've merged 1/8 (from previous version with fix for dash and dropped
RDEPENDS_virtclass-native), 7/8 and 8/8 (2/8 was already there)

3/8, 4/8, 5/8 have some feedback and 6/8 depends on 5/8 afaik

Now jenkins is running another clean build for PN-systemd removal..

> ---
>  ...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
> 
> diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch
> new file mode 100644
> index 0000000..6268d69
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch
> @@ -0,0 +1,60 @@
> +From bf701e7cb3616631a354ed9ecbed6dd16f60c60d Mon Sep 17 00:00:00 2001
> +From: Koen Kooi <koen@dominion.thruhere.net>
> +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 <raj.khem@gmail.com>
> +
> +Upstream-Status: Forwarded
> +
> +Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> +---
> + 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
> +
> diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb b/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb
> new file mode 100644
> index 0000000..4c4a18c
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb
> @@ -0,0 +1,42 @@
> +DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript"
> +HOMEPAGE = "http://nodejs.org"
> +LICENSE = "MIT & BSD"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=95a589a3257ab7dfe37d8a8379e3c72d"
> +
> +DEPENDS = "openssl"
> +
> +SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz \
> +           file://0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch \
> +"
> +SRC_URI[md5sum] = "25ed6aa5710ac46b867ff3f17a4da1d6"
> +SRC_URI[sha256sum] = "1d63dd42f9bd22f087585ddf80a881c6acbe1664891b1dda3b71306fe9ae00f9"
> +
> +S = "${WORKDIR}/node-v${PV}"
> +
> +# v8 errors out if you have set CCACHE
> +CCACHE = ""
> +
> +ARCHFLAGS_arm = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--with-arm-float-abi=hard', '--with-arm-float-abi=softfp', d)}"
> +ARCHFLAGS ?= ""
> +
> +# Node is way too cool to use proper autotools, so we install two wrappers to forcefully inject proper arch cflags to workaround gypi
> +do_configure () {
> +  export LD="${CXX}"
> +
> +  ./configure --prefix=${prefix} --without-snapshot ${ARCHFLAGS}
> +}
> +
> +do_compile () {
> +  export LD="${CXX}"
> +  make BUILDTYPE=Release
> +}
> +
> +do_install () {
> +  DESTDIR=${D} oe_runmake install
> +}
> +
> +RDEPENDS_${PN} = "curl python-shell python-datetime python-subprocess python-crypt python-textutils python-netclient "
> +RDEPENDS_${PN}_virtclass-native = "curl-native python-native"
> +
> +FILES_${PN} += "${libdir}/node/wafadmin ${libdir}/node_modules ${libdir}/dtrace"
> +BBCLASSEXTEND = "native"
> -- 
> 1.8.1.4
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [meta-oe][PATCH 5/8] nodejs4: reinstate installing all the files
  2013-04-11  9:29   ` Martin Jansa
@ 2013-04-11 10:18     ` Koen Kooi
  0 siblings, 0 replies; 16+ messages in thread
From: Koen Kooi @ 2013-04-11 10:18 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-devel


Op 11 apr. 2013, om 11:29 heeft Martin Jansa <martin.jansa@gmail.com> het volgende geschreven:

> On Wed, Apr 10, 2013 at 06:14:19PM +0200, Koen Kooi wrote:
>> Cloud9 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.
>> 
>> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
>> ---
>> meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb | 18 +++++++++++++++---
>> 1 file changed, 15 insertions(+), 3 deletions(-)
>> 
>> diff --git a/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb b/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
>> index 522b539..58ca135 100644
>> --- a/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
>> +++ b/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
>> @@ -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"
> 
> nodejs4-native fails here:
> | mv: cannot stat
> `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/x86_64-linux/nodejs4-native/0.4.12-r0/image/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/node':
> No such file or directory
> | ERROR: Function failed: do_install (see
> /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/x86_64-linux/nodejs4-native/0.4.12-r0/temp/log.do_install.6513
> for further information)

I'll have a look at that, thanks!


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [meta-oe][PATCH 1/8] nodejs: add 0.8.18
  2013-04-11  9:47 ` [meta-oe][PATCH 1/8] nodejs: add 0.8.18 Martin Jansa
@ 2013-04-11 10:46   ` Koen Kooi
  0 siblings, 0 replies; 16+ messages in thread
From: Koen Kooi @ 2013-04-11 10:46 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-devel


Op 11 apr. 2013, om 11:47 heeft Martin Jansa <martin.jansa@gmail.com> het volgende geschreven:

> On Wed, Apr 10, 2013 at 06:14:15PM +0200, Koen Kooi wrote:
>> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> 
> Replying on first, because there isn't any cover letter :).
> 
> I've merged 1/8 (from previous version with fix for dash and dropped
> RDEPENDS_virtclass-native), 7/8 and 8/8 (2/8 was already there)
> 
> 3/8, 4/8, 5/8 have some feedback and 6/8 depends on 5/8 afaik

Hmm, I sent v2 yesterday, but it seems the list rejected them, resending those. Then I'll rebase and look at v3

> 
> Now jenkins is running another clean build for PN-systemd removal..
> 
>> ---
>> ...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
>> 
>> diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch
>> new file mode 100644
>> index 0000000..6268d69
>> --- /dev/null
>> +++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch
>> @@ -0,0 +1,60 @@
>> +From bf701e7cb3616631a354ed9ecbed6dd16f60c60d Mon Sep 17 00:00:00 2001
>> +From: Koen Kooi <koen@dominion.thruhere.net>
>> +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 <raj.khem@gmail.com>
>> +
>> +Upstream-Status: Forwarded
>> +
>> +Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
>> +---
>> + 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
>> +
>> diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb b/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb
>> new file mode 100644
>> index 0000000..4c4a18c
>> --- /dev/null
>> +++ b/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb
>> @@ -0,0 +1,42 @@
>> +DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript"
>> +HOMEPAGE = "http://nodejs.org"
>> +LICENSE = "MIT & BSD"
>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=95a589a3257ab7dfe37d8a8379e3c72d"
>> +
>> +DEPENDS = "openssl"
>> +
>> +SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz \
>> +           file://0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch \
>> +"
>> +SRC_URI[md5sum] = "25ed6aa5710ac46b867ff3f17a4da1d6"
>> +SRC_URI[sha256sum] = "1d63dd42f9bd22f087585ddf80a881c6acbe1664891b1dda3b71306fe9ae00f9"
>> +
>> +S = "${WORKDIR}/node-v${PV}"
>> +
>> +# v8 errors out if you have set CCACHE
>> +CCACHE = ""
>> +
>> +ARCHFLAGS_arm = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--with-arm-float-abi=hard', '--with-arm-float-abi=softfp', d)}"
>> +ARCHFLAGS ?= ""
>> +
>> +# Node is way too cool to use proper autotools, so we install two wrappers to forcefully inject proper arch cflags to workaround gypi
>> +do_configure () {
>> +  export LD="${CXX}"
>> +
>> +  ./configure --prefix=${prefix} --without-snapshot ${ARCHFLAGS}
>> +}
>> +
>> +do_compile () {
>> +  export LD="${CXX}"
>> +  make BUILDTYPE=Release
>> +}
>> +
>> +do_install () {
>> +  DESTDIR=${D} oe_runmake install
>> +}
>> +
>> +RDEPENDS_${PN} = "curl python-shell python-datetime python-subprocess python-crypt python-textutils python-netclient "
>> +RDEPENDS_${PN}_virtclass-native = "curl-native python-native"
>> +
>> +FILES_${PN} += "${libdir}/node/wafadmin ${libdir}/node_modules ${libdir}/dtrace"
>> +BBCLASSEXTEND = "native"
>> -- 
>> 1.8.1.4
>> 
>> 
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> 
> -- 
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com




^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-04-11 11:04 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-10 16:14 [meta-oe][PATCH 1/8] nodejs: add 0.8.18 Koen Kooi
2013-04-10 16:14 ` [meta-oe][PATCH 2/8] Revert "cloud9: add EnvironmentFile" Koen Kooi
2013-04-10 16:14 ` [meta-oe][PATCH 3/8] python-tornado: update to top of 2.2 branch Koen Kooi
2013-04-10 16:23   ` Paul Eggleton
2013-04-10 16:14 ` [meta-oe][PATCH 4/8] gateone: fix html5 feature check Koen Kooi
2013-04-10 22:04   ` Martin Jansa
2013-04-11  5:33     ` Koen Kooi
2013-04-11  9:28       ` Martin Jansa
2013-04-10 16:14 ` [meta-oe][PATCH 5/8] nodejs4: reinstate installing all the files Koen Kooi
2013-04-11  9:29   ` Martin Jansa
2013-04-11 10:18     ` Koen Kooi
2013-04-10 16:14 ` [meta-oe][PATCH 6/8] cloud9: use node4 to build o3-xml binary Koen Kooi
2013-04-10 16:14 ` [meta-oe][PATCH 7/8] cloud9: add autorestart on crash Koen Kooi
2013-04-10 16:14 ` [meta-oe][PATCH 8/8] cloud9 bbappend: add EnvironmentFile Koen Kooi
2013-04-11  9:47 ` [meta-oe][PATCH 1/8] nodejs: add 0.8.18 Martin Jansa
2013-04-11 10:46   ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.