[gnome-browser-extension/wip/refactor: 6/7] Use to SPDX licence identifier




commit 55a6d6420cce75bd9d397b7f52d17e5978a65b03
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Thu Aug 4 22:25:59 2022 +0400

    Use to SPDX licence identifier

 contrib/chrome-messages2po.py              | 11 +----------
 contrib/cp.py                              |  1 +
 contrib/merge_json.py                      |  1 +
 contrib/po2chrome-messages.py              | 11 +----------
 extension/content-script-start.js          | 10 +---------
 extension/extension.js                     | 10 +---------
 extension/include/compat-common.js         | 10 +---------
 extension/include/compat-content-script.js | 10 +---------
 extension/include/constants.js             | 10 +---------
 extension/include/gsc.js                   | 10 +---------
 extension/include/notifications.js         | 10 +---------
 extension/include/sweettooth-api.js        | 10 +---------
 extension/include/sync.js                  | 10 +---------
 extension/include/toolbar.js               | 10 +---------
 extension/include/update.js                | 10 +---------
 extension/options.js                       | 10 +---------
 16 files changed, 16 insertions(+), 128 deletions(-)
---
diff --git a/contrib/chrome-messages2po.py b/contrib/chrome-messages2po.py
index a4999e3..2ae1ff3 100755
--- a/contrib/chrome-messages2po.py
+++ b/contrib/chrome-messages2po.py
@@ -1,14 +1,5 @@
 #!/usr/bin/env python3
-
-'''
-    GNOME Shell integration for Chrome
-    Copyright (C) 2016-2018  Yuri Konotopov <ykonotopov gnome org>
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-'''
+# SPDX-License-Identifer: GPL-3.0-or-later
 
 from datetime import datetime
 from shutil import copyfile
diff --git a/contrib/cp.py b/contrib/cp.py
index 8de9ac8..4acf999 100755
--- a/contrib/cp.py
+++ b/contrib/cp.py
@@ -1,4 +1,5 @@
 #!/usr/bin/python3
+# SPDX-License-Identifer: GPL-3.0-or-later
 
 import argparse
 import os
diff --git a/contrib/merge_json.py b/contrib/merge_json.py
index 870f07c..a866696 100755
--- a/contrib/merge_json.py
+++ b/contrib/merge_json.py
@@ -1,4 +1,5 @@
 #!/usr/bin/python3
+# SPDX-License-Identifer: GPL-3.0-or-later
 
 import argparse
 import json
diff --git a/contrib/po2chrome-messages.py b/contrib/po2chrome-messages.py
index 2a96aa1..5ae853d 100755
--- a/contrib/po2chrome-messages.py
+++ b/contrib/po2chrome-messages.py
@@ -1,14 +1,5 @@
 #!/usr/bin/env python3
-
-'''
-    GNOME Shell integration for Chrome
-    Copyright (C) 2016  Yuri Konotopov <ykonotopov gnome org>
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-'''
+# SPDX-License-Identifer: GPL-3.0-or-later
 
 from copy import copy
 import argparse
diff --git a/extension/content-script-start.js b/extension/content-script-start.js
index a1ec599..2772662 100644
--- a/extension/content-script-start.js
+++ b/extension/content-script-start.js
@@ -1,12 +1,4 @@
-/*
-    GNOME Shell integration for Chrome
-    Copyright (C) 2016-2019  Yuri Konotopov <ykonotopov gnome org>
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
- */
+// SPDX-License-Identifer: GPL-3.0-or-later
 
 /*
  * Hijack require property to disallow execution of main extensions.gnome.org
diff --git a/extension/extension.js b/extension/extension.js
index 1c41f37..0b752db 100644
--- a/extension/extension.js
+++ b/extension/extension.js
@@ -1,12 +1,4 @@
-/*
-    GNOME Shell integration for Chrome
-    Copyright (C) 2016-2019  Yuri Konotopov <ykonotopov gnome org>
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
- */
+// SPDX-License-Identifer: GPL-3.0-or-later
 
 chrome.runtime.onInstalled.addListener(function(details) {
        var version = chrome.runtime.getManifest().version;
diff --git a/extension/include/compat-common.js b/extension/include/compat-common.js
index bd60d06..a0d17a5 100644
--- a/extension/include/compat-common.js
+++ b/extension/include/compat-common.js
@@ -1,12 +1,4 @@
-/*
-    GNOME Shell integration for Chrome
-    Copyright (C) 2016-2018  Yuri Konotopov <ykonotopov gnome org>
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
- */
+// SPDX-License-Identifer: GPL-3.0-or-later
 
 /* global chrome, COMPAT */
 
diff --git a/extension/include/compat-content-script.js b/extension/include/compat-content-script.js
index a7ef3a5..f6870d2 100644
--- a/extension/include/compat-content-script.js
+++ b/extension/include/compat-content-script.js
@@ -1,12 +1,4 @@
-/*
-    GNOME Shell integration for Chrome
-    Copyright (C) 2016  Yuri Konotopov <ykonotopov gnome org>
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
- */
+// SPDX-License-Identifer: GPL-3.0-or-later
 
 if(!window.chrome)
 {
diff --git a/extension/include/constants.js b/extension/include/constants.js
index 3239bc3..87adf55 100644
--- a/extension/include/constants.js
+++ b/extension/include/constants.js
@@ -1,12 +1,4 @@
-/*
-    GNOME Shell integration for Chrome
-    Copyright (C) 2016-2019  Yuri Konotopov <ykonotopov gnome org>
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
- */
+// SPDX-License-Identifer: GPL-3.0-or-later
 
 GS_CHROME_ID                           = chrome.runtime.id;
 PLATFORMS_WHITELIST                    = ["freebsd", "linux", "openbsd"];
diff --git a/extension/include/gsc.js b/extension/include/gsc.js
index 4ae4b38..7f52885 100644
--- a/extension/include/gsc.js
+++ b/extension/include/gsc.js
@@ -1,12 +1,4 @@
-/*
-    GNOME Shell integration for Chrome
-    Copyright (C) 2016-2018  Yuri Konotopov <ykonotopov gnome org>
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
- */
+// SPDX-License-Identifer: GPL-3.0-or-later
 
 GSC = (function() {
        var ready = new Promise(function(resolve, reject) {
diff --git a/extension/include/notifications.js b/extension/include/notifications.js
index ddfaa0c..d2631cc 100644
--- a/extension/include/notifications.js
+++ b/extension/include/notifications.js
@@ -1,12 +1,4 @@
-/*
-    GNOME Shell integration for Chrome
-    Copyright (C) 2016  Yuri Konotopov <ykonotopov gnome org>
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
- */
+// SPDX-License-Identifer: GPL-3.0-or-later
 
 GSC.notifications = (function() {
        var DEFAULT_NOTIFICATION_OPTIONS = {
diff --git a/extension/include/sweettooth-api.js b/extension/include/sweettooth-api.js
index 83d5e55..1929d00 100644
--- a/extension/include/sweettooth-api.js
+++ b/extension/include/sweettooth-api.js
@@ -1,12 +1,4 @@
-/*
-    GNOME Shell integration for Chrome
-    Copyright (C) 2016-2019  Yuri Konotopov <ykonotopov gnome org>
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
- */
+// SPDX-License-Identifer: GPL-3.0-or-later
 
 "use strict";
 
diff --git a/extension/include/sync.js b/extension/include/sync.js
index 23e8b4e..37ff0f5 100644
--- a/extension/include/sync.js
+++ b/extension/include/sync.js
@@ -1,12 +1,4 @@
-/*
-    GNOME Shell integration for Chrome
-    Copyright (C) 2016  Yuri Konotopov <ykonotopov gnome org>
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
- */
+// SPDX-License-Identifer: GPL-3.0-or-later
 
 /*
  * Main object that handles extensions synchronization with remote storage.
diff --git a/extension/include/toolbar.js b/extension/include/toolbar.js
index dc2c7ca..d918b43 100644
--- a/extension/include/toolbar.js
+++ b/extension/include/toolbar.js
@@ -1,12 +1,4 @@
-/*
-    GNOME Shell integration for Chrome
-    Copyright (C) 2018  Yuri Konotopov <ykonotopov gnome org>
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
- */
+// SPDX-License-Identifer: GPL-3.0-or-later
 
 /*
  * Main object that handles toolbar icon.
diff --git a/extension/include/update.js b/extension/include/update.js
index f7f91fa..db1a948 100644
--- a/extension/include/update.js
+++ b/extension/include/update.js
@@ -1,12 +1,4 @@
-/*
-    GNOME Shell integration for Chrome
-    Copyright (C) 2016  Yuri Konotopov <ykonotopov gnome org>
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
- */
+// SPDX-License-Identifer: GPL-3.0-or-later
 
 GSC.update = (function() {
        function schedule(updateCheckPeriod, skipCheck) {
diff --git a/extension/options.js b/extension/options.js
index 163f3c8..f0f67f2 100644
--- a/extension/options.js
+++ b/extension/options.js
@@ -1,12 +1,4 @@
-/*
-    GNOME Shell integration for Chrome
-    Copyright (C) 2016-2018  Yuri Konotopov <ykonotopov gnome org>
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
- */
+// SPDX-License-Identifer: GPL-3.0-or-later
 
 function init_tabs()
 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]