[libcamera-devel,5/5] libcamera: Add missing SPDX headers for miscellaneous CC0-1.0 contents
diff mbox series

Message ID 20220928120937.10031-6-laurent.pinchart@ideasonboard.com
State Accepted
Headers show
Series
  • libcamera: Add missing license identifiers
Related show

Commit Message

Laurent Pinchart Sept. 28, 2022, 12:09 p.m. UTC
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>
---
 .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(+)

Comments

Kieran Bingham Sept. 30, 2022, 10:27 a.m. UTC | #1
Quoting Laurent Pinchart via libcamera-devel (2022-09-28 13:09:37)
> 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.
> 


Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>

> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
>  .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 b40e588a1a81..8056d7a88d2f 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 faddd29eded7..2105fcca8ffc 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 2e9964035098..d886af06ce10 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 4ce9668caa7b..a4586b4aee0a 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 fd3f4a5bfe09..0a8fd3a67d33 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 40128b35d6dc..8892e1842aae 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 3d7d0a328be4..392416c61486 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 8ba51fa009c5..3417e73f376c 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 e8037a5dfb48..dd02687b58a8 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
> -- 
> Regards,
> 
> Laurent Pinchart
>

Patch
diff mbox series

diff --git a/.clang-tidy b/.clang-tidy
index b40e588a1a81..8056d7a88d2f 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 faddd29eded7..2105fcca8ffc 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 2e9964035098..d886af06ce10 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 4ce9668caa7b..a4586b4aee0a 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 fd3f4a5bfe09..0a8fd3a67d33 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 40128b35d6dc..8892e1842aae 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 3d7d0a328be4..392416c61486 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 8ba51fa009c5..3417e73f376c 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 e8037a5dfb48..dd02687b58a8 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