From patchwork Mon Jan 29 17:11:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 126184 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp2609271ljd; Mon, 29 Jan 2018 09:11:26 -0800 (PST) X-Google-Smtp-Source: AH8x2242PEK7Gq4DlrYvn1vPiDpwTwfIb7NmXUYJDcYWlIHvw89S28GEcS5vAWlAxdIeSh4jbLtE X-Received: by 10.101.102.3 with SMTP id w3mr21887698pgv.326.1517245885924; Mon, 29 Jan 2018 09:11:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517245885; cv=none; d=google.com; s=arc-20160816; b=JrQzNS83VVliVYwwRpzhWmfhdJMNLBGAVV5M/7+LlKlz0ZJFdZtMm0okyYwjDIAM3S TxnU23+N/xSWzWWmk0qnMgC20mS/KfoY1HvsWTlz/rP3y8Y9SsrK65KeXPxXYjJVrddu aDts3IuDlJi+rmYbpZp5Jzj+bda8rQUdpi6pX8sZSqp+8Ngkkh8y+WZsDVjRBVAQdKss dZ4bLE/7iSI+p37oU4KiMpB1Emk+u0pEa1cZ0f0tO7Y59OnOjjqRgIYorTLtwmNUDPlv LebsAjt1b6BUeZdOnkJVzwHN1mh/lkWx8nqMg1vvlT3KfO7uXWd0BahYab05gP7mYgqZ n9UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=23nFVyCrwoMArpYgf3wbr1lH2Rf30SEAU5TMAQAceo4=; b=MpL+LmJwQD2ewildgf4gxlL6KdOrtBNPaQkQ5Ejy/CHDMRuhd1omb/Z/wBSHU8Zdd2 5kGv1YKzRCxtp0op5k/atOtADV9k2YF0X3kS93Y93PJy04zYXbGQEdX8o9frFybdSIIa BqnIGf4iQ5Tl5bkVIgpPzVvUJkRVeHnNySHOlI84WaHBd6B26mmexlJHV89NqoOQNZ8i ejLRBCzk+QN0w2xru1WgP2J1xrlAuWyUlqkkhhltj0PXybr1oaAeh14/q/hS9I5uaYL7 4ftIzYa54Su3ogtdgxJg0L9WTqsfWVI4Neh6R0tTZto9lg60n824UafuHoerwGnoJ5kg VLXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=r+5iTQjL; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id z17-v6si9761078plo.794.2018.01.29.09.11.24; Mon, 29 Jan 2018 09:11:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=r+5iTQjL; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id EF8F978544; Mon, 29 Jan 2018 17:11:19 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by mail.openembedded.org (Postfix) with ESMTP id 65ED578544 for ; Mon, 29 Jan 2018 17:11:18 +0000 (UTC) Received: by mail-wr0-f194.google.com with SMTP id g21so8035744wrb.13 for ; Mon, 29 Jan 2018 09:11:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=uapo68wqcYTrezhSNtPBJyd0UL9WBb5piVYG++aSV7g=; b=r+5iTQjL9XGoskZxZwyUlZTT+ec1OiDEzEG3CGnUq2z7x2elZfCrGuyGDuxB7ZZwY8 VNTZbs52xkoU4VmBE8Cyee1eUg266c+GMuwAS3+yN/22dCJVs4bGU7bP70F7QUIj6eGg KTWf0r3nQ+4im8IVKdiPV5Q3WEONHIbOazbaXNqI7N2cd3hZuWXB8Z7a8K4cp7JCTOt6 eudvMRVmon+OeB5iAwjss+GAwEXfmn+2vhoTNJ8VAX9uj+0eRJUxb5zDrgFpD7S/JO5P I88fig1kLms/eLDl7vonwR3wymeoOCmb7WdpO6Njn5YCAmDOku7aQCQ10BhDsvt4LLN9 awYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=uapo68wqcYTrezhSNtPBJyd0UL9WBb5piVYG++aSV7g=; b=d34uV0ZvjJfj6f7zDBRSDgJJsytql+QKo8TGQDX1aXXol3p4jScF0qHXUmkfIVy08D 5BxhC07kYg3stk92c947zW3YLbHAGZ1fx/jsDe9r12PPRJSQuaaTcXzVMKcfEQYWFVwE 2zvZW0LAi3WYZbWKCFWSzojz63rv6aHBVgCpojAy9BdwP6bQlOM6RAbfimgvulussPTs BvFx9zZ5kK0jaOV4KQg5bvAw5Ce4X1hiF56SrkA1fIwdsDbowrGZSpEogEbyacr/Rhpk n04FBsML3BDcGnZr/J0/iwuVvUE6iTJSCdESKWIyqZg4BM3/hqXOAajVde0ikAInzIPu fcSw== X-Gm-Message-State: AKwxytft1CgCDlIIwe7Fwey2TqI5KR+d0FFTm6rs5o/0KWpBNE1r59pE dbOvZZYPPQZeLtvFkJgjAYekK9Mr X-Received: by 10.223.146.33 with SMTP id 30mr4816051wrj.14.1517245878888; Mon, 29 Jan 2018 09:11:18 -0800 (PST) Received: from flashheart.burtonini.com (home.burtonini.com. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id e16sm11515244wre.5.2018.01.29.09.11.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 09:11:17 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Mon, 29 Jan 2018 17:11:07 +0000 Message-Id: <20180129171111.14502-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH 1/5] ofono: only depend on pygobject if its going to work X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Ross Burton --- meta/recipes-connectivity/ofono/ofono.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc index 676a0c0042a..4443a95c2f7 100644 --- a/meta/recipes-connectivity/ofono/ofono.inc +++ b/meta/recipes-connectivity/ofono/ofono.inc @@ -5,7 +5,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \ file://src/ofono.h;beginline=1;endline=20;md5=3ce17d5978ef3445def265b98899c2ee" -inherit autotools pkgconfig update-rc.d systemd bluetooth +inherit autotools pkgconfig update-rc.d systemd bluetooth gobject-introspection-data DEPENDS = "dbus glib-2.0 udev mobile-broadband-provider-info" @@ -29,7 +29,6 @@ do_install_append() { # Ofono still has one test tool that refers to Python 2 in the shebang sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/ofono/test/set-ddr - } PACKAGES =+ "${PN}-tests" @@ -39,4 +38,5 @@ RRECOMMENDS_${PN} += "kernel-module-tun mobile-broadband-provider-info" FILES_${PN} += "${systemd_unitdir}" FILES_${PN}-tests = "${libdir}/${BPN}/test" -RDEPENDS_${PN}-tests = "python3 python3-pygobject python3-dbus" +RDEPENDS_${PN}-tests = "python3 python3-dbus" +RDEPENDS_${PN}-tests += "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'python3-pygobject', '', d)}"