Search Criteria
Package Details: libnode 22.6.0-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: | 2024-08-14 03:31 (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-staticAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compatAUR, zlib-ng-compat)
- procps-ng (procps-ng-gitAUR, busybox-coreutilsAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (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-v8
depend onlibnode
instead 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_CFLAGS
variable. In order to make it work with bothlibnode
andnodejs-shared
, the headers must be available in the same location. Easiest way to achieve this would be to create a symlink/usr/include/libnode
pointing tonode
in thenodejs-shared
package.With this added to
nodejs-shared
, the headers are always available in/usr/include/libnode
which makesr-v8
work with both packages.As for why the official
nodejs
builds from a specific commit, that's a legacy practice since before pacman6.1.0
makepkg 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.0
this 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-shared
for a while, 6 months if possible. If nobody uses it then I'll remove it.Headers are now installed to
/usr/include/libnode
inlibnode
.Done. No idea why the PKGBUILD of
nodejs
in[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
libnode
package withoutnodejs-shared
, since the latter is essentially a duplicate of the officialnodejs
. So this package should be resubmitted aslibnode
withpackage_nodejs-shared
removed, and then a merge request should be submitted for mergingnodejs-shared
intolibnode
./usr/include
should not be deleted inlibnode
, but moved instead to have a different name than innodejs
, for example withCould you also remove the
$_commit
variable and use the version tag instead? Also please use a.tar.gz
archive 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?