tags:

views:

51

answers:

2

My apologies if this question has been asked.

I have made a bug fix in a small python library. This particular library is licensed under GPL but the development of it seems to be dead and abandoned (very low activity on their tracker, to which I have attached my patch).

I'm developing a python application which uses this library. What is the proper way to distribute it along with my patched version of the library?

+4  A: 

Whether the library is abandoned or not, if you use it, then your code (both patched library and application) must be distributed under the GPL too, assuming you want to distribute it at all.

anon
+1  A: 

Your patched library is GPL for sure and most likely so is your application. If you're fine with that, then there's no problem. If you would like to use a different license with your application, it depends how you want to understand what GPL means by "derived work".

If your application does not depend much on the library (you did say it's a small library) and there are other (non-GPL) libraries doing the same thing that you could just as well use (or the user of the application could use), then... well ... you might not need to license the app under GPL, mostly because it is arguable that doesn't really derive from that library. But that's really loose definition.

If the library was LGPL, then you could license your app which way you wanted, but your patched library would be under LGPL. And because the original authors of the library chose GPL instead of LGPL, it can be assumed that they wanted the apps using their library also be under GPL. This is the usual counterargument to the view in the previous paragraph.

Of course, you can also ask the authors of the original library if they grant you license to the library with more permissive license (like LGPL).

kari
If the library is GPL and you link with it in some way, your code must also be GPL'd - this is how the GPL differs from LGPL. The "amount" your code depends on the library is not an issue.
anon
That's the FSF position, but there other opinions also. For example, ffmpeg's license depends on what libraries you use in it.
kari