public domain mini-LZ library

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

syzygy
Posts: 5563
Joined: Tue Feb 28, 2012 11:56 pm

Re: public domain mini-LZ library

Post by syzygy »

Rein Halbersma wrote:
syzygy wrote:Ah, you started with the Unlicense:
This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.

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 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.
Looks fine to me.

Whether the "dedicate to public domain" clause is really non-revokable is not within the EU is not entirely clear, but it's the best you can do. EU copyright law does not really have a notion of "public domain" (except for works for which copyright has expired).

Another option: http://www.wtfpl.net/about/
I would not recommend a modified Boost license (or any other less familiar license) because it increases transaction costs for further development. The whole proliferation of slightly different licenses is a real pain.
Your argument is exactly why the Unlicense is the perfect "license" here.

The point of the Unlicense is that it places no requirements whatsoever on what happens to the code next. The developer integrating the code into his own program can place it under any license that he wishes (which he can enforce to the extent that he has added his own copyrightable changes). No need to keep files separate or to keep lines of code separate (as Boost seems to require by necessity) or to in any way include extra license files.

As I wrote above about the Boost license:
syzygy wrote:Other people cannot simply take the code, modify it to their liking, and include it in their own program. They have to add the Boost license at least to the files that include (remnants of) your code and perhaps to the source code as a whole (the FSF would tell you that the program as a whole becomes a derivative work... the FSF may be wrong, but still).
Rein Halbersma
Posts: 741
Joined: Tue May 22, 2007 11:13 am

Re: public domain mini-LZ library

Post by Rein Halbersma »

If the Boost license would place an undue burden on you, and you really want to put code into the public domain, or the closest legally allowed alternative of that, then the CC0 from Creative Commons would probably be the most efective way to do that. It has explicit fallback provisions for it.
syzygy
Posts: 5563
Joined: Tue Feb 28, 2012 11:56 pm

Re: public domain mini-LZ library

Post by syzygy »

Rein Halbersma wrote:If the Boost license would place an undue burden on you, and you really want to put code into the public domain, or the closest legally allowed alternative of that, then the CC0 from Creative Commons would probably be the most efective way to do that. It has explicit fallback provisions for it.
Yes, CC0 should be fine as well, although I think there is no need for it to be as long as it is.
User avatar
Evert
Posts: 2929
Joined: Sat Jan 22, 2011 12:42 am
Location: NL

Re: public domain mini-LZ library

Post by Evert »

mar wrote: I hope this is not the case. The license only needs to remain with the library code as I understand it.
I also considered other licenses. BSD/MIT (if I'm not mistaken) require the license to be included even with binary distributions, which is not what I want.
(L)GPL is naturally out of question, that's not a free license at all.
So I wonder what remains, there's also zlib license, Apache and more.
CC0 is similar to Unlicense and I'm not quite sure it can be applied to software.
I'm not a lawyer but I simply want the most permissive license available while still legal...
I think zlib should be pretty close to what you want. It's basically "use this however you like, just don't be a dick about it".
CC0 is even more liberal, but it's not really intended for software.
mar
Posts: 2554
Joined: Fri Nov 26, 2010 2:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: public domain mini-LZ library

Post by mar »

Evert wrote:I think zlib should be pretty close to what you want. It's basically "use this however you like, just don't be a dick about it".
CC0 is even more liberal, but it's not really intended for software.
Yes, zlib ~= boost public, CC0 ~= Unlicense ~= WTFPL
However I'm still confused about licenses, because I'm not sure if CC0/Unlicense/WTFPL qualify as licenses everywhere... :?