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 <pwithnall@endlessos.org>
This commit is contained in:
Philip Withnall 2022-11-02 10:53:52 +00:00
parent 7ee767213b
commit e34fdb0cd5
6 changed files with 156 additions and 10 deletions

View File

@ -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` cant 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

View File

@ -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/">
<sodipodi:namedview
id="namedview7"
pagecolor="#ffffff"
@ -25,8 +28,8 @@
inkscape:document-units="mm"
showgrid="false"
inkscape:zoom="1.2598564"
inkscape:cx="36.90897"
inkscape:cy="-42.862029"
inkscape:cx="38.496451"
inkscape:cy="-42.862028"
inkscape:window-width="1920"
inkscape:window-height="1043"
inkscape:window-x="0"
@ -168,4 +171,34 @@
x="85.445168"
y="80.552078">4</tspan></text>
</g>
<metadata
id="metadata1431">
<rdf:RDF>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
<cc:Work
rdf:about="">
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/" />
<dc:rights>
<cc:Agent>
<dc:title>Copyright © 2022 Philip Withnall</dc:title>
</cc:Agent>
</dc:rights>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

@ -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/">
<sodipodi:namedview
id="namedview5157"
pagecolor="#ffffff"
@ -25,7 +28,7 @@
inkscape:document-units="mm"
showgrid="false"
inkscape:zoom="2.5197127"
inkscape:cx="186.72764"
inkscape:cx="187.52138"
inkscape:cy="32.940263"
inkscape:window-width="1920"
inkscape:window-height="1043"
@ -322,4 +325,34 @@
d="m 89.351354,183.3049 h 11.073556 v -6.87539"
id="path7585" />
</g>
<metadata
id="metadata4685">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:rights>
<cc:Agent>
<dc:title>Copyright © 2022 Philip Withnall</dc:title>
</cc:Agent>
</dc:rights>
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/" />
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
</svg>

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -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/">
<sodipodi:namedview
id="namedview613"
pagecolor="#ffffff"
@ -25,8 +28,8 @@
inkscape:document-units="mm"
showgrid="false"
inkscape:zoom="1.7817059"
inkscape:cx="42.094488"
inkscape:cy="32.553071"
inkscape:cx="42.936379"
inkscape:cy="32.553072"
inkscape:window-width="1920"
inkscape:window-height="1043"
inkscape:window-x="0"
@ -219,4 +222,34 @@
x="165.49881"
y="158.13806">8</tspan></text>
</g>
<metadata
id="metadata5852">
<rdf:RDF>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
<cc:Work
rdf:about="">
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/" />
<dc:rights>
<cc:Agent>
<dc:title>Copyright © 2022 Philip Withnall</dc:title>
</cc:Agent>
</dc:rights>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -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

View File

@ -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/">
<sodipodi:namedview
id="namedview1666"
pagecolor="#ffffff"
@ -25,7 +28,7 @@
inkscape:document-units="mm"
showgrid="false"
inkscape:zoom="1.7817059"
inkscape:cx="280.34929"
inkscape:cx="280.91056"
inkscape:cy="124.59969"
inkscape:window-width="1920"
inkscape:window-height="1043"
@ -429,4 +432,34 @@
d="m 167.65592,113.19876 v 6.5108 h -16.28106 v -6.26542"
id="path3388" />
</g>
<metadata
id="metadata7003">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:rights>
<cc:Agent>
<dc:title>Copyright © 2022 Philip Withnall</dc:title>
</cc:Agent>
</dc:rights>
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/" />
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
</svg>

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 24 KiB