@@ -1,4 +1,5 @@
#!/usr/bin/python3
+# SPDX-License-Identifier: LGPL-2.1-or-later
import sys
import dbus
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
import dbus
SERVICE_NAME = "org.bluez"
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
import dbus
import bluezutils
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import print_function
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
+# SPDX-License-Identifier: LGPL-2.1-or-later
import dbus
try:
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
+# SPDX-License-Identifier: LGPL-2.1-or-later
import dbus
import dbus.exceptions
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import print_function
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
import sys
import dbus
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
import sys
import dbus
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
import sys
import dbus
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,21 +1,8 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
""" Copyright (C) 2010-2011 ST-Ericsson SA """
""" Author: Szymon Janc <szymon.janc@tieto.com> for ST-Ericsson. """
-""" 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 array import array
from bluetooth import *
import time
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import print_function
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
# -*- coding: utf-8 -*-
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
# -*- coding: utf-8 -*-
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
+# SPDX-License-Identifier: LGPL-2.1-or-later
import sys
import struct
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
+# SPDX-License-Identifier: LGPL-2.1-or-later
###################################################################
#
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import absolute_import, print_function, unicode_literals
From: Tedd Ho-Jeong An <tedd.an@intel.com> This patch adds SPDX License Identifier and removes the license text. ------------------------------------- License COUNT ------------------------------------- LGPL-2.1-or-later : 35 License: LGPL-2.1-or-later test/agent.py test/bluezutils.py test/dbusdef.py test/example-advertisement test/example-endpoint test/example-gatt-client test/example-gatt-server test/example-player test/exchange-business-cards test/ftp-client test/get-managed-objects test/get-obex-capabilities test/list-devices test/list-folders test/map-client test/monitor-bluetooth test/opp-client test/pbap-client test/sap_client.py test/simple-endpoint test/simple-obex-agent test/simple-player test/test-adapter test/test-device test/test-discovery test/test-gatt-profile test/test-health test/test-health-sink test/test-hfp test/test-manager test/test-mesh test/test-nap test/test-network test/test-profile test/test-sap-server --- test/agent.py | 1 + test/bluezutils.py | 2 ++ test/dbusdef.py | 2 ++ test/example-advertisement | 1 + test/example-endpoint | 1 + test/example-gatt-client | 1 + test/example-gatt-server | 1 + test/example-player | 1 + test/exchange-business-cards | 1 + test/ftp-client | 1 + test/get-managed-objects | 1 + test/get-obex-capabilities | 1 + test/list-devices | 1 + test/list-folders | 1 + test/map-client | 1 + test/monitor-bluetooth | 1 + test/opp-client | 1 + test/pbap-client | 1 + test/sap_client.py | 15 +-------------- test/simple-agent | 1 + test/simple-endpoint | 1 + test/simple-obex-agent | 1 + test/simple-player | 1 + test/test-adapter | 1 + test/test-device | 1 + test/test-discovery | 1 + test/test-gatt-profile | 1 + test/test-health | 1 + test/test-health-sink | 1 + test/test-hfp | 1 + test/test-join | 1 + test/test-manager | 1 + test/test-mesh | 1 + test/test-nap | 1 + test/test-network | 1 + test/test-profile | 1 + test/test-sap-server | 1 + 37 files changed, 39 insertions(+), 14 deletions(-)