Search Criteria
Package Details: libnode 23.11.1-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/libnode.git (read-only, click to copy) |
|---|---|
| Package Base: | libnode |
| Description: | libnode.so from nodejs-shared |
| Upstream URL: | https://nodejs.org/ |
| Licenses: | MIT |
| Conflicts: | nodejs-shared |
| Submitter: | petronny |
| Maintainer: | petronny |
| Last Packager: | petronny |
| Votes: | 0 |
| Popularity: | 0.000000 |
| First Submitted: | 2024-08-14 03:31 (UTC) |
| Last Updated: | 2025-05-26 13:00 (UTC) |
Dependencies (11)
- brotli (brotli-gitAUR)
- c-ares (c-ares-gitAUR)
- icu (icu-gitAUR)
- libnghttp2 (libnghttp2-gitAUR)
- libnghttp3 (nghttp3-gitAUR)
- libngtcp2 (libngtcp2-gitAUR)
- libuv (libuv-gitAUR)
- openssl (openssl-gitAUR, openssl-aegisAUR, openssl-staticAUR)
- zlib (zlib-gitAUR, zlib-ng-compat-gitAUR, zlib-ng-compat)
- procps-ng (procps-ng-gitAUR) (make)
- python (make)
Latest Comments
petronny commented on 2024-04-01 08:04 (UTC)
@pekkarr Updated.
Thank you for your explanation. I see the point.
pekkarr commented on 2024-03-31 17:06 (UTC)
@petronny Thanks, I'll make
r-v8depend onlibnodeinstead ofv8-r. This might take a day or two.There is still one issue with the packaging. The r-v8 PKGBUILD has to hardcode the include path into the
V8_PKG_CFLAGSvariable. In order to make it work with bothlibnodeandnodejs-shared, the headers must be available in the same location. Easiest way to achieve this would be to create a symlink/usr/include/libnodepointing tonodein thenodejs-sharedpackage.With this added to
nodejs-shared, the headers are always available in/usr/include/libnodewhich makesr-v8work with both packages.As for why the official
nodejsbuilds from a specific commit, that's a legacy practice since before pacman6.1.0makepkg couldn't calculate a checksum for a git checkout, which made building from a git tag potentially unreproducible because upstream could just move the tag to a different commit and makepkg wasn't able to notice it. Building from a specific commit avoided that issue since commit IDs are stable. With pacman6.1.0this is no longer necessary, as the checksum of the git checkout at the tag can be recorded.petronny commented on 2024-03-31 14:40 (UTC)
@pekkarr I'll keep
nodejs-sharedfor a while, 6 months if possible. If nobody uses it then I'll remove it.Headers are now installed to
/usr/include/libnodeinlibnode.Done. No idea why the PKGBUILD of
nodejsin[extra]is still using this variable.pekkarr commented on 2024-03-31 13:10 (UTC) (edited on 2024-03-31 13:17 (UTC) by pekkarr)
@petronny As discussed in r-v8 comments, I think it would be better to only have the
libnodepackage withoutnodejs-shared, since the latter is essentially a duplicate of the officialnodejs. So this package should be resubmitted aslibnodewithpackage_nodejs-sharedremoved, and then a merge request should be submitted for mergingnodejs-sharedintolibnode./usr/includeshould not be deleted inlibnode, but moved instead to have a different name than innodejs, for example withCould you also remove the
$_commitvariable and use the version tag instead? Also please use a.tar.gzarchive instead of.zip.petronny commented on 2024-03-31 02:56 (UTC) (edited on 2024-03-31 10:48 (UTC) by petronny)
@FabioLolix This package re-enable the —shared option so it will provide libnode.so.
See https://gitlab.archlinux.org/archlinux/packaging/packages/nodejs/-/issues/1 .
@MarsSeed Please stop abusing the deletion requests. Wait a few days before issuing requests. It's quite annoying.
FabioLolix commented on 2024-03-30 22:19 (UTC)
Hello, what is the difference with repo's nodejs?