[libcamera-devel] [PATCH 2/3] libcamera: Use DEP5 to specify license of files that don't support SPDX

Niklas Söderlund niklas.soderlund at ragnatech.se
Fri Jun 5 21:16:49 CEST 2020


Hi Laurent,

Thanks for your work.

On 2020-06-05 21:38:32 +0300, Laurent Pinchart wrote:
> Some files can't use SPDX as they don't support comments. This is the
> case of the JSON files used by the Raspberry Pi IPA and camera tuning
> tools, as well as the PGM reference picture in the camera tuning tool.
> 
> The REUSE specification allows handling this case in two different ways:
> 
> - Adding a ${file}.license file containing the license specification
>   alongside each file.
> 
> - Adding a .reuse/dep5 file, in Debian machine-readable copyright format
>   (as specified in
>   https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/).
> 
> The first option isn't practical, use the latter.
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

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

> ---
>  .reuse/dep5 | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>  create mode 100644 .reuse/dep5
> 
> diff --git a/.reuse/dep5 b/.reuse/dep5
> new file mode 100644
> index 000000000000..c05441cfb270
> --- /dev/null
> +++ b/.reuse/dep5
> @@ -0,0 +1,10 @@
> +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
> +Upstream-Name: libcamera
> +Upstream-Contact: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> +Source: https://git.linuxtv.org/libcamera.git/
> +
> +Files: src/ipa/raspberrypi/data/*.json
> +       utils/raspberrypi/ctt/ctt_config_example.json
> +       utils/raspberrypi/ctt/ctt_ref.pgm
> +Copyright: 2019-2020 Raspberry Pi (Trading) Ltd.
> +License: BSD-2-Clause
> -- 
> Regards,
> 
> Laurent Pinchart
> 
> _______________________________________________
> libcamera-devel mailing list
> libcamera-devel at lists.libcamera.org
> https://lists.libcamera.org/listinfo/libcamera-devel

-- 
Regards,
Niklas Söderlund


More information about the libcamera-devel mailing list