summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/weston-init
Commit message (Collapse)AuthorAgeFilesLines
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-212-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and mainline-bsp. So, for example, the mx8mq override is split into: - imx-generic-bsp: compatible with every i.MX SoC and both BSP variants - imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP - imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP - mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants - mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP - mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP - mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants - mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP - mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP - mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants - mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP - mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP The extender mechanism is responsible for extending the override list to include the generic overrides. We can then use the three different variants to handle the metadata correctly. Generically speaking, the conversion mainly was automated (with a lot of back and forth until getting it right). To convert an existing layer, the following script can be used: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston-init: Enable screen sharingTom Hochstein2022-01-291-1/+2
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston-init: Update weston.iniTom Hochstein2021-02-111-2/+7
| | | | | | | | | - Add repaint-window for all i.MX 8 to support 4K display - Add enable-overlay-view option as comment - Enable touchscreen_calibrator - Update transform values which were re-worked for weston 9.0 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston.ini: Move to imx subdirKhem Raj2020-09-141-0/+0
| | | | | | This ensures that it does not lurk for non meta-freescale BSPs Signed-off-by: Khem Raj <raj.khem@gmail.com>
* weston: Move xwayland config to weston.iniTom Hochstein2019-11-184-8/+0
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Replace copies of weston.ini with logicTom Hochstein2019-11-183-75/+0
| | | | | | | Install a common base weston.ini and then customize it in the recipe by specifying custom options. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Use G2D as default renderer for 7ULPTom Hochstein2019-11-181-0/+25
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Move use-g2d option for 8M Mini to weston.iniTom Hochstein2019-11-182-1/+26
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston-init: Move weston.ini install to weston-initTom Hochstein2019-11-182-0/+50
| | | | | | | | | | | | | OE-core now installs weston.ini from weston-init, so align our recipe to do the same. The IVI dynamic layer now has a copy of the weston.ini file that is normally produced by the weston build. The AGL dynamic layer now uninstalls the weston.ini installed upstream. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston-init: Adjust to match recent oe-core changesKhem Raj2019-09-211-38/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* weston: Fix video blurring for i.MX 6SL on WaylandTom Hochstein2019-09-121-0/+3
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Drop weston.ini files since the baseline version is now in sourceTom Hochstein2019-09-122-2/+0
| | | | | | | | | | The customized baseline version of weston.ini is now in the source. That version is customized for 8MQ via patch files. Also drop desktop shell size from weston.config since it is already in weston.ini for 8M and 8M Mini. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston-init: Fix inoperable Weston desktopTom Hochstein2018-07-054-0/+46
For an image configured with pam and systemd, Weston apps would fail to run. For example: $ weston-terminal failed to connect to Wayland display: No such file or directory failed to create display: No such file or directory This fix is based on a proposal by Daniel Diaz to OE-core. The main part of the fix is the use of a new, manually created tty. The original proposal called weston directly, but that didn't seem to work where weston-launch did. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>