From patchwork Tue Nov 28 11:52:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 19244 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 351FFBDE6B for ; Tue, 28 Nov 2023 11:52:53 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 9DF4B629B6; Tue, 28 Nov 2023 12:52:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1701172372; bh=qOIG+xd52MC9zij54T24LCQ9fCXBZc7/E+f+/sH/WxM=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=BBIxwncgX81nws3XX8Y6yoQ39l2JtpbsRE1A9O/yTVTm+HuvwiOvpKTt28AxHw/8+ QVIgH1wCSQb+ayDuaOavElh3WrJHBElcCy1T+CqQa5/6EwR9ZWFdtnz8ZZe72rC0sr ZZbaRlZt9U9/kGncQoqe0uGY1d62a7v7RFgfKwf9UulbRvfC0td47uV2eR4VSwlGNk F01HcrKY8R9VOvLWkLu17jLa9u4pOQdaJP4gCue6AjyiKJOGhTG8QfVcZ7SzNe/ojM yLbOvqrm4lHQCHUqH/djCHIM7rcI1mNVsHYygkdAYY1SKXaJbGlLdrVK6olhgtQOBh 2Cx5dR/NHTsCQ== 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 ECD1861DA2 for ; Tue, 28 Nov 2023 12:52:51 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="H4ogMgGT"; dkim-atps=neutral Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 94586289 for ; Tue, 28 Nov 2023 12:52:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1701172336; bh=qOIG+xd52MC9zij54T24LCQ9fCXBZc7/E+f+/sH/WxM=; h=From:To:Subject:Date:From; b=H4ogMgGTq0bVGk2D28R4vsEVTAE+7IujhLCXQylN0XjOkQLCBKxZgXYZW3KEJ47f0 9WPxBmgKcZdSz2L6AagbV6fRvdK1u3uIFGuBa0KEXCWrblaSJ9vsZj8Bk/Z750tglI j1hrZ4YDXhNzKkA3pptwWL7QsD7vcoyzAfPzA0FY= To: libcamera-devel@lists.libcamera.org Date: Tue, 28 Nov 2023 13:52:57 +0200 Message-ID: <20231128115258.13777-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 1/2] README.rst: Use code directive for all code examples 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: , X-Patchwork-Original-From: Laurent Pinchart via libcamera-devel From: Laurent Pinchart Reply-To: Laurent Pinchart Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Most of the code examples in README.rst use the code directive, but some use literal blocks or just quoted paragraphs. Use the code directive for all code for consistency. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- README.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) base-commit: e25003e78b13b7db5d24a1082294d9596c735fd6 diff --git a/README.rst b/README.rst index 6eed72389a86..4a6eb2525f6b 100644 --- a/README.rst +++ b/README.rst @@ -30,7 +30,7 @@ Getting Started To fetch the sources, build and install: -:: +.. code:: git clone https://git.libcamera.org/libcamera/libcamera.git cd libcamera @@ -120,6 +120,8 @@ Using GStreamer plugin To use GStreamer plugin from source tree, set the following environment so that GStreamer can find it. This isn't necessary when libcamera is installed. +.. code:: + export GST_PLUGIN_PATH=$(pwd)/build/src/gstreamer The debugging tool ``gst-launch-1.0`` can be used to construct a pipeline and From patchwork Tue Nov 28 11:52:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 19245 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 B5F49BDE6B for ; Tue, 28 Nov 2023 11:52:55 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2F650629C4; Tue, 28 Nov 2023 12:52:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1701172375; bh=wre0UkVeBvDSVPw7E62RU0y8lwktL/5YeUqVycN1pQw=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=NyQQcSzWZL8r0xP9q1aQr9edmN/VptvIjMyctk3ReC/UH6g4vJV8S8HXoDA0TWYob CZ7vsBKh7RUexgCSMlH783m7lvkOoTZR56xTcL3ww6ZfK6748h+XTEEBR6ZpQiHfSY ADllJGrFJLzS3Lkvn6oPaDddnQeh6XzCOEkqoj1My6mMgpA/UFtcupa3OuclfiJT/f Y+idlWLKE5/sqIdW6FyUTAXoaeNTEKAWAYAF2ygcid0//UZ6Ln92KCoFzUQKr1YvyI chYYofTn+TcK6p4FZeOZOEaPogzUxwR2b5V71kAaiOOSRIg6GHBfxj3PbGkEnFeePs cIXK4UKwFOjlA== 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 27A9A629AF for ; Tue, 28 Nov 2023 12:52:53 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="eEEAhiqJ"; dkim-atps=neutral Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D2EFD289 for ; Tue, 28 Nov 2023 12:52:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1701172338; bh=wre0UkVeBvDSVPw7E62RU0y8lwktL/5YeUqVycN1pQw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eEEAhiqJsEkyfXCeH/TH4aslJDZYWqHEO0mui9PBkx7W4BZWxQn0XjTeo2sGgysLU BVoEAFiNO+EHgCmNSYffHloev8iX24kuOECJ7w2yEQ/48mgk9XGNRywgsCNHUaRuw9 FPZYd+UjHsI66A4kwOJPi96h94/SimuX/KS5lSBQ= To: libcamera-devel@lists.libcamera.org Date: Tue, 28 Nov 2023 13:52:58 +0200 Message-ID: <20231128115258.13777-2-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231128115258.13777-1-laurent.pinchart@ideasonboard.com> References: <20231128115258.13777-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 2/2] Documentation: Fix list indentation 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: , X-Patchwork-Original-From: Laurent Pinchart via libcamera-devel From: Laurent Pinchart Reply-To: Laurent Pinchart Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" reStructuredText requires list items to be indented. Fix the few offenders in the documentation. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- Documentation/python-bindings.rst | 10 +++++----- README.rst | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Documentation/python-bindings.rst b/Documentation/python-bindings.rst index bac5cd344de3..ed9f686b311a 100644 --- a/Documentation/python-bindings.rst +++ b/Documentation/python-bindings.rst @@ -17,13 +17,13 @@ chapter lists the differences. Mostly these differences fall under two categories: 1. Differences caused by the inherent differences between C++ and Python. -These differences are usually caused by the use of threads or differences in -C++ vs Python memory management. + These differences are usually caused by the use of threads or differences in + C++ vs Python memory management. 2. Differences caused by the code being work-in-progress. It's not always -trivial to create a binding in a satisfying way, and the current bindings -contain simplified versions of the C++ API just to get forward. These -differences are expected to eventually go away. + trivial to create a binding in a satisfying way, and the current bindings + contain simplified versions of the C++ API just to get forward. These + differences are expected to eventually go away. Coding Style ------------ diff --git a/README.rst b/README.rst index 4a6eb2525f6b..a8b91a26983a 100644 --- a/README.rst +++ b/README.rst @@ -188,8 +188,8 @@ the build.ninja module. This is a snippet of the error message. This can be solved in two ways: -1) Don't install meson again if it is already installed system-wide. +1. Don't install meson again if it is already installed system-wide. -2) If a version of meson which is different from the system-wide version is -already installed, uninstall that meson using pip3, and install again without -the --user argument. +2. If a version of meson which is different from the system-wide version is + already installed, uninstall that meson using pip3, and install again without + the --user argument.