Page 1 of 3
Licensing
Posted: Wed Aug 01, 2012 11:00 pm
by Tectu
Okay, This topic had to come up somewhen.
I want a propper licensing for the library now. At the moment there is only the GPLv2 file there yet.
With the pull requests of inmarket, the files in the halext folder contain the ChibiOS standard files hearder, which isn't that propper, since this is an independend project at the moment. Since halext will become a sperate project and the current GLCD library dosen't need it yet, I can still change the licensing. (I don't want to say that I don't want to keep halext, I like it and I am sure that it will be a good way to support the different LCDs).
It's just that I have arround 10'000 additons on the library, and as you might now, it was a lot of work. The project started on february and got published in march. My point: I put a lot of work into the library, and I don't want to loos the library or any right of it in case that this will become bigger (which would be really nice). But I also don't want to do something which would be bad for contributors such as Badger, Abhishek etc.
I never had to make such a decision, so, what do you think guys?
~ Tectu
Re: Licensing
Posted: Thu Aug 02, 2012 12:48 am
by inmarket
Very true. And I was expecting this to come up.
Even with the GDISP library - to date I have maintained my own version of the software with my own ownership so I can contribute and license however I like (including the copy that I put up on GitHub). This is fine at present as I have been the only contributor to the GDISP library so far although I have based it (hopefully with permission) from code in GLCD. I used the ChibiOS license as it a) raises the possibility that it might become part of the formal ChibiOS repository, b) The license is GPL like, and c) It allows linking with non-GPL'd code.
So, if we can decide on a better license I will re-issue the code with the new license. I am happy (as you can see) to assign ownership provided I keep my own copy/ownership.
A couple of alternatives...
- We select a group of individuals who become co-owners of the code with a GPL style (with linking exception) with each having the rights to re-assign as they see fit.
- We go to a VERY general license that allows just about anything like a BSD license.
Any other suggestions?
Re: Licensing
Posted: Thu Aug 02, 2012 1:34 am
by Tectu
It's good to see that you see things similar, inmarket!
To be precise here: I am not sure if you didn't fuck up the current GPLv2 licensing when you copied the current drivers to your halext, where you put the ChibiOS headers in, since ChibiOS also has some commercial options. But this is just for theory, I don't care, as long as we make everything the propper way within the next time.
We should also considering asking Giovanni what he thinks, since everything is based on this stuff. Maybe I can manage things to make the libary also available for the commercial option in the future, but that's mostly up to Giovanni.
Inmarket, what are your plans to your halext stuff? Do you have some timeline in which you will create your own project, or something? What licensing model do you have in view?
To your BSD sugestion: I am not sure if this is the right choice for both of us. BSD would mean that people can do anything with it, this is symbolic to throw the project away.
I am sure you are interested in keeping the rights on your project in your hands as well, right?
But anyways, I guess If we work this out well, this can be done without much pain. I would be really interested in keeping halext a part of the GLCD project, and I think you wouldn't mind

~ Tectu
Re: Licensing
Posted: Thu Aug 02, 2012 1:52 am
by inmarket
I am developing a project with possible commercial value. Whilst I will retains rights and ownership of the "application", I want to contribute the tools (eg. halext/gdisp) I use to make that happen so others can benefit from it as well.
I am not looking at income from halext/gdiap. As others have given to me (GLCD, ChibiOS), so I want to give.
My personal preference was option a) above. I see this joint ownership working as in.... ownership is listed as abc, def & ghi (the major contributors to the project). The ownership being shared allows any of them to add another name to the list of owners, fork it and relicense it for other purposes etc. For everyone else it would be GPL with linking exception.
Kind of like BSD for the "owners", GPL for everyone else.
Re: Licensing
Posted: Thu Aug 02, 2012 2:00 am
by Tectu
Just to be clear at this point: I don't expect any income on the GLCD project as well. I want to spread it, but want to keep it at the same time

