From patchwork Thu Sep 14 22:03:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 19005 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 C7B57BE080 for ; Thu, 14 Sep 2023 22:03:03 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 15D4F6290E; Fri, 15 Sep 2023 00:03:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1694728983; bh=FMMUEhEv7WyvJgenuTD6fQUy4e+wZTnNorZbdi3S0ac=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=G8sUPu6uHAGjAZyyrO2ES7hus5AtwVtMt0XPtv80RofXNLXHbBYmD1ev5Y0TwI0as U4dkI0A/J3hXpphVpwNJ07WP5x2O7WTW2o5BcgfMr0wEV2VynoVlt3ArVkYWo8k1Pn zFihgRPBK8vdXFSTyuIjHZnZEpnFrntKeKQnaxR9HYMGQJXlccM25+mdcW+puRi3oF SDa8QlzTTlr5PbTaJ+QAn2PwQUAzdr3Q/hcVNTKpz9pdudJE58jXwE7DAiDukbVXZZ dCEbKBDib9IGKv3L0oA1D2UiNWu4bYVq13lsMcfBwJPOJEWa5NEHRqm3HfqL7l7ub/ LkhRjxTcx3Xtg== 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 B0B1F61DF2 for ; Fri, 15 Sep 2023 00:03:00 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="ipk3q/wa"; 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 5BBE56EF; Fri, 15 Sep 2023 00:01:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1694728887; bh=FMMUEhEv7WyvJgenuTD6fQUy4e+wZTnNorZbdi3S0ac=; h=From:To:Cc:Subject:Date:From; b=ipk3q/wa2Qt7P5JpHX/+NV9X6qzAI6z/Tn1OGEPlDbPfUy2P9+PxUoM9v8W2y3Wku fgNcPOa96fIKlVYN5uXAzFZ0kkp51UXS1Axizha9phzWdI6fjek122J7EprnuMvgOO ZIRGmOqazb5iIN734nPjqaVPBzw1t+7Pq0DLez+k= To: libcamera-devel@lists.libcamera.org Date: Fri, 15 Sep 2023 01:03:13 +0300 Message-ID: <20230914220313.14361-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] README.rst: Drop recommendation to install meson using pip3 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" Usage of pip3 to install meson may result in a different meson version available for the local user and for root. This causes issues when running `meson install` (directly or through `ninja install`): Installing to a system location will request elevated privileges and use the system meson version to install files, which may fail to unpickle data pickled with the meson version for the local user. As all major distributions now provide a recent-enough version of meson, usage of pip3 is not longer needed in most cases, and shouldn't be recommended. Drop it. While at it, update the version of meson listed in the documentation to match the required version. Bug: https://bugs.libcamera.org/show_bug.cgi?id=199 Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: Mattijs Korpershoek --- README.rst | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) base-commit: 58e501c71c47e57f02afde1bd296a037038cd6d5 prerequisite-patch-id: d9c748d5c7361a9489176ff3f3e4c4e807e93b5a prerequisite-patch-id: 79b114f63d2d0dce812a9c9d3033b4a915037e01 prerequisite-patch-id: 0fec5b708550ac685fd0dee76120932b272b2a74 prerequisite-patch-id: c9f2ac2f7d50930d7164ff732f4fb499238715e6 prerequisite-patch-id: b7d57dd39a032a92e05d3d4e22bb821b085e2291 prerequisite-patch-id: 084351f43f3f5f6886451a5b53bd7179f1b8b85f prerequisite-patch-id: d234444f68b826d24c6f4d5371873e18766e88e3 prerequisite-patch-id: 66dfe4522bc50ed0454f07c747c93c300c854a86 prerequisite-patch-id: 6d8b7e073016a3ccfe689d071f9c03a911538067 prerequisite-patch-id: de720d5310e0889e748deb63556ac797cb7743fa prerequisite-patch-id: ec1ec005eab22d9e70111c050b1e244027ce1fba prerequisite-patch-id: 4acc618067ba4cc796c2bc62dea12b652b2d0b8d prerequisite-patch-id: c0e4433160c2d2af0245fc06de871063e8db9d74 prerequisite-patch-id: 49b44116fbed84761795b52523ce1990ca1ba29e prerequisite-patch-id: a001ddcd0401b7fc09ad2ed8b70689a46046d6b3 diff --git a/README.rst b/README.rst index df2818e1f598..6eed72389a86 100644 --- a/README.rst +++ b/README.rst @@ -47,15 +47,7 @@ A C++ toolchain: [required] Either {g++, clang} Meson Build system: [required] - meson (>= 0.56) ninja-build pkg-config - - If your distribution doesn't provide a recent enough version of meson, - you can install or upgrade it using pip3. - - .. code:: - - pip3 install --user meson - pip3 install --user --upgrade meson + meson (>= 0.57) ninja-build pkg-config for the libcamera core: [required] libyaml-dev python3-yaml python3-ply python3-jinja2