Closed maximedenes closed 5 years ago
Make sure you properly credit the various authors and copy the original licenses somewhere. LGPL 2.1 seems like the only possible choice that's compatible with the three origins you cited. Actually GPL would also be compatible (any version, including GPL 3) but I don't suppose that everyone would be happy with such a choice :laughing:
I'm not even sure linking makes any sense in the Coq context, but definitely LGPL 2.1 seems the most sensible choice.
There are two ways of satisfying LGPL requirements: dynamic linking or providing the source code (under any license, including non-free). So if the first one is not an option in the context of Coq, it still allows the user of the standard library to use whatever license they choose. Which is better than imposing GPL on everyone who does basically anything using Coq.
That being said, if Coq was created today, developers would definitely consider using a lighter license (no copyleft like MIT / BSD / Cecill B or weaker copyleft and much easier to understand with no tricky technical requirements like MPL 2.0). If that was doable, I would think that choosing one of these licenses for Stdlib2 would be preferable. This would be a less daunting task than changing the license for the whole code-base. It would only require tracking down the authors of the parts that are reused.
We picked LGPL 2.1, so let's close this.
As part of the stdlib2 project, I plan to take/adapt code from at least:
So I'll probably stick with LGPL 2.1, but if there's a reason to do otherwise, please let me know.