neocotic / qrious

Pure JavaScript library for QR code generation using canvas
https://neocotic.com/qrious
Other
1.55k stars 215 forks source link

Clarification on license (GPL code becomes MIT-licensed?) #23

Closed e2jk closed 10 years ago

e2jk commented 10 years ago

I see qr.js is licensed under the MIT license. The license section at the top of the qr.js file mentions that qr.js is based on jsqrencode, which is GPL-licensed:

// [qr.js](http://neocotic.com/qr.js)  
// (c) 2014 Alasdair Mercer  
// Freely distributable under the MIT license.  
// Based on [jsqrencode](http://code.google.com/p/jsqrencode/)  
// (c) 2010 tz@execpc.com  
// Licensed under the GPL Version 3 license.  
// For all details and documentation:  
// <http://neocotic.com/qr.js>

Part of the GPL license is that derivatives must be licensed under the same license. Extract from section 5:

c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. [...] This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.

Question: have you received permission from upstream jsqrencode to change the licence from GPL to MIT?

neocotic commented 10 years ago

@e2jk Thanks for highlighting this. I don't even remember why I made the decision to explicitly change to MIT as I originally released this as GPLv3.

I will revert this and re-release ASAP. Thank you also for referencing the section as I was unaware of this limitation of GPLv3.

e2jk commented 10 years ago

You are welcome. Let us know when you have been able to re-release with the new license.

neocotic commented 10 years ago

I have reverted the license back to GPL-3.0 in #24 and is available in v1.1.3 which I've just released.

e2jk commented 10 years ago

Great, thanks for your reactivity.