From patchwork Tue Apr 21 15:07:54 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 26530 Return-Path: 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 ABB24BDCBD for ; Tue, 21 Apr 2026 15:07:58 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id AD09662EF2; Tue, 21 Apr 2026 17:07:57 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="OoXIjgi2"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 5938D62DC4 for ; Tue, 21 Apr 2026 17:07:56 +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 5902C5B2 for ; Tue, 21 Apr 2026 17:06:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1776783978; bh=BioFcLDF6s1MS+Z3fyPQCsXDEpuHgMwBpUUIeGEqWKg=; h=From:To:Subject:Date:From; b=OoXIjgi2OjfQ+lH0tP4sh9jNao9w0bRSQjsxsdb4wAlt/Ng78sNEcz1JqGgmXVsfX +0mfrfKgsdnQIJtBV5wBezssbUyckHfyQhYnM9B5jz8RsYjKAlXoEFRhfSd5Rh5CnB SuATBiLia0NjPAILfTxQQLOvLQInaaIDwLdiESr0= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [PATCH] tuning: Handle macbeth_ref.pgm license through REUSE.toml Date: Tue, 21 Apr 2026 18:07:54 +0300 Message-ID: <20260421150754.2463828-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.52.0 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Despite the file starting with a text header, the reuse tool considers macbeth_ref.pgm as a binary, and doesn't parse it to look for SPDX tags. Handle it through REUSE.toml instead. Signed-off-by: Laurent Pinchart Reviewed-by: Barnabás Pőcze --- REUSE.toml | 8 ++++++++ utils/tuning/libtuning/macbeth_ref.pgm | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) base-commit: 3ca844bd94b25181d910b963942be04785b2de11 diff --git a/REUSE.toml b/REUSE.toml index 4c1ce58f6b89..e7509ac41532 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -39,3 +39,11 @@ path = [ precedence = "aggregate" SPDX-FileCopyrightText = "Copyright 2013-2020 The Chromium Authors. All rights reserved." SPDX-License-Identifier = "BSD-3-Clause" + +[[annotations]] +path = [ + "utils/tuning/libtuning/macbeth_ref.pgm", +] +precedence = "aggregate" +SPDX-FileCopyrightText = "2019-2020 Raspberry Pi Ltd" +SPDX-License-Identifier = "BSD-2-Clause" diff --git a/utils/tuning/libtuning/macbeth_ref.pgm b/utils/tuning/libtuning/macbeth_ref.pgm index 089ea91f7f12..9b9f4920629c 100644 --- a/utils/tuning/libtuning/macbeth_ref.pgm +++ b/utils/tuning/libtuning/macbeth_ref.pgm @@ -1,5 +1,4 @@ P5 -# SPDX-License-Identifier: BSD-2-Clause # Reference macbeth chart 120 80 255