GNOME Bugzilla – Bug 707513
Non-free jsmin.py
Last modified: 2013-12-01 22:53:01 UTC
The bundled jsmin.py has what's generally considered a non-free license (with the "evil" clause - https://bugzilla.redhat.com/show_bug.cgi?id=455507), as discussed previously on the devel list (http://permalink.gmane.org/gmane.comp.web.bluefish.devel/4978). In Fedora we're using an alternative implementation from google (https://raw.github.com/v8/v8/master/tools/jsmin.py), which has the advantage of not needing any strings changes in the main application. An alternative possibility could be slimit, which apparently does a better job: http://pythonhosted.org/slimit/ http://www.topdog.za.net/2012/04/30/python-modules-you-should-know:-slimit/
slimit seems like a nice solution. should be fixed before the next release.
(In reply to comment #0) > In Fedora we're using an alternative implementation from google > (https://raw.github.com/v8/v8/master/tools/jsmin.py), which has the advantage > of not needing any strings changes in the main application. This version actually does not work with Bluefish. The previous version of jsmin.py in Bluefish has been replaced with a version with a MIT license. This will be included with the 2.2.5 release. http://sourceforge.net/p/bluefish/code/HEAD/tree/trunk/bluefish/data/jsmin.py