"html5" folder contains minified javascript (.js) and .css files that are effectively the same as pre-compiled binaries -- un-readable, non-modifiable and non-distributable in Debian.
Files in "tests/xpra/js" also contain obfuscated (minified) portions.
It is the best to avoid having minified files in source tree.
Please replace all minified files with original uncompressed ones.
Not a high priority and I can't seem to find how to do this from jhbuild or rpmbuild anyway.
Replying to antoine:
Not a high priority and I can't seem to find how to do this from jhbuild or rpmbuild anyway.
What's "this" in this context? Do you mean you can't work out how to minify a javascript source during rpmbuild? If that's the issue, this reciped might help:
BuildRequires: python-slimit .... %build ... rm -f some.minified.file.js slimit -m src/some.file.js > ./some.minified.file.js
FWIW, Fedora has similar packaging requirements to Debian in regards to this issue.
Minification is harmful and unnecessary: https://wiki.debian.org/onlyjob/no-minification
Replying to onlyjob:
Minification is harmful and unnecessary: https://wiki.debian.org/onlyjob/no-minification
While I have a lot of sympathies with the writer of that page, really it's just a page of opinions with no facts (i.e. benchmarks) to back up any of the the assertions made. Conversely, a quick google search gives various benchmarks showing advtantages of minification, with hard figures. And I say that as someone who would like to see minification practices stopped.
Milestone renamed
Milestone renamed
Mostly complete, see ticket:1341#comment:1.
Complete as of r14438 for JS and r14439 for CSS. Will follow up in #1360.
FWIW: the code generated by Broadway is hardly readable. But we can't really build it ourselves so this will have to do. Those so inclined can package it separately. It isn't even used by default right now either (and maybe we should just not load it at all..)
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/890