Skip to contentSkip to conversation

userland_git.bb: remove libgl RPROVIDES

PATCH In review Trevor Woerner 3 participants 4 messages Mar 15, 2017 – Mar 21, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 userland_git.bb: remove libgl RPROVIDES

This recipe does not generate any libGL libraries, so remove libgl from the list of libraries it provides. Among the libraries generated are libEGL and libGLESv2. This entry makes it impossible to have, say, mesa provide libGL since opkg thinks there is a conflict.

---
 recipes-graphics/userland/userland_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-graphics/userland/userland_git.bb +1 -1
index 5344dc3..f0f25b2 100644
@@ -10,7 +10,7 @@ PR = "r5"
 PROVIDES = "virtual/libgles2 \
             virtual/egl"
 
-RPROVIDES_${PN} += "libgles2 libgl"
+RPROVIDES_${PN} += "libgles2"
 
 COMPATIBLE_MACHINE = "raspberrypi"
 
Signature · 1 line
2.12.0.rc1.48.g076c053
#1 lore raw
Quoted 15 lines · On Wed, 15 Mar 2017 09:45:53 -0400 Trevor Woerner <[email protected]> wrote:

This recipe does not generate any libGL libraries, so remove libgl from the list of libraries it provides. Among the libraries generated are libEGL and libGLESv2. This entry makes it impossible to have, say, mesa provide libGL since opkg thinks there is a conflict.

---
 recipes-graphics/userland/userland_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-graphics/userland/userland_git.bb +0 -0
index 5344dc3..f0f25b2 100644

recipes-graphics/userland/userland_git.bb PR = "r5" · line 16

Quoted 8 lines
recipes-graphics/userland/userland_git.bb +1 -1
@@ -10,7 +10,7 @@ PR = "r5"
 PROVIDES = "virtual/libgles2 \
             virtual/egl"
 
-RPROVIDES_${PN} += "libgles2 libgl"
+RPROVIDES_${PN} += "libgles2"
 
 COMPATIBLE_MACHINE = "raspberrypi"
 

I think Khem already has a similar patch staged for this:
https://github.com/kraj/meta-raspberrypi/commit/e070005aa8251c81323b393d49fd87f92e74cae1

Thanks,
Paul

#3 lore raw
Quoted 11 lines · Trevor Woerner
Quoted 2 lines · Paul Barker

I think Khem already has a similar patch staged for this:
https://github.com/kraj/meta-raspberrypi/commit/e070005aa8251c81323b393d49fd87f92e74cae1

Oops! thanks :-)
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

As mentioned, a similar patches was included in Khem's PR which made it in master.

--
Andrei Gherzan
gpg: rsa4096/D4D94F67AD0E9640 | t: @agherzan