Skip to contentSkip to conversation

mesa: corrects do_install task in mesa recipe

PATCH In review Ronaldo Nunez 2 participants 3 messages Apr 9, 2014 – Apr 19, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 60/60 mesa: corrects do_install task in mesa recipe

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.

---
 recipes-graphics/mesa/mesa_9.1.6.bbappend | 10 ++++++++++
 1 file changed, 10 insertions(+)
recipes-graphics/mesa/mesa_9.1.6.bbappend +10 -0
index 9975abc..69be099 100644
@@ -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()
Signature · 1 line
1.8.1.2
#1 lore raw

Hello Ronaldo,

Quoted 7 lines · Ronaldo Nunez

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.

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.

Signature · 3 lines
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
#2 lore raw
Quoted 7 lines · Otavio Salvador

Hello Ronaldo,

Quoted 4 lines · Ronaldo Nunez

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.

Quoted 6 lines
Quoted 3 lines

The patch removes egl and gles parameters from PACKAGECONFIG.

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 ...

Quoted 8 lines

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

Signature · 3 lines
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