[libcamera-devel] [PATCH 1/3] libcamera: Add missing SPDX headers to miscellaneous small files

Laurent Pinchart laurent.pinchart at ideasonboard.com
Fri Jun 5 20:38:31 CEST 2020


Add missing SPDX headers to miscellaneous small files. Use CC0-1.0 for
meson.build, .gitignore and the small include/linux/README, and licenses
matching the corresponding component for other files.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
 .gitignore                                    | 2 ++
 include/linux/README                          | 2 ++
 src/ipa/raspberrypi/README.md                 | 2 ++
 src/ipa/raspberrypi/data/meson.build          | 2 ++
 src/ipa/vimc/data/vimc.conf                   | 2 ++
 src/qcam/assets/feathericons/feathericons.qrc | 1 +
 6 files changed, 11 insertions(+)

diff --git a/.gitignore b/.gitignore
index f989dee3bcb0..d3d73615bac1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 __pycache__/
 build/
 patches/
diff --git a/include/linux/README b/include/linux/README
index 2d5b2e0240fa..5e8614cb902c 100644
--- a/include/linux/README
+++ b/include/linux/README
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: CC0-1.0
+
 Files in this directory are imported from v5.2 of the Linux kernel. Do not
 modify them manually.
diff --git a/src/ipa/raspberrypi/README.md b/src/ipa/raspberrypi/README.md
index 68bdff12fbeb..26534af0f708 100644
--- a/src/ipa/raspberrypi/README.md
+++ b/src/ipa/raspberrypi/README.md
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: BSD-2-Clause
+
 # _libcamera_ for the Raspberry Pi
 
 Raspberry Pi provides a fully featured pipeline handler and control algorithms
diff --git a/src/ipa/raspberrypi/data/meson.build b/src/ipa/raspberrypi/data/meson.build
index 6ff27745ff80..5236bf1ec949 100644
--- a/src/ipa/raspberrypi/data/meson.build
+++ b/src/ipa/raspberrypi/data/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 conf_files = files([
     'imx219.json',
     'imx477.json',
diff --git a/src/ipa/vimc/data/vimc.conf b/src/ipa/vimc/data/vimc.conf
index b3cda75801e2..8e73b161abf3 100644
--- a/src/ipa/vimc/data/vimc.conf
+++ b/src/ipa/vimc/data/vimc.conf
@@ -1 +1,3 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
 # Dummy configuration file for the vimc IPA.
diff --git a/src/qcam/assets/feathericons/feathericons.qrc b/src/qcam/assets/feathericons/feathericons.qrc
index fc8213928ece..656f2b463511 100644
--- a/src/qcam/assets/feathericons/feathericons.qrc
+++ b/src/qcam/assets/feathericons/feathericons.qrc
@@ -1,3 +1,4 @@
+<!-- SPDX-License-Identifier: GPL-2.0-or-later -->
 <!DOCTYPE RCC><RCC version="1.0">
 <qresource>
 <file>./aperture.svg</file>
-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list