Github messages for voidlinux
 help / color / mirror / Atom feed
From: MIvanchev <MIvanchev@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] nodejs: update to 20.13.1
Date: Thu, 23 May 2024 14:48:07 +0200	[thread overview]
Message-ID: <20240523124807.3EE6F28884@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50485@inbox.vuxu.org>

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

There is an updated pull request by MIvanchev against master on the void-packages repository

https://github.com/MIvanchev/void-packages nodejs
https://github.com/void-linux/void-packages/pull/50485

[WIP] nodejs: update to 20.13.1
#### Testing the changes
- I tested the changes in this PR: **NO**


A patch file from https://github.com/void-linux/void-packages/pull/50485.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nodejs-50485.patch --]
[-- Type: text/x-diff, Size: 5256 bytes --]

From 500f1b76b266254f7845529b8da5b6f1bffca7be Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 23 May 2024 14:21:06 +0200
Subject: [PATCH 1/4] nodejs: update to 20.13.1

---
 srcpkgs/nodejs/patches/cross-aarch64.patch | 39 +++-------------------
 srcpkgs/nodejs/template                    |  4 +--
 2 files changed, 7 insertions(+), 36 deletions(-)

diff --git a/srcpkgs/nodejs/patches/cross-aarch64.patch b/srcpkgs/nodejs/patches/cross-aarch64.patch
index fa05cb15813e89..137835c699df25 100644
--- a/srcpkgs/nodejs/patches/cross-aarch64.patch
+++ b/srcpkgs/nodejs/patches/cross-aarch64.patch
@@ -1,40 +1,11 @@
-From 6bdf9dc3ec7dbff00acef081f4e3dd3e061fd744 Mon Sep 17 00:00:00 2001
-From: Ben Noordhuis <info@bnoordhuis.nl>
-Date: Tue, 6 Dec 2022 11:27:49 +0100
-Subject: [PATCH] build: fix arm64 cross-compilation
-
-Commit 938212f added -msign-return-address=all to _all_ cflags but that
-is wrong when cross-compiling, it should only be added to the target's
-cflags.
-
-Fixes: https://github.com/nodejs/node/issues/42888
----
- configure.py | 2 --
- node.gyp     | 3 +++
- 2 files changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/configure.py b/configure.py
-index 40e0395e..9de3148f 100755
---- a/configure.py
-+++ b/configure.py
-@@ -1294,9 +1294,7 @@ def configure_node(o):
- 
-   o['variables']['want_separate_host_toolset'] = int(cross_compiling)
- 
--  # Enable branch protection for arm64
-   if target_arch == 'arm64':
--    o['cflags']+=['-msign-return-address=all']
-     o['variables']['arm_fpu'] = options.arm_fpu or 'neon'
- 
-   if options.node_snapshot_main is not None:
 diff --git a/node.gyp b/node.gyp
-index cf52281b..5218d941 100644
+index 5abbad6c6f..96eedf1b24 100644
 --- a/node.gyp
 +++ b/node.gyp
-@@ -112,6 +112,9 @@
-     },
- 
-     'conditions': [
+@@ -481,6 +481,9 @@
+               }],
+           ],
+       }],
 +      ['target_arch=="arm64"', {
 +          'cflags': ['-msign-return-address=all'],  # Pointer authentication.
 +      }],
diff --git a/srcpkgs/nodejs/template b/srcpkgs/nodejs/template
index 33d4fd11ad8a9e..69304162ff7184 100644
--- a/srcpkgs/nodejs/template
+++ b/srcpkgs/nodejs/template
@@ -1,6 +1,6 @@
 # Template file for 'nodejs'
 pkgname=nodejs
-version=18.19.1
+version=20.13.1
 revision=1
 hostmakedepends="which pkg-config python3-setuptools"
 _make_depends="zlib-devel $(vopt_if icu icu-devel)
@@ -15,7 +15,7 @@ license="MIT"
 homepage="https://nodejs.org/"
 changelog="https://raw.githubusercontent.com/nodejs/node/main/doc/changelogs/CHANGELOG_V${version%%.*}.md"
 distfiles="https://nodejs.org/dist/v${version}/node-v${version}.tar.xz"
