[Pkg-javascript-devel] node-iconv-lite little questions

Jonas Smedegaard dr at jones.dk
Tue Apr 22 20:55:12 UTC 2014


[repost to list]

Quoting Matthew Pideil (2014-04-22 21:11:16)
> The generation scripts of these tables are in the upstream release and 
> will obviously stay in the source package, but i don't know if i have 
> to rebuild them or not.

Sounds most sensible to me to rebuild.  Is that a problem?


> The other problem is that these generation scripts uses file hosted by
> someone, e.g
> iconv-lite-0.2.11/generation/generate-big5-table.js:
>  var cp950_b2u = {host:'moztw.org',path:'/docs/big5/table/cp950-b2u.txt'},
>     cp950_u2b = {host:'moztw.org',path:'/docs/big5/table/cp950-u2b.txt'},
>     cp950_moz18_b2u = {host:'moztw.org',path:'/docs/big5/table/moz18-b2u.txt'};
> 
> What am i supposed to do whith this ?

If you mean that the resulting code has a host embedded, then I can 
imagine no other sensible approach than shipping source and a script to 
compile it, ask via debconf which host to use, and execute the script 
from postinst with (optional, defaulting to localhost) debconf response.


 - 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: 966 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20140422/f5cab928/attachment-0001.sig>


More information about the Pkg-javascript-devel mailing list