Debian is repackaging our tarballs with Source/WebInspectorUI/Tools/PrettyPrinting/populate/jquery.min.js removed, since it is a violation of the Debian Free Software Guidelines to distribute compressed code without the original source. A straightforward solution for GTK would be to simply not distribute Source/WebInspectorUI/Tools. I doubt we need any of that for the build, anyway, right?
Correct, Source/WebInspectorUI/Tools is not needed for the WebInspectorUI project to build. They are only debugging tools. Currently only one for pretty printing. WebInspectorUI's pretty printing debugging tool just loads the jquery.min.js text for testing JavaScript pretty printing. It was chosen because jquery.min.js was already in the LayoutTests directory. We could probably replace it with any significantly complex and minified JavaScript.
Well the issue is that it is minified; Debian requires us to ship the original source, not the minified source, and build the minified source from the original source. I think Fedora requires this too; we just didn't notice. Anyway, since it's just a debugging tool that has no value in tarballs, let's just not distribute it. Problem solved. :)
Created attachment 267644 [details] Patch
Although arguably, we could say this is a false-positive, in that even though it is source code, it's not source code that's intended to be run....
Comment on attachment 267644 [details] Patch r=me
Thanks for the review. I'll wait a few days for Carlos to make sure he's OK with this.
Comment on attachment 267644 [details] Patch Yes, we only build files under UserInterface directory (and Localizations), so we don't need those files in the tarball at all.
Comment on attachment 267644 [details] Patch Clearing flags on attachment: 267644 Committed r194327: <http://trac.webkit.org/changeset/194327>
All reviewed patches have been landed. Closing bug.