From patchwork Wed Nov 12 14:28:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vicente Olivert Riera X-Patchwork-Id: 409992 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 300FA1400AB for ; Thu, 13 Nov 2014 01:28:16 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D80DD95E3F; Wed, 12 Nov 2014 14:28:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D8SpFB-sNi-4; Wed, 12 Nov 2014 14:28:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 8FF6F95E1F; Wed, 12 Nov 2014 14:28:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id E83451C269C for ; Wed, 12 Nov 2014 14:28:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E3BCA9241B for ; Wed, 12 Nov 2014 14:28:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aZfrCoQpWyYM for ; Wed, 12 Nov 2014 14:28:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196]) by whitealder.osuosl.org (Postfix) with ESMTP id 38B799242F for ; Wed, 12 Nov 2014 14:28:11 +0000 (UTC) Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id 08BEC66D30D0 for ; Wed, 12 Nov 2014 14:28:07 +0000 (GMT) Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 12 Nov 2014 14:28:09 +0000 Received: from localhost.localdomain (192.168.154.104) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.210.2; Wed, 12 Nov 2014 14:28:08 +0000 From: Vicente Olivert Riera To: Date: Wed, 12 Nov 2014 14:28:04 +0000 Message-ID: <1415802484-4026-1-git-send-email-Vincent.Riera@imgtec.com> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 X-Originating-IP: [192.168.154.104] Subject: [Buildroot] [PATCH] gst1-validate: needs python X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" gst1-validate needs Python at build time. Otherwise it will fail showing an error like this one: checking for a Python interpreter with version >= 2.7.0... none configure: error: no suitable Python interpreter found It also needs Python at run time because the installed file "gst-validate-launcher" is a Python2 script: $ file -b output/target/usr/bin/gst-validate-launcher a /usr/bin/env python2 script text executable Fixes: http://autobuild.buildroot.net/results/723/723fe3036e8f0af2a90ff9e98173387466655000/ Signed-off-by: Vicente Olivert Riera --- package/gstreamer1/gst1-validate/Config.in | 8 ++++++++ package/gstreamer1/gst1-validate/gst1-validate.mk | 2 +- 2 files changed, 9 insertions(+), 1 deletions(-) diff --git a/package/gstreamer1/gst1-validate/Config.in b/package/gstreamer1/gst1-validate/Config.in index ffcdd27..8b9f56f 100644 --- a/package/gstreamer1/gst1-validate/Config.in +++ b/package/gstreamer1/gst1-validate/Config.in @@ -1,9 +1,17 @@ menuconfig BR2_PACKAGE_GST1_VALIDATE bool "gst1-validate" select BR2_PACKAGE_GST1_PLUGINS_BASE + select BR2_PACKAGE_PYTHON + depends on BR2_USE_WCHAR # python + depends on BR2_USE_MMU # python + depends on BR2_TOOLCHAIN_HAS_THREADS # python help GstValidate is a tool that allows GStreamer developers to check that the GstElements they write behave the way they are supposed to. http://gstreamer.freedesktop.org/ + +comment "gst1-validate needs a toolchain w/ wchar, threads" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/gstreamer1/gst1-validate/gst1-validate.mk b/package/gstreamer1/gst1-validate/gst1-validate.mk index 4972cac..1464922 100644 --- a/package/gstreamer1/gst1-validate/gst1-validate.mk +++ b/package/gstreamer1/gst1-validate/gst1-validate.mk @@ -12,6 +12,6 @@ GST1_VALIDATE_LICENSE_FILES = COPYING GST1_VALIDATE_CONF_OPTS = --disable-sphinx-doc -GST1_VALIDATE_DEPENDENCIES = gstreamer1 gst1-plugins-base +GST1_VALIDATE_DEPENDENCIES = gstreamer1 gst1-plugins-base python $(eval $(autotools-package))