I have a licensing question. Am I allowed to include clojure.jar in a
GPL project?
On the net I've found out that the EPL is not GPL compliant, and there's
an explicit statement by the FSF that it's not possible to include GPL
code inside an EPL licensed project, or to create an EPL licensed
derived work from GPL works. But how about the other way round?
The reason is that we are thinking about (re)writing some components of
our GPL java project in clojure. Some of them might be core components,
and so we would like to bundle the clojure.jar with the project.
Bye,
Tassilo
Hi Matthias,
> On 28 Aug., 13:42, Tassilo Horn <tass...@member.fsf.org> wrote:
>> I have a licensing question. Am I allowed to include clojure.jar in a
>> GPL project?
>
> IANAL, but if I understand the GPL correctly, it prohibits you from
> distributing a GPL-covered programme that is based on Clojure, because
> it would need to be linked to the EPL'd Clojure library code and so
> would make the combination have to be distributed under the GPL, which
> is impossible.
Yes, that's my impression, too. Does it make a difference not to
distribute the clojure.jar with the GPL project, but to add "you have to
dowload clojure.jar and place it in the lib/ dir" to the README?
> What you can do to improve the situation in this case is to add an
> exception to the license. See
> http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html#GPLIncompatibleLibs
> for details.
That looks practical.
> If you don't own all of the GPL'd code, I think you're out of luck,
> though.
Well, the exception would only to be added to the code that requires
clojure. IMHO, this is only the code written in clojure itself, and
that would all be written from scratch. So here the copyright holders
are available.
Bye,
Tassilo
Am 29.08.2009 um 00:58 schrieb Daniel Renfer:
> perhaps this link in the FAQ for the EPL will clear things up.
>
> http://www.eclipse.org/legal/eplfaq.php#USEINANOTHER
Wow! All but one of my Clojure projects are illegal! (They are all MIT
licensed...)
But I hope, that this link doesn't apply. I barely know the situation
in Germany. Let alone somewhere else in the world. For example in
Germany:
* public domain *meeep* you can't give up your copyright (in
particular you can't sell it to a company)
* no warranty *meeep* not here, you let it out in the wild, you can be
held liable for it in certain situations, especially distributors
(read: SuSE) should be very careful [1]
But IANAL. so, how do I have interpret the contents of the FAQ link?
Does this refer to eg. ripping out Clojure's STM, modifying it and
using it in another program? Or does this refer to use an unmodified
Clojure as a library?
Sincerely
Meikel
Hi!
>> perhaps this link in the FAQ for the EPL will clear things up.
>>
>> http://www.eclipse.org/legal/eplfaq.php#USEINANOTHER
>
> Wow! All but one of my Clojure projects are illegal! (They are all MIT
> licensed...)
Yep, but I think this doesn't apply. We wouldn't include clojure's
source code, only the binary jar file, as it's a prerequisite for
compiling the project.
In the meantime, I got a reply from the GNU licensing guys. It seems we
have to add a "special exception" to our GPL, which permits Clojure's
usage. And it doesn't matter if we include clojure or not, the usage is
what matters.
BTW: What's the reason that Clojure is licensed under the EPL and the
contrib stuff under CPL? Since clojure is not really eclipse-related, I
don't see a good rationale. IMHO, the Lesser GPL would be a much better
fit. Then you can use clojure also in commercial apps (I guess that was
the rationale behind EPL), but still you can use it in projects with any
other free-software license, may it be EPL, GPL or whatever...
Bye,
Tassilo
Hi Garth,
> Another option Rich could consider for Clojure is the Mozilla
> tri-license (GPL/LGPL/MPL).
>
> http://www-archive.mozilla.org/MPL/relicensing-faq.html
>
> The tri-license would remove any lingering ambiguity about building
> GPLed Clojure projects.
What's the point of licensing something under GPL and LGPL? AFAIK, you
can always take a LGPL project and relicense it as GPL.
> But actually I believe the status quo is already quite permissive.
> The fact that Clojure is EPLed doesn't mean you can't write GPLed apps
> using it.* The EPL-GPL incompatibility bites you only when you try to
> GPL something that is a "derivative work" of Clojure.
Exactly, but everything that goes beyond communication over pipes /
fifos / command line invocation is derivative work according to the FSF.
So compiling the clojure sources we've written with the EPL clojure
compiler is ok, but since our code calls functions in clojure.core and
clojure.contrib it is derivative work, and thus the GPL incompatibility
bites us.
Well, but we can use the GPL with some special "we allow the usage of
clojure" exception. That's a bit of inconvenience, but at least we
don't have to exclude clojure only because of licensing issues.
Bye,
Tassilo
I found this link also pretty interesting:
http://www.dwheeler.com/essays/floss-license-slide.html
Doesn't cover the EPL though.
(... but also IANAL, and can't/won't advise on legal matters).
Cheers,
Daniel
This has been discussed as nauseam before:
This has been discussed as nauseam before:
http://groups.google.com/group/clojure/browse_frm/thread/6e99caafcf2bbedf/b5519cc219a5baeb
Nothing has changed, so let's give it a rest, please.
>> But actually I believe the status quo is already quite permissive.
>> The fact that Clojure is EPLed doesn't mean you can't write GPLed apps
>> using it.* The EPL-GPL incompatibility bites you only when you try to
>> GPL something that is a "derivative work" of Clojure.
>
> Exactly, but everything that goes beyond communication over pipes /
> fifos / command line invocation is derivative work according to the FSF.
It should be noted that this definition is a minority opinion and is far
from legally proven. I doubt it would stand up if challenged.
-Phil
The GPL and LGPL are very restrictive licenses. While most people only
focus on the source code availability issue, the real show-stopper for
most commercial usage is the anti-patent clause that exists in both the
GPL and LGPL. This clause is a potential landmine, even though little
attention is paid to it. It exists in the same form in both the GPL and
LGPL.
--J.