<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-04-26 20:57 GMT+02:00 Jonas Smedegaard <span dir="ltr"><<a href="mailto:dr@jones.dk" target="_blank">dr@jones.dk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Excerpts from Jérémy Lal's message of april 26, 2018 8:07 pm:<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br>
This goes very well with the fact N-API is stable and supported in version 10.<br>
Also upstream pays much more attention to distributors.<br>
There are good news !<br>
</blockquote>
<br></span>
That is indeed exciting news!<span class=""><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Now the bad news: i'm overwhelmed. Please help me packaging nodejs/npm.<br>
I can give directions but there is a *load of things to do...<br>
</blockquote>
<br></span>
;-(<br>
<br>
Perhaps if you can list the kinds of tasks you recognize.<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>Two tasks at hand:</div><div>- make a libnodeXX package</div><div>- a simpler one: separate documentation building in npm (the one in vcs, not the old one)</div><div><br></div><div>i've pushed the necessary flags and patch so libnode.so.XX is built and installed,</div><div>but there is much more work to do to get a proper package.</div><div>The good thing is that upstream is actively tracking ABI changes.</div><div>The bad thing is that upstream doesn't offer official support for shared lib builds.</div><div><br></div><div>A side effect of distributing a nodejs package linked against a libnode.so.XX</div><div>lib is the multiarch support it would bring altogether.</div><div>It would also simplify building c++ nodejs modules - the dh-nodejs thing would</div><div>become useless.</div><div><br></div><div>Jérémy</div><div><br></div></div></div></div>