** On the reasons under the nvm
makedepend.
From @lumac0:
Making nvm a required dependency is a little intrusive if the system is using a different version manager like asdf. Requiring a specific version of node (or just node) may simplify the build.
I'm aware but nvm (as a make dependency) is needed if we want to build bruno with the same node version used by the upstream, which is what's aimed here: same node version, same electron version, etc. This node version will never be used nor stored outside of the packaging directory (please see line 34 in the previous link) and therefore won't contaminate you host with unneeded nodejs versions.
You can find the .nvmrc in the upstream repository here and the requirement for the electron version there.
Please see the related documentation on archlinux's wiki on using nvm in packaging here.
For those interested, same thing about how to build against the system's electron here.
AUR user @deejay made some modifications in the PKGBUILD I provided here to build against the latest electron and use the latest nodejs available in the archlinux repositories. His PKGBUILD can be found under the name bruno-electron
.
Please note that if you don't want the hassle of building this application, you can use the binary release from github directly from the PKGBUILD under the name bruno-bin
.
edit: formatting then using this post to pin some information.
Pinned Comments
vianney commented on 2024-03-15 16:48 (UTC) (edited on 2024-03-16 07:45 (UTC) by vianney)
** On the reasons under the
nvm
makedepend.From @lumac0:
I'm aware but nvm (as a make dependency) is needed if we want to build bruno with the same node version used by the upstream, which is what's aimed here: same node version, same electron version, etc. This node version will never be used nor stored outside of the packaging directory (please see line 34 in the previous link) and therefore won't contaminate you host with unneeded nodejs versions.
You can find the .nvmrc in the upstream repository here and the requirement for the electron version there.
Please see the related documentation on archlinux's wiki on using nvm in packaging here.
For those interested, same thing about how to build against the system's electron here.
AUR user @deejay made some modifications in the PKGBUILD I provided here to build against the latest electron and use the latest nodejs available in the archlinux repositories. His PKGBUILD can be found under the name
bruno-electron
.Please note that if you don't want the hassle of building this application, you can use the binary release from github directly from the PKGBUILD under the name
bruno-bin
.edit: formatting then using this post to pin some information.