[Pkg-javascript-devel] nodejs 10 in experimental and soon libnode

Jérémy Lal kapouer at melix.org
Thu Apr 26 20:52:43 BST 2018


2018-04-26 20:57 GMT+02:00 Jonas Smedegaard <dr at jones.dk>:

> Excerpts from Jérémy Lal's message of april 26, 2018 8:07 pm:
>
>> I just built node with --shared flag and it seems it's possible to build
>> a libnode.so.<moduleversion> now, with executable linked to it.
>> This goes very well with the fact N-API is stable and supported in
>> version 10.
>> Also upstream pays much more attention to distributors.
>> There are good news !
>>
>
> That is indeed exciting news!
>
>
> Now the bad news: i'm overwhelmed. Please help me packaging nodejs/npm.
>> I can give directions but there is a *load of things to do...
>>
>
> ;-(
>
> Perhaps if you can list the kinds of tasks you recognize.
>

Two tasks at hand:
- make a libnodeXX package
- a simpler one: separate documentation building in npm (the one in vcs,
not the old one)

i've pushed the necessary flags and patch so libnode.so.XX is built and
installed,
but there is much more work to do to get a proper package.
The good thing is that upstream is actively tracking ABI changes.
The bad thing is that upstream doesn't offer official support for shared
lib builds.

A side effect of distributing a nodejs package linked against a
libnode.so.XX
lib is the multiarch support it would bring altogether.
It would also simplify building c++ nodejs modules - the dh-nodejs thing
would
become useless.

Jérémy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20180426/935075f7/attachment-0001.html>


More information about the Pkg-javascript-devel mailing list