[fpc-other] FPCUnit, DUnit2 and JUnit licenses question

Graeme Geldenhuys graemeg at opensoft.homeip.net
Tue Jul 21 11:28:06 CEST 2009


Hi,

Michael Van Canneyt told me that we cannot include DUnit2 into the FPC 
source code tree, replacing FPCUnit (if we wanted to do that). The 
reason being that DUnit2 is developed under the MPL license which is 
incompatible with the GPL or LGPL license used by FPC.

Well here is a question.

FPCUnit is a port of JUnit
DUnit is a port of JUnit
DUnit2 is also a port of JUnit (it's a fork from DUnit with many parts 
totally rewritten)

In all these projects it is clearly stated in the headers that they 
derived from JUnit. So what licenses is JUnit distributed with? From 
their website, it is the "Common Public License".

   http://junit.sourceforge.net/cpl-v10.html

So how does CPL compare to GPL and MPL.  Shouldn't FPCUnit, DUnit and 
DUnit2 also use CPL license then? They are derived work are they not? 
[...then again, I have no knowledge about the CPL license...]

If so, is FPCUnit actually allowed in the FPC source tree? If it may, 
then maybe DUnit2's MPL license is actually invalid and should have been 
CPL instead, which ultimately means DUnit2 could also be bundled in the 
FPC source tree.

Or maybe CPL is incompatible with (L)GPL and none of the 3 products may 
actually be bundled with FPC?  I have no clue.

Anybody got some thoughts on this?

Regards,
   - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/



More information about the fpc-other mailing list