-checksum=090f96a2ecde080b6b382c6d642bca5d0be4702a78cb555be7bf02b20bd16ded
+checksum=791786a09023241cb7e4f7d65ec90aa924bb39141ff7bb6d5a1dedf7def4b4e7
 python_version=3
 
 build_options="ssl libuv icu nghttp2 cares brotli"

From b78867f0614728d71c826df90475926f593a05dc Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 23 May 2024 14:24:32 +0200
Subject: [PATCH 2/4] Rocket.Chat: rebuild for new nodejs version

---
 srcpkgs/Rocket.Chat-Desktop/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/Rocket.Chat-Desktop/template b/srcpkgs/Rocket.Chat-Desktop/template
index d7ecb67b7473f3..96a03340478bb4 100644
--- a/srcpkgs/Rocket.Chat-Desktop/template
+++ b/srcpkgs/Rocket.Chat-Desktop/template
@@ -1,7 +1,7 @@
 # Template file for 'Rocket.Chat-Desktop'
 pkgname=Rocket.Chat-Desktop
 version=3.8.7
-revision=2
+revision=3
 _electron_ver=19
 hostmakedepends="yarn nodejs python3 pkg-config app-builder"
 makedepends="electron${_electron_ver} libvips-devel"

From 84cceab8d22fb90cb575be9f674235877b9482eb Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 23 May 2024 14:26:40 +0200
Subject: [PATCH 3/4] Signal-Desktop: rebuild for new nodejs version

---
 srcpkgs/Signal-Desktop/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/Signal-Desktop/template b/srcpkgs/Signal-Desktop/template
index cba44a86ff3d4c..d216e08c9004ad 100644
--- a/srcpkgs/Signal-Desktop/template
+++ b/srcpkgs/Signal-Desktop/template
@@ -1,7 +1,7 @@
 # Template file for 'Signal-Desktop'
 pkgname=Signal-Desktop
 version=7.10.0
-revision=1
+revision=2
 # Signal officially only supports x86_64
 # x86_64-musl could potentially work based on the Alpine port:
 # https://git.alpinelinux.org/aports/tree/testing/signal-desktop

From a00c1dc18c252e942167a5bc7add2384588dba62 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 23 May 2024 14:27:18 +0200
Subject: [PATCH 4/4] ansible-language-server: rebuild for new nodejs version

---
 srcpkgs/ansible-language-server/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ansible-language-server/template b/srcpkgs/ansible-language-server/template
index ef2bb4fef754a5..2a8a2cf610a9e7 100644
--- a/srcpkgs/ansible-language-server/template
+++ b/srcpkgs/ansible-language-server/template
@@ -1,7 +1,7 @@
 # Template file for 'ansible-language-server'
 pkgname=ansible-language-server
 version=1.2.1
-revision=1
+revision=2
 hostmakedepends="nodejs"
 depends="nodejs"
 short_desc="Ansible Language Server"

  parent reply	other threads:[~2024-05-23 12:48 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-23 12:22 [PR PATCH] " MIvanchev
2024-05-23 12:24 ` [PR PATCH] [Updated] " MIvanchev
2024-05-23 12:35 ` leahneukirchen
2024-05-23 12:48 ` MIvanchev [this message]
2024-05-23 12:52 ` [PR PATCH] [Updated] " MIvanchev
2024-05-23 15:06 ` MIvanchev
2024-05-23 19:10 ` MIvanchev
2024-05-23 20:38 ` MIvanchev
2024-05-23 21:27 ` MIvanchev
2024-05-23 21:29 ` MIvanchev
2024-05-24  8:05 ` MIvanchev
2024-05-24  8:06 ` MIvanchev
2024-05-24  8:08 ` MIvanchev
2024-05-24 10:02 ` MIvanchev
2024-05-24 10:11 ` MIvanchev
2024-05-24 14:11 ` MIvanchev
2024-05-24 14:15 ` MIvanchev
2024-05-25  9:00 ` MIvanchev
2024-05-25 10:37 ` MIvanchev
2024-05-25 11:06 ` MIvanchev
2024-05-25 12:50 ` MIvanchev
2024-05-25 14:08 ` leahneukirchen
2024-05-25 14:10 ` leahneukirchen
2024-05-30  9:40 ` [PR PATCH] [Updated] " MIvanchev
2024-05-30 11:59 ` MIvanchev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240523124807.3EE6F28884@inbox.vuxu.org \
    --to=mivanchev@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).