From patchwork Fri Dec 20 13:54:24 2024 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: 22424 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 314FFC32A3 for ; Fri, 20 Dec 2024 13:54:35 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id EF99F68498; Fri, 20 Dec 2024 14:54:33 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=protonmail.com header.i=@protonmail.com header.b="aoR90YUW"; dkim-atps=neutral Received: from mail-4322.protonmail.ch (mail-4322.protonmail.ch [185.70.43.22]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A043367F24 for ; Fri, 20 Dec 2024 14:54:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1734702870; x=1734962070; bh=/+9ZrBZy4C3cUqfMDEdaDbJsFBvDvczbb3+moU2EGUY=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=aoR90YUWPnQs+WvFhK6ElCn0UHAvIkYPIH2VLZ+r2oaQQ1iLdErk598s6ScqxugrD 4pQyEWWk4UoLrZb/aMEMzf46PGGnLqaddXF6l/kpyefla2k35UYhOmkfxd7ctgCsSY hIcR48OtO5XQ4ZUeJ9hVKPlGT6EIQhv/wt/JqENKJOi/0E1cziHawv2aKoxYrLuK4S nK/TEpJKwdFzZ4XfStjUqnMdiGi7SAo7cynTw7XquDZVQq1ucoTua/vn46wuvAf6Vd 8P1TvhzURu6IGCN4OHpd7HfnqSjPM5D13F+XEhbHjDXsaXwNgWF1ED4pSnBIjJ2p4R 06sIi2BuWSs6w== Date: Fri, 20 Dec 2024 13:54:24 +0000 To: libcamera-devel@lists.libcamera.org From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= Cc: Kieran Bingham , Harvey Yang , Laurent Pinchart Subject: [PATCH v2] libcamera: virtual: Install configuration file Message-ID: <20241220135420.694142-1-pobrn@protonmail.com> Feedback-ID: 20568564:user:proton X-Pm-Message-ID: 4a4f3eda078032bf2aedde1946aad33232c03ed8 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" Install the example configuration file of the virtual pipeline handler as it serves documentation purposes, and to make the virtual pipeline handler easily usable in CI. Nonetheless, the file is installed with the ".example" suffix so that it will not be used by default, to avoid cluttering the camera lists of users whose distributions decide to enable the virtual pipeline handler. The file is installed in the proper location for convenience: (1) is is easier to use it in the CI; (2) users need not browse documentation to determine where they should place the file. Signed-off-by: Barnabás Pőcze Reviewed-by: Kieran Bingham Reviewed-by: Harvey Yang Reviewed-by: Laurent Pinchart --- src/libcamera/pipeline/virtual/data/meson.build | 4 ++++ src/libcamera/pipeline/virtual/meson.build | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 src/libcamera/pipeline/virtual/data/meson.build diff --git a/src/libcamera/pipeline/virtual/data/meson.build b/src/libcamera/pipeline/virtual/data/meson.build new file mode 100644 index 000000000..ce63f9a27 --- /dev/null +++ b/src/libcamera/pipeline/virtual/data/meson.build @@ -0,0 +1,4 @@ +install_data('virtual.yaml', + install_dir : pipeline_data_dir / 'virtual', + install_tag : 'runtime', + rename: 'virtual.yaml.example') diff --git a/src/libcamera/pipeline/virtual/meson.build b/src/libcamera/pipeline/virtual/meson.build index 4786fe2e0..c84345936 100644 --- a/src/libcamera/pipeline/virtual/meson.build +++ b/src/libcamera/pipeline/virtual/meson.build @@ -11,3 +11,5 @@ libjpeg = dependency('libjpeg', required : true) libcamera_deps += [libyuv_dep] libcamera_deps += [libjpeg] + +subdir('data')