Sommelier should be built in the SDK and included into termina images directly.
This tracking bug covers all the work necessary for this to happen.
Things that need to be done:
1) Build and configure mesa for tatl
Right now I have USE="-classic egl llvm shared-glapi X" but hopefully reveman@ can tell me exactly how we need it configured.
The mesa ebuild also needs some tweaks since X support has mostly bitrotted. I had to add --platforms=x11 to ./configure, but not sure if we need wayland, drm, and surfaceless as well.
2) Create a libsystemd ebuild
sommelier uses libsystemd, so we need a stripped-down libsystemd ebuild that doesn't install any other systemd bits.
3) Fix Xwayland ebuild
This might need an uprev + new virtwl patches. The ebuild also needs to be fixed to use the wayland-protocols from the sysroot and NOT the SDK.
4) Move sommelier source (again) and make it build
I have about 50% of a gyp-ified build + ebuild done if we want this to live in platform2. Otherwise it can either stay in chromiumos/containers, or get its own repo in chromiumos/platform. In those cases the Makefile will need some work to use the right sysroot paths. reveman@ any preference here?
Comment 1 by vapier@chromium.org
, Mar 29 2018