nothings / stb

stb single-file public domain libraries for C/C++
https://twitter.com/nothings
Other
25.99k stars 7.67k forks source link

Consider clarifying which juristiction's definition of Public Domain you want to use, or use Creative Commons CC0 licence #1519

Closed AnyOldName3 closed 10 months ago

AnyOldName3 commented 10 months ago

Is your feature request related to a problem? Please describe. Some countries use their own definition of public domain that's incompatible with that of the rest of the world. For example, in France, when something's in the public domain, its authors 'moral rights' must still be upheld, allowing the author to prohibit derivative works or withdraw the work, and requiring anyone using the work to include attribution. This can cause problems if you live in such a country, or move to one, or you die and one of your descendants lives there, and someone claims that territory's definition should apply.

Describe the solution you'd like One option is to explicitly say where you live, and that you want that place's definition to be used, unless you're somewhere with a weird definition and don't like it. As an alternative, Creative Commons created the CC0 licence, which basically puts the common understanding of public domain into the necessary legalese to make it work around the world.

Describe alternatives you've considered It would be a violation of international law to remove France from the world.

Additional context N/A

musicinmybrain commented 10 months ago

As far as I can tell, the current license is, in SPDX terms, (MITORUnlicense). That’s quite different from a generic public-domain dedication.

nothings commented 10 months ago

Before 2011, CC0 was not acceptable for software, and many of the stb libs predate 2011. Even after 2011, the CC FAQ continues to recommend against using CC licenses for software.

Because the license has been endlessly complained about by various parties for the 10 years these libraries have been on github, it is clear there is NO LICENSE that can actually satisfy everyone in the world.

For this reason we settled some time ago on licensing every library under both MIT and Unlicense (public domain).

We're done. Because it is clear there is NO LICENSE that can actually satisfy everyone in the world, we're not going to change it anymore. It's done. It's over. No more. Stop asking for changes to the license.

musicinmybrain commented 10 months ago

Before 2011, CC0 was not acceptable for software, and many of the stb libs predate 2011. Even after 2011, the CC FAQ continues to recommend against using CC licenses for software.

The following is mostly for the benefit of others who might be influenced by the discussion here.

In Fedora Linux, CC0 is now allowed only for content, not for code, with exceptions for software already in the distribution, due to concerns about the language around patents. Fedora does accept public-domain dedications, and is not generally in the habit of disallowing licenses without good reason. I wouldn’t recommend any projects switch to CC0 for software licensing at this point.

The most widely accepted ultra-permissive licenses seem to be MIT-0, 0BSD, and the Unlicense. Some corporations allow only some of these, and the first two are now more fashionable, but all three seem to be unproblematic for most users.

AnyOldName3 commented 10 months ago

The Unlicense works, too. It's not mentioned in the readme, though, so I'd suggest doing that.