{"id":15954,"url":"https://patchwork.libcamera.org/api/1.1/patches/15954/?format=json","web_url":"https://patchwork.libcamera.org/patch/15954/","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":"<20220518131329.66994-4-tomi.valkeinen@ideasonboard.com>","date":"2022-05-18T13:13:14","name":"[libcamera-devel,v3,03/18] py: add comment about the symlinks","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"bcba7ee27d4dfddb19aa31beec624425ebdf905c","submitter":{"id":109,"url":"https://patchwork.libcamera.org/api/1.1/people/109/?format=json","name":"Tomi Valkeinen","email":"tomi.valkeinen@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/15954/mbox/","series":[{"id":3122,"url":"https://patchwork.libcamera.org/api/1.1/series/3122/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3122","date":"2022-05-18T13:13:11","name":"Misc Python bindings patches","version":3,"mbox":"https://patchwork.libcamera.org/series/3122/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/15954/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/15954/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 703FEC3256\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 18 May 2022 13:13:57 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 95E5B65677;\n\tWed, 18 May 2022 15:13:54 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id F09F265660\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 18 May 2022 15:13:47 +0200 (CEST)","from deskari.lan (91-156-85-209.elisa-laajakaista.fi\n\t[91.156.85.209])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 54A6E1BBB;\n\tWed, 18 May 2022 15:13:47 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1652879634;\n\tbh=e8GwuZ1+hql6DFczVVZA21/83X36EjaGca/9EKOONdU=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=fky4om7y7mL9b0qdROmGyXBgYme70iqTBIjOo4ttkLuxSWTG69cNqObkFxPKA0wxg\n\tBxH4s0gRUrpsakh6Upfp9jL9Ppb77q73FOo8YkzFBtvNlpEruLihQsquMWVFwhyb2+\n\tW7DGEl3MgUzXaxJ5ZZQLJ3+OuqVsj8DiTN5cABrcDDW/7OrguAHOumvklfHagPdWrN\n\tijzddQV84HMWOgwelSi7K17EDmTNsyFHNOtw5fw0/mcnRUmR82eL0xxxnB6VgUOyty\n\taJyqnYOJcZWMbHyoXmlawQO7W4vLuox/ol5Azb/ueMXhHi58iwxopRYvtzTcASjH8H\n\ta8OKBfCr6bRKg==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1652879627;\n\tbh=e8GwuZ1+hql6DFczVVZA21/83X36EjaGca/9EKOONdU=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=GxBhuAkm68AXp4Z+LmvzVEh30qzFY22Njum2d2TRCBA38CrkJsPzi0ZwlGVQX6b3W\n\txOcF2CN1lkLbXNOZJ9kfDy/VmYVEM/WzGtNzSuIlv1melVRS/j5W4a76G+SZ0rSL+Z\n\t2jQaudyLshlTWpLn8v+SMcwJWae6r1qpBWo5PDmY="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"GxBhuAkm\"; dkim-atps=neutral","To":"libcamera-devel@lists.libcamera.org,\n\tDavid Plowman <david.plowman@raspberrypi.com>,\n\tKieran Bingham <kieran.bingham@ideasonboard.com>,\n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>,\n\tJacopo Mondi <jacopo@jmondi.org>","Date":"Wed, 18 May 2022 16:13:14 +0300","Message-Id":"<20220518131329.66994-4-tomi.valkeinen@ideasonboard.com>","X-Mailer":"git-send-email 2.34.1","In-Reply-To":"<20220518131329.66994-1-tomi.valkeinen@ideasonboard.com>","References":"<20220518131329.66994-1-tomi.valkeinen@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v3 03/18] py: add comment about the\n\tsymlinks","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>","From":"Tomi Valkeinen via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Add comment about the symlinks to clarify the purpose.\n\nSigned-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>\n---\n src/py/libcamera/meson.build | 3 +++\n 1 file changed, 3 insertions(+)","diff":"diff --git a/src/py/libcamera/meson.build b/src/py/libcamera/meson.build\nindex 3c0828b8..427716d7 100644\n--- a/src/py/libcamera/meson.build\n+++ b/src/py/libcamera/meson.build\n@@ -54,6 +54,9 @@ pycamera = shared_module('_libcamera',\n                          dependencies : pycamera_deps,\n                          cpp_args : pycamera_args)\n \n+# Create symlinks from the build dir to the source dir so that we can use the\n+# Python module directly from the build dir.\n+\n run_command('ln', '-fsT', files('__init__.py'),\n             meson.current_build_dir() / '__init__.py',\n             check: true)\n","prefixes":["libcamera-devel","v3","03/18"]}