Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 608912

Summary: media-libs/mesa-17.0.0_rc3: Support installing mesa without X
Product: Gentoo Linux Reporter: dolphinling <aguertin+gentoo>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mesa-17.0.0_rc3.ebuild

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 ***