From 0d43fe39629badea42149289fe742ba98c178119 Mon Sep 17 00:00:00 2001 From: yyc12345 Date: Wed, 9 Sep 2026 22:02:14 +0800 Subject: [PATCH] chore: use REUSE instead of non-standard license declaration --- LICENSE.md | 2 +- reference/bitmap assets/LICENSES.toml | 5 -- reference/bitmap assets/REUSE.toml | 8 +++ src/LICENSES.toml | 68 ------------------------ src/REUSE.toml | 75 +++++++++++++++++++++++++++ src/apps/LICENSES.toml | 9 ---- src/apps/REUSE.toml | 13 +++++ src/bitmap/LICENSES.toml | 23 -------- src/bitmap/REUSE.toml | 29 +++++++++++ src/component/LICENSES.toml | 32 ------------ src/component/REUSE.toml | 40 ++++++++++++++ tool/REUSE.toml | 7 +++ 12 files changed, 173 insertions(+), 138 deletions(-) delete mode 100644 reference/bitmap assets/LICENSES.toml create mode 100644 reference/bitmap assets/REUSE.toml delete mode 100644 src/LICENSES.toml create mode 100644 src/REUSE.toml delete mode 100644 src/apps/LICENSES.toml create mode 100644 src/apps/REUSE.toml delete mode 100644 src/bitmap/LICENSES.toml create mode 100644 src/bitmap/REUSE.toml delete mode 100644 src/component/LICENSES.toml create mode 100644 src/component/REUSE.toml create mode 100644 tool/REUSE.toml diff --git a/LICENSE.md b/LICENSE.md index 0789e8c..b0120b1 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -11,4 +11,4 @@ The content of these part is under `tool` directory. ## Icon Set Assets The assets for generating this icon set is under different licenses. -You can browse them manually, or use machine to collect them by reading the `LICENSES.toml` file located in their directory. +This project follows the [REUSE Specification](https://reuse.software/). You can collect the licensing information using the REUSE tool, or browse the `REUSE.toml` files located in their directory manually. diff --git a/reference/bitmap assets/LICENSES.toml b/reference/bitmap assets/LICENSES.toml deleted file mode 100644 index fe83655..0000000 --- a/reference/bitmap assets/LICENSES.toml +++ /dev/null @@ -1,5 +0,0 @@ -[[licenses]] -file = 'Nycticorax_nycticorax12.jpg' -license = "CC-BY-SA-3.0" -authors = ["Calibas"] -source = 'https://commons.wikimedia.org/wiki/File:Nycticorax_nycticorax12.jpg' diff --git a/reference/bitmap assets/REUSE.toml b/reference/bitmap assets/REUSE.toml new file mode 100644 index 0000000..7a14001 --- /dev/null +++ b/reference/bitmap assets/REUSE.toml @@ -0,0 +1,8 @@ +version = 1 + +[[annotations]] +path = "Nycticorax_nycticorax12.jpg" +precedence = "override" +SPDX-FileComment = "Source: https://commons.wikimedia.org/wiki/File:Nycticorax_nycticorax12.jpg" +SPDX-FileCopyrightText = "Calibas" +SPDX-License-Identifier = "CC-BY-SA-3.0" diff --git a/src/LICENSES.toml b/src/LICENSES.toml deleted file mode 100644 index 7b08d82..0000000 --- a/src/LICENSES.toml +++ /dev/null @@ -1,68 +0,0 @@ -[[licenses]] -file = 'go-base.svg' -license = "CC-BY-SA-4.0" -authors = ["yyc12345"] - -[[licenses]] -file = 'go-inner-shining.svg' -license = "CC-BY-SA-4.0" -authors = ["yyc12345"] - -[[licenses]] -file = 'go-inner.svg' -license = "Apache-2.0" -authors = ["Google", "yyc12345"] -source = 'https://github.com/google/material-design-icon' - -[[licenses]] -file = 'object-flip-horizontal.svg' -license = "LGPL-2.1-only" -authors = ["KDE Oxygen Icon Theme Team", "yyc12345"] -source = 'https://invent.kde.org/frameworks/oxygen-icons' - -[[licenses]] -file = 'object-flip-vertical.svg' -license = "LGPL-2.1-only" -authors = ["KDE Oxygen Icon Theme Team", "yyc12345"] -source = 'https://invent.kde.org/frameworks/oxygen-icons' - -[[licenses]] -file = 'object-rotate-left.svg' -license = "LGPL-2.1-only" -authors = ["KDE Oxygen Icon Theme Team", "yyc12345"] -source = 'https://invent.kde.org/frameworks/oxygen-icons' - -[[licenses]] -file = 'object-rotate-right.svg' -license = "LGPL-2.1-only" -authors = ["KDE Oxygen Icon Theme Team", "yyc12345"] -source = 'https://invent.kde.org/frameworks/oxygen-icons' - -[[licenses]] -file = 'object-rotate-right.svg' -license = "LGPL-2.1-only" -authors = ["KDE Oxygen Icon Theme Team", "yyc12345"] -source = 'https://invent.kde.org/frameworks/oxygen-icons' - -[[licenses]] -file = 'image-png-checkerboard.svg' -license = "CC-BY-SA-4.0" -authors = ["yyc12345"] - -[[licenses]] -file = 'dialog-infomation.svg' -license = "LGPL-2.1-only" -authors = ["KDE Oxygen Icon Theme Team", "yyc12345"] -source = 'https://invent.kde.org/frameworks/oxygen-icons' - -[[licenses]] -file = 'dialog-warning.svg' -license = "LGPL-2.1-only" -authors = ["KDE Oxygen Icon Theme Team", "yyc12345"] -source = 'https://invent.kde.org/frameworks/oxygen-icons' - -[[licenses]] -file = 'dialog-error.svg' -license = "LGPL-2.1-only" -authors = ["KDE Oxygen Icon Theme Team"] -source = 'https://invent.kde.org/frameworks/oxygen-icons' diff --git a/src/REUSE.toml b/src/REUSE.toml new file mode 100644 index 0000000..a58f87b --- /dev/null +++ b/src/REUSE.toml @@ -0,0 +1,75 @@ +version = 1 + +[[annotations]] +path = "go-base.svg" +precedence = "override" +SPDX-FileCopyrightText = "2026 yyc12345" +SPDX-License-Identifier = "CC-BY-SA-4.0" + +[[annotations]] +path = "go-inner-shining.svg" +precedence = "override" +SPDX-FileCopyrightText = "2026 yyc12345" +SPDX-License-Identifier = "CC-BY-SA-4.0" + +[[annotations]] +path = "go-inner.svg" +precedence = "override" +SPDX-FileComment = "Source: https://github.com/google/material-design-icon" +SPDX-FileCopyrightText = ["2014-2026 Google", "2026 yyc12345"] +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = "object-flip-horizontal.svg" +precedence = "override" +SPDX-FileComment = "Source: https://invent.kde.org/frameworks/oxygen-icons" +SPDX-FileCopyrightText = ["2015-2026 KDE Oxygen Icon Theme Team", "2026 yyc12345"] +SPDX-License-Identifier = "LGPL-2.1-only" + +[[annotations]] +path = "object-flip-vertical.svg" +precedence = "override" +SPDX-FileComment = "Source: https://invent.kde.org/frameworks/oxygen-icons" +SPDX-FileCopyrightText = ["2015-2026 KDE Oxygen Icon Theme Team", "2026 yyc12345"] +SPDX-License-Identifier = "LGPL-2.1-only" + +[[annotations]] +path = "object-rotate-left.svg" +precedence = "override" +SPDX-FileComment = "Source: https://invent.kde.org/frameworks/oxygen-icons" +SPDX-FileCopyrightText = ["2015-2026 KDE Oxygen Icon Theme Team", "2026 yyc12345"] +SPDX-License-Identifier = "LGPL-2.1-only" + +[[annotations]] +path = "object-rotate-right.svg" +precedence = "override" +SPDX-FileComment = "Source: https://invent.kde.org/frameworks/oxygen-icons" +SPDX-FileCopyrightText = ["2015-2026 KDE Oxygen Icon Theme Team", "2026 yyc12345"] +SPDX-License-Identifier = "LGPL-2.1-only" + +[[annotations]] +path = "image-png-checkerboard.svg" +precedence = "override" +SPDX-FileCopyrightText = "2026 yyc12345" +SPDX-License-Identifier = "CC-BY-SA-4.0" + +[[annotations]] +path = "dialog-infomation.svg" +precedence = "override" +SPDX-FileComment = "Source: https://invent.kde.org/frameworks/oxygen-icons" +SPDX-FileCopyrightText = ["2015-2026 KDE Oxygen Icon Theme Team", "2026 yyc12345"] +SPDX-License-Identifier = "LGPL-2.1-only" + +[[annotations]] +path = "dialog-warning.svg" +precedence = "override" +SPDX-FileComment = "Source: https://invent.kde.org/frameworks/oxygen-icons" +SPDX-FileCopyrightText = ["2015-2026 KDE Oxygen Icon Theme Team", "2026 yyc12345"] +SPDX-License-Identifier = "LGPL-2.1-only" + +[[annotations]] +path = "dialog-error.svg" +precedence = "override" +SPDX-FileComment = "Source: https://invent.kde.org/frameworks/oxygen-icons" +SPDX-FileCopyrightText = "2015-2026 KDE Oxygen Icon Theme Team" +SPDX-License-Identifier = "LGPL-2.1-only" diff --git a/src/apps/LICENSES.toml b/src/apps/LICENSES.toml deleted file mode 100644 index 6b05d9a..0000000 --- a/src/apps/LICENSES.toml +++ /dev/null @@ -1,9 +0,0 @@ -[[licenses]] -file = 'sarasacw-picture-frame.svg' -license = "CC-BY-SA-4.0" -authors = ["yyc12345"] - -[[licenses]] -file = 'notepad.blend' -license = "CC-BY-SA-4.0" -authors = ["yyc12345"] diff --git a/src/apps/REUSE.toml b/src/apps/REUSE.toml new file mode 100644 index 0000000..2c7ed41 --- /dev/null +++ b/src/apps/REUSE.toml @@ -0,0 +1,13 @@ +version = 1 + +[[annotations]] +path = "sarasacw-picture-frame.svg" +precedence = "override" +SPDX-FileCopyrightText = "2026 yyc12345" +SPDX-License-Identifier = "CC-BY-SA-4.0" + +[[annotations]] +path = "notepad.blend" +precedence = "override" +SPDX-FileCopyrightText = "2026 yyc12345" +SPDX-License-Identifier = "CC-BY-SA-4.0" diff --git a/src/bitmap/LICENSES.toml b/src/bitmap/LICENSES.toml deleted file mode 100644 index 824c498..0000000 --- a/src/bitmap/LICENSES.toml +++ /dev/null @@ -1,23 +0,0 @@ -[[licenses]] -file = 'Niinsaare_järv.jpg' -license = "CC-BY-SA-3.0" -authors = ["Ivar Leidus"] -source = 'https://commons.wikimedia.org/wiki/File:Niinsaare_j%C3%A4rv.jpg' - -[[licenses]] -file = 'Tulipa_suaveolens_floriade_to_Canberra.jpg' -license = "CC-BY-SA-3.0" -authors = ["John O'Neill"] -source = 'https://commons.wikimedia.org/wiki/File:Tulipa_suaveolens_floriade_to_Canberra.jpg' - -[[licenses]] -file = 'Hot-air_balloon_in_Tambov_-_02.jpg' -license = "CC-BY-SA-4.0" -authors = ["Alexander Novikov"] -source = 'https://commons.wikimedia.org/wiki/File:Hot-air_balloon_in_Tambov_-_02.jpg' - -[[licenses]] -file = 'Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg' -license = "CC0-1.0" # Public Domain actually. -authors = ["Vincent van Gogh", "Google Arts & Culture"] -source = 'https://commons.wikimedia.org/wiki/File:Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg' diff --git a/src/bitmap/REUSE.toml b/src/bitmap/REUSE.toml new file mode 100644 index 0000000..cdfa35c --- /dev/null +++ b/src/bitmap/REUSE.toml @@ -0,0 +1,29 @@ +version = 1 + +[[annotations]] +path = "Niinsaare_järv.jpg" +precedence = "override" +SPDX-FileComment = "Source: https://commons.wikimedia.org/wiki/File:Niinsaare_j%C3%A4rv.jpg" +SPDX-FileCopyrightText = "2013 Ivar Leidus" +SPDX-License-Identifier = "CC-BY-SA-3.0" + +[[annotations]] +path = "Tulipa_suaveolens_floriade_to_Canberra.jpg" +precedence = "override" +SPDX-FileComment = "Source: https://commons.wikimedia.org/wiki/File:Tulipa_suaveolens_floriade_to_Canberra.jpg" +SPDX-FileCopyrightText = "2005 John O'Neill" +SPDX-License-Identifier = "CC-BY-SA-3.0" + +[[annotations]] +path = "Hot-air_balloon_in_Tambov_-_02.jpg" +precedence = "override" +SPDX-FileComment = "Source: https://commons.wikimedia.org/wiki/File:Hot-air_balloon_in_Tambov_-_02.jpg" +SPDX-FileCopyrightText = "2022 Alexander Novikov" +SPDX-License-Identifier = "CC-BY-SA-4.0" + +[[annotations]] +path = "Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg" +precedence = "override" +SPDX-FileComment = "Source: https://commons.wikimedia.org/wiki/File:Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg" +SPDX-FileCopyrightText = ["1889 Vincent van Gogh", "Google Arts & Culture"] +SPDX-License-Identifier = "CC0-1.0" # Public Domain actually. diff --git a/src/component/LICENSES.toml b/src/component/LICENSES.toml deleted file mode 100644 index a0d0aac..0000000 --- a/src/component/LICENSES.toml +++ /dev/null @@ -1,32 +0,0 @@ -[[licenses]] -file = 'image-base.svg' -license = "CC-BY-SA-4.0" -authors = ["yyc12345"] - -[[licenses]] -file = 'generic-background.svg' -license = "CC-BY-SA-4.0" -authors = ["yyc12345"] - -[[licenses]] -file = 'triangle.svg' -license = "Apache-2.0" -authors = ["Austin Andrews", "yyc12345"] -source = 'https://pictogrammers.com/library/mdi/icon/menu-left/' - -[[licenses]] -file = 'magnifying-glass.blend' -license = "CC-BY-SA-4.0" -authors = ["yyc12345"] - -[[licenses]] -file = 'minus.svg' -license = "Apache-2.0" -authors = ["Google", "yyc12345"] -source = 'https://github.com/google/material-design-icon' - -[[licenses]] -file = 'plus.svg' -license = "Apache-2.0" -authors = ["Google", "yyc12345"] -source = 'https://github.com/google/material-design-icon' diff --git a/src/component/REUSE.toml b/src/component/REUSE.toml new file mode 100644 index 0000000..955f095 --- /dev/null +++ b/src/component/REUSE.toml @@ -0,0 +1,40 @@ +version = 1 + +[[annotations]] +path = "image-base.svg" +precedence = "override" +SPDX-FileCopyrightText = "2026 yyc12345" +SPDX-License-Identifier = "CC-BY-SA-4.0" + +[[annotations]] +path = "generic-background.svg" +precedence = "override" +SPDX-FileCopyrightText = "2026 yyc12345" +SPDX-License-Identifier = "CC-BY-SA-4.0" + +[[annotations]] +path = "triangle.svg" +precedence = "override" +SPDX-FileComment = "Source: https://github.com/Templarian/MaterialDesign" +SPDX-FileCopyrightText = ["2014-2025 Austin Andrews", "2026 yyc12345"] +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = "magnifying-glass.blend" +precedence = "override" +SPDX-FileCopyrightText = "2026 yyc12345" +SPDX-License-Identifier = "CC-BY-SA-4.0" + +[[annotations]] +path = "minus.svg" +precedence = "override" +SPDX-FileComment = "Source: https://github.com/google/material-design-icon" +SPDX-FileCopyrightText = ["2014-2026 Google", "2026 yyc12345"] +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = "plus.svg" +precedence = "override" +SPDX-FileComment = "Source: https://github.com/google/material-design-icon" +SPDX-FileCopyrightText = ["2014-2026 Google", "2026 yyc12345"] +SPDX-License-Identifier = "Apache-2.0" diff --git a/tool/REUSE.toml b/tool/REUSE.toml new file mode 100644 index 0000000..f382b4c --- /dev/null +++ b/tool/REUSE.toml @@ -0,0 +1,7 @@ +version = 1 + +[[annotations]] +path = "**" +precedence = "override" +SPDX-FileCopyrightText = "2026 Sarasa's Chip Workshop" +SPDX-License-Identifier = "MIT"