Xpra: Ticket #890: minified (non-free) javascripts in source

"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.



Tue, 16 Jun 2015 09:05:50 GMT - Antoine Martin: type, milestone changed

Not a high priority and I can't seem to find how to do this from jhbuild or rpmbuild anyway.


Tue, 26 Jan 2016 18:31:30 GMT - jonathan.underwood:

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.


Tue, 26 Jan 2016 21:46:14 GMT - onlyjob:

Minification is harmful and unnecessary: https://wiki.debian.org/onlyjob/no-minification


Wed, 27 Jan 2016 15:32:13 GMT - jonathan.underwood:

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.


Tue, 12 Jul 2016 16:51:50 GMT - Antoine Martin: milestone changed

Milestone renamed


Sun, 21 Aug 2016 09:55:49 GMT - Antoine Martin: milestone changed

Milestone renamed


Thu, 20 Oct 2016 03:50:05 GMT - Antoine Martin: owner, status, milestone changed

Mostly complete, see ticket:1341#comment:1.


Thu, 17 Nov 2016 07:01:30 GMT - Antoine Martin: status changed; resolution set

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..)


Sat, 23 Jan 2021 05:08:57 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/890