[Pkg-javascript-devel] Install npm files with node build?

Jérémy Lal kapouer at melix.org
Mon Nov 2 07:19:25 UTC 2015


2015-11-02 6:01 GMT+01:00 Joseph Huttner <jhuttner at appnexus.com>:

> Hello Jérémy,
>
> Thank you first of all for your great work packaging NodeJS for Ubuntu!
>
> I was wondering, is there a recommended way to get 'npm' installed in the
> build?  I tried uncommenting the --without-npm, and adding the npm files to
> ./deps/npm, but this seems to have no effect.  I am using the sources found
> here:
>
> https://launchpad.net/ubuntu/+source/nodejs/4.2.1~dfsg-2
>
> Let me know if there is a place you'd prefer me to ask this question
> instead of over email.
>

Hello,

(cc pkg-javascript-devel at lists.debian.org)

As you can see in debian/copyright, deps/npm/* files are removed from
nodejs tarball. That's because installing from deps/npm is not the debian
way
of distributing software in debian - instead of distributing bundled
software,
software is packaged and distributed independently when possible. There
might
be exceptions or subtler arrangements, but i don't believe it is the case
for
deps/npm.

If, for any reason, you need to include it back, you will have to:

* remove deps/npm/* from Files-Exclude in debian/copyright,
* run again mk-origtargz, use the new tarball as the new source,
* run a build, compare debian/copyright_hints to debian/copyright_newhints
  to help you not forgetting something when updating debian/copyright
  to cover the new files
* flag in debian/rules
* install...
* identify your version (4.2.1~dfsg+npm-2)

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


More information about the Pkg-javascript-devel mailing list