Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 728360 - media-libs/glm should not depend on media-libs/mesa[X] through virtual/opengl
Summary: media-libs/glm should not depend on media-libs/mesa[X] through virtual/opengl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-15 12:26 UTC by Fpemud
Modified: 2020-06-18 06:57 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fpemud 2020-06-15 12:26:32 UTC
I'm trying to remove x11 packages from my system.
media-libs/glm depends on virtual/opengl, which further depends on media-libs/mesa[X].
glm can be used with EGL and GLES. so this depedency is not neccessary.
I have temporarily modified the ebuild files and successfully build media-libs/glm with media-libs/mesa[!X].

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2020-06-17 19:23:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca5cd51f2f29cdb7c3760a7d08c996916762e68c

commit ca5cd51f2f29cdb7c3760a7d08c996916762e68c
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2020-06-17 19:22:29 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2020-06-17 19:23:07 +0000

    media-libs/glm: remove dep on virtual/opengl
    
    Closes: https://bugs.gentoo.org/728360
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 media-libs/glm/glm-0.9.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 2 Fpemud 2020-06-18 04:55:05 UTC
Err, I think simply removing "virtual/opengl" from dependency list is not a correct fix.
media-libs/glm is incorrectly depending on GLX (opengl for X11). What I guess a more apporiate solution is to add X/egl USE flag to virutal/opengl so that it can have a finer granularity.
Comment 3 Tupone Alfredo gentoo-dev 2020-06-18 06:57:11 UTC
(In reply to Fpemud from comment #2)
> Err, I think simply removing "virtual/opengl" from dependency list is not a
> correct fix.
> media-libs/glm is incorrectly depending on GLX (opengl for X11). What I
> guess a more apporiate solution is to add X/egl USE flag to virutal/opengl
> so that it can have a finer granularity.

I got that glm is simply a mathematical library. Should not depend on anything.