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

Bug 577894

Summary: dev-libs/weston: Include sample weston.ini and/or generate /etc/xdg/weston/weston.ini based on USE flags
Product: Gentoo Linux Reporter: selurvedu <selurvedu>
Component: Current packagesAssignee: James Le Cuirot <chewi>
Status: UNCONFIRMED ---    
Severity: enhancement CC: gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description selurvedu 2016-03-21 01:28:35 UTC
I compiled Weston with USE="xwayland" and found out that XWayland doesn't work out of the box. I tried creating ~/.config/weston.ini with the following content:

[core]
modules=xwayland.so

That helped. I also found out that there's a weston.ini.in in Weston's tarball, which is used to generate a sample configuration.

It would be nice if the ebuild for dev-libs/weston included that file (as a non-default sample config) because it is quite useful for new users.

It would be much better if a default weston.ini for /etc/xdg/ was automatically generated based on which USE flags are enabled.