-
Notifications
You must be signed in to change notification settings - Fork 25
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 the generated code? #97
Comments
I'd say you're free to license the generated code under which ever license you want, at least it's not determined by the license of gdbus-codegen-glibmm. IIRC this code was derived from gdbus-codegen, which had a similar question come up on their mailing list: I guess you're right that a small section in the README about this could be helpful. |
Thank you for your quick reply. I think I'm probably in the same boat as the person from the mailing list: I'm evaluating if we could use the code generator to generate the dbus interface code for a proprietary project to save us from writing all this boilerplate code. As I see it, currently all files in the repository are LGPL 2.1 including the template files. Now, if I generate some source/header files, these are probably a "derivative work" of the original template files. Which means they are also LGPL 2.1 and as such would have to be published if used in some software project that is to be distributed. I don't know if this was the intention all along, but if it's not there might be two possible ways to clarify this:
The Bison exception says:
Maybe for the gdbus-codegen-glibmm this could be reworded and shortened like:
Disclaimer: I'm not a copyright lawyer, so I'm not sure if it could work this way. I sincerely hope I'm not overstepping with these suggestions. If the authors intended the generated files to be copyleft free software I'm fine with that and will of course respect that. |
@mardy you're still at Luxoft right? What do you say about adding a clarification that the license of the template files allow derivative work to be licensed as whatever the user prefers. |
More info: I've jst checked the output of the gdbus-codegen c version.
|
Hi, I saw this line at the bottom of the README:
"Source code licensed under the LGPL 2.1 (please see source code headers for more.)"
Is this applicable to the generated cpp source/header files? (Because there is no copyright notice in the generated files)
Would LGPL 2.1 mean I have to publish the generated sources?
I think it might be helpful to add a paragraph explaining licensing to the README.
The text was updated successfully, but these errors were encountered: