summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2019-07-15 13:08:16 +0100
committerSimon McVittie <smcv@collabora.com>2019-07-15 15:51:05 +0100
commit28734ae1661ea029fa2ed06fab6a4d6cf6ade098 (patch)
treebc427f3ca4fd54b22f0e3418f5c81196589df751
parent69e7c4f58e9244acfc8b23a6beaf73124bb19ce0 (diff)
Add clearer licensing information in SPDX format
Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r--.travis.yml2
-rw-r--r--dbus/__init__.py2
-rw-r--r--dbus/_compat.py1
-rw-r--r--dbus/_dbus.py2
-rw-r--r--dbus/_expat_introspect_parser.py2
-rw-r--r--dbus/bus.py2
-rw-r--r--dbus/connection.py2
-rw-r--r--dbus/decorators.py2
-rw-r--r--dbus/exceptions.py2
-rw-r--r--dbus/gi_service.py2
-rw-r--r--dbus/glib.py2
-rw-r--r--dbus/gobject_service.py2
-rw-r--r--dbus/lowlevel.py2
-rw-r--r--dbus/mainloop/__init__.py2
-rw-r--r--dbus/mainloop/glib.py2
-rw-r--r--dbus/proxies.py2
-rw-r--r--dbus/server.py2
-rw-r--r--dbus/service.py2
-rw-r--r--dbus/types.py2
-rw-r--r--dbus_bindings/abstract.c2
-rw-r--r--dbus_bindings/bus.c2
-rw-r--r--dbus_bindings/bytes.c2
-rw-r--r--dbus_bindings/compat-internal.h2
-rw-r--r--dbus_bindings/conn-internal.h2
-rw-r--r--dbus_bindings/conn-methods.c2
-rw-r--r--dbus_bindings/conn.c2
-rw-r--r--dbus_bindings/containers.c2
-rw-r--r--dbus_bindings/dbus_bindings-internal.h2
-rw-r--r--dbus_bindings/debug.c2
-rw-r--r--dbus_bindings/exceptions.c2
-rw-r--r--dbus_bindings/float.c2
-rw-r--r--dbus_bindings/generic.c2
-rw-r--r--dbus_bindings/int.c2
-rw-r--r--dbus_bindings/libdbusconn.c2
-rw-r--r--dbus_bindings/mainloop.c2
-rw-r--r--dbus_bindings/message-append.c2
-rw-r--r--dbus_bindings/message-get-args.c2
-rw-r--r--dbus_bindings/message-internal.h2
-rw-r--r--dbus_bindings/message.c2
-rw-r--r--dbus_bindings/module.c2
-rw-r--r--dbus_bindings/pending-call.c2
-rw-r--r--dbus_bindings/server.c2
-rw-r--r--dbus_bindings/signature.c2
-rw-r--r--dbus_bindings/string.c2
-rw-r--r--dbus_bindings/types-internal.h2
-rw-r--r--dbus_bindings/unixfd.c2
-rw-r--r--dbus_bindings/validation.c2
-rw-r--r--dbus_glib_bindings/module.c2
-rw-r--r--doc/redirects.py2
-rwxr-xr-xexamples/example-async-client.py2
-rwxr-xr-xexamples/example-client.py2
-rwxr-xr-xexamples/example-service.py2
-rwxr-xr-xexamples/example-signal-emitter.py2
-rwxr-xr-xexamples/example-signal-recipient.py2
-rwxr-xr-xexamples/gconf-proxy-client.py2
-rwxr-xr-xexamples/gconf-proxy-service2.py2
-rwxr-xr-xexamples/list-system-services.py2
-rwxr-xr-xexamples/unix-fd-client.py2
-rwxr-xr-xexamples/unix-fd-service.py2
-rw-r--r--include/dbus/dbus-python.h2
-rwxr-xr-xsetup.py2
-rwxr-xr-xtest/cross-test-client.py2
-rwxr-xr-xtest/cross-test-server.py2
-rw-r--r--test/crosstest.py2
-rw-r--r--test/dbus_py_test.c2
-rw-r--r--test/import-repeatedly.c1
-rwxr-xr-xtest/run-test.sh2
-rwxr-xr-xtest/test-client.py2
-rwxr-xr-xtest/test-exception-py2.py2
-rwxr-xr-xtest/test-exception-py3.py2
-rwxr-xr-xtest/test-p2p.py2
-rwxr-xr-xtest/test-server.py2
-rwxr-xr-xtest/test-service.py2
-rwxr-xr-xtest/test-signals.py2
-rwxr-xr-xtest/test-standalone.py2
-rwxr-xr-xtest/test-unusable-main-loop.py2
-rwxr-xr-xtest/wait-for-name.py2
-rwxr-xr-xtest/with-session-bus.sh5
-rwxr-xr-xtools/ci-build.sh2
-rwxr-xr-xtools/ci-install.sh2
80 files changed, 160 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 4bd7a9d..c1efb02 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,7 @@
# Copyright © 2016 Simon McVittie
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/dbus/__init__.py b/dbus/__init__.py
index a2aeac9..e5133c0 100644
--- a/dbus/__init__.py
+++ b/dbus/__init__.py
@@ -8,6 +8,8 @@ to export objects or claim well-known names.
# Copyright (C) 2004 Rob Taylor
# Copyright (C) 2005, 2006 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/dbus/_compat.py b/dbus/_compat.py
index 62bbe28..5417ae8 100644
--- a/dbus/_compat.py
+++ b/dbus/_compat.py
@@ -1,4 +1,5 @@
# Python 2 / Python 3 compatibility helpers.
+# SPDX-License-Identifier: MIT
import sys
diff --git a/dbus/_dbus.py b/dbus/_dbus.py
index 5a497f4..4b0b37a 100644
--- a/dbus/_dbus.py
+++ b/dbus/_dbus.py
@@ -5,6 +5,8 @@
# Copyright (C) 2004 Rob Taylor
# Copyright (C) 2005, 2006 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/dbus/_expat_introspect_parser.py b/dbus/_expat_introspect_parser.py
index 1cf8a6c..2c6f341 100644
--- a/dbus/_expat_introspect_parser.py
+++ b/dbus/_expat_introspect_parser.py
@@ -3,6 +3,8 @@
# Copyright (C) 2004 Rob Taylor
# Copyright (C) 2005, 2006 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/dbus/bus.py b/dbus/bus.py
index 109f4c6..6222862 100644
--- a/dbus/bus.py
+++ b/dbus/bus.py
@@ -1,5 +1,7 @@
# Copyright (C) 2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/dbus/connection.py b/dbus/connection.py
index e2361ec..f5c8dd9 100644
--- a/dbus/connection.py
+++ b/dbus/connection.py
@@ -1,5 +1,7 @@
# Copyright (C) 2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/dbus/decorators.py b/dbus/decorators.py
index 71c8be0..ca63c29 100644
--- a/dbus/decorators.py
+++ b/dbus/decorators.py
@@ -5,6 +5,8 @@
# Copyright (C) 2004 Rob Taylor
# Copyright (C) 2005, 2006 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/dbus/exceptions.py b/dbus/exceptions.py
index 0930425..6e85a3e 100644
--- a/dbus/exceptions.py
+++ b/dbus/exceptions.py
@@ -2,6 +2,8 @@
# Copyright (C) 2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/dbus/gi_service.py b/dbus/gi_service.py
index e091771..f68b088 100644
--- a/dbus/gi_service.py
+++ b/dbus/gi_service.py
@@ -2,6 +2,8 @@
# Copyright (C) 2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/dbus/glib.py b/dbus/glib.py
index bb6db74..b521fcf 100644
--- a/dbus/glib.py
+++ b/dbus/glib.py
@@ -2,6 +2,8 @@
# Copyright (C) 2004, 2005, 2006 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2005, 2006 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/dbus/gobject_service.py b/dbus/gobject_service.py
index ef16009..6124ee5 100644
--- a/dbus/gobject_service.py
+++ b/dbus/gobject_service.py
@@ -2,6 +2,8 @@
# Copyright (C) 2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/dbus/lowlevel.py b/dbus/lowlevel.py
index 398a10f..59bd8fe 100644
--- a/dbus/lowlevel.py
+++ b/dbus/lowlevel.py
@@ -1,5 +1,7 @@
# Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/dbus/mainloop/__init__.py b/dbus/mainloop/__init__.py
index dfaeefb..b0d20a9 100644
--- a/dbus/mainloop/__init__.py
+++ b/dbus/mainloop/__init__.py
@@ -1,5 +1,7 @@
# Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/dbus/mainloop/glib.py b/dbus/mainloop/glib.py
index 39fbb1b..5bb2f2e 100644
--- a/dbus/mainloop/glib.py
+++ b/dbus/mainloop/glib.py
@@ -2,6 +2,8 @@
# Copyright (C) 2004-2006 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2005-2006 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/dbus/proxies.py b/dbus/proxies.py
index c7cd802..5852046 100644
--- a/dbus/proxies.py
+++ b/dbus/proxies.py
@@ -3,6 +3,8 @@
# Copyright (C) 2004 Rob Taylor
# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/dbus/server.py b/dbus/server.py
index 1988101..40a7bb9 100644
--- a/dbus/server.py
+++ b/dbus/server.py
@@ -1,6 +1,8 @@
# Copyright (C) 2008 Openismus GmbH <http://openismus.com/>
# Copyright (C) 2008 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/dbus/service.py b/dbus/service.py
index 6093ac5..e42ea70 100644
--- a/dbus/service.py
+++ b/dbus/service.py
@@ -3,6 +3,8 @@
# Copyright (C) 2004 Rob Taylor
# Copyright (C) 2005-2006 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/dbus/types.py b/dbus/types.py
index c33acff..d0b9683 100644
--- a/dbus/types.py
+++ b/dbus/types.py
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: MIT
+
__all__ = ['ObjectPath', 'ByteArray', 'Signature', 'Byte', 'Boolean',
'Int16', 'UInt16', 'Int32', 'UInt32', 'Int64', 'UInt64',
'Double', 'String', 'Array', 'Struct', 'Dictionary',
diff --git a/dbus_bindings/abstract.c b/dbus_bindings/abstract.c
index 7bdf368..6b549e6 100644
--- a/dbus_bindings/abstract.c
+++ b/dbus_bindings/abstract.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2006-2007 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/bus.c b/dbus_bindings/bus.c
index ef257f3..2c79cc0 100644
--- a/dbus_bindings/bus.c
+++ b/dbus_bindings/bus.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/bytes.c b/dbus_bindings/bytes.c
index 873a2fa..e15ce4c 100644
--- a/dbus_bindings/bytes.c
+++ b/dbus_bindings/bytes.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/compat-internal.h b/dbus_bindings/compat-internal.h
index 9b9dce4..1b43e28 100644
--- a/dbus_bindings/compat-internal.h
+++ b/dbus_bindings/compat-internal.h
@@ -3,6 +3,8 @@
* Copyright © 2006-2011 Collabora Ltd.
* Copyright © 2011 Nokia Corporation
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/conn-internal.h b/dbus_bindings/conn-internal.h
index f4c7a80..d333d27 100644
--- a/dbus_bindings/conn-internal.h
+++ b/dbus_bindings/conn-internal.h
@@ -2,6 +2,8 @@
*
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/conn-methods.c b/dbus_bindings/conn-methods.c
index 424fdc4..8ae053a 100644
--- a/dbus_bindings/conn-methods.c
+++ b/dbus_bindings/conn-methods.c
@@ -3,6 +3,8 @@
*
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/conn.c b/dbus_bindings/conn.c
index 739f305..01c326b 100644
--- a/dbus_bindings/conn.c
+++ b/dbus_bindings/conn.c
@@ -3,6 +3,8 @@
*
* Copyright (C) 2006-2008 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/containers.c b/dbus_bindings/containers.c
index 26f983b..019c60d 100644
--- a/dbus_bindings/containers.c
+++ b/dbus_bindings/containers.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2006-2007 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/dbus_bindings-internal.h b/dbus_bindings/dbus_bindings-internal.h
index b3006b5..8b080c4 100644
--- a/dbus_bindings/dbus_bindings-internal.h
+++ b/dbus_bindings/dbus_bindings-internal.h
@@ -2,6 +2,8 @@
*
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/debug.c b/dbus_bindings/debug.c
index 4620c86..614e541 100644
--- a/dbus_bindings/debug.c
+++ b/dbus_bindings/debug.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/exceptions.c b/dbus_bindings/exceptions.c
index 6721f5c..508537a 100644
--- a/dbus_bindings/exceptions.c
+++ b/dbus_bindings/exceptions.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/float.c b/dbus_bindings/float.c
index 9d05c19..7a682e4 100644
--- a/dbus_bindings/float.c
+++ b/dbus_bindings/float.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/generic.c b/dbus_bindings/generic.c
index ed12025..385a2e4 100644
--- a/dbus_bindings/generic.c
+++ b/dbus_bindings/generic.c
@@ -3,6 +3,8 @@
*
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/int.c b/dbus_bindings/int.c
index 109d4c7..f26c55a 100644
--- a/dbus_bindings/int.c
+++ b/dbus_bindings/int.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/libdbusconn.c b/dbus_bindings/libdbusconn.c
index e9401fe..4ab548b 100644
--- a/dbus_bindings/libdbusconn.c
+++ b/dbus_bindings/libdbusconn.c
@@ -3,6 +3,8 @@
*
* Copyright (C) 2008 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/mainloop.c b/dbus_bindings/mainloop.c
index 59d1e99..b0e0255 100644
--- a/dbus_bindings/mainloop.c
+++ b/dbus_bindings/mainloop.c
@@ -3,6 +3,8 @@
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
* Copyright (C) 2008 Huang Peng <phuang@redhat.com>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/message-append.c b/dbus_bindings/message-append.c
index 0480ceb..3257405 100644
--- a/dbus_bindings/message-append.c
+++ b/dbus_bindings/message-append.c
@@ -3,6 +3,8 @@
*
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/message-get-args.c b/dbus_bindings/message-get-args.c
index 65596d9..c097160 100644
--- a/dbus_bindings/message-get-args.c
+++ b/dbus_bindings/message-get-args.c
@@ -3,6 +3,8 @@
*
* Copyright (C) 2006-2007 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/message-internal.h b/dbus_bindings/message-internal.h
index dfa78e0..0d99cf3 100644
--- a/dbus_bindings/message-internal.h
+++ b/dbus_bindings/message-internal.h
@@ -2,6 +2,8 @@
*
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/message.c b/dbus_bindings/message.c
index 43b8df6..602a3fb 100644
--- a/dbus_bindings/message.c
+++ b/dbus_bindings/message.c
@@ -3,6 +3,8 @@
*
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/module.c b/dbus_bindings/module.c
index 5b8851c..559d12c 100644
--- a/dbus_bindings/module.c
+++ b/dbus_bindings/module.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/pending-call.c b/dbus_bindings/pending-call.c
index 469c997..d5092db 100644
--- a/dbus_bindings/pending-call.c
+++ b/dbus_bindings/pending-call.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/server.c b/dbus_bindings/server.c
index 3ce67c2..3f2819d 100644
--- a/dbus_bindings/server.c
+++ b/dbus_bindings/server.c
@@ -4,6 +4,8 @@
* Copyright (C) 2008 Openismus GmbH <http://openismus.com/>
* Copyright (C) 2008 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/signature.c b/dbus_bindings/signature.c
index c1a32e7..900740e 100644
--- a/dbus_bindings/signature.c
+++ b/dbus_bindings/signature.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/string.c b/dbus_bindings/string.c
index ce8f03d..a7510d5 100644
--- a/dbus_bindings/string.c
+++ b/dbus_bindings/string.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2006-2007 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/types-internal.h b/dbus_bindings/types-internal.h
index 041c33b..37879cf 100644
--- a/dbus_bindings/types-internal.h
+++ b/dbus_bindings/types-internal.h
@@ -2,6 +2,8 @@
*
* Copyright (C) 2006-2007 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/unixfd.c b/dbus_bindings/unixfd.c
index ecb32d2..79b513c 100644
--- a/dbus_bindings/unixfd.c
+++ b/dbus_bindings/unixfd.c
@@ -3,6 +3,8 @@
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
* Copyright (C) 2010 Signove <http://www.signove.com>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_bindings/validation.c b/dbus_bindings/validation.c
index abec0a9..5a21dc2 100644
--- a/dbus_bindings/validation.c
+++ b/dbus_bindings/validation.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/dbus_glib_bindings/module.c b/dbus_glib_bindings/module.c
index ac05bca..e3e61bc 100644
--- a/dbus_glib_bindings/module.c
+++ b/dbus_glib_bindings/module.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/doc/redirects.py b/doc/redirects.py
index 5cee516..7104103 100644
--- a/doc/redirects.py
+++ b/doc/redirects.py
@@ -1,5 +1,7 @@
#!/usr/bin/python
+# SPDX-License-Identifier: MIT
+
import os
SRCDIR = os.environ.get('DBUS_TOP_SRCDIR', '.')
diff --git a/examples/example-async-client.py b/examples/example-async-client.py
index a24191d..0d024c3 100755
--- a/examples/example-async-client.py
+++ b/examples/example-async-client.py
@@ -9,6 +9,8 @@ python example-client.py --exit-service
# Copyright (C) 2004-2006 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/examples/example-client.py b/examples/example-client.py
index 262f892..d9ff776 100755
--- a/examples/example-client.py
+++ b/examples/example-client.py
@@ -9,6 +9,8 @@ python example-client.py --exit-service
# Copyright (C) 2004-2006 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/examples/example-service.py b/examples/example-service.py
index af22577..12c81d9 100755
--- a/examples/example-service.py
+++ b/examples/example-service.py
@@ -10,6 +10,8 @@ python example-client.py --exit-service
# Copyright (C) 2004-2006 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/examples/example-signal-emitter.py b/examples/example-signal-emitter.py
index 6cf1387..48349a8 100755
--- a/examples/example-signal-emitter.py
+++ b/examples/example-signal-emitter.py
@@ -9,6 +9,8 @@ python example-signal-recipient.py --exit-service
# Copyright (C) 2004-2006 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/examples/example-signal-recipient.py b/examples/example-signal-recipient.py
index 818b0fa..63f53d6 100755
--- a/examples/example-signal-recipient.py
+++ b/examples/example-signal-recipient.py
@@ -9,6 +9,8 @@ python example-signal-recipient.py --exit-service
# Copyright (C) 2004-2006 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/examples/gconf-proxy-client.py b/examples/gconf-proxy-client.py
index e57d7cd..8d81486 100755
--- a/examples/gconf-proxy-client.py
+++ b/examples/gconf-proxy-client.py
@@ -5,6 +5,8 @@
# Copyright (C) 2004-2006 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/examples/gconf-proxy-service2.py b/examples/gconf-proxy-service2.py
index b9c78ef..d31277f 100755
--- a/examples/gconf-proxy-service2.py
+++ b/examples/gconf-proxy-service2.py
@@ -10,6 +10,8 @@
# Copyright (C) 2004-2006 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/examples/list-system-services.py b/examples/list-system-services.py
index a8a1829..4734f5e 100755
--- a/examples/list-system-services.py
+++ b/examples/list-system-services.py
@@ -6,6 +6,8 @@ List services on the system bus (default) or the session bus."""
# Copyright (C) 2004-2006 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/examples/unix-fd-client.py b/examples/unix-fd-client.py
index ce1011d..ad421b3 100755
--- a/examples/unix-fd-client.py
+++ b/examples/unix-fd-client.py
@@ -11,6 +11,8 @@ python unix-fd-client.py
# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
# Copyright (C) 2010 Signove <http://www.signove.com>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/examples/unix-fd-service.py b/examples/unix-fd-service.py
index 8188647..8b65bf2 100755
--- a/examples/unix-fd-service.py
+++ b/examples/unix-fd-service.py
@@ -9,6 +9,8 @@ python unix-fd-client.py
# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
# Copyright (C) 2010 Signove <http://www.signove.com>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/include/dbus/dbus-python.h b/include/dbus/dbus-python.h
index d247081..b67e7c4 100644
--- a/include/dbus/dbus-python.h
+++ b/include/dbus/dbus-python.h
@@ -5,6 +5,8 @@
*
* Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/setup.py b/setup.py
index fefe403..151fd6f 100755
--- a/setup.py
+++ b/setup.py
@@ -3,6 +3,8 @@
# Copyright © 2016 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/cross-test-client.py b/test/cross-test-client.py
index cc96023..c2da193 100755
--- a/test/cross-test-client.py
+++ b/test/cross-test-client.py
@@ -2,6 +2,8 @@
# Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/cross-test-server.py b/test/cross-test-server.py
index 30edb1c..e3edea2 100755
--- a/test/cross-test-server.py
+++ b/test/cross-test-server.py
@@ -2,6 +2,8 @@
# Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/crosstest.py b/test/crosstest.py
index 0020baf..434273c 100644
--- a/test/crosstest.py
+++ b/test/crosstest.py
@@ -2,6 +2,8 @@
# Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/dbus_py_test.c b/test/dbus_py_test.c
index bd2399d..f44b2ff 100644
--- a/test/dbus_py_test.c
+++ b/test/dbus_py_test.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2007 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/test/import-repeatedly.c b/test/import-repeatedly.c
index 2df82e9..28fe081 100644
--- a/test/import-repeatedly.c
+++ b/test/import-repeatedly.c
@@ -1,4 +1,5 @@
/* Regression test for https://bugs.freedesktop.org/show_bug.cgi?id=23831 */
+/* SPDX-License-Identifier: MIT */
#include <stdio.h>
diff --git a/test/run-test.sh b/test/run-test.sh
index da49918..97c1195 100755
--- a/test/run-test.sh
+++ b/test/run-test.sh
@@ -3,6 +3,8 @@
# Copyright (C) 2006 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2006-2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/test-client.py b/test/test-client.py
index 5a177b7..41ad826 100755
--- a/test/test-client.py
+++ b/test/test-client.py
@@ -3,6 +3,8 @@
# Copyright (C) 2004 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/test-exception-py2.py b/test/test-exception-py2.py
index 3633ea3..327536d 100755
--- a/test/test-exception-py2.py
+++ b/test/test-exception-py2.py
@@ -1,6 +1,8 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
+# SPDX-License-Identifier: MIT
+
import sys
import unittest
diff --git a/test/test-exception-py3.py b/test/test-exception-py3.py
index a0c981e..8f1541c 100755
--- a/test/test-exception-py3.py
+++ b/test/test-exception-py3.py
@@ -1,6 +1,8 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
+# SPDX-License-Identifier: MIT
+
import unittest
try:
diff --git a/test/test-p2p.py b/test/test-p2p.py
index 7c7655d..d79d2c5 100755
--- a/test/test-p2p.py
+++ b/test/test-p2p.py
@@ -3,6 +3,8 @@
# Copyright (C) 2004 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/test-server.py b/test/test-server.py
index c90ccf1..c7bb759 100755
--- a/test/test-server.py
+++ b/test/test-server.py
@@ -1,5 +1,7 @@
#!/usr/bin/env python
+# SPDX-License-Identifier: MIT
+
from dbus.mainloop.glib import DBusGMainLoop
import dbus
diff --git a/test/test-service.py b/test/test-service.py
index 4e531cb..57ec722 100755
--- a/test/test-service.py
+++ b/test/test-service.py
@@ -3,6 +3,8 @@
# Copyright (C) 2004 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/test-signals.py b/test/test-signals.py
index 3c618c8..7d395a9 100755
--- a/test/test-signals.py
+++ b/test/test-signals.py
@@ -3,6 +3,8 @@
# Copyright (C) 2004 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/test-standalone.py b/test/test-standalone.py
index f7dca40..8876a05 100755
--- a/test/test-standalone.py
+++ b/test/test-standalone.py
@@ -6,6 +6,8 @@ run in isolation.
# Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/test-unusable-main-loop.py b/test/test-unusable-main-loop.py
index 6e81315..c3a6930 100755
--- a/test/test-unusable-main-loop.py
+++ b/test/test-unusable-main-loop.py
@@ -2,6 +2,8 @@
# Copyright (C) 2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/wait-for-name.py b/test/wait-for-name.py
index 344f641..55b1800 100755
--- a/test/wait-for-name.py
+++ b/test/wait-for-name.py
@@ -3,6 +3,8 @@
# Copyright © 2016 Simon McVittie
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/with-session-bus.sh b/test/with-session-bus.sh
index d20701d..5abeed0 100755
--- a/test/with-session-bus.sh
+++ b/test/with-session-bus.sh
@@ -3,9 +3,12 @@
#
# Copyright (C) 2007-2008 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: FSFAP
+#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
-# notice and this notice are preserved.
+# notice and this notice are preserved. This file is offered as-is,
+# without any warranty.
set -e
diff --git a/tools/ci-build.sh b/tools/ci-build.sh
index f511d26..6563e3e 100755
--- a/tools/ci-build.sh
+++ b/tools/ci-build.sh
@@ -2,6 +2,8 @@
# Copyright © 2016 Simon McVittie
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/tools/ci-install.sh b/tools/ci-install.sh
index 91a2cc9..9cb2f2b 100755
--- a/tools/ci-install.sh
+++ b/tools/ci-install.sh
@@ -2,6 +2,8 @@
# Copyright © 2015-2018 Collabora Ltd.
#
+# SPDX-License-Identifier: MIT
+#
# 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,