-
Notifications
You must be signed in to change notification settings - Fork 450
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
Comments
It would also help simplify understanding + inclusion of license if the generator provided the license, at least if the web generator did. |
The generated code is under Public Domain/WTFPL/CC0. You are right, I should include that (at least) somewhere. |
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? |
@Dav1dde:
The relevant section of the Apache License states the following:
I think the best course of action is to add attribution notices to the comment block inside Either way, the license of generated code should be revisited, or clarified with Khronos Group. |
My view is that verbatim copies of blocks of code would be subject to Apache2, but not stuff based on spec, which is what the XML is. Currently Glad mashes Khronos headers into generated code, and that's its own issue.
…On January 12, 2020 9:41:55 PM PST, AlexApps99 ***@***.***> wrote:
@Dav1dde:
@jrfonseca is right, it's as
[`gl.xml`](https://raw.githubusercontent.com/KhronosGroup/OpenGL-Registry/master/xml/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](https://www.apache.org/licenses/LICENSE-2.0#redistribution)
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.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#101 (comment)
|
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 |
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?
The text was updated successfully, but these errors were encountered: