From 372970413213d61cbe24a4e70301d114fbbd7c6b Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Mon, 15 Nov 2021 22:09:28 -0300 Subject: [PATCH] gst: Fix license headers and add SPDX Fixes https://gitlab.freedesktop.org/gstreamer/gst-python/-/issues/57 Part-of: --- subprojects/gst-python/gi/overrides/Gst.py | 6 ++---- subprojects/gst-python/gi/overrides/GstPbutils.py | 8 +++----- subprojects/gst-python/testsuite/common.py | 7 +++---- 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/subprojects/gst-python/gi/overrides/Gst.py b/subprojects/gst-python/gi/overrides/Gst.py index 2e4244c595..1b75e35eb6 100644 --- a/subprojects/gst-python/gi/overrides/Gst.py +++ b/subprojects/gst-python/gi/overrides/Gst.py @@ -19,10 +19,8 @@ # License along with this program; if not, write to the # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, # Boston, MA 02110-1301, USA. -# 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, or (at your option) -# any later version. +# +# SPDX-License-Identifier: LGPL-2.0-or-later import sys import inspect diff --git a/subprojects/gst-python/gi/overrides/GstPbutils.py b/subprojects/gst-python/gi/overrides/GstPbutils.py index 74fd33e9d9..56e6f2e263 100644 --- a/subprojects/gst-python/gi/overrides/GstPbutils.py +++ b/subprojects/gst-python/gi/overrides/GstPbutils.py @@ -19,10 +19,8 @@ # License along with this program; if not, write to the # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, # Boston, MA 02110-1301, USA. -# 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, or (at your option) -# any later version. +# +# SPDX-License-Identifier: LGPL-2.0-or-later from ..overrides import override as override_ from ..module import get_introspection_module @@ -89,4 +87,4 @@ def init(): GstPbutils.pb_utils_init = init GstPbutils.init = init if Gst.is_initialized(): - init() \ No newline at end of file + init() diff --git a/subprojects/gst-python/testsuite/common.py b/subprojects/gst-python/testsuite/common.py index e3d6ca40c9..0845963a9b 100644 --- a/subprojects/gst-python/testsuite/common.py +++ b/subprojects/gst-python/testsuite/common.py @@ -17,10 +17,9 @@ # License along with this program; if not, write to the # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, # Boston, MA 02110-1301, USA. -# 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, or (at your option) -# any later version. +# +# SPDX-License-Identifier: LGPL-2.0-or-later + """ A collection of objects to use for testing