Splitting ownership with the ability to add new sub-owners and reforks sounds a bit messy?
Maybe GPL is still not a bad idea?
~ Tectu
Re: Licensing
Posted: Thu Aug 02, 2012 2:30 am
by inmarket
Like you I want to retain some rights to do other things with the code. Pure GPL just seems a bit hard for that.
I don't think a combined license is that difficult. The license is whatever we write it to be.
I will formulate something and send it as a possible suggestion.
Re: Licensing
Posted: Thu Aug 02, 2012 2:46 am
by inmarket
What about something like this...
Code: Select all
/*
GDISP - Copyright (C) 2012 The below listed owners.
Owners:
Andrew Hannam (inmarket)
Joel Bodenmann (Tectu)
Badger
Abhishek
Giovanni Di Sirio
This file is part of "halext", an extension to ChibiOS/RT.
This 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.
This is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
A special exception to the GPL can be applied should you wish to distribute
a combined work that includes this code, without being obliged to provide
the source code for any proprietary components. See the file exception.txt
for full details of how and when the exception can be applied.
Additionally, the above listed owners have joint and several ownership rights
including the right to add new owners, re-license it under different terms
or any other action that they individually see fit.
*/
/*
Concepts and parts of this file have been contributed by:
Joel Bodenmann aka Tectu -> Maintainer
Andrew Hannam aka inmarket -> framework
Badger -> console implementation and FSMC
Abhishek -> font rendering
Ben William -> fastMath and lcdDrawEllipse()
Dongxu Li aka dxli -> lcdDrawEllipse() filled option
*/
Re: Licensing
Posted: Thu Aug 02, 2012 3:06 am
by Abhishek
Also, there is a LGPL license, maybe you could consider that.
However I suppose,we should add if it's used in commercial applications, you must give a ref to the lib or the author. Code should retain this notice intact while sharing.
However, if the code is to be made a part of tne ChibiOS mainstream, it'll require copyright notices as we have right now. You must have read on the main wiki
edit: BSD discussed above
Re: Licensing
Posted: Thu Aug 02, 2012 4:09 am
by inmarket
I'll have a look at LGPL.
In commercial applications the linking exception means that the suggested license would not need to be changed unless we were to decide to exclude commercial applications from the linking exception (not what I would suggest).
Yes I read the ChibiOS discussion on copyright ownership. That is what has really started this whole discussion. Becoming part of the ChibiOS mainstream could be achieved in two ways...
- Giovani might decide that our license is close enough given that it gives him the right to do what he wants with the source (including selling it commercially in a relicensed form) as he is listed as an owner.
- We (any one of us including Giovani) re-license a version specifically for Giovani as the owners are allowed to do.
This sort of thing is common for open source software - where there is more than one version of the license available for the same source code.
I thought about putting restrictions on what the owners could do (such as that a copyright owner can't be deleted by another owner) but decided that that would introduce extra complexity into the license for no reason or advantage. In truth if we are co-owners then each owner has full rights including rights to have their own seperately licensed version. Removing an owner from the list might cause that owner to lose their rights to
that copy of the source code. They would lose no rights however from any copies they held elsewhere as they would still be owners of that code version.
In other words, you can cut an owner off from the rights to ownership of any updates but you can't in reality remove their rights to the pre-removal code so long as they maintained a copy somewhere.
Remember owners can do what they want, others have GPL with linking exception applied.
Re: Licensing
Posted: Thu Aug 02, 2012 7:08 am
by Tectu
How am I supposed to determinate ownership? By just contributing a few lines of patching, it would be somehow strange if the person would get some rights to do things with the library, which other people don't have, for example by fixing a few simple typos

The next thing is the halext stuff. You contributed about 8'000 lines now. I feel bad that I cannot offer you anything in return etc, but on the other side it won't become a part of the GLCD project later on and it didn't affect the current GLCD library, but again, you helped with simplyfying the way of writing new drivers etc. etc
I really don't know what's the best to do >.<
~ Tectu