From patchwork Wed Aug 25 10:29:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 13485 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 2CCB0BD87D for ; Wed, 25 Aug 2021 10:29:46 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 8126F688A5; Wed, 25 Aug 2021 12:29:44 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="SVtyXCkW"; 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 40A4560504 for ; Wed, 25 Aug 2021 12:29:42 +0200 (CEST) Received: from Monstersaurus.local (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id E5C2024F; Wed, 25 Aug 2021 12:29:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1629887382; bh=+77L0Ce0EN4tecp0krQE96tYw1/P0PiPYN5IedfGpvo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SVtyXCkWLYUgKJaOq26oH6miy45MfdTJhT1k4+cIgMA+E33D6WBlV8IKvmHe8nP1X CxW8GMfvWZ1soT/xuAunaog1uPT60h9jeSDrYftCu9Nz3LnyalK9sKookrb5ZIciij FIpJFYmxP57WxcwweQABwjtJ3qbF5EW4/9HxZ6sk= From: Kieran Bingham To: libcamera devel Date: Wed, 25 Aug 2021 11:29:34 +0100 Message-Id: <20210825102937.3740405-3-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210825102937.3740405-1-kieran.bingham@ideasonboard.com> References: <20210825102937.3740405-1-kieran.bingham@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 2/5] Documentation: application-developer: Clean up build instructions 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 build and run instructions read as if meson is the only way to compile the application. Although this is recommended, it is not required - adapt the language to fit better. While here, fix the naming of the simple_cam meson object to match the other usages of 'simple-cam'. Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- Documentation/guides/application-developer.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/guides/application-developer.rst b/Documentation/guides/application-developer.rst index b79241bd9317..442d8e6a512e 100644 --- a/Documentation/guides/application-developer.rst +++ b/Documentation/guides/application-developer.rst @@ -563,8 +563,8 @@ uses, so needs to do the following: Build and run instructions -------------------------- -To build the application, use the `Meson build system`_ which is also the -official build system of the libcamera library. +To build the application, we recommend that you use the `Meson build system`_ +which is also the official build system of the libcamera library. Make sure both ``meson`` and ``libcamera`` are installed in your system. Please refer to your distribution documentation to install meson and install the most @@ -617,7 +617,7 @@ accordingly. In this example, the application file has been named project('simple-cam', 'cpp') - simpler_cam = executable('simple-cam', + simple_cam = executable('simple-cam', 'simple-cam.cpp', dependencies: dependency('libcamera', required : true))