Red Hat Bugzilla – Bug 1028819
missing python-foo requires for pate plugins
Last modified: 2016-07-19 06:34:42 EDT
I'm sorry, I should have mentioned this before you enabled pate in the kate RPM. :-(
For all the pate plugins to work properly, the following Requires are needed:
python-pyplete (review pending)
Additionally, "js_utils" needs python-jslint, but that uses Douglas Crockford's JSLint, which is licensed under the "evil" JSON license. It contains a facility to automatically download JSLint, which may be acceptable in Fedora pending the outcome of FPC ticket #362. I'll revisit it then, but in the meantime, pate gives instructions on how to install it manually for people who want to use it.
> Additionally, "js_utils" needs python-jslint, but that uses Douglas Crockford's
> JSLint, which is licensed under the "evil" JSON license. It contains a
> facility to automatically download JSLint, which may be acceptable in Fedora
> pending the outcome of FPC ticket #362. I'll revisit it then, but in the
> meantime, pate gives instructions on how to install it manually for people who
> want to use it.
Yuck! Non-free dependencies really suck. I think in Fedora we'll want to simply rip JSLint support out of js_utils. (The "check with JSLint" action is just one of the tools it offers.)
Some alternatives for upstream to look into (which I think are all acceptably licensed, but I have only checked the claimed license, not audited every single source file and dependencies):
https://developers.google.com/closure/compiler/ (does static analysis as part of compiling)
http://pear.php.net/package/PHP_CodeSniffer (Yes, this also supports JS.)
Just as a heads up, they went and bundled jshint in what is to become 4.12. :-(
This is derivative of jslint, and thus is partially covered by the evil clause in the JSON license, even if the rest of the code is under the normal MIT. So you might want to make sure addons/kate/pate/src/plugins/js_utils/jshint.js is nuked from orbit in your 4.12 packaging.
Also reported upstream cause I'm pretty sure it's not kosher with KDE's licensing policies either:
WTF?! Yes, this is a blatant violation of KDE's licensing policies and also means we cannot ship unmodified Kate tarballs at all! (Is this already the case in 4.11.97? If so, we need to fix Rawhide immediately, and import a fixed tarball.)
We should also point upstream to my list from comment #1.
I checked, jshint.js was added only in master, i.e. what is to become 4.13. Still, it needs to go away from there immediately.
heads up for everyone not participating in the kwrite-devel mailing list:
it was my “fault” for bundling it, however i only pointed out the problem, i didn’t create it.
because a current optional dependency, claiming to be BSD-licensed (pyjslint) downloads and runs the nonfree code – that means everyone using pyjslint up until now unknowingly also used nonfree code.
we’re on it – maybe the crockford-free master branch of JSHint (no longer any derived code) is a solution!
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.
More information and reason for this action is here:
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.