Should libjs-graphlib(-dot), libjs-dagre(-d3) be separate packages?

Rebecca N. Palmer rebecca_palmer at zoho.com
Sat Sep 23 14:33:57 UTC 2017


I am working on the Theano package, which contains embedded copies of 
the Javascript modules dagre-d3, dagre, graphlib-dot and graphlib.

All 4 of these are Expat-licensed and have the same upstream author, 
https://github.com/cpettitt

The copies in upstream Theano are minified; the Debian package currently 
has the concatenated-but-mostly-not-minified form in 
debian/missing-sources.  I was planning to replace this with the full 
source in the same place, when I noticed that 3 of the 4 are also used 
by other Debian packages, suggesting that it would be better to package 
them separately:

firefox(-esr), icedove - embed dagre-d3.js (in 
(mozilla/)devtools/client/shared/vendor)
ssreflect - embeds dagre.js (in htmldoc/js)
snakemake - fetches dagre-d3.js from upstream website (in 
snakemake/gui.html)

As their build process embeds some dependencies, dagre-d3.js is actually 
dagre-d3+dagre+graphlib+lodash (lodash already has a Debian package) and 
dagre.js is actually dagre+graphlib+lodash.




More information about the pkg-mozilla-maintainers mailing list