summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland
Commit message (Collapse)AuthorAgeFilesLines
* weston: Upgrade 11.0.3.imx -> 12.0.3.imxTom Hochstein2024-04-243-28/+31
| | | | | | Align with NXP BSP 6.6.3-1.0.0. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Upgrade 10.0.4.imx -> 10.0.5.imxTom Hochstein2024-04-243-2/+2
| | | | | | Align with NXP BSP 6.6.3-1.0.0. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* wayland: Delete recipeKhem Raj2024-03-113-125/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this recipe is close to what core layer has and it seems to be not needed to be forked anymore here is diff --- wayland_1.22.0.imx.bb 2023-09-06 20:34:55.169416916 -0700 +++ ../../../poky/meta/recipes-graphics/wayland/wayland_1.22.0.bb 2023-08-02 14:11:05.768744418 -0700 @@ -12,13 +12,11 @@ DEPENDS = "expat libffi wayland-native" -SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/releases/1.22.0/downloads/${BP_ORIGINAL}.tar.xz \ +SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ file://run-ptest \ file://0001-build-Fix-strndup-detection-on-MinGW.patch \ " SRC_URI[sha256sum] = "1540af1ea698a471c2d8e9d288332c7e0fd360c8f1d12936ebb7e7cbc2425842" -BP_ORIGINAL = "${BPN}-1.22.0" -S = "${WORKDIR}/${BP_ORIGINAL}" UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" UPSTREAM_CHECK_REGEX = "wayland-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" @@ -61,7 +59,3 @@ BBCLASSEXTEND = "native nativesdk" RDEPENDS:${PN}-ptest += "binutils sed ${PN}-tools" - -PACKAGE_ARCH = "${MACHINE_SOCARCH}" - -DEFAULT_PREFERENCE = "-1" Signed-off-by: Khem Raj <raj.khem@gmail.com>
* weston: 11.0.2 -> 11.0.3Valentin Jec2024-01-161-2/+2
| | | | | | Update to the version used in NXP Yocto branch `mickledore-6.1.55-2.2.0`. Signed-off-by: Valentin Jec <valentin.jec@nxp.com>
* wayland-protocols: Upgrade 1.31.imx -> 1.32.imxTom Hochstein2023-10-311-2/+2
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Upgrade 11.0.1.imx -> 11.0.2.imxTom Hochstein2023-10-311-8/+12
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Upgrade 10.0.3.imx -> 10.0.4.imxTom Hochstein2023-10-313-2/+2
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston-init: Set gbm-format for 93Tom Hochstein2023-10-311-0/+2
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston:: Fix xwayland.weston-start code identationOtavio Salvador2023-08-011-2/+2
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: 10.0.3: Synchronize with 11.0.1 recipe baseOtavio Salvador2023-08-011-1/+4
| | | | | | | The 11.0.1 has changed the license filename so to keep it in sync the recipe had to adapt and mangle the LIC_FILES_CHKSUM variable. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: 11.0.1: Bump revision 12875cd94Otavio Salvador2023-08-011-2/+4
| | | | | | | | | This includes the following changes: - 12875cd9 LF-9176 backend-drm: fix virtual memory leak when playing multiple videos - 327bb906 kms: fix hotplug HDMI meet black screen when play video on multi-screen Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* wayland-protocols: add native and nativesdk to BBCLASSEXTENDOtavio Salvador2023-08-011-0/+3
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston-init: Don't add use-g2d where not supportedTom Hochstein2023-07-171-1/+4
| | | | | | | The logic adding use-g2d to weston.ini adds a commented version for builds without G2D support. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* wayland: make local copy of the 1.22.0 recipeRicardo Salveti2023-06-273-0/+125
| | | | | | | | | | | Current xwayland 23.1.1 release is not compatible with the wayland version available in kirkstone (1.20.0). Make a local copy of the 1.22.0 recipe from oe-core master b73784851 but for imx, with default preference set as -1, following how xwayland was also imported from oe-core. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* recipes: Add missing patch tag Upstream-StatusKhem Raj2023-06-212-0/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* weston-init: disable xwayland for mainline BSPsMing Liu2023-06-071-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A regression was introduced by commit 47f0410be1: [ weston-init: Rework weston.ini configuration ] xwayland had been dropped from weston.ini for mainline BSPs before that commit, since it's not supported by mainline BSPs: [ weston-init: comment in xwayland=true for mainline BSPs The main recipe now sets xwayland=true in weston.ini, but xwayland does not really work for mainline BSPs, the following error was observed on both imx6/imx7 machines, as follows: ``` | # gst-play-1.0 testvideo_h264_360p.mp4 | Press 'k' to see a list of keyboard shortcuts. | Now playing testvideo_h264_360p.mp4 | X connection to :0.0 broken (explicit kill or server shutdown). ``` after removing "xwayland=true" from weston.ini, it works again. This patch mainly aims to resolve this problem by introducing a variable INI_COMMENT_ASSIGNMENTS that the end users could set to comment a line in weston.ini. ] but after commit 47f0410be1, "xwayland=true" is added back again to weston.ini. Introduce a xwayland PACKAGECONFIG to control that, drop it from weston.ini for mainline BSPs. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* Merge pull request #1537 from thochstein/xwaylandOtavio Salvador2023-05-188-77/+240
|\ | | | | weston upgrade, xwayland compatibility update
| * weston: Upgrade 10.0.3.imx -> 11.0.1.imx for i.MX 8 and 9Tom Hochstein2023-05-176-38/+228
| | | | | | | | | | | | | | This upgrade does not support i.MX 6 and 7 due to the removal of fbdev support, so the 10.0.3.imx recipe is kept for 6 and 7. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * weston: Upgrade 10.0.1.imx -> 10.0.3.imxTom Hochstein2023-05-172-39/+12
| | | | | | | | | | | | | | | | | | - Update OE-Core copy to 4b42fd8 - Drop dont-use-plane-add-prop.patch - Move fbdev dependency on libdrm to i.MX overrides section - Make removal of wayland and x11 from PACKAGECONFIG overridable Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* | weston-init: Add disabled start-on-startup to weston.iniTom Hochstein2023-05-181-0/+1
| | | | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* | weston-init: Drop rdp default supportTom Hochstein2023-05-181-1/+0
| | | | | | | | | | | | | | Including rdp support is costly since it pulls in `freerdp`, which pulls in `gstreamer`. Don't include it by default. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* | weston-init: Use G2D on i.MX 93Tom Hochstein2023-05-181-0/+1
| | | | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* | weston-init: Adjust use-g2d for weston 11Tom Hochstein2023-05-181-2/+6
| | | | | | | | | | | | | | For the weston 11 fork, the use-g2d option type is changed from an integer to a boolean. Handle both cases. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* | weston-init: Rework weston.ini configurationTom Hochstein2023-05-182-55/+53
|/ | | | | | | The main recipe has a different mechanism for customizing weston.ini. Rework our mechanism to follow. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Merge pull request #1515 from liuming50/add-xwayland-to-weston-DEPENDSOtavio Salvador2023-05-021-1/+1
|\ | | | | weston: add xwayland to DEPENDS for PACKAGECONFIG xwayland
| * weston: add xwayland to DEPENDS for PACKAGECONFIG xwaylandMing Liu2023-04-281-1/+1
| | | | | | | | | | | | | | Otherwise xwayland.pc would not be present in sysroot, this leads to some xwayland configs missing like have_listenfd, have_glamor. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* | Merge pull request #1516 from liuming50/comment-xwayland-true-for-mainline-bspsOtavio Salvador2023-05-021-0/+20
|\ \ | | | | | | weston-init: comment in xwayland=true for mainline BSPs
| * | weston-init: comment in xwayland=true for mainline BSPsMing Liu2023-04-281-0/+20
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The main recipe now sets xwayland=true in weston.ini, but xwayland does not really work for mainline BSPs, the following error was observed on both imx6/imx7 machines, as follows: ``` | # gst-play-1.0 testvideo_h264_360p.mp4 | Press 'k' to see a list of keyboard shortcuts. | Now playing testvideo_h264_360p.mp4 | X connection to :0.0 broken (explicit kill or server shutdown). ``` after removing "xwayland=true" from weston.ini, it works again. This patch mainly aims to resolve this problem by introducing a variable INI_COMMENT_ASSIGNMENTS that the end users could set to comment a line in weston.ini. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* / wayland-protocols: Upgrade to 1.31 on imx forkKhem Raj2023-04-251-3/+3
|/ | | | | | Fixes https://github.com/Freescale/meta-freescale/issues/1490 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* wayland-protocols: Add i.MX 9 series compatibility for NXP BSPTom Hochstein2023-02-171-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* wayland-protocols: Simplify compatibility logicTom Hochstein2023-02-171-1/+1
| | | | | | | | | The recipe is for all i.MX 6-8 SOCs using NXP BSP, but it confusingly uses an indirect override imxfbdev|imxgpu. The override used does happen to cover all 6-8, but it is simpler to just use i.MX series overrides. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* layer: Use github for i.MX sourceTom Hochstein2023-02-081-1/+1
| | | | | | The NXP repos are moving to github. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston-init: Correct override of INI_UNCOMMENT_ASSIGNMENTSJun Zhu2022-12-201-4/+5
| | | | | | | current implement only includes INI_UNCOMMENT_USE_G2D to INI_UNCOMMENT_ASSIGNMENTS on the platforms with VIV G2D hardware. Signed-off-by: Jun Zhu <junzhu@nxp.com>
* weston-init: Drop redundant xwayland=true settingTom Hochstein2022-12-152-4/+0
| | | | | | | The main recipe now sets xwayland=true in weston.ini, so drop it from here. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston imx: update from 10.0.0.imx to 10.0.1.imxMax Krummenacher2022-11-181-3/+3
| | | | | | Update to the version used in lf5.15.52_2.1.0. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* weston: fix build test-internal-screenshotMaxim Paymushkin2022-10-242-0/+34
| | | | | | | | | | | | | | | tests: Add dependency on screenshooter client protocol Given that the test-helper code relies on the screenshooter protocol, make sure it's available for us to build, and the dependency ensures we build in order. Link: https://github.com/wayland-project/weston Commit: 2ac6b6b084a877adde64db7faff2ed22eb3ea97a Fixes: #1273 Signed-off-by: Maxim Paymushkin <maxim.paymushkin@gmail.com>
* weston_10.0.0.imx: add build dependency on libdrmMarkus Niebel2022-09-301-0/+1
| | | | | | | | | | | When removing rdp as default dependency a hidden buildtime dependency on libdrm is uncovered for targets using fbdev as backend and g2d as renderer. As a result compiling for i.MX6 will fail due to missing libdrm headers. Add libdrm to DEPENDS for imxfbdev. Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
* weston: Fix the append logicKhem Raj2022-09-291-1/+1
| | | | | | | | Previous commit did not really work because we are using bb.utils.filter and that removed the artificial space sadly. Therefore add it outside this function call. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* weston: Add missing space before appending to PACKAGECONFIGKhem Raj2022-09-291-1/+1
| | | | | | | This can cause problem by creating unknown packageconfigs by concatenating the strings Signed-off-by: Khem Raj <raj.khem@gmail.com>
* weston: disable rdp as it pulls in some big dependenciesJose Quaresma2022-09-281-3/+1
| | | | | | | | | | | | | | | | | | | | | | | The weston_10.0.0.imx now depends on freerdp which in turn pulls some unrelated big dependencies like cups and gstreamer. | # meta-freescale/recipes-graphics/wayland/weston_10.0.0.imx.bb | PACKAGECONFIG[rdp] = "-Dbackend-rdp=true,-Dbackend-rdp=false,freerdp" | | PACKAGECONFIG:append = " \ | rdp \ | ${@bb.utils.filter('DISTRO_FEATURES', '${PACKAGECONFIG_OPENGL}', d)}" | # meta-openembedded/meta-oe/recipes-support/freerdp/freerdp_2.8.0.bb | PACKAGECONFIG ??= " \ | ${@bb.utils.filter('DISTRO_FEATURES', 'directfb pam pulseaudio wayland x11', d)}\ | gstreamer cups pcsc \ | " | | PACKAGECONFIG[cups] = "-DWITH_CUPS=ON,-DWITH_CUPS=OFF,cups" | PACKAGECONFIG[gstreamer] = "-DWITH_GSTREAMER_1_0=ON,-DWITH_GSTREAMER_1_0=OFF,gstreamer1.0 gstreamer1.0-plugins-base" Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
* weston: Allow undefined symbols with muslKhem Raj2022-09-191-0/+4
| | | | | | | These are glibc specific symbols which gcompat should be able to handle at runtime Signed-off-by: Khem Raj <raj.khem@gmail.com>
* weston: Fix build with clang-15Khem Raj2022-09-122-1/+37
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* weston: Upgrade 9.0.0.imx -> 10.0.0.imxTom Hochstein2022-08-267-423/+50
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: 9.0.0.imx: fix build with latest masterMax Krummenacher2022-07-122-1/+43
| | | | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* weston: Upgrade to NXP 5.15.5-1.0.0Tom Hochstein2022-05-111-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Add vsync to cloned displays.Piotr Wojtaszczyk2022-04-042-0/+103
| | | | | | | When using g2d clone mode allocates additional surfaces according to FB_MULTI_BUFFER for each cloned display. The g2d blit from the main screen to the cloned displays is done using inactive surface. The FBIOPAN_DISPLAY ioctl to the surface is done afterwards.
* mx8dx: Normalize MACHINEOVERRIDES implementationTom Hochstein2022-03-311-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | The imx8dx-mek machine is similar to imx8qxp-mek and so the mx8qxp override was included in the MACHINEOVERRIDES hierarchy. This is non-standard, and the rework of the SOC overrides didn't handle it properly, leading to a build break: ``` Log data follows: | DEBUG: Executing shell function do_compile | NOTE: 8QX boot binary build | cp: failed to access '/home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin': Not a directory | WARNING: /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636:179 exit 1 from 'cp /home/aquino/src/ossystems/oel-platform/build/tmp/deploy/images/imx8dx-mek/imx-boot$ tools/scfw_tcm.bin /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin' | WARNING: Backtrace (BB generated script): | #1: compile_mx8x, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 179 | #2: do_compile, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 151 | #3: main, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 189 ERROR: Task (/home/aquino/src/ossystems/oel-platform/sources/meta-freescale/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_compile) failed with exit code '1' ``` Fix the problem by removing mx8qxp from the mx8dx hierarchy and adapting existing mx8qxp overrides appropriately. Fixes: #1027 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* wayland-protocols: Upgrade 1.22.imx -> 1.25.imxTom Hochstein2022-03-251-3/+9
| | | | | | | | This is a pre-release version from upcoming NXP Q2 release added to kirkstone to fix mesa compatibility problems. The commit does also update the recipe to align with the one in OE-core. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Revert "weston-init: fix some invalid overrides"Tom Hochstein2022-03-151-2/+2
| | | | | | There is a root cause to this that will be fixed instead. This reverts commit 6be9870b5057cf122cecb2716583169b39de78ae.
* weston-init: fix some invalid overridesMing Liu2022-03-131-2/+2
| | | | | | | | | | The mx8qm-nxp-bsp/mx8qxp-nxp-bsp overrides would not work because imxgpu2d would take effect in the end since it has higher priority in MACHINEOVERRIDES. Append mx8qm-nxp-bsp/mx8qxp-nxp-bsp after imxgpu2d can fix the problem. Signed-off-by: Ming Liu <liu.ming50@gmail.com>