Allegro.cc - Online Community

Allegro.cc Forums » Allegro Development » allegro interface

Credits go to Elias, Evert, Peter Wang, and Thomas Fjellstrom for helping out!
This thread is locked; no one can reply to it. rss feed Print
 1   2   3 
allegro interface
Evert
Member #794
November 2000
avatar

Quote:

maybe it wouldn't be bad to include the rest into the giftware license as well.

But then it wouldn't be the giftware license anymore.

Someone else may remember this: there was some discussion a couple of years back of having Allegro's license recognised as an open source license, wasn't there a problem of Allegro's license being too free for it to be acknowledged as such?

Elias
Member #358
May 2000

Quote:

Someone else may remember this: there was some discussion a couple of years back of having Allegro's license recognised as an open source license, wasn't there a problem of Allegro's license being too free for it to be acknowledged as such?

I wrote to the OSI mailing list back then and asked to approve "giftware" as another open source license, but they refused and basically told me our license is public domain and not a license. Seems that mailing list doesn't exist anymore, but parts of my thread somehow made it into google nevertheless:

http://zork.net/~nick/mail/we-could-ask-lawrence-lessig-if-only-he-werent-such-a-git

I think we added the disclaimer section since then, so now things are a little bit different. I guess our license basically is MIT/BSD now.

Anyway, about addons which are licensed under MIT/BSD, there should be no problem. Source distributions are no problem anyway (unless we include code from another library into Allegro itself), and for binary distributions - it will be a good idea anyway to list in our docs what other libraries we use, and there we can also add any required copyright notice or disclaimers if it's demanded by the license. Even using LGPL libraries should be no problem that way (at least if we use only shared linking.. I remember something about that..).

For binary distributions, we could also make an extra document which should be included with games using Allegro (in case they re-distribute any of those third-party libraries or use an Allegro version which statically links them in).

--
"Either help out or stop whining" - Evert

Matěj Týč
Member #9,863
June 2008
avatar

Quote:

But then it wouldn't be the giftware license anymore.

That's right. I understand that the Allegro license may be a somewhat sensitive thing, but for instance the two clause BSD license just basically tells users that they should include the disclamer and ensure that everybody else who uses their work does the same (or it seems to say so as far as I have understood). I think that this is smart and every responsible person using Allegro should do it anyway.

Linking with the stuff is really OK, you can link to LGPL even if you have a closed commercial application.

Elias's idea with the docs and licences sounds smart to me.

---------------------------------------------------
Mind is like space, it is open, clear and unlimited. -- Ole Nydahl

Thomas Fjellstrom
Member #476
June 2000
avatar

Changing the license would require asking all developers of code we currently have if its ok to change it, and getting permission from ALL said developers, or removing or replacing their code if we can't other wise reach them or get their consent.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Elias
Member #358
May 2000

Quote:

Changing the license would require asking all developers of code we currently have if its ok to change it, and getting permission from ALL said developers, or removing or replacing their code if we can't other wise reach them or get their consent.

Not necessarily. As "giftware" specifically allows anyone to do anything with it, without any restrictions, changing the license certainly is included in that.

--
"Either help out or stop whining" - Evert

Evert
Member #794
November 2000
avatar

Quote:

Not necessarily. As "giftware" specifically allows anyone to do anything with it, without any restrictions, changing the license certainly is included in that.

Hmm... but after you did that, their code would no longer be under the giftware license, so that you effectively say "these people originally said you could do anything with their code, but we now tell you otherwise." That does seem a bit odd.
Then again, the original code would still be available under the old license. How does dual licensing work? Can we tell people that they can use Allegro either under the giftware license or under the BSD license, say?

Matthew Leverton
Supreme Loser
January 1999
avatar

Quote:

Someone else may remember this: there was some discussion a couple of years back of having Allegro's license recognised as an open source license, wasn't there a problem of Allegro's license being too free for it to be acknowledged as such?

Yes. It really is no license at all. And that's why relabeling it as anything is "legal."

We could label 4.4 as GPL without having to contact any of the original authors! If people complain that they "originally could do anything" with the code, then tell them to download 4.2 and "do anything" with it. And for the record, I obviously don't think Allegro should be GPL. :P

The Giftware license is just a joke. I believe that Allegro 5 and all bundled add-ons should exclusively be under the BSD license.

Peter Wang
Member #23
April 2000

Quote:

Yes. It really is no license at all.

Careful. "No license at all" would mean that anyone using Allegro is violating the copyright holders' copyrights, as they haven't been given a licence to use the code in Allegro.

I would support licensing Allegro 4.9/5 under a MIT/BSD licence.

Thomas Fjellstrom
Member #476
June 2000
avatar

Quote:

I would support licensing Allegro 4.9/5 under a MIT/BSD licence.

I would include zlib or something similar as well. I recall zlib and MIT/BSD all being decent licenses. I can't recall the specifics mind you so there might be something in the zlib licence that makes it so we cant use it.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Evert
Member #794
November 2000
avatar

Quote:

I would support licensing Allegro 4.9/5 under a MIT/BSD licence.

Might be a good idea. I'll put in a vote for the MIT license.

Quote:

I recall zlib and MIT/BSD all being decent licenses. I can't recall the specifics mind you so there might be something in the zlib licence that makes it so we cant use it.

They're all decent. Here are the clauses:

Zlib said:

Copyright (c) <year> <copyright holders>

This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.

2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.

3. This notice may not be removed or altered from any source
distribution.

MIT said:

Copyright (c) <year> <copyright holders>

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.

BSD said:

Copyright (c) <YEAR>, <OWNER>
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of the <ORGANIZATION> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The last two clauses in the BSD license are optional; if you remove both of them you basically end up with the MIT license again.

