From e34fdb0cd5522ad44604ef36579f58de87f27242 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 2 Nov 2022 10:53:52 +0000 Subject: [PATCH] docs: Add licensing/copyright data to GVariant specification The licensing for the original GVariant specification was not specified in the original PDF. However, CC-BY-SA-3.0 has been agreed by Allison, the sole copyright holder, here: https://gitlab.gnome.org/Teams/documentation/developer-www/-/merge_requests/108/#note_1586866 The diagrams were redrawn by me, so their licensing/copyright status is clear. Tested with `reuse lint` to ensure the data is machine-readable. Signed-off-by: Philip Withnall --- .reuse/dep5 | 7 ++++ .../glib/gvariant-byte-boundaries.svg | 39 +++++++++++++++++-- .../gvariant-integer-and-string-structure.svg | 37 +++++++++++++++++- .../reference/glib/gvariant-integer-array.svg | 39 +++++++++++++++++-- .../glib/gvariant-specification-1.0.rst | 7 ++++ docs/reference/glib/gvariant-string-array.svg | 37 +++++++++++++++++- 6 files changed, 156 insertions(+), 10 deletions(-) diff --git a/.reuse/dep5 b/.reuse/dep5 index ce8c61ef2..979f2ea98 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -34,3 +34,10 @@ Files: subprojects/*.wrap Copyright: Meson Wrap Database (wrapdb) contributors License: CC0-1.0 + +# SVG files do contain the licensing metadata, but `reuse` can’t extract it +# yet. The canonical licensing information for these files is in their internal +# metadata. +Files: docs/reference/glib/gvariant-*.svg +Copyright: 2022 Philip Withnall +License: CC-BY-SA-3.0 diff --git a/docs/reference/glib/gvariant-byte-boundaries.svg b/docs/reference/glib/gvariant-byte-boundaries.svg index b57084e36..94cd6a4ef 100644 --- a/docs/reference/glib/gvariant-byte-boundaries.svg +++ b/docs/reference/glib/gvariant-byte-boundaries.svg @@ -12,7 +12,10 @@ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns="http://www.w3.org/2000/svg" - xmlns:svg="http://www.w3.org/2000/svg"> + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> 4 + + + + + + + + + + + + + + + Copyright © 2022 Philip Withnall + + + + + diff --git a/docs/reference/glib/gvariant-integer-and-string-structure.svg b/docs/reference/glib/gvariant-integer-and-string-structure.svg index 315ee9ec4..47f03b24a 100644 --- a/docs/reference/glib/gvariant-integer-and-string-structure.svg +++ b/docs/reference/glib/gvariant-integer-and-string-structure.svg @@ -12,7 +12,10 @@ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns="http://www.w3.org/2000/svg" - xmlns:svg="http://www.w3.org/2000/svg"> + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> + + + + + + Copyright © 2022 Philip Withnall + + + + + + + + + + + + + + diff --git a/docs/reference/glib/gvariant-integer-array.svg b/docs/reference/glib/gvariant-integer-array.svg index d414cbf01..1437e6aae 100644 --- a/docs/reference/glib/gvariant-integer-array.svg +++ b/docs/reference/glib/gvariant-integer-array.svg @@ -12,7 +12,10 @@ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns="http://www.w3.org/2000/svg" - xmlns:svg="http://www.w3.org/2000/svg"> + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> 8 + + + + + + + + + + + + + + + Copyright © 2022 Philip Withnall + + + + + diff --git a/docs/reference/glib/gvariant-specification-1.0.rst b/docs/reference/glib/gvariant-specification-1.0.rst index d8b55ffbd..9a9611ec6 100644 --- a/docs/reference/glib/gvariant-specification-1.0.rst +++ b/docs/reference/glib/gvariant-specification-1.0.rst @@ -1,4 +1,11 @@ .. sectnum:: +.. meta:: + :copyright: Copyright 2007 Allison Karlitskaya + :license: CC-BY-SA-3.0 +.. + This has to be duplicated from above to make it machine-readable by `reuse`: + SPDX-FileCopyrightText: 2007 Allison Karlitskaya + SPDX-License-Identifier: CC-BY-SA-3.0 ========================== GVariant Specification 1.0 diff --git a/docs/reference/glib/gvariant-string-array.svg b/docs/reference/glib/gvariant-string-array.svg index 15922f55d..d64a20e77 100644 --- a/docs/reference/glib/gvariant-string-array.svg +++ b/docs/reference/glib/gvariant-string-array.svg @@ -12,7 +12,10 @@ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns="http://www.w3.org/2000/svg" - xmlns:svg="http://www.w3.org/2000/svg"> + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> + + + + + + Copyright © 2022 Philip Withnall + + + + + + + + + + + + + +