THIS IS NOT LEGAL ADVICE. I’M NOT A LAWYER.
IT’S POSSIBLE THAT I HAVE MADE MISTAKES OR MISUNDERSTOOD THINGS.
THE FOLLOWING IS JUST MY PERSONAL UNDERSTANDING.
SDL claims to be released under the zlib license but I have noticed that SDL also contains some files under other licenses. These other licenses may all be compatible with the zlib license but there are still things that they require that the zlib license does not which I think is something to be aware of.
The zlib license is a very permissive license. It requires the copyright and license notices to be preserved in the source code …
This notice may not be removed or altered from any source distribution.
… but for binary distribution (e.g. a DLL or statically linked) there is no requirement to show such information.
If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
The following files use the MIT license:
src/video/x11/edid-parse.c
src/video/arm/pixman-arm-neon-asm.h
src/video/arm/pixman-arm-neon-asm.S
src/events/imKStoUCS.h
src/events/imKStoUCS.c
wayland-protocols/
The MIT license requires the copyright and license notices to be included in “all copies or substantial portions of the Software”.
The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.
The following files use a variant of the MIT license with similar requirement:
src/video/x11/xsettings-client.h
src/video/x11/xsettings-client.c
src/video/arm/pixman-arm-asm.h
… provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, …
The files in src/video/yuv2rgb/ use the “BSD 3-Clause License” which also has a similar requirement:
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
The Vulkan headers use the Apache 2 license that, at the very least, requires that you include the license text (read the license for full details).
You must give any other recipients of the Work or Derivative Works a copy of this License;
I don’t know if this applies here because these headers seem to only provide an interface without containing any functional code and I’m not sure if interfaces are copyrightable.
Please correct me if I’m wrong, but my interpretation is that if I made a game and distributed it with a SDL.dll (or statically compiled it as part of my application) that I would need to include the copyright and license information from all the SDL files that I mentioned above (except perhaps the Vulkan headers).
I don’t know if I’m missing something but I don’t see this information included in any of the non-source SDL packages.