From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id DDCCEE0077F; Fri, 10 Oct 2014 00:36:48 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [85.31.212.143 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from fx803.security-mail.net (smtpout140.security-mail.net [85.31.212.143]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 1DD7AE00744 for ; Fri, 10 Oct 2014 00:36:46 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by fx803.security-mail.net (MTA) with SMTP id 00B053B08603 for ; Fri, 10 Oct 2014 09:36:42 +0200 (CEST) Received: from fx803 (localhost [127.0.0.1]) by fx803.security-mail.net (MTA) with ESMTP id F029C3B08642; Fri, 10 Oct 2014 09:36:41 +0200 (CEST) X-Virus-Scanned: E-securemail x-secugrey: score=-10 x-secugrey: filter=out_default,id=20141010093641-78764-00005,score=-20 x-secugrey: score=-10 x-secugrey: filter=out_default,id=20141010093641-78764-00006,score=-20 Received: from cg92.security-mail.net (cg92.security-mail.net [172.16.248.92]) by fx803.security-mail.net (MTA) with SMTP id 5D6053B08687; Fri, 10 Oct 2014 09:36:41 +0200 (CEST) Received: from [89.91.77.218] (account yannick.calmettes@analogway.com HELO [192.168.0.39]) by mails.optimails.com (CommuniGate Pro SMTP 6.0.9) with ESMTPSA id 1826946993; Fri, 10 Oct 2014 09:36:40 +0200 Message-ID: <54378BC8.5010903@analogway.com> Date: Fri, 10 Oct 2014 09:33:28 +0200 From: Yannick Calmettes User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Otavio Salvador References: <5433C6B6.7000700@analogway.com> In-Reply-To: X-Virus-Scanned: by Security-Mail Cc: "meta-freescale@yoctoproject.org" Subject: Re: imx-3.10.31-1.1.0_beta : QT opengl dependency X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2014 07:36:48 -0000 Content-Type: multipart/alternative; boundary="------------030907050604040705090502" --------------030907050604040705090502 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Octavio, I've removed OpenGL from Distro because I don't want to use 3D accelerator. But it do not succeed to build QTBase without it. Yannick ** Le 09/10/2014 23:37, Otavio Salvador a écrit : > On Tue, Oct 7, 2014 at 7:55 AM, Yannick Calmettes > wrote: >> I want to remove opengl support to my machine so I had >> DISTRO_FEATURES_remove = "opengl " to my local.conf (i'm using poky >> distro). >> But by doing this all QT packages raise me an error because they do not find >> provider for opengl package. >> It seems that the problem comes from >> "meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend" that add support >> for opengl without test DISTRO_FEATURES : >> >> PACKAGECONFIG_GL_mx6 = "gles2" >> PACKAGECONFIG_append_mx6 = " tslib icu examples" >> QT_CONFIG_FLAGS_append_mx6 = "${@base_contains('DISTRO_FEATURES', 'x11', ' >> -no-eglfs', ' -eglfs', d)}" >> >> What is the best (and clean) way to correct this ? > You need to check if opengl is on distro features when passing -eglfs. > --------------030907050604040705090502 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Hi Octavio,

I've removed OpenGL from Distro because I don't want to use 3D accelerator. But it do not succeed to build QTBase without it.

Yannick

Le 09/10/2014 23:37, Otavio Salvador a écrit :
On Tue, Oct 7, 2014 at 7:55 AM, Yannick Calmettes
<yannick.calmettes@analogway.com> wrote:
I want to remove opengl support to my machine so I had
DISTRO_FEATURES_remove =  "opengl " to my local.conf (i'm using poky
distro).
But by doing this all QT packages raise me an error because they do not find
provider for opengl package.
It seems that the problem comes from
"meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend" that add support
for opengl without test DISTRO_FEATURES :

PACKAGECONFIG_GL_mx6 = "gles2"
PACKAGECONFIG_append_mx6 = " tslib icu examples"
QT_CONFIG_FLAGS_append_mx6 = "${@base_contains('DISTRO_FEATURES', 'x11', '
-no-eglfs', ' -eglfs', d)}"

What is the best (and clean) way to correct this ?
You need to check if opengl is on distro features when passing -eglfs.



 

--------------030907050604040705090502--