From cdb240f3d4d9c0d6d56e6660d8c45da4ab60ff59 Mon Sep 17 00:00:00 2001 From: Andrea Pappacoda Date: Sun, 15 May 2022 02:06:02 +0200 Subject: chore: make yuzu REUSE compliant [REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254 --- dist/compatibility_list/compatibility_list.qrc | 5 +++ dist/icons/controller/controller.qrc | 5 +++ dist/icons/overlay/overlay.qrc | 5 +++ dist/license.md | 44 ------------------------- dist/org.yuzu_emu.yuzu.desktop | 3 ++ dist/org.yuzu_emu.yuzu.metainfo.xml | 6 ++++ dist/org.yuzu_emu.yuzu.xml | 6 ++++ dist/qt_themes/colorful/style.qrc | 5 +++ dist/qt_themes/colorful_dark/style.qrc | 5 +++ dist/qt_themes/colorful_midnight_blue/style.qrc | 5 +++ dist/qt_themes/default/default.qrc | 5 +++ dist/yuzu.manifest | 6 ++++ 12 files changed, 56 insertions(+), 44 deletions(-) delete mode 100644 dist/license.md (limited to 'dist') diff --git a/dist/compatibility_list/compatibility_list.qrc b/dist/compatibility_list/compatibility_list.qrc index a29b73598..3b1359a8e 100644 --- a/dist/compatibility_list/compatibility_list.qrc +++ b/dist/compatibility_list/compatibility_list.qrc @@ -1,3 +1,8 @@ + + compatibility_list.json diff --git a/dist/icons/controller/controller.qrc b/dist/icons/controller/controller.qrc index 78eae461c..8d5261c38 100644 --- a/dist/icons/controller/controller.qrc +++ b/dist/icons/controller/controller.qrc @@ -1,3 +1,8 @@ + + applet_dual_joycon.png diff --git a/dist/icons/overlay/overlay.qrc b/dist/icons/overlay/overlay.qrc index d5a21ce10..8d7833aca 100644 --- a/dist/icons/overlay/overlay.qrc +++ b/dist/icons/overlay/overlay.qrc @@ -1,3 +1,8 @@ + + arrow_left.png diff --git a/dist/license.md b/dist/license.md deleted file mode 100644 index c5ebe9c00..000000000 --- a/dist/license.md +++ /dev/null @@ -1,44 +0,0 @@ -The icons in this folder and its subfolders have the following licenses: - -Icon Name | License | Origin/Author ---- | --- | --- -qt_themes/default/icons/16x16/checked.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/default/icons/16x16/connected.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/default/icons/16x16/connected_notification.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/default/icons/16x16/disconnected.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/default/icons/16x16/failed.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/default/icons/16x16/lock.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/default/icons/16x16/view-refresh.png | Apache 2.0 | https://material.io -qt_themes/default/icons/256x256/plus_folder.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/default/icons/48x48/bad_folder.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/default/icons/48x48/chip.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/default/icons/48x48/folder.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/default/icons/48x48/no_avatar.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/default/icons/48x48/plus.png | CC0 1.0 | Designed by BreadFish64 from the Citra team -qt_themes/default/icons/48x48/sd_card.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/default/icons/48x48/star.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/qdarkstyle/icons/16x16/connected.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/qdarkstyle/icons/16x16/connected_notification.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/qdarkstyle/icons/16x16/lock.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/qdarkstyle/icons/16x16/view-refresh.png | Apache 2.0 | https://material.io -qt_themes/qdarkstyle/icons/256x256/plus_folder.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/qdarkstyle/icons/48x48/bad_folder.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/qdarkstyle/icons/48x48/chip.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/qdarkstyle/icons/48x48/folder.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/qdarkstyle/icons/48x48/no_avatar.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/qdarkstyle/icons/48x48/plus.png | CC0 1.0 | Designed by BreadFish64 from the Citra team -qt_themes/qdarkstyle/icons/48x48/sd_card.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/qdarkstyle/icons/48x48/star.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/colorful/icons/16x16/connected.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/colorful/icons/16x16/connected_notification.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/colorful/icons/16x16/lock.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/colorful/icons/16x16/view-refresh.png | Apache 2.0 | https://material.io -qt_themes/colorful/icons/256x256/plus_folder.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/colorful/icons/48x48/bad_folder.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/colorful/icons/48x48/chip.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/colorful/icons/48x48/folder.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/colorful/icons/48x48/plus.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/colorful/icons/48x48/sd_card.png | CC BY-ND 3.0 | https://icons8.com -qt_themes/colorful/icons/48x48/star.png | CC BY-ND 3.0 | https://icons8.com - - \ No newline at end of file diff --git a/dist/org.yuzu_emu.yuzu.desktop b/dist/org.yuzu_emu.yuzu.desktop index 3652a3abc..008422863 100644 --- a/dist/org.yuzu_emu.yuzu.desktop +++ b/dist/org.yuzu_emu.yuzu.desktop @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2018 yuzu Emulator Project +# SPDX-License-Identifier: GPL-2.0-or-later + [Desktop Entry] Version=1.0 Type=Application diff --git a/dist/org.yuzu_emu.yuzu.metainfo.xml b/dist/org.yuzu_emu.yuzu.metainfo.xml index bcc5fc9a9..fa3935c36 100644 --- a/dist/org.yuzu_emu.yuzu.metainfo.xml +++ b/dist/org.yuzu_emu.yuzu.metainfo.xml @@ -1,4 +1,10 @@ + + + org.yuzu_emu.yuzu CC0-1.0 diff --git a/dist/org.yuzu_emu.yuzu.xml b/dist/org.yuzu_emu.yuzu.xml index b52acecc4..b774eb0c4 100644 --- a/dist/org.yuzu_emu.yuzu.xml +++ b/dist/org.yuzu_emu.yuzu.xml @@ -1,4 +1,10 @@ + + + Nintendo Switch homebrew executable diff --git a/dist/qt_themes/colorful/style.qrc b/dist/qt_themes/colorful/style.qrc index bd7898eb1..4b3f28d89 100644 --- a/dist/qt_themes/colorful/style.qrc +++ b/dist/qt_themes/colorful/style.qrc @@ -1,3 +1,8 @@ + + icons/index.theme diff --git a/dist/qt_themes/colorful_dark/style.qrc b/dist/qt_themes/colorful_dark/style.qrc index 602c71b32..50e78c37b 100644 --- a/dist/qt_themes/colorful_dark/style.qrc +++ b/dist/qt_themes/colorful_dark/style.qrc @@ -1,3 +1,8 @@ + + ../colorful/icons/16x16/connected.png diff --git a/dist/qt_themes/colorful_midnight_blue/style.qrc b/dist/qt_themes/colorful_midnight_blue/style.qrc index bf367099a..ac8cb0d49 100644 --- a/dist/qt_themes/colorful_midnight_blue/style.qrc +++ b/dist/qt_themes/colorful_midnight_blue/style.qrc @@ -1,3 +1,8 @@ + + icons/index.theme diff --git a/dist/qt_themes/default/default.qrc b/dist/qt_themes/default/default.qrc index 41842e5d8..ef080c221 100644 --- a/dist/qt_themes/default/default.qrc +++ b/dist/qt_themes/default/default.qrc @@ -1,3 +1,8 @@ + + icons/index.theme diff --git a/dist/yuzu.manifest b/dist/yuzu.manifest index 038edff23..10a8df9b5 100644 --- a/dist/yuzu.manifest +++ b/dist/yuzu.manifest @@ -1,4 +1,10 @@ + + + -- cgit v1.2.3