Licensing – Using Open Source Libraries in Public Domain Projects

licensingopen source

I am writing a Windows Phone application which I intend to release into the public domain (the source code and releated resources, that is). My application does, however, use a few third party open source libraries (statically linking to them). Does releasing my code into the public domain make any difference regarding the licenses of the open source libraries I use or would I have to make sure my (un)license is compatible with the open source licenses, the same way I would have to if I released the source code using an open source license (or kept the code closed source, for that matter)?

I releasing my code into the public domain doesn't make any difference, how do I know if an open source license is usable with code released into the public domain?

Best Answer

Open source isn't just open source. There are lots and lots of open source licenses with different conditions.

So-called permissive OS licenses like BSD or MIT allow you to do almost anything you want with the covered work, even relicense it under a completely different license, as long as you include a copyright notice.

But there are also share-alike OS licenses like the GPL which only allow derivates to be released under the same license. When you use a GPL library, any software which links to it statically must also be licensed under the GPL. Because this is very inconvenient for libraries, there is a special version of the GPL, the LGPL. LGPL stands for "Lesser GPL" or "Library GPL". It allows to place software which uses the library under any other license as long as you don't make change to the library itself. And even when you do, you just have to distribute the changes to the library under LGPL, not your own application.

And then there are lots of other licenses with their own conditions. So what you should do now is find out which license is used by each of the libraries and then find out what they allow.

Related Topic