From 291207c37afed73bfef47b0d366c286b5d234a4f Mon Sep 17 00:00:00 2001 From: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed, 4 Nov 2015 11:31:30 +0000 Subject: [PATCH] bluez: Update licencing and copyright headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Add a file encoding header • Update the copyright to 2015 • Add an SPDX license identifier header • Add missing GPL-2.0+ header on a couple of files I have assumed that the files which were previously missing a licence are under the same licence as the rest of the Python files here — GPL-2.0+. Signed-off-by: Philip Withnall <philip.withnall@collabora.co.uk> Differential Revision: https://phabricator.apertis.org/D873 --- bluez/bluez-hfp | 6 ++++-- bluez/bluez-test | 6 ++++-- bluez/pair-two | 22 +++++++++++++++++++++- bluez/simple-agent | 22 +++++++++++++++++++++- bluez/test-avrcp.py | 22 +++++++++++++++++++++- bluez/ubt | 6 ++++-- 6 files changed, 75 insertions(+), 9 deletions(-) diff --git a/bluez/bluez-hfp b/bluez/bluez-hfp index f61878a..780c39a 100755 --- a/bluez/bluez-hfp +++ b/bluez/bluez-hfp @@ -1,9 +1,11 @@ -#!/usr/bin/python +#! /usr/bin/python +# -*- coding: utf-8 -*- # # BlueZ - Bluetooth protocol stack for Linux # -# Copyright (C) 2012 Collabora Ltd. +# Copyright © 2012, 2015 Collabora Ltd. # +# SPDX-License-Identifier: GPL-2.0+ # 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 2 of the License, or diff --git a/bluez/bluez-test b/bluez/bluez-test index 37e1937..e156375 100755 --- a/bluez/bluez-test +++ b/bluez/bluez-test @@ -1,9 +1,11 @@ -#!/usr/bin/python +#! /usr/bin/python +# -*- coding: utf-8 -*- # # BlueZ - Bluetooth protocol stack for Linux # -# Copyright (C) 2012-2015 Collabora Ltd. +# Copyright © 2012, 2015 Collabora Ltd. # +# SPDX-License-Identifier: GPL-2.0+ # 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 2 of the License, or diff --git a/bluez/pair-two b/bluez/pair-two index 7a7bfa4..f63c9e0 100755 --- a/bluez/pair-two +++ b/bluez/pair-two @@ -1,4 +1,24 @@ -#!/usr/bin/python +#! /usr/bin/python +# -*- coding: utf-8 -*- +# +# BlueZ - Bluetooth protocol stack for Linux +# +# Copyright © 2012, 2015 Collabora Ltd. +# +# SPDX-License-Identifier: GPL-2.0+ +# 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 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA from gi.repository import GObject diff --git a/bluez/simple-agent b/bluez/simple-agent index 82c8d41..00c31e9 100755 --- a/bluez/simple-agent +++ b/bluez/simple-agent @@ -1,4 +1,24 @@ -#!/usr/bin/python +#! /usr/bin/python +# -*- coding: utf-8 -*- +# +# BlueZ - Bluetooth protocol stack for Linux +# +# Copyright © 2012, 2015 Collabora Ltd. +# +# SPDX-License-Identifier: GPL-2.0+ +# 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 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA from __future__ import absolute_import, print_function, unicode_literals diff --git a/bluez/test-avrcp.py b/bluez/test-avrcp.py index 277b75f..aea3004 100755 --- a/bluez/test-avrcp.py +++ b/bluez/test-avrcp.py @@ -1,4 +1,24 @@ -#!/usr/bin/python +#! /usr/bin/python +# -*- coding: utf-8 -*- +# +# BlueZ - Bluetooth protocol stack for Linux +# +# Copyright © 2012, 2015 Collabora Ltd. +# +# SPDX-License-Identifier: GPL-2.0+ +# 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 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA import time import sys diff --git a/bluez/ubt b/bluez/ubt index 1c6f2c5..0bf647c 100755 --- a/bluez/ubt +++ b/bluez/ubt @@ -1,9 +1,11 @@ -#!/usr/bin/python +#! /usr/bin/python +# -*- coding: utf-8 -*- # # BlueZ - Bluetooth protocol stack for Linux # -# Copyright (C) 2012 Collabora Ltd. +# Copyright © 2012, 2015 Collabora Ltd. # +# SPDX-License-Identifier: GPL-2.0+ # 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 2 of the License, or -- GitLab