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

Ambiguous code license #6

Closed
bkaradzic opened this issue Dec 21, 2014 · 4 comments
Closed

Ambiguous code license #6

bkaradzic opened this issue Dec 21, 2014 · 4 comments

Comments

@bkaradzic
Copy link

MIT
https://github.com/OpenGLInsights/OpenGLInsightsCode/blob/master/Chapter%2012%202D%20Shape%20Rendering%20by%20Distance%20Fields/LICENSE.txt

The distance transform code in the console
application to create distance field textures, located in
the file "edtaa3func.c", is MIT licensed, and free to use
under the following conditions.

GPL
https://github.com/OpenGLInsights/OpenGLInsightsCode/blob/master/Chapter%2012%202D%20Shape%20Rendering%20by%20Distance%20Fields/makedist/edtaa3func.c#L38

This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
@stegu
Copy link
Contributor

stegu commented Dec 22, 2014

Oups. Sorry about that. The license was changed from GPL to MIT for the
publication of the book, but the change was not properly propagated to the
source files. You hereby have my formal permission to delete the GPL
license text from the source code and insert the MIT license in its place.
My intention was that this should be MIT licensed to make it useful even
for commercial, closed-source projects. I will also ask the maintainers of
the site to make the change to the file in the repository.

Thanks for letting me know!

Stefan Gustavson

@bkaradzic
Copy link
Author

This clarification is good enough for me. I'll wait for code update and then I'll grab new source. Thanks! 👍

@stegu
Copy link
Contributor

stegu commented Dec 23, 2014

Heads-up to the maintainers of this repository:

Please change the GPL license comment in "edtaafunc3.c" to the MIT license below, to make good on my promise in "LICENSE.txt" in the main folder for chapter 12.


Copyright (C) 2011 by Stefan Gustavson
(stefan.gustavson@liu.se)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


@stegu
Copy link
Contributor

stegu commented Dec 23, 2014

The code is now updated with the new license. It turns out I had been given
commit privileges myself in that repository.
I also corrected a small bug that has been there for years. Not a fatal
error, but the gradient computations were wrong.

Thanks for your interest, and if you are using the code for something cool
(and if you are allowed to talk about it), please let me know!

@stegu stegu closed this as completed Dec 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants