[OE-core] [PATCH v2] weston-init: Use weston-launch for XWayland
Tom Hochstein
Tom.Hochstein at freescale.com
Mon Dec 7 13:19:23 UTC 2015
Hi Alex,
We're wondering how best to fix this.
The Weston website seems to give the answer for a run-time solution, which is basically 'if $DISPLAY is set use weston, otherwise use weston-launch'.
http://wayland.freedesktop.org/building.html
Is that the right approach? Another possibility is to make it a build-time solution where the bsp layer sets a variable controlling the selection.
Thanks for your help.
Tom
-----Original Message-----
From: alexander.kanavin at linux.intel.com [mailto:alexander.kanavin at linux.intel.com]
Sent: Tuesday, December 01, 2015 4:21 PM
To: Hochstein Tom-R60874 <Tom.Hochstein at freescale.com>
Cc: openembedded-core at lists.openembedded.org; Sundararaj Prabhu-B36876 <Prabhu.Sundararaj at freescale.com>
Subject: Re: [OE-core] [PATCH v2] weston-init: Use weston-launch for XWayland
> + # If weston-launch exists, we're configured for XWayland.
> + if [ -f /usr/bin/weston-launch ]; then
> + echo "Starting Weston in XWayland"
Nope. XWayland support and weston-launch support are configured separately. One may be present and the other one absent, both ways.
Alex
More information about the Openembedded-core
mailing list