libcamera: Use DEP5 to specify license of files that don't support SPDX

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@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
Laurent Pinchart 2020-06-05 20:11:48 +03:00
parent 65798244c7
commit b898240301

10
.reuse/dep5 Normal file
View file

@ -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@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