Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506548 - virtual/opengl should alternatively RDEPEND on media-libs/raspberrypi-userland
Summary: virtual/opengl should alternatively RDEPEND on media-libs/raspberrypi-userland
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 471200
  Show dependency tree
 
Reported: 2014-04-02 12:35 UTC by LABBE Corentin
Modified: 2014-04-05 07:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Add media-libs/raspberrypi-userland as an opengl implementation provider (virtual_opengl_raspberrypi_userland.patch,563 bytes, patch)
2014-04-02 12:56 UTC, LABBE Corentin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description LABBE Corentin 2014-04-02 12:35:22 UTC
media-libs/raspberrypi-userland provides opengl implementation for the raspberry pi.
So virtual/opengl should depend on it

Reproducible: Always

Steps to Reproduce:
1. emerge anything with that depends on virual/opengl on a raspberrypi
2.
3.
Actual Results:  
emerge want media-libs/mesa to be installed even if media-libs/raspberrypi-userland is merged

Expected Results:  
emerge wont emerge media-libs/mesa
Comment 1 LABBE Corentin 2014-04-02 12:56:02 UTC
Created attachment 374092 [details, diff]
Add media-libs/raspberrypi-userland as an opengl implementation provider
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-04-02 14:12:41 UTC
I'm not so sure about this, at least the current raspberrypi-userland in tree provides only libEGL and libGLES*. So anything which requires libGL would fail to build.
Comment 3 LABBE Corentin 2014-04-02 15:02:21 UTC
On raspberry pi, the only way to have some opengl is raspberrypi-userland.
So any source that fail to compile, will fail anyway.
But by adding raspberrypi-userland to virtual/opengl, this will allow some application to compile (xbmc is an example)
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-04-02 15:08:00 UTC
No. OpenGL is provided only by mesa. raspberrypi-userland provides libraries for accelerated OpenGL ES. It does not provide libGL.so which is absolutely required by OpenGL (non-ES) applications.

Do not confuse OpenGL with 3D acceleration.
Comment 5 LABBE Corentin 2014-04-02 19:17:26 UTC
I agree that raspberrypi-userland do not provide strictly the opengl library.
But I viewed virtual/opengl as a way to provide a depends on all opengl related stuff, like eselect-opengl is a way to switch between all opengl related library.

If you do not follow my interpretation, you can close this bug.
If so perhaps creating a virtual/gles is a better idea ?
Comment 6 Matt Turner gentoo-dev 2014-04-04 03:35:00 UTC
(In reply to clabbe.montjoie from comment #5)
> If so perhaps creating a virtual/gles is a better idea ?

Yes.