[Debian-med-packaging] Last step NanoPlot

Étienne Mollier etienne.mollier at mailoo.org
Fri May 1 12:50:17 BST 2020


olivier sallou, on 2020-05-01 08:31:42 +0200:
> On Thu, 2020-04-30 at 19:59 +0200, Étienne Mollier wrote:
> > Andreas Tille, on 2020-04-30 11:30:42 +0200:
> > > Thank you for your investigation into this topic.  I have
> > > injected
> > > 
> > >    https://salsa.debian.org/med-team/plotly-orca
> > > 
> > > but I need to admit that I have to admit I have no idea how to
> > > build
> > > JavaScript packages.  Nilesh, could you lend some helping hand?
> > > I consider the package quite interesting in any case - so why not
> > > packaging it if its needed for full functionality of NanoPlot.
> > 
> > The last (and only) time I've been confronted to JavaScript
> > based programs, I had to call a professional JavaScript
> > developer for help.  I can review a thing or two, but fear I
> > won't be very helpful on that side; help is welcome indeed.
> 
> I have not packaged nodejs packages, but rules are related to 
> https://wiki.debian.org/Javascript/Nodejs
> 
> after quick look to code, software is a node module, and a
> /usr/bin/orca shell should be linked to
> *debian_module_path*/bin/orca.js

Hi Olivier,

Thank you for your input, at least for me it clarifies a bit how
those apps are supposed to be assembled.  Pulling that thread,
if I attempt to execute the raw JavaScript executable, I end up
with the following trace:

	$ bin/orca.js
	internal/modules/cjs/loader.js:638
	    throw err;
	    ^
	
	Error: Cannot find module 'electron'
	    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
	    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
	    at Module.require (internal/modules/cjs/loader.js:692:17)
	    at require (internal/modules/cjs/helpers.js:25:18)
	    at Object.<anonymous> (/mnt/data/emollier/debian/plotly-orca/bin/orca.js:5:84)
	    at Module._compile (internal/modules/cjs/loader.js:778:30)
	    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
	    at Module.load (internal/modules/cjs/loader.js:653:32)
	    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
	    at Function.Module._load (internal/modules/cjs/loader.js:585:3)

At t time, said "electron" module still seems undergoing
packaging:

	https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842420

It even has its own task to follow progress towards inclusion
into Debian; there is a lot of work in perspective:

	https://wiki.debian.org/Javascript/Nodejs/Tasks/electron

I've been using the big binary blob file orca-1.3.1.AppImage,
per README's recommendation, to carry out testing with and
without plotly-orca availability while testing NanoPlot, but I
do not expect that approach to be very conform to Debian policy
for a native package.

Kind Regards,
-- 
Étienne Mollier <etienne.mollier at mailoo.org>
Fingerprint:  5ab1 4edf 63bb ccff 8b54  2fa9 59da 56fe fff3 882d
Help find cures against the Covid-19 !  Give CPU cycles:
  * Rosetta at home: https://boinc.bakerlab.org/rosetta/
  * Folding at home: https://foldingathome.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20200501/0eeaafb3/attachment.sig>


More information about the Debian-med-packaging mailing list