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

Laurent Pinchart laurent.pinchart at ideasonboard.com
Fri Jun 5 20:38:32 CEST 2020


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



More information about the libcamera-devel mailing list