-
Notifications
You must be signed in to change notification settings - Fork 216
Description
There's an interpretation of the DFSG, the Debian Free Software Guidelines that define what can and cannot be allowed into Debian's "main" repository, which claims that minified Javascript is object code rather than source code, and that therefore shipping it as-is in a package, without its corresponding source code and without rebuilding from that source code at package build time, makes the package not comply with the DFSG's requirement of having Debian main ship all its own source code.
While I disagree with parts of that interpretation, it's an argument where I seem to be on the losing side. In that context, a while back someone filed a bug against the ola package in Debian, requesting that the package build all javascript at package build time, including things like jquery etc that are really just libraries you're using.
While I could do so myself, it would be easier if the ola build system itself did that; that way, I don't have to ensure I catch everything every time someone updates the javascript or adds some new file or some such. Also, this doesn't have to be enabled by default; e.g., you could well create a --with-closure-compiler=
and/or a --enable-javascript-build
configure-argument that would toggle the build of the javascript sources.
Thanks,