Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339515 - packages depend on media-libs/freeglut instead of virtual/glut
Summary: packages depend on media-libs/freeglut instead of virtual/glut
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: http://mesa3d.org
Whiteboard:
Keywords:
: 358677 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-02 21:25 UTC by Sergey Kondakov
Modified: 2011-03-21 16:44 UTC (History)
2 users (show)

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 Sergey Kondakov 2010-10-02 21:25:38 UTC
i wanted to use mesa-provided libglut in my system but not only Gentoo mesa and glut ebuilds does not feature building libglut from mesa code but also many(all?) packages depend directly on media-libs/freeglut instead of virtual/glut making it impossible of doing something simple like adding "|| ( media-libs/mesa[glut] media-libs/freeglut )" in virtual/glut.

Reproducible: Always

Steps to Reproduce:
equery d media-libs/freeglut
Actual Results:  
 * These packages depend on media-libs/freeglut:
app-emulation/virtualbox-ose-3.2.8 (opengl ? media-libs/freeglut)
dev-games/cegui-0.6.2b (opengl ? media-libs/freeglut)
games-action/chromium-0.9.14.1 (!sdl ? media-libs/freeglut)
media-libs/ftgl-2.1.3_rc5 (media-libs/freeglut)
media-libs/jasper-1.900.1-r3 (opengl ? media-libs/freeglut)
media-libs/libcaca-0.99_beta17 (opengl ? media-libs/freeglut)
media-video/gpac-0.4.5-r2 (opengl ? media-libs/freeglut)
virtual/glut-1.0 (media-libs/freeglut)

Expected Results:  
 * These packages depend on media-libs/freeglut:

i actually removed freeglut from my system, emerged mesa with one(from my ebuilds at 'v-fox' overlay) and tested it on games-action/chromium, emerged without 'sdl' flag, so glut would be engaged. it works.
hovewer, there are appear to be some packages which explicitly check for freeglut(like libcaca) but it does not excuse total ignore of mesa.
Comment 1 Sergey Kondakov 2010-10-19 10:02:01 UTC
!!! The following installed packages are masked:
- virtual/glut-1.0::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Samuli Suominen <ssuominen@gentoo.org> (18 Oct 2010)
# Fix your package to depend on media-libs/freeglut
# or emerge -C virtual/glut
# This mask entry will go away in about 30 days

what ? removal of virtual/glut ?
how about "fixing" dependencies only for packages which are actually work only with freeglut and not both ?

this report about packages depending on media-libs/freeglut instead of virtual/glut and you are removing virtual/glut and make everything dependent on freeglut ? really ?
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2010-10-19 11:11:28 UTC
Mesa glut was never supported and planned to be supported by gentoo.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2011-03-21 16:43:47 UTC
*** Bug 358677 has been marked as a duplicate of this bug. ***
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2011-03-21 16:44:36 UTC
As the in-mesa glut is the code with heavily restrictive license:
http://www.opengl.org/resources/faq/technical/glut.htm
We wont be shipping it and we just stick with freeglut.