This is an issue i post-poned for a long time. What’s the problem? Libgdx uses various 3rd party libraries to implement part of its functionality.
- Tremor for fixed point ogg vorbis decoding
- libmpg123 for mp3 decoding
- The FFT related classes from the Minim library for Processing
- Kissfft for a native FFT implementation
- Box2D, for 2D physics
All this libraries are licensed under specific terms. Tremor has its own kind of license which is not a problem for libgdx. It basically states that you can do with the code whatever you want as long as you hand out copyright notices with source and binary distributions. Libmpg123 is LGPL licensed, so that’s kind of a problem. The Minim FFT classes are also LGPL licensed, however i got written permission to use them in libgdx as i do (that is, not fully implementing LGPL by statically linking to the files). Kissfft is BSD licensed, which is just awesome. Finally, Box2D comes with its own license terms which basically state that you can do whatever you want as long as you give credit.
So the only problem currently is libmpg123. I will get in contact with the author in the next few days, i’m sure he’ll agree that the minor violation of the LGPL (not linking dynamically to libmpg123) is ok. If not, well, then just use ogg
That’s how you properly stand on the shoulders of giants! Open source is awesome, so keep up the spirit and don’t violate licenses.
[...] This post was mentioned on Twitter by Planet Android, Rene Nachtnebel ✔ and Jon Simon, Daniel. Daniel said: 3rd party library licenses in libgdx: This is an issue i post-poned for a long time. What’s the pr… http://bit.ly/brthAu #xoopia #android [...]