{"id":9760,"url":"https://patchwork.libcamera.org/api/1.1/patches/9760/?format=json","web_url":"https://patchwork.libcamera.org/patch/9760/","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":"<20200923151522.56778-10-ricardo@ribalda.com>","date":"2020-09-23T15:15:22","name":"[libcamera-devel,9/9] libcamera: Add a check for the yaml module","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"75fb9b533f20d27c6243f35989206b050b604d09","submitter":{"id":71,"url":"https://patchwork.libcamera.org/api/1.1/people/71/?format=json","name":"Ricardo Ribalda","email":"ricardo@ribalda.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/9760/mbox/","series":[{"id":1313,"url":"https://patchwork.libcamera.org/api/1.1/series/1313/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1313","date":"2020-09-23T15:15:13","name":"Fix README.rst","version":1,"mbox":"https://patchwork.libcamera.org/series/1313/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/9760/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/9760/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 CB3E9C3B5C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 23 Sep 2020 15:21:20 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 974AD62FF9;\n\tWed, 23 Sep 2020 17:21:20 +0200 (CEST)","from mail-wm1-x331.google.com (mail-wm1-x331.google.com\n\t[IPv6:2a00:1450:4864:20::331])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 5424C63000\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 23 Sep 2020 17:15:38 +0200 (CEST)","by mail-wm1-x331.google.com with SMTP id k18so430653wmj.5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 23 Sep 2020 08:15:38 -0700 (PDT)","from piling.lan ([80.71.134.83]) by smtp.gmail.com with ESMTPSA id\n\th76sm146268wme.10.2020.09.23.08.15.36\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 23 Sep 2020 08:15:36 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"Jyurp1mf\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=Y62r48GaLepdcdkhRQb+U7c78C9AVB/KZiXEbnnHc6g=;\n\tb=Jyurp1mf3ETMdbXeYDDQqHFKd3Tgpd978uaFUPLjAFz24C9NsUy9ycDJg4rDvuu9hT\n\t4gbsgPXhwXaoa8LQ3qzrReepKd1CaNQF2syrwcc2LFT6CGjsV+5hUHBJek0NSj09ZTN+\n\tHFHzoe0GuCx9Bb0ijiuFJeX1ad8hO4pc43wd1ZH+BqfGy6o0/0uAikWylxmCyzO4Z3F9\n\tQi/Uo1mZye4HdH0h+NbAQnCJlSgodg9xfBiFwqorzjIaHqGPV29eoyDyCvFDkRLnaiaS\n\taQ8xj6VUJfieFScOMg9PKWAl1+0GIItkXOa+G2XJDxrcLh10/vPEXBn5kCTIiEQW4W0M\n\tdKmw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references:mime-version:content-transfer-encoding;\n\tbh=Y62r48GaLepdcdkhRQb+U7c78C9AVB/KZiXEbnnHc6g=;\n\tb=phhKIqHQKn+sFFRctAOEdX6Im1mlESQGekM2hQ4Xhth664D6D6lyPicCsg5GA6x3i4\n\t+MsB7Ct0/xdcHFOXj+Jrre5/NL+oop/G03dUAc2+aHtvcWwcrcw2Yvl+ugvOIKtY4Kyn\n\t/J3WjHP0hW03N4vP4QYCG1Z3C2cuWTsk70gjRs4eDdWX8C3gAag5mcdzp7Ji069PhhHg\n\tTCVt4zAG4TyBGgM+05UiwEDkc4XOCjvrCTORk+MKZxO2owQavjHhLIXViDn51kXPFo/c\n\tFW6caYe/pj+i0JwGpIWQobcN2zPd1DCX4jpZL3WVY1zYUmZQSo+laCqJZBXRzjNnoNMr\n\tppSQ==","X-Gm-Message-State":"AOAM532UzGYxUE/l3gljSnVT10QEV7tAODIgJiVvVUWrG7Ek4TQ6+NYM\n\t0HAmKcvnvkP+5UhsiMBJiImvYSdbbIQnIg==","X-Google-Smtp-Source":"ABdhPJzUVOhqTqZz+u2YV/k6JAfHl2+vdiXWrR9Ij6BZYSXd7bXhsnd6RqVAD+iO/bPEXiNYGhCsvw==","X-Received":"by 2002:a7b:cd89:: with SMTP id y9mr84383wmj.72.1600874137732;\n\tWed, 23 Sep 2020 08:15:37 -0700 (PDT)","From":"Ricardo Ribalda <ricardo@ribalda.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Wed, 23 Sep 2020 17:15:22 +0200","Message-Id":"<20200923151522.56778-10-ricardo@ribalda.com>","X-Mailer":"git-send-email 2.28.0","In-Reply-To":"<20200923151522.56778-1-ricardo@ribalda.com>","References":"<20200923151522.56778-1-ricardo@ribalda.com>","MIME-Version":"1.0","X-Mailman-Approved-At":"Wed, 23 Sep 2020 17:21:14 +0200","Subject":"[libcamera-devel] [PATCH 9/9] libcamera: Add a check for the yaml\n\tmodule","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>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Yaml is not installed by default, so it needs to be checked during\nconfiguration for its presence.\n\nAt this point we are aiming for meson_version >= 0.47, and the python\nmodule detection has been introduced in 0.51, so the fix is added in a\ncomment under FIXME.\n\nSigned-off-by: Ricardo Ribalda <ricardo@ribalda.com>\n---\n src/libcamera/meson.build | 3 +++\n 1 file changed, 3 insertions(+)","diff":"diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build\nindex 0e6ecf5..43a5fde 100644\n--- a/src/libcamera/meson.build\n+++ b/src/libcamera/meson.build\n@@ -77,6 +77,9 @@ if libudev.found()\n     ])\n endif\n \n+#FIXME to be added if we force meson version >= 0.51.0\n+#py = import('python').find_installation('python3', modules : ['yaml'])\n+\n gen_controls = files('gen-controls.py')\n \n control_sources = []\n","prefixes":["libcamera-devel","9/9"]}