From patchwork Tue Jul 20 04:16:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 13048 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 3B512C0109 for ; Tue, 20 Jul 2021 04:16:34 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7AA2F6853E; Tue, 20 Jul 2021 06:16:33 +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="POy4c7An"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 8A1AE60277 for ; Tue, 20 Jul 2021 06:16:32 +0200 (CEST) Received: from pyrite.rasen.tech (unknown [IPv6:2400:4051:61:600:2c71:1b79:d06d:5032]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id A4473443; Tue, 20 Jul 2021 06:16:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1626754592; bh=9swWeoQhJS8xgfovFd4w78wEvdz1UbvLOc5rXOraOLs=; h=From:To:Cc:Subject:Date:From; b=POy4c7An5DwnQe5PR9nBXfWYB5nNlupgrZwd7lbGmG7eWQu/DxygleoOFPz0V38Xh +CKsS67nAfN8qJ/ybHh1rCChcAhZoC8jfxuLYa7trTxrjzmiYLdO4ADHHs8PbvYzp8 UIUkh9z42IO011780rxztr7pyFABRKD/KWkE+JZw= From: Paul Elder To: libcamera-devel@lists.libcamera.org Date: Tue, 20 Jul 2021 13:16:09 +0900 Message-Id: <20210720041609.6460-1-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] Documentation: guides: application-developer: update pkgconfig name 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: , Cc: carl_wikstrom@hotmail.com Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The pkgconfig name was changed from camera to libcamera, but the application developer guide wasn't updated. Update it to refer to the new name. Bug: https://bugs.libcamera.org/show_bug.cgi?id=65 Fixes: ec7afef6 ("libcamera: Rename libcamera pkg-config generation") Signed-off-by: Paul Elder --- Documentation/guides/application-developer.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/guides/application-developer.rst b/Documentation/guides/application-developer.rst index e3430f03..9c7b1bb0 100644 --- a/Documentation/guides/application-developer.rst +++ b/Documentation/guides/application-developer.rst @@ -596,12 +596,12 @@ has been installed in your system. export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ -Verify that ``pkg-config`` can identify the ``camera`` library with +Verify that ``pkg-config`` can identify the ``libcamera`` library with .. code:: shell - $ pkg-config --libs --cflags camera - -I/usr/local/include/libcamera -L/usr/local/lib -lcamera + $ pkg-config --libs --cflags libcamera + -I/usr/local/include/libcamera -L/usr/local/lib -lcamera -lcamera-base ``meson`` can alternatively use ``cmake`` to locate packages, please refer to the ``meson`` documentation if you prefer to use it in place of ``pkgconfig`` @@ -621,7 +621,7 @@ accordingly. In this example, the application file has been named simpler_cam = executable('simple-cam', 'simple-cam.cpp', - dependencies: dependency('camera', required : true)) + dependencies: dependency('libcamera', required : true)) The ``dependencies`` line instructs meson to ask ``pkgconfig`` (or ``cmake``) to locate the ``camera`` library, (libcamera without the lib prefix) which the test