Re: GPL compatible ?

Daniel Dekany <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Monday, April 14, 2008, 1:13:40 AM, Rahul Garg wrote:

> Hi.
> 1. Thanks for all your replies. I am a bit confused by now. Will look
> at slightly more permissive licenses than the GPL : either a GPL with
> some exceptions or MPL or CDDL. This way licensing will be clear to
> everyone. But will need to check with univ since this compiler is part
> of thesis work. Never thought that I will need to spend so much time  
> on licensing issues.
>
> 2. Under what license should I put the template files?

Whatever license you want to... What could be the problem with that?
Templates are not even the output of FreeMarker.

> Compiler output is used by end-users and I do not want the output
> text to come under any kind of restricted license. Perhaps I will
> just put the template file in public domain.
>
> thanks,
> rahul
>
> Quoting Daniel Lopez <[email protected]>:
>
>> One should check with the GNU guys themselves to be sure but, AFAIK,
>> you would not be able to distribute FreeMarker along with a GPL
>> product because the GPL license implies everything you distribute as
>> "the product" has to be GPLed.
>>
>> So, if I understood correctly what they told me the last time I
>> checked with them for another project, it depends on the licenses used
>> because if you distribute them together, they could be considered a
>> "combined work".
>> In that case: the original BSD license and GPL are known to be
>> incompatible, whereas the revised BSD and GLP v2 are considered
>> compatible:
>> http://www.gnu.org/licenses/gpl-faq.html#WhatIsCompatible
>> http://www.gnu.org/licenses/gpl-faq.html#OrigBSD
>>
>> It seems the problem lies in that the original BSD imposed some extra
>> restrictions and GLP prohibits that. It seems FreeMarker's license
>> also imposes the advertistments clause, so it might be considered
>> incompatible.
>>
>> In any case, you might want to check with them following these instructions:
>> http://www.gnu.org/licenses/gpl-faq.html#ManyDifferentLicenses
>>
>> It's simply sooooo confusing.
>> D.
>>
>> S'està citant Attila Szegedi <[email protected]>:
>>
>>>
>>> On 2008.04.13., at 6:51, Rahul Garg wrote:
>>>> Hi.
>>>> I am writing a compiler (written in Java) which I want to release
>>>> under the GPL. I am considering Freemarker for generating output
>>>> instead of the adhoc mechanism I have currently implemented.
>>>>
>>>> Is freemarker a good choice in such a case? Will I need to distribute
>>>> Freemarker sources and do I have to mark them as under the GPL?
>>>
>>> As far as I understand it:
>>>
>>> You can incorporate FreeMarker into a GPL licensed product, no
>>> problems with that. You can't relicense the FreeMarker codebase itself
>>> under GPL[*], meaning that someone can extract FreeMarker (either its
>>> binary or its source) from your product distribution, and then use the
>>> extracted artifact compliant to BSD license, without observing GPL.
>>> You'll need to clarify in your product's license that various parts of
>>> it fall under different licenses - namely, that FreeMarker bits are
>>> BSD licensed, and your original work is GPL licensed.
>>>
>>> BSD license doesn't require source distribution, so you needn't
>>> distribute the sources (but you can do it). By choosing GPL, you'll
>>> force whoever incorporates your compiler into their product to also
>>> ship their (and yours) source code with the product. But by willingly
>>> choosing to create a dependency on FreeMarker, you won't automatically
>>> extend these GPL restrictions to FreeMarker artifacts that you ship;
>>> they remain BSD licensed.
>>>
>>> In essence, by choosing GPL for your original work you'll force other
>>> products that rely on your original work to use GPL, but those people
>>> can still use FreeMarker binary or sources - even when they take them
>>> out of your distribution - without being subjected to GPL, only BSD.
>>> You can not represent that a bundled FreeMarker artifact is GPL
>>> licensed, as that'd be falsity, you must be clear that your product is
>>> built out from several different components with varying licenses.
>>>
>>> [*] Alternatively, you can take FreeMarker source code and relicense
>>> them under GPL. BSD license allows you to do that as long as you also
>>> observe the BSD requirements. You can no longer use the name
>>> "FreeMarker" in conjunction with it then though, in any way, including
>>> the Java package names. You're then essentially creating a GPL fork of
>>> the project, which is permitted, but you break any continuity with the
>>> name "FreeMarker" in that case. I don't think that's too sensible,
>>> though, as you'd need to keep your fork in sync with our future
>>> bugfixes etc on your own.
>>>
>>>> Does
>>>> Freemarker itself have any dependencies which again need to be
>>>> distributed under the GPL?
>>>
>>> FreeMarker can run without external dependencies. All its dependencies
>>> are optional.
>>>
>>> Attila.
>>>
>>>>
>>>>
>>>> thanks,
>>>> rahul
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>>> Don't miss this year's exciting event. There's still time to save $100.
>>> Use priority code J8TL2D2.
>>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>>> _______________________________________________
>>> FreeMarker-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/freemarker-user
>>>
>>
>>
>>
>> ----------------------------------------------------------------
>>
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>> Don't miss this year's exciting event. There's still time to save $100.
>> Use priority code J8TL2D2.
>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>> _______________________________________________
>> FreeMarker-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/freemarker-user
>>
>>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> FreeMarker-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freemarker-user

-- 
Best regards,
 Daniel Dekany


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.