Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608912 - media-libs/mesa-17.0.0_rc3: Support installing mesa without X
Summary: media-libs/mesa-17.0.0_rc3: Support installing mesa without X
Status: RESOLVED DUPLICATE of bug 560096
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-11 09:55 UTC by dolphinling
Modified: 2017-02-13 15:45 UTC (History)
0 users

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


Attachments
mesa-17.0.0_rc3.ebuild (mesa-17.0.0_rc3.ebuild,13.12 KB, text/plain)
2017-02-11 10:00 UTC, dolphinling
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dolphinling 2017-02-11 09:55:36 UTC
Mesa has all of the configure machinery needed to compile and run without X, but gentoo does not currently expose that. I will attach an ebuild that adds an X use flag and makes dependencies conditional on it.
Comment 1 dolphinling 2017-02-11 10:00:09 UTC
Created attachment 463190 [details]
mesa-17.0.0_rc3.ebuild

This ebuild adds a use flag USE="X", and sets dependencies and configure options as appropriate.

Note that the bulk of the changes were made around 6 months ago. I have updated it to match changes to the gentoo ebuild since then, but if any relevant changes were made to mesa's configure since then I have missed them.

It is tested to work on a system with no libX11 or the various other dependencies. It should not affect systems with X in any way (though I haven't actually installed on any).
Comment 2 Matt Turner gentoo-dev 2017-02-13 14:52:50 UTC
Is this bug not a duplicate of bug 560096?
Comment 3 dolphinling 2017-02-13 15:45:41 UTC
Yeah, it is. I've even commented on that bug previously. Whoops.

*** This bug has been marked as a duplicate of bug 560096 ***