diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2023-02-17 21:41:51 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-02-18 13:19:36 -0800 |
| commit | c64ebfa6d81a9453640cecf10112d869be1b7140 (patch) | |
| tree | 3958337b34c7ee78f55f6fdb1152ce22b64ea951 | |
| parent | 8caa8a3d12073db307c3e9e09dfe5a3fa4070a74 (diff) | |
| download | meta-openembedded-c64ebfa6d81a9453640cecf10112d869be1b7140.tar.gz | |
nodejs: add Upstream-Status
* unfortunately all 3 have very long unclear history, I've tried to at least partially
document in commit message
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
3 files changed, 38 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch index d6e439ba22..e949c635b0 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch +++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch | |||
| @@ -3,6 +3,32 @@ From: Zuzana Svetlikova <zsvetlik@redhat.com> | |||
| 3 | Date: Thu, 27 Apr 2017 14:25:42 +0200 | 3 | Date: Thu, 27 Apr 2017 14:25:42 +0200 |
| 4 | Subject: [PATCH] Disable running gyp on shared deps | 4 | Subject: [PATCH] Disable running gyp on shared deps |
| 5 | 5 | ||
| 6 | Upstream-Status: Inappropriate [embedded specific] | ||
| 7 | |||
| 8 | Probably imported from: | ||
| 9 | https://src.fedoraproject.org/rpms/nodejs/c/41af04f2a3c050fb44628e91ac65fd225b927acb?branch=22609d8c1bfeaa21fe0057645af20b3a2ccc7f53 | ||
| 10 | which is probably based on dont-run-gyp-files-for-bundled-deps.patch added in: | ||
| 11 | https://github.com/alpinelinux/aports/commit/6662eb3199902e8451fb20dce82554ad96f796bb | ||
| 12 | |||
| 13 | We also explicitly prune some dependencies from source in the bitbake recipe: | ||
| 14 | |||
| 15 | python prune_sources() { | ||
| 16 | import shutil | ||
| 17 | |||
| 18 | shutil.rmtree(d.getVar('S') + '/deps/openssl') | ||
| 19 | if 'ares' in d.getVar('PACKAGECONFIG'): | ||
| 20 | shutil.rmtree(d.getVar('S') + '/deps/cares') | ||
| 21 | if 'brotli' in d.getVar('PACKAGECONFIG'): | ||
| 22 | shutil.rmtree(d.getVar('S') + '/deps/brotli') | ||
| 23 | if 'libuv' in d.getVar('PACKAGECONFIG'): | ||
| 24 | shutil.rmtree(d.getVar('S') + '/deps/uv') | ||
| 25 | if 'nghttp2' in d.getVar('PACKAGECONFIG'): | ||
| 26 | shutil.rmtree(d.getVar('S') + '/deps/nghttp2') | ||
| 27 | if 'zlib' in d.getVar('PACKAGECONFIG'): | ||
| 28 | shutil.rmtree(d.getVar('S') + '/deps/zlib') | ||
| 29 | } | ||
| 30 | do_unpack[postfuncs] += "prune_sources" | ||
| 31 | |||
| 6 | --- | 32 | --- |
| 7 | Makefile | 2 +- | 33 | Makefile | 2 +- |
| 8 | 1 file changed, 1 insertion(+), 1 deletion(-) | 34 | 1 file changed, 1 insertion(+), 1 deletion(-) |
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-Using-native-binaries.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-Using-native-binaries.patch index feafe38fdb..66e10a0d00 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs/0001-Using-native-binaries.patch +++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-Using-native-binaries.patch | |||
| @@ -3,6 +3,13 @@ From: Guillaume Burel <guillaume.burel@stormshield.eu> | |||
| 3 | Date: Fri, 3 Jan 2020 11:25:54 +0100 | 3 | Date: Fri, 3 Jan 2020 11:25:54 +0100 |
| 4 | Subject: [PATCH] Using native binaries | 4 | Subject: [PATCH] Using native binaries |
| 5 | 5 | ||
| 6 | Upstream-Status: Inappropriate [embedded specific] | ||
| 7 | |||
| 8 | Originally added in: | ||
| 9 | https://git.openembedded.org/meta-openembedded/commit/?id=1c8e4a679ae382f953b2e5c7a4966a4646314f3e | ||
| 10 | later extended and renamed in: | ||
| 11 | https://git.openembedded.org/meta-openembedded/commit/?id=feeb172d1a8bf010490d22b8df9448b20d9d2aed | ||
| 12 | |||
| 6 | Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com> | 13 | Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com> |
| 7 | --- | 14 | --- |
| 8 | node.gyp | 1 + | 15 | node.gyp | 1 + |
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/mips-less-memory.patch b/meta-oe/recipes-devtools/nodejs/nodejs/mips-less-memory.patch index 56e93c50cf..16776cb762 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs/mips-less-memory.patch +++ b/meta-oe/recipes-devtools/nodejs/nodejs/mips-less-memory.patch | |||
| @@ -6,6 +6,11 @@ Forwarded: https://bugs.chromium.org/p/v8/issues/detail?id=10586 | |||
| 6 | This ensures that we reserve 500M instead of 2G range for codegen | 6 | This ensures that we reserve 500M instead of 2G range for codegen |
| 7 | ensures that qemu-mips can allocate such large ranges | 7 | ensures that qemu-mips can allocate such large ranges |
| 8 | 8 | ||
| 9 | Upstream-Status: Inappropriate [embedded specific] | ||
| 10 | |||
| 11 | Imported from debian https://salsa.debian.org/js-team/nodejs/-/blob/master-12.x/debian/patches/mips-less-memory.patch | ||
| 12 | https://buildd.debian.org/status/fetch.php?pkg=nodejs&arch=mipsel&ver=12.17.0~dfsg-2&stamp=1591050388&raw=0 | ||
| 13 | |||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 10 | 15 | ||
| 11 | --- a/deps/v8/src/common/globals.h | 16 | --- a/deps/v8/src/common/globals.h |
