From ee6e0bf9265ca2fc84c904d0ebbfd607f41076aa Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 21 Apr 2026 18:07:54 +0300 Subject: [PATCH] tuning: Handle macbeth_ref.pgm license through REUSE.toml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Acked-by: Kieran Bingham Signed-off-by: Kieran Bingham --- REUSE.toml | 8 ++++++++ utils/tuning/libtuning/macbeth_ref.pgm | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/REUSE.toml b/REUSE.toml index 4c1ce58f..e7509ac4 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 089ea91f..9b9f4920 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