{"id":26074,"url":"https://patchwork.libcamera.org/api/covers/26074/?format=json","web_url":"https://patchwork.libcamera.org/cover/26074/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260202112511.640320-1-barnabas.pocze@ideasonboard.com>","date":"2026-02-02T11:25:08","name":"[RFC,v1,0/3] meson: Add `meson.format` file","submitter":{"id":216,"url":"https://patchwork.libcamera.org/api/people/216/?format=json","name":"Barnabás Pőcze","email":"barnabas.pocze@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/26074/mbox/","series":[{"id":5765,"url":"https://patchwork.libcamera.org/api/series/5765/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5765","date":"2026-02-02T11:25:09","name":"meson: Add `meson.format` file","version":1,"mbox":"https://patchwork.libcamera.org/series/5765/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/26074/comments/","headers":{"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\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 98B37C32E7\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon,  2 Feb 2026 11:25:34 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 0C7F461FEE;\n\tMon,  2 Feb 2026 12:25:32 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id C55CC61F61\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  2 Feb 2026 12:25:28 +0100 (CET)","from pb-laptop.local (185.221.142.123.nat.pool.zt.hu\n\t[185.221.142.123])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 2F9A44B3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  2 Feb 2026 12:24:47 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"SJv/tsd8\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1770031487;\n\tbh=kA5tHxZxl6zmVbizDd4PmNQWP+ARv1K6jYY+N+GxzVg=;\n\th=From:To:Subject:Date:From;\n\tb=SJv/tsd8DMCw4LnLAssbbtr6Pq1MrdZgj++pfCbDFUkHiIJo5/vQivzr8QOPwgbpx\n\thbqJ3xKR31lG0hn4/zPFsohf+49jBXbCkQZ5H1VXhV3TFAk++yaz+i3o0B+ks5HSf7\n\tuSwvWdF7hTurhG7sk0/wxwZHFfqTW3OraB3mPG6M=","From":"=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Subject":"[RFC PATCH v1 0/3] meson: Add `meson.format` file","Date":"Mon,  2 Feb 2026 12:25:08 +0100","Message-ID":"<20260202112511.640320-1-barnabas.pocze@ideasonboard.com>","X-Mailer":"git-send-email 2.52.0","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","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>,\n\t<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>,\n\t<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>"},"content":"Since 1.5.0 the `format` subcommand is provided by meson for formatting\nbuild files. So I propose to find a suitable set of options, reformat all\nfiles, and then add it to checkstyle.py.\n\nThe reformatting of everything is not done here, but it is somewhat significant\nwith the proposed settings:\n\n  $ meson format --recursive --inplace\n  $ git diff --stat\n  [...]\n   54 files changed, 1420 insertions(+), 936 deletions(-)\n\nBarnabás Pőcze (3):\n  meson: Add `meson.format` file\n  utils: checkstyle.py: Make custom dependency checks possible\n  utils: checkstyle.py: Add `MesonFormatter`\n\n meson.format        |  2 ++\n utils/checkstyle.py | 42 +++++++++++++++++++++++++++++++++++++++++-\n 2 files changed, 43 insertions(+), 1 deletion(-)\n create mode 100644 meson.format\n\n--\n2.52.0"}