weston: revive 1.6.0 while HDMI frame tearing/duplication is resolved
PATCH 1/1 weston: revive 1.6.0 while HDMI frame tearing/duplication is resolved
From: Denys Dmytriyenko <[email protected]>
[LCPD-6378]
Signed-off-by Denys Dmytriyenko <[email protected]>
---
meta-arago-distro/conf/distro/arago.conf | 9 +-------
.../conf/distro/include/arago-prefs.inc | 4 ++++
...abling-DRM-backend-with-multiple-displays.patch | 0
.../wayland/weston-1.6.0/wayland_env.sh | 13 ++++++++++++
.../wayland/weston-1.6.0/weston.ini | 10 +++++++++
.../recipes-graphics/wayland/weston_1.6.0.bbappend | 24 ++++++++++++++++++++++
6 files changed, 52 insertions(+), 8 deletions(-)
rename meta-arago-distro/recipes-graphics/wayland/{weston => weston-1.6.0}/0001-weston-Enabling-DRM-backend-with-multiple-displays.patch (100%)
create mode 100644 meta-arago-distro/recipes-graphics/wayland/weston-1.6.0/wayland_env.sh
create mode 100644 meta-arago-distro/recipes-graphics/wayland/weston-1.6.0/weston.ini
create mode 100644 meta-arago-distro/recipes-graphics/wayland/weston_1.6.0.bbappendmeta-arago-distro/conf/distro/arago.conf +1 -8
@@ -41,14 +41,7 @@ GST_PROVIDER ?= "1.0" QT_PROVIDER ?= "qt5" # Distro-specific package configuration -PACKAGECONFIG_pn-weston = "fbdev kms launch libinput" -PACKAGECONFIG_append_pn-weston_omap-a15 = " egl" -PACKAGECONFIG_remove_pn-weston_omap-a15 = "fbdev" -PACKAGECONFIG_append_pn-weston_ti43x = " egl" -PACKAGECONFIG_remove_pn-weston_ti43x = "fbdev" -PACKAGECONFIG_append_pn-weston_ti33x = " egl" -PACKAGECONFIG_remove_pn-weston_ti33x = "fbdev" - +PACKAGECONFIG_pn-weston = "egl kms launch libinput" # Configure Qt5 flags (GLES is still required for qtdeclarative and qtwebkit) PACKAGECONFIG_GL_pn-qtbase = "gles2 linuxfb"
meta-arago-distro/conf/distro/include/arago-prefs.inc +4 -0
@@ -102,6 +102,10 @@ PREFERRED_VERSION_gettext = "0.16.1" PREFERRED_VERSION_elfutils = "0.148" PREFERRED_VERSION_m4 = "1.4.9" +PREFERRED_PROVIDER_weston-conf = "weston" +PREFERRED_VERSION_wayland = "1.6.0" +PREFERRED_VERSION_weston = "1.6.0" + PREFERRED_PROVIDER_wpa-supplicant = "wpa-supplicant" PREFERRED_PROVIDER_wpa-supplicant_ti33x = "wpa-supplicant-wl18xx" PREFERRED_PROVIDER_wpa-supplicant_ti43x = "wpa-supplicant-wl18xx"
meta-arago-distro/recipes-graphics/wayland/weston-1.6.0/0001-weston-Enabling-DRM-backend-with-multiple-displays.patch renamed from meta-arago-distro/recipes-graphics/wayland/weston/0001-weston-Enabling-DRM-backend-with-multiple-displays.patch +0 -0
meta-arago-distro/recipes-graphics/wayland/weston-1.6.0/wayland_env.sh new file +13 -0
@@ -0,0 +1,13 @@ +#!/bin/sh + +### Wayland Environment Variables ### + +export XDG_CONFIG_HOME=/etc/ +export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir +export WAYLAND_DISPLAY=wayland-0 +export WS_CALUDEV_FILE=/etc/udev/rules.d/ws-calibrate.rules + +if ! test -d "${XDG_RUNTIME_DIR}"; then + mkdir -p "${XDG_RUNTIME_DIR}" + chmod 0700 "${XDG_RUNTIME_DIR}" +fi
meta-arago-distro/recipes-graphics/wayland/weston-1.6.0/weston.ini new file +10 -0
@@ -0,0 +1,10 @@ +[shell] +locking=false +animation=zoom +panel-location=top +startup-animation=fade + +[screensaver] +# Uncomment path to disable screensaver +#path=@libexecdir@/weston-screensaver +
meta-arago-distro/recipes-graphics/wayland/weston_1.6.0.bbappend new file +24 -0
@@ -0,0 +1,24 @@ +# When configured for fbdev compositor, make it the default +PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor WESTON_NATIVE_BACKEND="fbdev-backend.so",--disable-fbdev-compositor,udev mtdev" +PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev libgbm mtdev" + +PR_append = "-arago7" + +FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:${THISDIR}/${PN}:" + +SRC_URI += "file://wayland_env.sh \ + file://weston.ini \ + file://0001-weston-Enabling-DRM-backend-with-multiple-displays.patch \ +" + +# Add custom Arago Wayland Environment script file +do_install_append () { + install -d ${D}${sysconfdir}/profile.d + install -m 0644 ${WORKDIR}/weston.ini ${D}${sysconfdir} + install -m 0644 ${WORKDIR}/wayland_env.sh ${D}${sysconfdir}/profile.d/ +} + +PACKAGES += "${PN}-conf" + +FILES_${PN}-conf += "${sysconfdir}/profile.d/* ${sysconfdir}/weston.ini" +RDEPENDS_${PN} += "${PN}-conf"
Signature · 1 line
2.2.0