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

Message ID 20200605183833.8125-1-laurent.pinchart@ideasonboard.com
State Accepted
Commit 65798244c7dc228645baeb74c07bd10994e33f12
Headers show
Series
  • [libcamera-devel,1/3] libcamera: Add missing SPDX headers to miscellaneous small files
Related show

Commit Message

Laurent Pinchart June 5, 2020, 6:38 p.m. UTC
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@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(+)

Comments

Niklas Söderlund June 5, 2020, 7:16 p.m. UTC | #1
Hi Laurent,

Thanks for your patch.

On 2020-06-05 21:38:31 +0300, Laurent Pinchart wrote:
> 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@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
> +

I love how the .gitignore file now has a SPDX header :-)

Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>

>  __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
> 
> _______________________________________________
> libcamera-devel mailing list
> libcamera-devel@lists.libcamera.org
> https://lists.libcamera.org/listinfo/libcamera-devel

Patch

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>