From patchwork Wed Nov 27 08:00:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 180271 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp5769039ilf; Wed, 27 Nov 2019 00:00:51 -0800 (PST) X-Google-Smtp-Source: APXvYqzAJDgh3w8zyEDehr7Do6I3hjdkxxfmHhuB2j1axaCNo70yBIT6zmCxQENqqsHTcZa90VJP X-Received: by 2002:a17:90b:30d7:: with SMTP id hi23mr4321999pjb.10.1574841651333; Wed, 27 Nov 2019 00:00:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574841651; cv=none; d=google.com; s=arc-20160816; b=FEcxSOPoEqZ+eW64amls5kuBcXfLfzpM7sRgeYT1QlNGk6OXi/gENnXcgP9peA/B6W bgkylLp/ImSSTfuZiWBAaiTh1M6H/8bV5m96AmOoiGo9Apuw01vP/YJ7b/NVk4g0kmig YiuNfc1iq9GO9Za8uDY/WpBILospqbduFx7B0GUKc6hzfucZPRiXcMirzcsICI6bz0sE u7iNWMSacRZiXVriPsY306l9ysnbcNp/fx8kTIAuzT/k3Swdd0I5FUbCgdfn4GFjkDNa 8qfYCBT2S4IpQdu5+mMBZnly7qGqFKghUbShCthW3oKh1jTyrGWHcy3U9ni1q+idUFCK OtWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=HHHbbXAhzrU1Ad43xZrT+bVjFitCe4irB822eoyxdbM=; b=HGRzDx4CDECDvZYvsh3qANYFdJ8LiN+UgFoyi8aZ2NscAZTotPeAsBSNESIaKoi7Aj RkK/bk+zVfVraWVgh2JLasVEOsmb2ol9ztuO1aLhKQiUAab40XSEJ8hqnUBPpnkeDDZj tcFxMQFWtkcl3xRY9toqCoXu/JCoritzlpbVagYIa6MzuP6dMqg35/hzSA5arP8psHgV l1aLEfvnnGWZQ5/WGJiKGIyDGCl/Zuh/tsQqPlNUHeqvzZxMW3fbPabpWng+RSNOe6Cn E682ncB5esMiZzx4uhcISD8LMhlYZ28nI26R4jUNYQc8/00qQ8cFNFfWjFHzaqYraiIk DcQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=i8Dhhnjd; 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=QUARANTINE 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 m23si14445418pgb.308.2019.11.27.00.00.50; Wed, 27 Nov 2019 00:00:51 -0800 (PST) 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.s=20161025 header.b=i8Dhhnjd; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 970D27FA19; Wed, 27 Nov 2019 08:00:43 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mail.openembedded.org (Postfix) with ESMTP id 490787F7B4 for ; Wed, 27 Nov 2019 08:00:41 +0000 (UTC) Received: by mail-pf1-f170.google.com with SMTP id 193so10551019pfc.13 for ; Wed, 27 Nov 2019 00:00:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=A9mBYLfh6Ls0mwfssQLeOQSV62wC4ZpCmk4EZTZInG4=; b=i8DhhnjdLjgQTqanH9bWF103z4kMYWuRjKKwL09SOyht1Yn/7ZQ1R4KGTW0b9clr22 mXLeschCNzWZO99+vv3X52vO7z7PofstaSldD6bnaNwFDVHFxG/Cnf0/R2oVX47+Iv2+ tyrBNU09sPj/OMANfCXcsa3omwCU0WxZZxKrt/w2Wx7gxNkfPU3VgWfU6+wyw/7TMtDe rLs4NdTvO7aE8cCTAQiSO2zTsQiVZ5iYpkbGxI8rfi6pPvQQXX8K2j5ZkB3CrV9LdUmT EK9Dg23TF4pchtJCodEv6GV2s4sV/t+e+133xrvtWgrkRYsCKxZsHqgpO/jgaamuH8ZB Wjrg== 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:mime-version :content-transfer-encoding; bh=A9mBYLfh6Ls0mwfssQLeOQSV62wC4ZpCmk4EZTZInG4=; b=UXF4zFZXv9jO4infWQlpj60lp3LtKUuPG+pDjB8z47RN4TonsOEdGW/TLvALHR9lWp gGbHqh/3rXoDEzM6zzh/Ny6RvJ17AMRl+AEagtedTmqT4Kklrg5miBqu8Q12m2J5OsiW gEZL4Fb+xJ80zHIYVkECr8frtGZG7fC0RAm/n3dyBwGvTMCVD/Pq6A1NALFOXIY8BSOa tstMxn+O050YxQJdZYifIZ4qC09pkhPcwV4ks2X8I/5K8xAR7SL5KQ5bsF06AxOR9hr8 2vUvUtI3V6BK2jtTOUyulVMIAeDhb58Xx61olMlc81jnC8jq7Ajh3UWjt/BPJI6KGNDL e2vQ== X-Gm-Message-State: APjAAAWVsWKzTy/kiHrQw2df7UK1cTlC7Mg8zFP1qViKr8Rt2bUsXeKo xzD7yNXEN7kceLTLr3BnaXzfUIQeok0= X-Received: by 2002:a63:4f64:: with SMTP id p36mr3460358pgl.271.1574841641563; Wed, 27 Nov 2019 00:00:41 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:1c20::e439]) by smtp.gmail.com with ESMTPSA id c28sm15070979pgc.65.2019.11.27.00.00.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Nov 2019 00:00:40 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Wed, 27 Nov 2019 00:00:28 -0800 Message-Id: <20191127080028.823495-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH] pidgin: Use python3 during build 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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../pidgin/pidgin/use_py3.patch | 20 +++++++++++++++++++ .../recipes-support/pidgin/pidgin_2.13.0.bb | 1 + 2 files changed, 21 insertions(+) create mode 100644 meta-oe/recipes-support/pidgin/pidgin/use_py3.patch -- 2.24.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/pidgin/pidgin/use_py3.patch b/meta-oe/recipes-support/pidgin/pidgin/use_py3.patch new file mode 100644 index 0000000000..c7b4163cb5 --- /dev/null +++ b/meta-oe/recipes-support/pidgin/pidgin/use_py3.patch @@ -0,0 +1,20 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -1488,7 +1488,7 @@ AC_ARG_WITH([python], + + if test "x$enable_dbus" = "xyes" || test "x$enable_consoleui" = "xyes" ; then + if test -z "$PYTHON" -o "x$PYTHON" = "xyes"; then +- AC_PATH_PROG([PYTHON], [python], [no]) ++ AC_PATH_PROG([PYTHON], [python3], [no]) + fi + + if test x"$PYTHON" = x"no" ; then +@@ -1568,7 +1568,7 @@ dnl Check for Python headers (currently + dnl (Thanks to XChat) + if test "x$enable_consoleui" = "xyes" -a ! -z "$PYTHON" -a x"$PYTHON" != x"no" ; then + AC_MSG_CHECKING(for Python compile flags) +- PKG_CHECK_MODULES(PY, python, [ ++ PKG_CHECK_MODULES(PY, python3, [ + AC_SUBST(PY_CFLAGS) + AC_SUBST(PY_LIBS) + ], [ diff --git a/meta-oe/recipes-support/pidgin/pidgin_2.13.0.bb b/meta-oe/recipes-support/pidgin/pidgin_2.13.0.bb index b4944258fa..fdc79e81b2 100644 --- a/meta-oe/recipes-support/pidgin/pidgin_2.13.0.bb +++ b/meta-oe/recipes-support/pidgin/pidgin_2.13.0.bb @@ -11,6 +11,7 @@ SRC_URI = "\ file://sanitize-configure.ac.patch \ file://purple-OE-branding-25.patch \ file://pidgin-cross-python-265.patch \ + file://use_py3.patch \ " SRC_URI[md5sum] = "423403494fe1951e47cc75231f743bb0"