Skip to contentSkip to conversation

nodejs: Enable system ICU support

PATCH In review Raphael Kubo da Costa 3 participants 6 messages Nov 20, 2018 – Dec 10, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nodejs: Enable system ICU support

From: Khem Raj <[email protected]>

Latest Chromium needs it during build

(cherry picked from commit d7d0cc5227d0dc7d3ff91ded9da841d65c3f3632)

---
 meta-oe/recipes-devtools/nodejs/nodejs_8.9.4.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/nodejs/nodejs_8.9.4.bb +4 -2
index 8930cd902..132ee0f2b 100644
@@ -3,7 +3,9 @@ HOMEPAGE = "http://nodejs.org"
 LICENSE = "MIT & BSD & Artistic-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=270f7477a1705f7cd3e29d3d4512915d"
 
-DEPENDS = "openssl10 zlib"
+DEPENDS = "openssl10 zlib icu"
+
+inherit pkgconfig
 
 COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*"
 COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*"
@@ -44,7 +46,7 @@ do_configure () {
     export LD="${CXX}"
     GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES
     # $TARGET_ARCH settings don't match --dest-cpu settings
-   ./configure --prefix=${prefix} --without-intl --without-snapshot --shared-openssl --shared-zlib \
+   ./configure --prefix=${prefix} --with-intl=system-icu --without-snapshot --shared-openssl --shared-zlib \
                --dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'), d)}" \
                --dest-os=linux \
                ${ARCHFLAGS}
Signature · 1 line
2.19.1
#1 lore raw

Armin

This is ok for rocko

Quoted 40 lines · Raphael Kubo da Costa

From: Khem Raj <[email protected]>

Latest Chromium needs it during build

(cherry picked from commit d7d0cc5227d0dc7d3ff91ded9da841d65c3f3632)

---
 meta-oe/recipes-devtools/nodejs/nodejs_8.9.4.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/nodejs/nodejs_8.9.4.bb +4 -3
index 8930cd902..132ee0f2b 100644
@@ -3,7 +3,9 @@ HOMEPAGE = "http://nodejs.org"
 LICENSE = "MIT & BSD & Artistic-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=270f7477a1705f7cd3e29d3d4512915d"
 
-DEPENDS = "openssl10 zlib"
+DEPENDS = "openssl10 zlib icu"
+
+inherit pkgconfig
 
 COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*"
 COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*"
@@ -44,7 +46,7 @@ do_configure () {
     export LD="${CXX}"
     GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES
     # $TARGET_ARCH settings don't match --dest-cpu settings
-   ./configure --prefix=${prefix} --without-intl --without-snapshot --shared-openssl --shared-zlib \
+   ./configure --prefix=${prefix} --with-intl=system-icu --without-snapshot --shared-openssl --shared-zlib \
                --dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'), d)}" \
                --dest-os=linux \
                ${ARCHFLAGS}
--

2.19.1

#2 lore raw

and sumo too

Quoted 45 lines · Khem Raj

Armin

This is ok for rocko

Quoted 40 lines · Raphael Kubo da Costa

From: Khem Raj <[email protected]>

Latest Chromium needs it during build

(cherry picked from commit d7d0cc5227d0dc7d3ff91ded9da841d65c3f3632)

---
 meta-oe/recipes-devtools/nodejs/nodejs_8.9.4.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/nodejs/nodejs_8.9.4.bb +4 -3
index 8930cd902..132ee0f2b 100644
@@ -3,7 +3,9 @@ HOMEPAGE = "http://nodejs.org"
 LICENSE = "MIT & BSD & Artistic-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=270f7477a1705f7cd3e29d3d4512915d"
 
-DEPENDS = "openssl10 zlib"
+DEPENDS = "openssl10 zlib icu"
+
+inherit pkgconfig
 
 COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*"
 COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*"
@@ -44,7 +46,7 @@ do_configure () {
     export LD="${CXX}"
     GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES
     # $TARGET_ARCH settings don't match --dest-cpu settings
-   ./configure --prefix=${prefix} --without-intl --without-snapshot --shared-openssl --shared-zlib \
+   ./configure --prefix=${prefix} --with-intl=system-icu --without-snapshot --shared-openssl --shared-zlib \
                --dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'), d)}" \
                --dest-os=linux \
                ${ARCHFLAGS}
--

2.19.1

#3 lore raw
In reply to Khem Raj
Quoted 8 lines · Khem Raj

Armin

This is ok for rocko

Quoted 3 lines · Raphael Kubo da Costa

From: Khem Raj <[email protected]>

Latest Chromium needs it during build

Is this keeping chromium from building. Is there anyway to have this done via PACKAGECONFIG?

- armin

Quoted 36 lines
Quoted 36 lines

(cherry picked from commit d7d0cc5227d0dc7d3ff91ded9da841d65c3f3632)

---
 meta-oe/recipes-devtools/nodejs/nodejs_8.9.4.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/nodejs/nodejs_8.9.4.bb +4 -3
index 8930cd902..132ee0f2b 100644
@@ -3,7 +3,9 @@ HOMEPAGE = "http://nodejs.org"
 LICENSE = "MIT & BSD & Artistic-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=270f7477a1705f7cd3e29d3d4512915d"
 
-DEPENDS = "openssl10 zlib"
+DEPENDS = "openssl10 zlib icu"
+
+inherit pkgconfig
 
 COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*"
 COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*"
@@ -44,7 +46,7 @@ do_configure () {
     export LD="${CXX}"
     GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES
     # $TARGET_ARCH settings don't match --dest-cpu settings
-   ./configure --prefix=${prefix} --without-intl --without-snapshot --shared-openssl --shared-zlib \
+   ./configure --prefix=${prefix} --with-intl=system-icu --without-snapshot --shared-openssl --shared-zlib \
                --dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'), d)}" \
                --dest-os=linux \
                ${ARCHFLAGS}
--

2.19.1

#5 lore raw
Quoted 8 lines · Raphael Kubo da Costa
Quoted 6 lines · akuster808 <[email protected]> writes:
Quoted 5 lines · Khem Raj

Armin

This is ok for rocko
On Tue, Nov 20, 2018 at 7:40 AM Raphael Kubo da Costa <[email protected]> wrote:

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

From: Khem Raj <[email protected]>

Latest Chromium needs it during build

Is this keeping chromium from building.

Yes.

ping...