[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Re: Static library with Gtk 3
From:       rastersoft <raster () rastersoft ! com>
Date:       2017-11-30 12:33:42
Message-ID: 0edc0fc9-36bb-516b-b26f-9afe10a9f703 () rastersoft ! com
[Download RAW message or body]

Hi:

El 30/11/17 a las 13:11, basile@starynkevitch.net escribió:
>
> Beware that releasing such a static library in binary form (without 
> its source code) is probably a violation of the LGPL license.
> Read carefully the LGPL2.1 license of GTK. 
> https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
>
> Perhaps contact your lawyer and ask him to explain you that license.
>

To safely distribute a program with an statically compiled GTK3, you 
must do at least:

- Since GTK3 is LGPL, you must include the source code of the GTK3 
version you used
- Also include all the source code of every other LGPL library you used
- Finally you must include all the object files (.o) generated by your 
code and other non-free libraries

The first and second points are obvious: you are distributing GTK3 in 
your program, which is free software, so you must also include the 
source code of the LGPL part.

The third one is trickier. Since you must allow the user to link your 
software with newer or modified versions of the LGPL libraries, in a 
statically compiled system there is only one possibility: to include the 
object code files of everything non-LGPL. This allows the user to 
recompile new/modified versions of the free libraries, and then link   
your code with them.

But, anyway, you should ask a lawyer specialized in free software.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic