Skip to content

Commit 10f4c84

Browse files
committed
chore: add SPDX licensing for snippets and files missing attribution
1 parent bd8e7ee commit 10f4c84

File tree

4 files changed

+25
-7
lines changed

4 files changed

+25
-7
lines changed

LICENSES/MIT.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
MIT License
2+
3+
Copyright (c) <year> <copyright holders>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

nautilus-extension/nautilus-gsconnect.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect
1+
# SPDX-FileCopyrightText: 2016 KDE Connect Indicator Developers
2+
# SPDX-FileContributor: GSConnect Developers https://github.com/GSConnect
23
#
34
# SPDX-License-Identifier: GPL-2.0-or-later
45

src/service/plugins/contacts.js

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
// SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect
2-
//
32
// SPDX-License-Identifier: GPL-2.0-or-later
3+
//
4+
// SDPX-SnippetLineRange: 161:171
5+
// SPDX-SnippetCopyrightText: Mathias Bynens
6+
// SPDX-SnippetComment: https://github.com/mathiasbynens/quoted-printable/blob/master/src/quoted-printable.js
7+
// SPDX-License-Identifier: MIT
8+
//
9+
// SDPX-SnippetLineRange: 182:219
10+
// SPDX-SnippetCopyrightText: Kevin van Zonneveld
11+
// SPDX-SnippetComment: https://github.com/kvz/locutus/blob/master/src/php/xml/utf8_decode.js
12+
// SPDX-License-Identifier: MIT
413

514
'use strict';
615

@@ -146,8 +155,6 @@ var Plugin = GObject.registerClass({
146155
/**
147156
* Decode a string encoded as "QUOTED-PRINTABLE" and return a regular string
148157
*
149-
* See: https://github.com/mathiasbynens/quoted-printable/blob/master/src/quoted-printable.js
150-
*
151158
* @param {string} input - The QUOTED-PRINTABLE string
152159
* @return {string} The decoded string
153160
*/
@@ -167,8 +174,6 @@ var Plugin = GObject.registerClass({
167174
/**
168175
* Decode a string encoded as "UTF-8" and return a regular string
169176
*
170-
* See: https://github.com/kvz/locutus/blob/master/src/php/xml/utf8_decode.js
171-
*
172177
* @param {string} input - The UTF-8 string
173178
* @return {string} The decoded string
174179
*/

src/shell/tooltip.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
// SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect
1+
// SPDX-FileCopyrightText: Franco Bianconi
2+
// SPDX-FileContributor: Karel Mácha
3+
// SPDX-FileContributor: Raphael Rochet
4+
// SPDX-FileContributor: GSConnect Developers https://github.com/GSConnect
25
//
36
// SPDX-License-Identifier: GPL-2.0-or-later
47

0 commit comments

Comments
 (0)