It depends a bit on whether we want the license to state that people have to acknowledge Allegro, or whether we trust people to do that without us requiring it (more or less as we do now, and something I thing most people would do if they think about it).

gnolam
Member #2,030
March 2002
avatar

I vote zlib. It's basically the current, nicely permissive Allegro license with a "no misrepresentation" clause, and it lacks MIT's ambiguous wording.

--
Move to the Democratic People's Republic of Vivendi Universal (formerly known as Sweden) - officially democracy- and privacy-free since 2008-06-18!

Elias
Member #358
May 2000

I also support dropping giftware for A5. Reading the three licenses above, ZLIB sounds like the best one to me. They key point is "If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.". I.e. if I make a game, then it is up to me if I want to mention somewhere that Allegro was used or not. (Of course, if I use A5 addons which use/depend on MIT or BSD or even LGPL code, I at least have to mention those somewhere in small print in the docs anyway.. so probably it wouldn't matter.)

--
"Either help out or stop whining" - Evert

Thomas Fjellstrom
Member #476
June 2000
avatar

I have to say I'd probably be in favor if zlib if we decide to do this.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Trent Gamblin
Member #261
April 2000
avatar

I'm fine with all three of those licenses.. don't know if I could pick a favorite. I usually go with BSD for my own code.

Evert
Member #794
November 2000
avatar

Quote:

It's basically the current, nicely permissive Allegro license with a "no misrepresentation" clause, and it lacks MIT's ambiguous wording.

Yeah, I see what you mean.

Quote:

Reading the three licenses above, ZLIB sounds like the best one to me. They key point is "If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.". I.e. if I make a game, then it is up to me if I want to mention somewhere that Allegro was used or not.

Agreed.

So assuming everyone agrees this is a good idea (which I think everyone does?), I can commit a LICENSE file to the repository with the Zlib license in it. Right now the top reads

Quote:

Copyright (c) 2008 the Allegro 5 Development Team

to make it clear that this license was adopted in 2008 and refers to A5. Comments?

Thomas Fjellstrom
Member #476
June 2000
avatar

We should also specify some place that ALL new contributions are licenced the same, and the "entity" that is the "dev team" has all rights to contributed code in the future.

Course I'm not sure we can do the last bit without an actual legal entity taking ownership (there is an opensource group that will do it for a project that can't afford or isn't big enough to set up their own legal organization).

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Peter Wang
Member #23
April 2000

I'd like more time to think about it. I quite like the zlib licence (and used it in the past), but if we're switch to a 'standard' licence we may be better off with an even "more" standard licence. For example, Google Code (in a fight against licence proliferation) doesn't accept projects under the zlib licence.

The other thing is whether to call it "LICENCE" or "LICENSE" ;-)

And this proposal should be posted on [AD].

Evert
Member #794
November 2000
avatar

Ok, doing that now

Thomas Fjellstrom
Member #476
June 2000
avatar

Quote:

For example, Google Code (in a fight against licence proliferation) doesn't accept projects under the zlib licence.

I don't see that as an issue. And besides the zlib license has been around for ages. It IS one of the standards. Along with BSD and GPL. Some of the other crap are the proliferations (like google's own licences, or the CDDL or other crap).

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Peter Wang
Member #23
April 2000

I don't care about Google Code per se; leave it aside.

There's a growing concern about licence proliferation in the free software world and there seems to be a push to "cull" (figuratively) the lesser known or redundant licences. MIT/BSD are the traditional representatives of the "permissive free software licenses" and obviously much more popular than zlib. They won't be on the wrong side of the "cull".

Now, zlib is closer in spirit to giftware and (probably) has better wording than either BSD or MIT, but the only practical difference I can see is attribution. Given all the considerations:

- wanting a standard licence
- not wanting to contribute to licence proliferation
- not wanting to end up with a marginalised licence

I'm wondering if the difference between zlib and BSD/MIT is really great enough to justify it.

Just wondering...

Thomas Fjellstrom
Member #476
June 2000
avatar

I dunno, I don't think this "cull" is all that big a deal. They've been talking about it for ages. Noone wants to give up their pet license, and people constantly add more, even the groups trying to cut down on licenses.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Mokkan
Member #4,355
February 2004
avatar

Why does it matter how many licenses exist? Just curious.

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Quote:

and the "entity" that is the "dev team" has all rights to contributed code in the future.

Do you mean exclusive rights to contributed code from anyone? Say I want to write something for A5 (don't know what it would be, but regardless of that), does that mean I'm giving up the rights to my own code then? It just sounds a little funny is all.

Personally, I like Zlib the best. Credit where credit is due, share freely.

Matthew Leverton
Supreme Loser
January 1999
avatar

Quote:

Why does it matter how many licenses exist? Just curious.

They tend to be incompatible with each other, and that introduces confusion.

I agree totally with what PW said. I'd pick between MIT/BSD.

Quote:

Do you mean exclusive rights to contributed code from anyone?

No, he doesn't mean exclusive. You could personally license your code under the GPL, but give Allegro 5 a copy under (e.g.) BSD.

If somebody uses the code from you, then they'll be stuck with GPL. But if they get the code from Allegro, they get BSD. This distinction matters if the Allegro developers go on to improve your code... then those improvements are BSD and you cannot claim it (exclusively) as GPL.

However, if you make independent changes to your GPL code, the Allegro people cannot take it from you, unless you explicitly give them permission.

Matěj Týč
Member #9,863
June 2008
avatar

BSD seems quite reasonable to me. It's like "responsible giftware" to me. I can't imagine that it would limit somebody with intentions to do something useful with Allegro more than zlib.

---------------------------------------------------
Mind is like space, it is open, clear and unlimited. -- Ole Nydahl

 1   2   3 


Go to: