From patchwork Thu Sep 24 07:19:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Ribalda X-Patchwork-Id: 9778 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 C469EC3B5C for ; Thu, 24 Sep 2020 07:19:51 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 9070462FD8; Thu, 24 Sep 2020 09:19:51 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="aDAgHwhs"; dkim-atps=neutral Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id EE97562FD8 for ; Thu, 24 Sep 2020 09:19:49 +0200 (CEST) Received: by mail-wm1-x331.google.com with SMTP id e17so2421945wme.0 for ; Thu, 24 Sep 2020 00:19:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LoZEzNkrLZtKDSHQhCxx6n64o4H17A5rxBimZktlaz4=; b=aDAgHwhsELGBfXzIZ219iHBeZOI+Y6UEnQ3yIhEpBZg9YWeHSdSU3lexolIR/uetfW p2q/C0iRsY6RSVsgsO4DS3L8mvzjMRJphVPDjeJAYtIwNU25R4MQnBaKaHJOcKfkLxdO 8W/8Jm181JoRh/OZLvjUtGqUxvfBuFXK9MuRlS/xJ9vsu6cZi5oSoU6QAbnw42KLViuH Fyrxr9YnZzFnhxXZUvRbJj9SND2Fto9hBPrSKFkPA7l8fC46Fe7qaUltU5n3MgHGqfFm u48nki7UU0zGfz5vptHDhQxuYEsetOtifh6cA5JM7pH9FXRjQBopMin2j+a3ydKCfM+A IReg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=LoZEzNkrLZtKDSHQhCxx6n64o4H17A5rxBimZktlaz4=; b=X4GXAG+m5dLGeO590ADNpJt2aC0OMZzALymK+adUCpranSuD1WE6c/Z2zJ7fw2SetP KpRD6NBXdZPEnOzjUt4XfK71wFnEmVmLtXVgGKUiPxjba6UMzVc+f1H08EemyRQYLfKO bV4JVOE2/lvk1hT1lORGHsL9ACfyZWsr70KwKE//vpQkFNeMjX0458Baxj3y/MyXWmOU LPNccmcUinlnFzF5GYgU4wPA2ZOm6HTSphaQeDzHJqeyI7RAVon1zGuUb/Sq/nKP0rMk ckTKEnitlpgC6ryR1GuuExe1Hw6ZiDenjjehn7aB/YerH29PcRWS9QE58Yezbpto4cRh Wy/Q== X-Gm-Message-State: AOAM530NVU75X20doNpbk/zhoWz/0bHgLDt53Zyei0TQ7QhJNX6mO77Q phpyz98jdxeoMcYabjyPYL4hsXIqMIdnLw== X-Google-Smtp-Source: ABdhPJyxRSIlWuOdPATheKOQqLr8eF/z4y/RVLP2svVNLw7W89AGFEL0+W3hZVelo5e4LNIAQQ2CLQ== X-Received: by 2002:a05:600c:297:: with SMTP id 23mr3048955wmk.184.1600931986398; Thu, 24 Sep 2020 00:19:46 -0700 (PDT) Received: from piling.lan ([80.71.134.83]) by smtp.gmail.com with ESMTPSA id z9sm2275393wmg.46.2020.09.24.00.19.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Sep 2020 00:19:44 -0700 (PDT) From: Ricardo Ribalda To: libcamera-devel@lists.libcamera.org, Kieran Bingham , Laurent Pinchart Date: Thu, 24 Sep 2020 09:19:22 +0200 Message-Id: <20200924071922.231063-12-ricardo@ribalda.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200924071922.231063-1-ricardo@ribalda.com> References: <20200924071922.231063-1-ricardo@ribalda.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 11/11] libcamera: Add a check for the yaml module 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: Ezequiel Garcia Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Yaml is not installed by default, so it needs to be checked during configuration for its presence. Credit-to: Ezequiel Garcia Cc: Ezequiel Garcia Signed-off-by: Ricardo Ribalda --- src/libcamera/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index 0e6ecf5..575bea1 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -77,6 +77,7 @@ if libudev.found() ]) endif +import('python').find_installation('python3', modules : ['yaml']) gen_controls = files('gen-controls.py') control_sources = []