GNOME Bugzilla – Bug 115359
Licenses and everything related
Last modified: 2004-12-22 21:47:04 UTC
Currently the license can only be specified per element. It should be done on a per-plugin basis. This is specifically useful for support libs, where the license can't be set right now. This obviously requires API changes.
We need to have a discussion some time (say, at Guadec right now) about licensing issues. My concerns: 1. All code in gstreamer/ and gst-plugins/ should be LGPL, except possibly code in gst-plugins/gst-libs/ext. There's no need for plugin code to match the license of the library, unless there has been copied code. If there is copied code (which plugins?), perhaps we should separate that into a subdirectory or re-libify it. 2. We should check very carefully if there is code that is not GPL compatible. 3. The plugin (or element) license field should be clarified that it applies to the combination of the plugin plus the underlying library, and _NOT_ the plugin itself.
4. Every .c and .h file should have a copyright and license block.
As for 4, here's a script to go through all files: for i in `find . -name '*.c'` `find . -name '*.h'`; do ( echo $i && head $i ) >> /tmp/licenses; done /tmp/licenses than contains the first ten lines of each .c/.h file plus the name, so you can easily see which ones miss the license field. Examples (I did this in gst-plugins/gst/): * gst-plugins/gst/goom/goom_core.c * gst-plugins/gst/goom/graphic.c * gst-plugins/gst/law/alaw.c * gst-plugins/gst/law/mulaw.c * gst-plugins/gst/mixmatrix/mixmatrix.c * gst-plugins/gst/mpeg1sys/systems.c * gst-plugins/gst/mpegaudio/tables.c * gst-plugins/gst/playondemand/demo-mp3.c * gst-plugins/gst/sine/demo-dparams.c * gst-plugins/gst/spectrum/demo-osssrc.c * gst-plugins/gst/speed/demo-mp3.c * gst-plugins/gst/goom/filters.h * gst-plugins/gst/goom/goom_core.h * gst-plugins/gst/goom/goom_tools.h * gst-plugins/gst/goom/graphic.h * gst-plugins/gst/mulaw/mulaw-conversion.h * gst-plugins/gst/modplug/libmodplug/it_defs.h [etc.]
This was done.