Implement our own theme, yay!
[platform/upstream/gstreamer.git] / pwg-licensing-advisory.md
1 ---
2 title: GStreamer licensing
3 ...
4
5 # GStreamer licensing
6
7 ## How to license the code you write for GStreamer
8
9 GStreamer is a plugin-based framework licensed under the LGPL. The
10 reason for this choice in licensing is to ensure that everyone can use
11 GStreamer to build applications using licenses of their choice.
12
13 To keep this policy viable, the GStreamer community has made a few
14 licensing rules for code to be included in GStreamer's core or
15 GStreamer's official modules, like our plugin packages. We require that
16 all code going into our core package is LGPL. For the plugin code, we
17 require the use of the LGPL for all plugins written from scratch or
18 linking to external libraries. The only exception to this is when
19 plugins contain older code under more liberal licenses (like the MPL or
20 BSD). They can use those licenses instead and will still be considered
21 for inclusion. We do not accept GPL code to be added to our plugins
22 module, but we do accept LGPL-licensed plugins using an external GPL
23 library. The reason for demanding plugins be licensed under the LGPL,
24 even when using a GPL library, is that other developers might want to
25 use the plugin code as a template for plugins linking to non-GPL
26 libraries.
27
28 We also plan on splitting out the plugins using GPL libraries into a
29 separate package eventually and implement a system which makes sure an
30 application will not be able to access these plugins unless it uses some
31 special code to do so. The point of this is not to block GPL-licensed
32 plugins from being used and developed, but to make sure people are not
33 unintentionally violating the GPL license of said plugins.
34
35 This advisory is part of a bigger advisory with a FAQ which you can find
36 on the [GStreamer
37 website](http://gstreamer.freedesktop.org/documentation/licensing.html)
38