chiark / gitweb /
ensure_eq, fix
[otter.git] / LICENCE
1 This is "Otter", Online TableTop Environment Renderer,
2 a multiplayer online tabletop gameplay system.
3
4
5 "Otter" is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Affero General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU Affero General Public License for more details.
14
15 You should have received a copy of the GNU Affero General Public
16 License v3 along with this program, in the file AGPL-3.
17 If not, see <http://www.gnu.org/licenses/>.
18
19
20 You can download the complete source code of a running instance of
21 Otter, by visiting the path /src.  There should be a link at the
22 bottom of the page.
23
24
25 Shape libraries
26 ---------------
27
28 The shape librariues in library/ are *not* part of Otter itself.  The
29 files there have a variety of different licences, and are often
30 multiply-licenced.  But all of these files are available under
31 at least CC-BY-SA 3.0 or CC-BY-SA 4.0, so:
32
33 The shape libraries are licensed under either the Creative Commons
34 Attribution-Share Alike 3.0 Unported License, or the Creative Commons
35 Attribution-ShareAlike 4.0 International Licence.
36 There is NO WARRANTY.
37
38 Many of these files were downloaded from public sources using the
39 ./media-scraper script; if they are to be edited, it would be best to
40 edit them at the public source.
41
42 For each file in the shape library, there is either a corresponding
43 file ".licence" (in the git source tree), or a file LICENCE in the
44 relevant directory, giving licence, provenance and authorship
45 information.
46
47 The individual shapes must be sent by the server to the client as part
48 of HTML/XML documents and as part of the client/server protocol; they
49 become part of the dynamic HTML in the page in the client web browser.
50
51 These versions of the files have been processed by usvg and are saved
52 as ".usvg" in the built version of the overall git tree.  The spdx
53 licence identifier and the provenance of the file is recorded in an
54 XML comment like this <!-- $SPDX $LIBNAME/$BASENAME --> where $SPDX is
55 the SPDX licence identifier for the primary licence we are using; and
56 the $LIBNAME/$BASENAME are relative to the library/ directory in the
57 source tree, where the full authorship and licence information, and
58 source url etc., can be found.
59
60 You can find a copy of the actual licences in the files
61 CC-BY-SA-3.0.txt and CC-BY-SA-4.0.txt.  If not, see
62 <https://creativecommons.org/>.
63
64
65 Formalities
66 -----------
67
68 Individual files generally contain the following tag (or similar)
69 in the copyright notice, instead of the full licence grant text:
70   SPDX-License-Identifier: AGPL-3.0-or-later
71 As is conventional, this should be read as a licence grant.
72
73 Contributions to Otter are accepted based on the git commit
74 Signed-off-by convention, by which the contributors' certify their
75 contributions according to the Developer Certificate of Origin version
76 1.1 - see the file DEVELOPER-CERTIFICATE.
77
78 If you create a new file please be sure to add an appropriate licence
79 header, probably something like this:
80 // Copyright by contributors to the Otter game system
81 // SPDX-License-Identifier: AGPL-3.0-or-later
82 // There is NO WARRANTY.
83
84
85 Partial dual licence
86 --------------------
87
88 Some individual files are dual-licenced and say
89   "MIT-0 OR AGPL-3.0-or-later"
90 Those files are available under the MIT-0 permissive licence when
91 taken separately, but when distributed as part of Otter, they are
92 AGPLv3+.
93
94 The imported git subtree webassembly-types/ is by 01Alchemist and is
95 available under the MIT licence (SPDX "MIT").  Again, when distributed
96 as part of Otter, this is AGPLv3+.