Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

License of generated code #101

Closed
ArthurCose opened this issue Jul 26, 2017 · 6 comments
Closed

License of generated code #101

ArthurCose opened this issue Jul 26, 2017 · 6 comments

Comments

@ArthurCose
Copy link

I was wondering what the license of the generated loader is. I know the generator is under MIT, but does the generated code also fall under the MIT license?

@ArthurCose
Copy link
Author

It would also help simplify understanding + inclusion of license if the generator provided the license, at least if the web generator did.

@Dav1dde
Copy link
Owner

Dav1dde commented Jul 26, 2017

The generated code is under Public Domain/WTFPL/CC0.

You are right, I should include that (at least) somewhere.

@jozefkucia
Copy link

The code is generated from https://raw.githubusercontent.com/KhronosGroup/OpenGL-Registry/master/xml/gl.xml licensed under Apache License. Doesn't it have any influence on the generated code?

@AlexApps99
Copy link
Contributor

@Dav1dde:
@jrfonseca is right, it's as gl.xml states at the top of the document:

Copyright (c) 2013-2019 The Khronos Group Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.

The relevant section of the Apache License states the following:

d. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear.

I think the best course of action is to add attribution notices to the comment block inside glad.c and glad.h.

Either way, the license of generated code should be revisited, or clarified with Khronos Group.

@ghost
Copy link

ghost commented Jan 13, 2020 via email

@Dav1dde
Copy link
Owner

Dav1dde commented Jan 13, 2020

You are right this should be clarified.

I see it like @fluffrabbit, the generated code does not include parts of the XML and external header files like khrplatform do have their own license blocks not stripped and are embedded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants