Previous Thread  Next Thread

chat icon Python API GPL license

Dor

Posted: Tue Jun 12, 2012 10:09 pm
Joined: 12 Jun 2012
Posts: 1
Hi,

I'm not an law expert and I want to create a python C4 level editor addon for gimp. C4 engine is commercial engine with access to sources for relatively small payment.

The problem is:
Quote:
Not OK is:
Author publishes a Blender script, calling a compiled C library with own code, both under own license.

http://www.blender.org/education-help/faq/gpl-for-artists/

I would like to create GPL script for Blender, but calling closed C code. Anyone who will use that code, should buy C4 license to make use of it.
By the level/model editor, I mean add changes in blender, and see them in C4 Game engine instantly. (inter process communication, like in Oxygen2 and RealVirtuality engine).
This will call extern C code.

Another approach would be to export level/model to file, and check file modification timestamp. After every output file update, just read whole file by C4 plugin. This is much weaker solution.



I see, that Blender community is not against closed python addons:
Quote:
OK is:
Author publishes a Blender script mixed with own code, under own license.


So why not to publish Python API with LGPL that allows linking?


Little offtop too, but Linus is not against GPL linux kernel and closed drivers. Some people say, that calling an API functions is not a violation.
Reply with quote


spaces

Posted: Wed Jun 13, 2012 2:01 am
Joined: 10 Sep 2011
Posts: 22
Well, I don't see your problem. Anyway the deal with GPL is this: if you charge money for your work and used GLPed code then you must provide the source code. If you don't charge then noone cares.
LGPL means you can dynamically link against the library and you can keep your source closed.
With that said I maintain a complex exporter plugin for Blender for a proprietary engine.
Reply with quote


ldo

Posted: Sat Jun 23, 2012 9:44 am
Joined: 07 Nov 2010
Posts: 544
GPL makes no distinction whether you redistribute for money or not; if you redistribute, you must offer the source.

By the way, as per recent court cases in both the US and Europe, APIs are not copyrightable.
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group