Discussion:
[meta-freescale] [PATCH] weston: install weston.ini to disable idle timeout
Gary Bisson
2018-09-12 19:54:36 UTC
Permalink
In order to get the same behavior as meta-fsl-bsp-release (see
weston_4.0.0.bbappend).

Signed-off-by: Gary Bisson <***@boundarydevices.com>
---
Hi,

This proved to be better not to have the display going to sleep all the
time. Also having the same behavior as NXP BSP to that regard makes
sense.

Let me know if you have any remark about it.

Regards,
Gary
---
recipes-graphics/wayland/weston_4.0.0.imx.bb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/recipes-graphics/wayland/weston_4.0.0.imx.bb b/recipes-graphics/wayland/weston_4.0.0.imx.bb
index 7a2aab60..372a0be3 100644
--- a/recipes-graphics/wayland/weston_4.0.0.imx.bb
+++ b/recipes-graphics/wayland/weston_4.0.0.imx.bb
@@ -109,12 +109,16 @@ do_install_append() {
if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then
install -Dm 644 ${WORKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland
fi
+
+ # install default weston.ini
+ install -d ${D}${sysconfdir}/xdg/weston
+ install -m 0644 ${B}/weston.ini ${D}${sysconfdir}/xdg/weston
}

PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \
libweston-${WESTON_MAJOR_VERSION} ${PN}-examples"

-FILES_${PN} = "${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so ${datadir}"
+FILES_${PN} = "${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so ${datadir} ${sysconfdir}/xdg/weston"

FILES_libweston-${WESTON_MAJOR_VERSION} = "${libdir}/lib*${SOLIBS} ${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.so"
SUMMARY_libweston-${WESTON_MAJOR_VERSION} = "Helper library for implementing 'wayland window managers'."
--
2.18.0

--
Otavio Salvador
2018-09-12 21:31:05 UTC
Permalink
On Wed, Sep 12, 2018 at 4:55 PM Gary Bisson
Post by Gary Bisson
In order to get the same behavior as meta-fsl-bsp-release (see
weston_4.0.0.bbappend).
Applied.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750
--
Loading...