views:

336

answers:

2

I've written an application I'd like to release as open source, but i'm not sure what to license it under.

It's all my own code apart from jQuery which is GPL 2.1 and TinyMCE editor which is LGPL 2.1. I'd like to distribute both libraries with my application if possible. Can I release under GPL2.1 ?

All I want to do is license appropriately and pay my open source dues to the clever authors of jQuery and TinyMCE.

Any suggestions?

+3  A: 

jQuery is available under the MIT or GPL licenses. If you're happy to make the code of your application available under GPL then you're fine. Usually people have issue because they don't want to. And it seems like distributing your application (including jquery) triggers that particular part of GPL but IANAL so don't take that as gospel.

You could also consider the compatibility between the (far less invasive) MIT license and LGPL if you don't want to publish the code to your application.

cletus
Thanks. So is using an LGPL library under GPL ok? I am distributing all source code
jdee
Compatibility between licenses is a complex issue (since it's a legal issue). Generally speaking you have to watch out for icompatibility and then comply with the most restrictive terms. MIT and LGPL aren't all that restrictive but you need to reasearch them (or get professional advice).
cletus
I will add that if you're making all source code publicly available (vs giving it to a buyer, which is different) you've pretty much met the main hurdle for GPL compliance so you should be fine with GPL, MIT and LGPL (based on supplied information).
cletus
Thanks everyone. I never fail to be surprised by the amount of knowledge the contributers have on this site. all very kind to help like this.
jdee
A: 

I like perl's Artistic License 2.0. It's GPL-compatible, but quite a bit shorter and features less evangelism. But if you're fine with the GPL, it's probably best to stick with it as the libraries you're script depends on are using it...

Christoph