Bug 1257749 - Please provide sources for highlight.js
Summary: Please provide sources for highlight.js
Keywords:
Status: NEW
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 4.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nobody
QA Contact: Ruediger Landmann
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-27 20:30 UTC by Raphaël Hertzog
Modified: 2022-04-26 19:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Raphaël Hertzog 2015-08-27 20:30:05 UTC
Same issue as reported in #1062109 except this time for highlight.js.

Publican ships datadir/Common_Content/common-db5/en-US/scripts/highlight.js/highlight.pack.js which is a minified javascript file. Those are not "source files" since they are the result of minifier against source files.

I'd like you to provide the non-minified files next to the minified files because:
* one of the Publican license is the the GPL, and the GPL requires you to offer the corresponding source code and the easiest way to achieve this is to ensure you have the source code in the release tarball
* the Debian Free Software Guidelines impose the same requirement of providing the source code whatever free software license is in use and it would avoid me some trouble if this requirement was met in the upstream release tarball

Thank you!

Comment 1 Jeff Fearn 🐞 2015-08-27 22:28:57 UTC
Hi Raphaël, does Debian have a system supplied library for this like js-highlight-styles & js-highlight in fedora? If so I might see if we can just use that.

Comment 2 Raphaël Hertzog 2015-08-27 22:43:57 UTC
Yes we have:

$ apt-file show libjs-highlight.js
[...]
libjs-highlight.js: /usr/share/javascript/highlight
libjs-highlight.js: /usr/share/javascript/highlight.js/highlight.js
libjs-highlight.js: /usr/share/javascript/highlight.js/highlight.min.js
libjs-highlight.js: /usr/share/javascript/highlight.js/styles/arta.css
[...]


Note You need to log in before you can comment on or make changes to this bug.