From 1d54f8d0a268b5053db8d30aebdff0adf6d748a2 Mon Sep 17 00:00:00 2001
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: Wed, 28 Sep 2022 14:36:58 +0300
Subject: libcamera: Add missing SPDX headers for miscellaneous CC0-1.0
 contents

Miscellaneous files that are not considered copyrightable are missing an
SPDX-License-Identifier header. Fix this by adding a header listing the
CC0-1.0 license.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
---
 .clang-tidy                               | 2 ++
 src/android/data/nautilus/camera_hal.yaml | 2 ++
 src/android/data/soraka/camera_hal.yaml   | 2 ++
 src/py/meson.build                        | 2 ++
 subprojects/.gitignore                    | 2 ++
 subprojects/gtest.wrap                    | 2 ++
 subprojects/libyaml.wrap                  | 2 ++
 subprojects/libyuv.wrap                   | 2 ++
 subprojects/pybind11.wrap                 | 2 ++
 9 files changed, 18 insertions(+)

diff --git a/.clang-tidy b/.clang-tidy
index b40e588a..8056d7a8 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: CC0-1.0
+
 Checks:		-clang-diagnostic-c99-designator
 FormatStyle:	file
diff --git a/src/android/data/nautilus/camera_hal.yaml b/src/android/data/nautilus/camera_hal.yaml
index faddd29e..2105fcca 100644
--- a/src/android/data/nautilus/camera_hal.yaml
+++ b/src/android/data/nautilus/camera_hal.yaml
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 cameras:
   "\\_SB_.PCI0.I2C2.CAM0":
     location: back
diff --git a/src/android/data/soraka/camera_hal.yaml b/src/android/data/soraka/camera_hal.yaml
index 2e996403..d886af06 100644
--- a/src/android/data/soraka/camera_hal.yaml
+++ b/src/android/data/soraka/camera_hal.yaml
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 cameras:
   "\\_SB_.PCI0.I2C4.CAM1":
     location: front
diff --git a/src/py/meson.build b/src/py/meson.build
index 4ce9668c..a4586b4a 100644
--- a/src/py/meson.build
+++ b/src/py/meson.build
@@ -1 +1,3 @@
+# SPDX-License-Identifier: CC0-1.0
+
 subdir('libcamera')
diff --git a/subprojects/.gitignore b/subprojects/.gitignore
index fd3f4a5b..0a8fd3a6 100644
--- a/subprojects/.gitignore
+++ b/subprojects/.gitignore
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 /googletest-release*
 /libyaml
 /libyuv
diff --git a/subprojects/gtest.wrap b/subprojects/gtest.wrap
index 40128b35..8892e184 100644
--- a/subprojects/gtest.wrap
+++ b/subprojects/gtest.wrap
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 [wrap-file]
 directory = googletest-release-1.11.0
 source_url = https://github.com/google/googletest/archive/release-1.11.0.zip
diff --git a/subprojects/libyaml.wrap b/subprojects/libyaml.wrap
index 3d7d0a32..392416c6 100644
--- a/subprojects/libyaml.wrap
+++ b/subprojects/libyaml.wrap
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 [wrap-git]
 directory = libyaml
 url = https://github.com/yaml/libyaml
diff --git a/subprojects/libyuv.wrap b/subprojects/libyuv.wrap
index 8ba51fa0..3417e73f 100644
--- a/subprojects/libyuv.wrap
+++ b/subprojects/libyuv.wrap
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 [wrap-git]
 directory = libyuv
 url = https://chromium.googlesource.com/libyuv/libyuv.git
diff --git a/subprojects/pybind11.wrap b/subprojects/pybind11.wrap
index e8037a5d..dd02687b 100644
--- a/subprojects/pybind11.wrap
+++ b/subprojects/pybind11.wrap
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 [wrap-git]
 url = https://github.com/pybind/pybind11.git
 # This is the head of 'smart_holder' branch
-- 
cgit v1.2.1