| Message ID | 20260405191443.1209948-1-laurent.pinchart@ideasonboard.com |
|---|---|
| Headers | show
Return-Path: <libcamera-devel-bounces@lists.libcamera.org> X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 126AEBEFBE for <parsemail@patchwork.libcamera.org>; Sun, 5 Apr 2026 19:14:48 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2886862D5E; Sun, 5 Apr 2026 21:14:47 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="mE6Ab1qS"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 5B3EF62D0D for <libcamera-devel@lists.libcamera.org>; Sun, 5 Apr 2026 21:14:45 +0200 (CEST) Received: from killaraus.ideasonboard.com (2001-14ba-703d-e500--2a1.rev.dnainternet.fi [IPv6:2001:14ba:703d:e500::2a1]) by perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id EB0EF6AF for <libcamera-devel@lists.libcamera.org>; Sun, 5 Apr 2026 21:13:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1775416399; bh=4HLSwuRGfD1kIil3EYplv1Wiqza8P+avJc/jjCxxHo0=; h=From:To:Subject:Date:From; b=mE6Ab1qSQHaeOkkGNDRw5Gbb5YTp1sbpa2FbRZtDLRB1mKbVocgPhrTiKpGQ8BV/g 8cfT7Ptk+AtfSLyJI2z8bgwVRXnDzgjXZAsDOfcRkA2+i/V2uYPWCMBhpsmJoL94lT JbxfvZevOiB9AlFFEXL19VrDHVJRkEuwkVm8Ow8M= From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> To: libcamera-devel@lists.libcamera.org Subject: [PATCH 00/11] libcamera: Fix missing license information Date: Sun, 5 Apr 2026 22:14:32 +0300 Message-ID: <20260405191443.1209948-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.52.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <libcamera-devel.lists.libcamera.org> List-Unsubscribe: <https://lists.libcamera.org/options/libcamera-devel>, <mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe> List-Archive: <https://lists.libcamera.org/pipermail/libcamera-devel/> List-Post: <mailto:libcamera-devel@lists.libcamera.org> List-Help: <mailto:libcamera-devel-request@lists.libcamera.org?subject=help> List-Subscribe: <https://lists.libcamera.org/listinfo/libcamera-devel>, <mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe> Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" <libcamera-devel-bounces@lists.libcamera.org> |
| Series |
|
| Related |
show
|
Hello, libcamera uses SPDX headers to convey license information, and the REUSE specification and tool to ensure all files have a license. As the rule is not enforced by tools, files with missing license information regularly slip in. This series adds license information where missing. It is part of a larger effort to fix the issue once and for all by adding a check in CI, which will be posted as a separate patch series. Patches 01/11 and 02/11 prepare the ground by merging the two soft ISP TODO files together and converting them to markdown. We could have simply added SPDX headers to the two text files, but it's a good drive-by cleanup. Patch 03/11 adds missing entries to subprojects/.gitignore, to ensure the reuse tool will ignore those files. The following patches update the REUSE license information file. Patch 04/11 then converts from the deprecated .reuse/dep5 file to REUSE.toml, and patches 05/11 to 07/11 update REUSE.toml by updating paths, droppind stale entries and adding missing ones. At that point all files that can't easily contain SPDX headers (JSON, SVG and binary files) are handled by REUSE.toml. The next patch, 08/11, works around an issue with the extract-docs.py script. The script contains a regular expression to find SPDX-License-Idenfier instances in files, which gets picked by the reuse tool as a badly formatted SPDX headers. Patches 09/11 to 11/11 then add missing SPDX headers to all remaining text files. Here's the output of `reuse lint` with the series applied, with the list of files missing copyright information dropped as we don't aim at being REUSE compliant for copyright infomation for the time being. ---------------------------------------- # DEPRECATED LICENSES The following licenses are deprecated by SPDX: * GPL-2.0 * GPL-2.0+ # MISSING COPYRIGHT AND LICENSING INFORMATION The following files have no copyright information: [snip] # SUMMARY * Bad licenses: 0 * Deprecated licenses: GPL-2.0, GPL-2.0+ * Licenses without file extension: 0 * Missing licenses: 0 * Unused licenses: 0 * Used licenses: GPL-2.0-or-later, CC-BY-SA-4.0, BSD-3-Clause, Apache-2.0, CC-BY-4.0, MIT, GPL-2.0, Linux-syscall-note, BSD-2-Clause, LGPL-2.1-or-later, GPL-2.0+, CC0-1.0, GPL-2.0-only * Read errors: 0 * Files with copyright information: 1247 / 1455 * Files with license information: 1455 / 1455 Unfortunately, your project is not compliant with version 3.3 of the REUSE Specification :-( # RECOMMENDATIONS * Fix deprecated licenses: At least one of the licenses in the LICENSES directory and/or provided by an 'SPDX-License-Identifier' tag or in '.reuse/dep5' has been deprecated by SPDX. The current list and their respective recommended new identifiers can be found here: <https://spdx.org/licenses/#deprecated> * Fix missing copyright/licensing information: For one or more files, the tool cannot find copyright and/or licensing information. You typically do this by adding 'SPDX-FileCopyrightText' and 'SPDX-License-Identifier' tags to each file. The tutorial explains additional ways to do this: <https://reuse.software/tutorial/> ---------------------------------------- The deprecated licenses come from kernel header files. Those should be fixed upstream first. Laurent Pinchart (11): libcamera: software_isp: Convert TODO list to markdown libcamera: software_isp: Move GPU TODO items to TODO.md subprojects: Add nlohmann_json to .gitignore reuse: Convert to REUSE.toml reuse: Update file paths in REUSE.toml reuse: Drop unnecessary entry from REUSE.toml reuse: Add missing files to REUSE.toml utils: ipc: extract-docs: Work around reuse tool problem libcamera: Add missing SPDX headers libcamera: rpi: Add missing SPDX headers include: linux: Convert drm_fourcc.h to use SPDX .b4-config | 2 + .reuse/dep5 | 28 ------ Documentation/mainpage.dox | 2 + Documentation/thread-safety.dox | 2 + REUSE.toml | 41 ++++++++ include/linux/drm_fourcc.h | 20 +--- src/ipa/rpi/controller/decompand_status.h | 1 + src/ipa/rpi/controller/rpi/decompand.cpp | 2 + src/ipa/rpi/controller/rpi/decompand.h | 1 + .../pipeline/rpi/pisp/data/example.yaml | 1 + .../pipeline/rpi/vc4/data/example.yaml | 1 + src/libcamera/pipeline/virtual/README.md | 3 + .../pipeline/virtual/data/meson.build | 2 + src/libcamera/software_isp/{TODO => TODO.md} | 99 +++++++++++++++---- src/libcamera/software_isp/gpuisp-todo.txt | 40 -------- subprojects/.gitignore | 2 + utils/codegen/ipc/extract-docs.py | 2 +- utils/raspberrypi/ctt/README.md | 2 + utils/tuning/config-example.yaml | 3 +- utils/tuning/libtuning/ctt_colors.py | 5 + utils/tuning/requirements.txt | 1 + 21 files changed, 152 insertions(+), 108 deletions(-) delete mode 100644 .reuse/dep5 create mode 100644 REUSE.toml rename src/libcamera/software_isp/{TODO => TODO.md} (76%) delete mode 100644 src/libcamera/software_isp/gpuisp-todo.txt base-commit: 4b6c47bd6675c428c19ea76370f0301c24f23bf1