Update weston-ini-conf recipe to handle weston 9.0 in poky master.
The changes are to handle the flip of the meaning of 90 and 270
degree rotations in the transform option in weston.ini, and the
rename of its values to "rotate-X" instead of just the number of
degrees.
Bug-AGL: SPEC-3819
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I2bb316a195f7eb3733ff757a565535317db1da08
file://remote-output.cfg \
file://transmitter-output.cfg.in \
file://virtual-0.cfg \
file://remote-output.cfg \
file://transmitter-output.cfg.in \
file://virtual-0.cfg \
+ file://virtual-90.cfg \
file://virtual-180.cfg \
file://virtual-270.cfg \
"
file://virtual-180.cfg \
file://virtual-270.cfg \
"
inherit update-alternatives
# Default primary display/orientation fragment
inherit update-alternatives
# Default primary display/orientation fragment
-WESTON_DISPLAYS ?= "hdmi-a-1-270"
+WESTON_DISPLAYS ?= "hdmi-a-1-90"
# Configuration fragments to use in weston.ini.*
# Note that some may be replaced/removed when building the landscape
# Configuration fragments to use in weston.ini.*
# Note that some may be replaced/removed when building the landscape
if echo $F | grep '^hdmi-a-1-\(90\|270\)$'; then
F="hdmi-a-1-0"
INVF="hdmi-a-1-180"
if echo $F | grep '^hdmi-a-1-\(90\|270\)$'; then
F="hdmi-a-1-0"
INVF="hdmi-a-1-180"
- elif echo $F | grep '^virtual-270$'; then
+ elif echo $F | grep '^virtual-90$'; then
F="virtual-0"
INVF="virtual-180"
fi
F="virtual-0"
INVF="virtual-180"
fi
# For virtual machines and intel-corei7-64 we want to support both the HDMI-A-1
# and Virtual-1 outputs. This allows us to run virtual images on real hardware
# and vice versa.
# For virtual machines and intel-corei7-64 we want to support both the HDMI-A-1
# and Virtual-1 outputs. This allows us to run virtual images on real hardware
# and vice versa.
-WESTON_DISPLAYS:append:qemuall = " virtual-270"
-WESTON_DISPLAYS:append:intel-corei7-64 = " virtual-270"
+WESTON_DISPLAYS:append:qemuall = " virtual-90"
+WESTON_DISPLAYS:append:intel-corei7-64 = " virtual-90"
# A display is connected to HDMI-A-1
[output]
name=HDMI-A-1
# A display is connected to HDMI-A-1
[output]
name=HDMI-A-1
# of the GeChic display or the Dell display.
[output]
name=HDMI-A-1
# of the GeChic display or the Dell display.
[output]
name=HDMI-A-1
# display used in some instances.
[output]
name=HDMI-A-1
# display used in some instances.
[output]
name=HDMI-A-1
[output]
name=Virtual-1
mode=1920x1080
[output]
name=Virtual-1
mode=1920x1080
[output]
name=Virtual-1
mode=1920x1080
[output]
name=Virtual-1
mode=1920x1080
--- /dev/null
+[output]
+name=Virtual-1
+mode=1920x1080
+transform=rotate-90