[packages/nodejs] up to 24.11.0
atler
atler at pld-linux.org
Wed Oct 29 22:29:39 CET 2025
commit 4a9a3908016bc808e163290e9af9f31f76ab9d77
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Oct 28 23:15:02 2025 +0100
up to 24.11.0
cflags.patch | 78 +-----------------------------------------------------------
nodejs.spec | 16 ++++++-------
2 files changed, 9 insertions(+), 85 deletions(-)
---
diff --git a/nodejs.spec b/nodejs.spec
index 15ad1e5..60e6b45 100644
--- a/nodejs.spec
+++ b/nodejs.spec
@@ -21,20 +21,20 @@
# add-on binaries can be loaded in to without needing to be re-compiled. It
# used to be stored as hex value in earlier versions, but is now represented as
# an integer.
-%define node_module_version 127
+%define node_module_version 137
Summary: Asynchronous JavaScript Engine
Summary(pl.UTF-8): Asynchroniczny silnik JavaScriptu
Name: nodejs
-# 22.x LTS - https://github.com/nodejs/Release
-# Active start: 2024-10-29
-# Maintenance start: October 2025
-# Maintenance end: April 2027
-Version: 22.21.0
+# 24.x LTS - https://github.com/nodejs/Release
+# Active start: 2025-10-28
+# Maintenance start: October 2026
+# Maintenance end: April 2028
+Version: 24.11.0
Release: 1
License: BSD and MIT and Apache v2.0 and GPL v3
Group: Development/Languages
-Source0: https://nodejs.org/download/release/latest-v22.x/node-v%{version}.tar.xz
-# Source0-md5: e8b34bf2642250797ac3fe94669751c2
+Source0: https://nodejs.org/download/release/latest-v24.x/node-v%{version}.tar.xz
+# Source0-md5: 3c73adcfd19541813ca8249c9eccf9c2
# force node to use /usr/lib/node as the systemwide module directory
Patch0: %{name}-libpath.patch
# use /usr/lib64/node as an arch-specific module dir when appropriate
diff --git a/cflags.patch b/cflags.patch
index 0a9dfe7..8a97bb2 100644
--- a/cflags.patch
+++ b/cflags.patch
@@ -9,7 +9,7 @@
'conditions': [
['enable_lto=="true"', {
'cflags': ['<(lto)'],
-@@ -506,64 +506,6 @@
+@@ -506,56 +506,6 @@
'cflags': [ '-I/usr/local/include' ],
'ldflags': [ '-Wl,-z,wxneeded' ],
}],
@@ -23,10 +23,6 @@
- 'cflags': [ '-m64' ],
- 'ldflags': [ '-m64' ],
- }],
-- [ 'host_arch=="ppc" and OS not in "aix os400"', {
-- 'cflags': [ '-m32' ],
-- 'ldflags': [ '-m32' ],
-- }],
- [ 'host_arch=="ppc64" and OS not in "aix os400"', {
- 'conditions': [
- [ 'clang==0', {
@@ -52,10 +48,6 @@
- 'cflags': [ '-m64' ],
- 'ldflags': [ '-m64' ],
- }],
-- [ 'target_arch=="ppc" and OS not in "aix os400"', {
-- 'cflags': [ '-m32' ],
-- 'ldflags': [ '-m32' ],
-- }],
- [ 'target_arch=="ppc64" and OS not in "aix os400"', {
- 'conditions': [
- [ 'clang==0', {
@@ -86,71 +78,3 @@
master_ninja.variable("cl_" + arch, command)
cc = GetEnvironFallback(["CC_target", "CC"], cc)
---- node-v22.13.0/tools/v8_gypfiles/toolchain.gypi~ 2025-01-06 22:51:52.000000000 +0100
-+++ node-v22.13.0/tools/v8_gypfiles/toolchain.gypi 2025-02-11 10:30:08.699993924 +0100
-@@ -607,65 +607,17 @@
- v8_target_arch=="ppc")', {
- 'target_conditions': [
- ['_toolset=="host"', {
-- 'conditions': [
-- ['host_cxx_is_biarch==1', {
-- 'conditions': [
-- ['host_arch=="s390x"', {
-- 'cflags': [ '-m31' ],
-- 'ldflags': [ '-m31' ]
-- },{
-- 'cflags': [ '-m32' ],
-- 'ldflags': [ '-m32' ]
-- }],
-- ],
-- }],
-- ],
- 'xcode_settings': {
- 'ARCHS': [ 'i386' ],
- },
- }],
- ['_toolset=="target"', {
-- 'conditions': [
-- ['target_cxx_is_biarch==1', {
-- 'conditions': [
-- ['host_arch=="s390x"', {
-- 'cflags': [ '-m31' ],
-- 'ldflags': [ '-m31' ]
-- },{
-- 'cflags': [ '-m32' ],
-- 'ldflags': [ '-m32' ],
-- }],
-- ],
-- }],
-- ],
- 'xcode_settings': {
- 'ARCHS': [ 'i386' ],
- },
- }],
- ],
- }],
-- ['(OS=="linux" or OS=="android") and \
-- (v8_target_arch=="x64" or v8_target_arch=="arm64" or \
-- v8_target_arch=="ppc64" or v8_target_arch=="s390x")', {
-- 'target_conditions': [
-- ['_toolset=="host"', {
-- 'conditions': [
-- ['host_cxx_is_biarch==1', {
-- 'cflags': [ '-m64' ],
-- 'ldflags': [ '-m64' ]
-- }],
-- ],
-- }],
-- ['_toolset=="target"', {
-- 'conditions': [
-- ['target_cxx_is_biarch==1', {
-- 'cflags': [ '-m64' ],
-- 'ldflags': [ '-m64' ],
-- }],
-- ]
-- }],
-- ],
-- }],
- ['OS=="android" and v8_android_log_stdout==1', {
- 'defines': [
- 'V8_ANDROID_LOG_STDOUT',
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nodejs.git/commitdiff/2b362ece6b4c77abaadb2c4eaa56459b3df469d3
More information about the pld-cvs-commit
mailing list