From patchwork Sun Apr 5 21:33:48 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 26434 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 A4FDCBDCBD for ; Sun, 5 Apr 2026 21:33:53 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 6134C62D72; Sun, 5 Apr 2026 23:33:53 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="uWcBUWyz"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 5524562CEE for ; Sun, 5 Apr 2026 23:33:51 +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 09C256AF for ; Sun, 5 Apr 2026 23:32:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1775424745; bh=rsgndEDKY6m1iJZvfrOsXin6RWGWDHuBei9kRy3t7D4=; h=From:To:Subject:Date:From; b=uWcBUWyzGl4zSWkMDa0H4fEcRMP+Rhe7ikb2AdbxHdI/2wprUzwqb50tE9R4oVOcc DZnUuBurUJMbjlLOPiV3xdmH5b97jKifUhtCd5xEu6y3QcdRwYHIISV+Q+h4mTDsCC QdlV9awKE0SDcvBlBHhmUXSsWmrx/RcEZ8EXwpjY= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [PATCH 1/2] meson: Print soft ISP boolean options as YES/NO Date: Mon, 6 Apr 2026 00:33:48 +0300 Message-ID: <20260405213349.1224164-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" All boolean options in libcamera other than the soft ISP options are printed as YES/NO (with colours when supported by the terminal). Extend this to the soft ISP options for consistency. Signed-off-by: Laurent Pinchart --- src/libcamera/software_isp/meson.build | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/libcamera/software_isp/meson.build b/src/libcamera/software_isp/meson.build index 7a2f704bf158..15f9e4032dc1 100644 --- a/src/libcamera/software_isp/meson.build +++ b/src/libcamera/software_isp/meson.build @@ -1,7 +1,9 @@ # SPDX-License-Identifier: CC0-1.0 softisp_enabled = pipelines.contains('simple') -summary({'SoftISP support' : softisp_enabled}, section : 'Configuration') +summary({'SoftISP support' : softisp_enabled}, + bool_yn : true, + section : 'Configuration') if not softisp_enabled subdir_done() @@ -13,7 +15,9 @@ mesa_works = cc.check_header('EGL/egl.h', required : get_option('softisp-gpu'), dependencies : libegl) -summary({'SoftISP GPU acceleration' : mesa_works}, section : 'Configuration') +summary({'SoftISP GPU acceleration' : mesa_works}, + bool_yn : true, + section : 'Configuration') libcamera_internal_sources += files([ 'benchmark.cpp', From patchwork Sun Apr 5 21:33:49 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 26435 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 53CAEBDCBD for ; Sun, 5 Apr 2026 21:33:56 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 16F8462D7C; Sun, 5 Apr 2026 23:33:56 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="KKL9TNUM"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A27CC62CEE for ; Sun, 5 Apr 2026 23:33:52 +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 5DAE16AF for ; Sun, 5 Apr 2026 23:32:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1775424746; bh=sdwGbFhFgIMsinPtSkcM6P4uegSclLJccBXEZUxM+lo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KKL9TNUMbgMEnAnWXg43TvODveVjDqHaLUhhw2CPG+bIL5KeoOm8zUEswqtv0t+pe CAu5MwNOHszUWKqTjWn/hU3DnJfw/wxuiFg9Amlfz97N5hF3gZ6sfX4Wm2Nszw9dQX kz/mNkth+dOvYF+qxIDZWdunQ3e4CqkgP+bICzK8= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [PATCH 2/2] meson: Print missing application options in summary Date: Mon, 6 Apr 2026 00:33:49 +0300 Message-ID: <20260405213349.1224164-2-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260405213349.1224164-1-laurent.pinchart@ideasonboard.com> References: <20260405213349.1224164-1-laurent.pinchart@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" The recently added application options (DNG output support, KMS and SDL2 outputs for cam, and JPEG support for cam) are not printed in the summary. This makes it more difficult to quickly assess the configuration when those options are set to the 'auto' value. Add them to the summary, and move all application configuration options to a dedicated section of the summary to improve readability. Signed-off-by: Laurent Pinchart --- meson.build | 3 --- src/apps/cam/meson.build | 5 +++++ src/apps/meson.build | 10 ++++++++++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 2e2a27ef4c25..a6cfdd07605c 100644 --- a/meson.build +++ b/meson.build @@ -305,9 +305,6 @@ summary({ 'GStreamer support': gst_enabled, 'Python bindings': pycamera_enabled, 'V4L2 emulation support': v4l2_enabled, - 'cam application': cam_enabled, - 'qcam application': qcam_enabled, - 'lc-compliance application': lc_compliance_enabled, 'Unit tests': test_enabled, }, section : 'Configuration', diff --git a/src/apps/cam/meson.build b/src/apps/cam/meson.build index 0fd8462700a9..067cfd81c64d 100644 --- a/src/apps/cam/meson.build +++ b/src/apps/cam/meson.build @@ -26,6 +26,8 @@ cam_deps = [ libtiff, ] +cam_options = [] + libdrm = dependency('libdrm', required : get_option('cam-output-kms')) libsdl2 = dependency('SDL2', required : get_option('cam-output-sdl2')) libjpeg = dependency('libjpeg', required : get_option('cam-jpeg')) @@ -39,6 +41,7 @@ if libdrm.found() cam_deps += [ libdrm, ] + cam_options += 'output-kms' endif if libsdl2.found() @@ -52,6 +55,7 @@ if libsdl2.found() cam_deps += [ libsdl2, ] + cam_options += 'output-sdl2' if libjpeg.found() cam_cpp_args += ['-DHAVE_LIBJPEG'] @@ -61,6 +65,7 @@ if libsdl2.found() cam_deps += [ libjpeg, ] + cam_options += 'jpeg' endif endif diff --git a/src/apps/meson.build b/src/apps/meson.build index bc3a79196949..bd2f7858e1a3 100644 --- a/src/apps/meson.build +++ b/src/apps/meson.build @@ -20,3 +20,13 @@ subdir('cam') subdir('qcam') subdir('ipa-verify') + +summary({ + 'cam application': cam_enabled, + 'cam options': cam_options, + 'DNG output support': libtiff.found(), + 'qcam application': qcam_enabled, + 'lc-compliance application': lc_compliance_enabled, + }, + section : 'Applications', + bool_yn : true)