mbox series

[RFC,v2,0/3] lts mixin: kirkstone/nodejs proposal

Message ID cover.1704728801.git.antonio.oliveira@konsulko.com
Headers show
Series lts mixin: kirkstone/nodejs proposal | expand

Message

António Oliveira Jan. 8, 2024, 3:58 p.m. UTC
Hi all,

This patch contains my proposal for an mixin layer that adds nodejs v18
to kirkstone.

Kirkstone ships with nodejs-16, whose maintenance window ended in
October 2023 (a).

Kirkstone will be supported until April 2026 and it would be nice to have
some level of support for a maintained version of nodejs during that time
window.

This proposal seeks to address that by adding nodejs-18, which will be
maintained until April 2025.

The recipes for nodejs-18 are taken from Mickledore

The variable NODE_VERSION is set from the layer configuration to select
nodejs-18. It can be overridden in case anyone wants to use any other.

This is my first attempt at sending a patch upstream with git send-email
so any comments or suggestions for improvement are welcome. That's also
the reason why I marked this as an RFC.

Revisions of this proposal:
v1:
  * Initial attempt at this proposal with nodejs-18 and nodejs-20

v2
  * split into smaller commits
  * included José's suggestion of adding the dependency on the
  "openembedded-layer" due to default configuration settings of nodejs.
  * Updating to the latest nodejs-20 recipes forced me to also backport
  icu_74-1 from master. Sadly this broke a build of lvgl and I opted to
  keep nodejs-20 on the backburner for now.


Cheers,
António

António Oliveira (3):
  initial commit: license, readme, conf
  add nodejs-18 from mickledore
  add layer configuration for default node

 COPYING.MIT                                   |  17 ++
 README                                        |  22 +++
 conf/layer.conf                               |  21 ++
 .../nodejs/nodejs-oe-cache-18.18/oe-npm-cache |  77 ++++++++
 .../nodejs/nodejs-oe-cache-native_18.18.bb    |  21 ++
 ...e-running-gyp-files-for-bundled-deps.patch |  51 +++++
 .../nodejs/0001-Using-native-binaries.patch   |  77 ++++++++
 ...-liftoff-Correct-function-signatures.patch |  85 ++++++++
 ...Use-32bit-cast-for-operand-on-mips32.patch |  34 ++++
 ...4-Do-not-use-mminimal-toc-with-clang.patch |  23 +++
 .../0004-v8-don-t-override-ARM-CFLAGS.patch   | 102 ++++++++++
 .../nodejs/nodejs/big-endian.patch            |  18 ++
 .../nodejs/nodejs/libatomic.patch             |  21 ++
 .../nodejs/nodejs/mips-less-memory.patch      |  37 ++++
 recipes-devtools/nodejs/nodejs/run-ptest      |   3 +
 .../nodejs/nodejs/system-c-ares.patch         |  24 +++
 recipes-devtools/nodejs/nodejs_18.18.2.bb     | 185 ++++++++++++++++++
 17 files changed, 818 insertions(+)
 create mode 100644 COPYING.MIT
 create mode 100644 README
 create mode 100644 conf/layer.conf
 create mode 100755 recipes-devtools/nodejs/nodejs-oe-cache-18.18/oe-npm-cache
 create mode 100644 recipes-devtools/nodejs/nodejs-oe-cache-native_18.18.bb
 create mode 100644 recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch
 create mode 100644 recipes-devtools/nodejs/nodejs/0001-Using-native-binaries.patch
 create mode 100644 recipes-devtools/nodejs/nodejs/0001-liftoff-Correct-function-signatures.patch
 create mode 100644 recipes-devtools/nodejs/nodejs/0001-mips-Use-32bit-cast-for-operand-on-mips32.patch
 create mode 100644 recipes-devtools/nodejs/nodejs/0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch
 create mode 100644 recipes-devtools/nodejs/nodejs/0004-v8-don-t-override-ARM-CFLAGS.patch
 create mode 100644 recipes-devtools/nodejs/nodejs/big-endian.patch
 create mode 100644 recipes-devtools/nodejs/nodejs/libatomic.patch
 create mode 100644 recipes-devtools/nodejs/nodejs/mips-less-memory.patch
 create mode 100755 recipes-devtools/nodejs/nodejs/run-ptest
 create mode 100644 recipes-devtools/nodejs/nodejs/system-c-ares.patch
 create mode 100644 recipes-devtools/nodejs/nodejs_18.18.2.bb