From patchwork Mon Feb 2 11:25:09 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= X-Patchwork-Id: 26071 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 CF314C3226 for ; Mon, 2 Feb 2026 11:25:30 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id E0AFA61FFC; Mon, 2 Feb 2026 12:25:29 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="MJax8T7m"; 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 16DC361F61 for ; Mon, 2 Feb 2026 12:25:28 +0100 (CET) Received: from pb-laptop.local (185.221.142.123.nat.pool.zt.hu [185.221.142.123]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 67FFE874 for ; Mon, 2 Feb 2026 12:24:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1770031487; bh=t9oJzcoQz1RyqWxUCjT5NlTVd/fWxQBYA66hUvkVuXo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MJax8T7mrYVE9J+ZA6ehNk0vuGlICrgOW1fZEmytNSd4S9xXt+inavuwD82K49Fjv NtQ3ONlPzy3noNtJK1SkgONvFssjtzcci4aj3RTEvrBatgky9DBj3lWMCsxT29q64R bEW94YORMEUga0wpSuV+DLKkMYYa8st6u2bkei4Q= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Subject: [RFC PATCH v1 1/3] meson: Add `meson.format` file Date: Mon, 2 Feb 2026 12:25:09 +0100 Message-ID: <20260202112511.640320-2-barnabas.pocze@ideasonboard.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260202112511.640320-1-barnabas.pocze@ideasonboard.com> References: <20260202112511.640320-1-barnabas.pocze@ideasonboard.com> 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" Since meson 1.5.0, `meson format` subcommand is available for formatting meson.build files[0]. This formatter uses the `meson.format` file to store options. So add one, mostly instructing it to follow the existing .editorconfig settings. [0]: https://mesonbuild.com/Commands.html#format Signed-off-by: Barnabás Pőcze --- I tried to match the current formatting, but only changed those options that have different defaults. There does not seem to be an option that matches the current formatting of long lines. So I'm afraid those need to change if `meson format` is to be used. I quite like `kwargs_force_multiline=true` personally, so wouldn't mind too much. --- meson.format | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 meson.format -- 2.52.0 diff --git a/meson.format b/meson.format new file mode 100644 index 000000000..c50ca9b0a --- /dev/null +++ b/meson.format @@ -0,0 +1,2 @@ +use_editor_config = true +wide_colon = true