{"id":13059,"url":"https://patchwork.libcamera.org/api/1.1/patches/13059/?format=json","web_url":"https://patchwork.libcamera.org/patch/13059/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20210720101743.26676-1-paul.elder@ideasonboard.com>","date":"2021-07-20T10:17:43","name":"[libcamera-devel,v2] Documentation: guides: application-developer: update pkgconfig name","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"07d8d742521943205957acd7752de10851b5e7f6","submitter":{"id":17,"url":"https://patchwork.libcamera.org/api/1.1/people/17/?format=json","name":"Paul Elder","email":"paul.elder@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/13059/mbox/","series":[{"id":2259,"url":"https://patchwork.libcamera.org/api/1.1/series/2259/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2259","date":"2021-07-20T10:17:43","name":"[libcamera-devel,v2] Documentation: guides: application-developer: update pkgconfig name","version":2,"mbox":"https://patchwork.libcamera.org/series/2259/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/13059/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/13059/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id C3736C0109\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 20 Jul 2021 10:17:55 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 3F4EE68536;\n\tTue, 20 Jul 2021 12:17:55 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 29F7568521\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 20 Jul 2021 12:17:53 +0200 (CEST)","from pyrite.rasen.tech (unknown\n\t[IPv6:2400:4051:61:600:2c71:1b79:d06d:5032])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 2ED60443;\n\tTue, 20 Jul 2021 12:17:50 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"byU0iK33\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1626776272;\n\tbh=sBgxrElGdkWcp7QgcDRx/MAdwqjF1yDp0p0YM1LF+/U=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=byU0iK33qyhP+Q+5n3132/AJwZa09fVpdu8Oeht0bU6Kot96GXGM1vVLgIepMout6\n\t/+Wk42CKuCPOBnahvDYbUwKwIIudHkMwtiXk1sRt4tbgMdimccF3Zxb/DAVUj5YNhP\n\tiD8K2dxt0LLfLKYfimlNQCwsArO263yeRc+BZgHU=","From":"Paul Elder <paul.elder@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 20 Jul 2021 19:17:43 +0900","Message-Id":"<20210720101743.26676-1-paul.elder@ideasonboard.com>","X-Mailer":"git-send-email 2.27.0","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v2] Documentation: guides:\n\tapplication-developer: update pkgconfig name","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Cc":"carl_wikstrom@hotmail.com","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"The pkgconfig name was changed from camera to libcamera, but the\napplication developer guide wasn't updated. Update it to refer to the\nnew name.\n\nBug: https://bugs.libcamera.org/show_bug.cgi?id=65\nFixes: ec7afef6 (\"libcamera: Rename libcamera pkg-config generation\")\nSigned-off-by: Paul Elder <paul.elder@ideasonboard.com>\n\n---\nChanges in v2:\n- fix another line that went unnoticed\n---\n Documentation/guides/application-developer.rst | 12 ++++++------\n 1 file changed, 6 insertions(+), 6 deletions(-)","diff":"diff --git a/Documentation/guides/application-developer.rst b/Documentation/guides/application-developer.rst\nindex e3430f03..e0bbbad4 100644\n--- a/Documentation/guides/application-developer.rst\n+++ b/Documentation/guides/application-developer.rst\n@@ -596,12 +596,12 @@ has been installed in your system.\n \n    export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/\n \n-Verify that ``pkg-config`` can identify the ``camera`` library with\n+Verify that ``pkg-config`` can identify the ``libcamera`` library with\n \n .. code:: shell\n \n-   $ pkg-config --libs --cflags camera\n-     -I/usr/local/include/libcamera -L/usr/local/lib -lcamera\n+   $ pkg-config --libs --cflags libcamera\n+     -I/usr/local/include/libcamera -L/usr/local/lib -lcamera -lcamera-base\n \n ``meson`` can alternatively use ``cmake`` to locate packages, please refer to\n the ``meson`` documentation if you prefer to use it in place of ``pkgconfig``\n@@ -621,11 +621,11 @@ accordingly. In this example, the application file has been named\n \n    simpler_cam = executable('simple-cam',\n        'simple-cam.cpp',\n-       dependencies: dependency('camera', required : true))\n+       dependencies: dependency('libcamera', required : true))\n \n The ``dependencies`` line instructs meson to ask ``pkgconfig`` (or ``cmake``) to\n-locate the ``camera`` library, (libcamera without the lib prefix) which the test\n-application will be dynamically linked against.\n+locate the ``libcamera`` library,  which the test application will be\n+dynamically linked against.\n \n With the build file in place, compile and run the application with:\n \n","prefixes":["libcamera-devel","v2"]}