Patchwork [meta-fsl-arm,60/60] mesa: corrects do_install task in mesa recipe

login
register
mail settings
Submitter Ronaldo Nunez
Date April 9, 2014, 11:07 a.m.
Message ID <1397041663-3707-1-git-send-email-ronaldo.viera@gmail.com>
Download mbox | patch
Permalink /patch/70367/
State Rejected
Delegated to: Otavio Salvador
Headers show

Comments

Ronaldo Nunez - April 9, 2014, 11:07 a.m.
The new mesa recipe from 'dora' branch of poky repository
looks for egl support checking the PACKAGECONFIG variable,
but in 'meta-fsl-arm' the egl support is disabled.

The patch removes egl and gles parameters from PACKAGECONFIG.

Signed-off-by: Ronaldo Nunez <ronaldo.viera@gmail.com>
---
 recipes-graphics/mesa/mesa_9.1.6.bbappend | 10 ++++++++++
 1 file changed, 10 insertions(+)
Otavio Salvador - April 19, 2014, 2:11 a.m.
Hello Ronaldo,

On Wed, Apr 9, 2014 at 8:07 AM, Ronaldo Nunez <ronaldo.viera@gmail.com> wrote:
> The new mesa recipe from 'dora' branch of poky repository
> looks for egl support checking the PACKAGECONFIG variable,
> but in 'meta-fsl-arm' the egl support is disabled.
>
> The patch removes egl and gles parameters from PACKAGECONFIG.
>
> Signed-off-by: Ronaldo Nunez <ronaldo.viera@gmail.com>

First I'd like to express my thankfulness as you did look at this
issue however this issue shouldn't be fixes here as this is a
regression due a change in the meta-fsl-arm's Dora branch. I think
Robert or Richard will commit Valentin's patch very soon so the
regression is fixed in OE-Core's Dora branch.
Otavio Salvador - April 19, 2014, 2:13 a.m.
On Fri, Apr 18, 2014 at 11:11 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> Hello Ronaldo,
>
> On Wed, Apr 9, 2014 at 8:07 AM, Ronaldo Nunez <ronaldo.viera@gmail.com> wrote:
>> The new mesa recipe from 'dora' branch of poky repository
>> looks for egl support checking the PACKAGECONFIG variable,
>> but in 'meta-fsl-arm' the egl support is disabled.
>>
>> The patch removes egl and gles parameters from PACKAGECONFIG.
>>
>> Signed-off-by: Ronaldo Nunez <ronaldo.viera@gmail.com>
>
> First I'd like to express my thankfulness as you did look at this
> issue however this issue shouldn't be fixes here as this is a

... as this isn't ...

> regression due a change in the meta-fsl-arm's Dora branch. I think
> Robert or Richard will commit Valentin's patch very soon so the
> regression is fixed in OE-Core's Dora branch.
>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

Patch

diff --git a/recipes-graphics/mesa/mesa_9.1.6.bbappend b/recipes-graphics/mesa/mesa_9.1.6.bbappend
index 9975abc..69be099 100644
--- a/recipes-graphics/mesa/mesa_9.1.6.bbappend
+++ b/recipes-graphics/mesa/mesa_9.1.6.bbappend
@@ -20,6 +20,16 @@  python __anonymous () {
             new_extra_oeconf.append(i)
 
         d.setVar('EXTRA_OECONF', ' '.join(new_extra_oeconf))
+	
+	# Remove egl and gles from PACKAGECONFIG
+        packageconfig = d.getVar('PACKAGECONFIG', True).split()
+        take_out = ['egl', 'gles']
+        new_packageconfig = []
+        for i in packageconfig:
+            if i not in take_out:
+                new_packageconfig.append(i)
+
+        d.setVar('PACKAGECONFIG', ' '.join(new_packageconfig))
 
         # Remove itens from provides
         provides = d.getVar('PROVIDES', True).split()