From patchwork Mon Jul 3 17:23:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106917 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp127818qge; Mon, 3 Jul 2017 10:35:55 -0700 (PDT) X-Received: by 10.99.125.20 with SMTP id y20mr11272037pgc.259.1499103355439; Mon, 03 Jul 2017 10:35:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499103355; cv=none; d=google.com; s=arc-20160816; b=09HnIdKEEKYhnv/W9FDHxF/+ocIkFwzg12MRVDv3+YlXTMhO0eD8b3TAe0Dj/HTbJe VTGdmGTXh/JRPGlBH31i8w0S8Qkj81Qhva64HSJ+Sne92AQ74choR0Y2X3KQaST+UlnE E6XK76nPIj3pQFMNK/ROjD9r1+ylv2wkO7EYec1Gi7bB3WDDcD4+6CQUr6mcgAD+QCEe ez3Y/INP0sX/C/xtEvYoG4ljquGfvC0zRxPdBgEYtvPVcz8+4in9xN1y6w3KPdSTZIc+ ijayHEwIGEUpkgCs4iGmCn2/myxkYSeqjErJ6TOKCCcxhujNk3+hBm77AmKeHcUVVIq3 mteQ== 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=EmLS2aacCeSvBhT0vPcoloeTWMLlT5rl1n0mE/JfHk4=; b=BjKPjSp8s00I+Oyh0QX3V7TTNvRuxbSQyETSUj9feu5uSbxqrF8iHeWpTOoJad5tmH kAYn2Flb/B8lUb3EqIAmAvXDUpOoKU3AyM9PCDudhQO1Kl/1SqE7hJTMi0LOK1H5VmVp 8w5QBjMN3N1bESxFx4IndCzTYYV3NvD0GZUHq/1Zl+bInqBScv58hnzmlqZhyX0DnvDB OJ49uIrEoUS3iN7ZWlJ3IFdEeCqaNNSYACn1HiN0YMsuwwK+2FMgxq7tLCq4K+Tz7fCF BBCbhMJWnfRUGki3hoY2dl0orBvXIfmoy9ysiaI+87H+yC6/EBdSXzVnSBdYyTjV0fqa jSRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=Ppd+9xey; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id r2si10081462pge.164.2017.07.03.10.35.55; Mon, 03 Jul 2017 10:35:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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=@gmail.com header.b=Ppd+9xey; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 3F97760107; Mon, 3 Jul 2017 17:35:37 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f171.google.com (mail-pf0-f171.google.com [209.85.192.171]) by mail.openembedded.org (Postfix) with ESMTP id 4DD806FF80 for ; Mon, 3 Jul 2017 17:23:33 +0000 (UTC) Received: by mail-pf0-f171.google.com with SMTP id s66so102972163pfs.1 for ; Mon, 03 Jul 2017 10:23:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=0hSaNTeMuhgHTUKjNA7kXA51GVYkYvXyzyw4m4djv7g=; b=Ppd+9xeyHW2V9iZpuvfevkZk/0DOVJ1yf794Ne1A/vo3JK83/ZalRLyO5KHERmUfeP ZIZPWW2Z5HCLTAYuTOSVlFA3aCxHLMknd2y1WGZAmgae0XBSPKFMqhQXrxwDQ1tD1Q7/ EpVIG7lx8AGrcERzuSMX6eR4qgyLbilUwzRCkUjilVudPr+8qql+LOWzEzXdQozbOrGy 6JiYHhhGt/kgxoezsKFCofXzXilDjAoVCXnWh4HUL9Rmo0u9eCerSbLiRXM7zbQQLA26 zXlZZWrJqqaOJESVsfpMfI5AJUzbnuj4y3xRL0FkhWYilOqwEtPHJddA4irsXT2EBT/i 7ddw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=0hSaNTeMuhgHTUKjNA7kXA51GVYkYvXyzyw4m4djv7g=; b=FwZgm+jkgeoKJ/jj9tqWx4MxMU+/wsJNaGYVti+omc/AIjy/PudUB/geTPMxseel0t IZvti1S2AOZvA1E64GscI09KWL4UqdsoxPHRNJ47UOMe2fhQ0P1mV4dQyCGCLwK2DyAA re6DofhQq4FeiZmPgS99RmEyBcKOPw1/T9Iz8P1dYG26r/t+Mww0ZN/nBCfUqquxBEGD C1C4wsnStjBN1a1RvuZChSp4iaZR9+NDFZb+ziLbCO+hhhYnWuAB0nXBvJSCgym7gx5B MJ9m1Z4jkoggWqcbnIY7Tckx9PyobX5b+e9hjDrHJ+0yNl9eYsRjp3qw29WMBiVWe60M 9dLA== X-Gm-Message-State: AIVw110Cy3SuZ74nWicSilfxCknBJyoZCW8TLEWmAAedy7GNFISTkL9N OT8MebjaLRnw0Wdw X-Received: by 10.84.128.102 with SMTP id 93mr11517122pla.21.1499102615032; Mon, 03 Jul 2017 10:23:35 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::3df3]) by smtp.gmail.com with ESMTPSA id 75sm6756532pfk.84.2017.07.03.10.23.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Jul 2017 10:23:33 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 3 Jul 2017 10:23:26 -0700 Message-Id: <20170703172326.9061-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 Subject: [oe] [meta-browser][PATCH] firefox: Fix missing references to hardcoded PYTHON X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Since OE cross compiles we sometimes will run into this issue https://bugzilla.mozilla.org/show_bug.cgi?id=1243321 This fix enhances the existing patch to use PYTHON variable itself to compute the python binary name and uses usr/bin/env to find it instead of hardcoding it. Signed-off-by: Khem Raj --- .../firefox/firefox/fix-python-path.patch | 27 +++++++++++++++------- 1 file changed, 19 insertions(+), 8 deletions(-) -- 2.13.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/recipes-mozilla/firefox/firefox/fix-python-path.patch b/recipes-mozilla/firefox/firefox/fix-python-path.patch index 544c611..963fbae 100644 --- a/recipes-mozilla/firefox/firefox/fix-python-path.patch +++ b/recipes-mozilla/firefox/firefox/fix-python-path.patch @@ -9,18 +9,29 @@ Signed-off-by: Fabio Berton js/src/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/js/src/configure b/js/src/configure -index cce5430..780d201 100755 ---- a/js/src/configure -+++ b/js/src/configure -@@ -15933,7 +15933,7 @@ echo creating $CONFIG_STATUS +Index: firefox-45.9.0esr/js/src/configure +=================================================================== +--- firefox-45.9.0esr.orig/js/src/configure ++++ firefox-45.9.0esr/js/src/configure +@@ -17061,7 +17061,7 @@ echo creating $CONFIG_STATUS extra_python_path=${COMM_BUILD:+"'mozilla', "} cat > $CONFIG_STATUS < $CONFIG_STATUS <