[Pkg-javascript-devel] Node app requiring "general" javascript library

Jonas Smedegaard dr at jones.dk
Thu Oct 13 18:41:18 UTC 2011


On 11-10-13 at 08:22pm, David Paleino wrote:
> as you might have noticed, I'm packaging a bunch of NodeJS libraries 
> that I need for a specific package (tilemill). Some of these packages 
> require "underscore".
> 
> I see that we have libjs-underscore, and 
> http://search.npmjs.org/#/underscore points to the same github 
> repository as that one.
> 
> I'm testing the following snippet:
> 
> /---
> | require('underscore')
> \---
> 
> which works with other libraries I packaged, but gives an error with 
> this one. A symlink from 
> /usr/share/javascript/underscore/underscore.js to 
> /usr/lib/nodejs/underscore.js makes this work, but that would require 
> a new upload of libjs-underscore.
> 
> I'm wondering whether there is an alternative approach I could use, 
> without uploading a new libjs-underscore?

Hmm - seems to me that you've revealed a bug in my packaging.

I don't think it is wise to circumvent it - please do fix 
libjs-underscore instead (or, if e.g. CDBS is too discouraging, wait for 
me to do it).


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20111013/97df4609/attachment.pgp>


More information about the Pkg-javascript-devel mailing list