weston: Add weston.ini config file
PATCH 1/1 weston: Add weston.ini config file
Adding weston.ini to /etc/xdg. With this change
user can login and launch weston with ivi-shell.
--- recipes-graphics/wayland/weston_1.4.0.bbappend | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
recipes-graphics/wayland/weston_1.4.0.bbappend +15 -0
@@ -12,3 +12,18 @@ PR = "r1" FILES_${PN} += "${libdir}/weston/*" FILES_${PN}-dbg += "${libdir}/weston/.debug/*" + +do_install_append() { + WESTON_INI_CONFIG=${sysconfdir}/xdg/weston + install -d ${D}${WESTON_INI_CONFIG} + install -m 0644 ${S}/ivi-shell/weston.ini.in ${D}${WESTON_INI_CONFIG}/weston.ini + sed -i -e 's/hmi-controller.so/hmi-controller.so,ivi-controller.so/' \ + -e 's|\@libexecdir\@|${libexecdir}|' \ + -e 's|\@abs_top_builddir\@\/data|${datadir}\/weston|' \ + -e 's|\@abs_top_builddir\@\/clients|${bindir}|' ${D}${WESTON_INI_CONFIG}/weston.ini + +} + +PACKAGES += "${PN}-ini" + +FILES_${PN}-ini = "${sysconfdir}/xdg"
Signature · 1 line
1.8.4
Hi,
Any comment for the new patch?
Quoted 37 lines · Sujith H
Adding weston.ini to
/etc/xdg. With this change
user can login and launch weston with ivi-shell.Signed-off-by Sujith H <[email protected]>--- recipes-graphics/wayland/weston_1.4.0.bbappend | 15 +++++++++++++++ 1 file changed, 15 insertions(+)recipes-graphics/wayland/weston_1.4.0.bbappend +9
-0@@ -12,3 +12,18 @@ PR = "r1" FILES_${PN} += "${libdir}/weston/*" FILES_${PN}-dbg += "${libdir}/weston/.debug/*" + +do_install_append() { + WESTON_INI_CONFIG=${sysconfdir}/xdg/weston + install -d ${D}${WESTON_INI_CONFIG} + install -m 0644 ${S}/ivi-shell/weston.ini.in${D}${WESTON_INI_CONFIG}/weston.ini + sed -i -e 's/hmi-controller.so/hmi-controller.so,ivi-controller.so/' \ + -e 's|\@libexecdir\@|${libexecdir}|' \ + -e 's|\@abs_top_builddir\@\/data|${datadir}\/weston|' \ + -e 's|\@abs_top_builddir\@\/clients|${bindir}|'${D}${WESTON_INI_CONFIG}/weston.ini
recipes-graphics/wayland/weston_1.4.0.bbappend +6
-1+ +} + +PACKAGES += "${PN}-ini" + +FILES_${PN}-ini = "${sysconfdir}/xdg" --1.8.4
Signature · 5 lines
സുജിത് ഹരിദാസന് Bangalore <Project>Contributor to KDE project http://fci.wikia.com/wiki/Anti-DRM-Campaign <Blog> http://sujithh.info
Will take it into consideration for next Genivi release. (a.k.a. 6.0.1)
Florin
Quoted 56 lines · sujith h
Hi,
Any comment for the new patch?
On Thu, Apr 24, 2014 at 6:09 PM, Sujith H <[email protected] <mailto:[email protected]>> wrote:
Adding weston.ini to /etc/xdg. With this change user can login and launch weston with ivi-shell. Signed-off-by: Sujith H <[email protected] <mailto:[email protected]>> --- recipes-graphics/wayland/weston_1.4.0.bbappend | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/recipes-graphics/wayland/weston_1.4.0.bbappend b/recipes-graphics/wayland/weston_1.4.0.bbappend index 7a8ba6f..1bcb327 100644 --- a/recipes-graphics/wayland/weston_1.4.0.bbappend +++ b/recipes-graphics/wayland/weston_1.4.0.bbappend @@ -12,3 +12,18 @@ PR = "r1" FILES_${PN} += "${libdir}/weston/*" FILES_${PN}-dbg += "${libdir}/weston/.debug/*" + +do_install_append() { + WESTON_INI_CONFIG=${sysconfdir}/xdg/weston + install -d ${D}${WESTON_INI_CONFIG} + install -m 0644 ${S}/ivi-shell/weston.ini.in <http://weston.ini.in> ${D}${WESTON_INI_CONFIG}/weston.ini + sed -i -e 's/hmi-controller.so/hmi-controller.so,ivi-controller.so/ <http://hmi-controller.so/hmi-controller.so,ivi-controller.so/>' \ + -e 's|\@libexecdir\@|${libexecdir}|' \ + -e 's|\@abs_top_builddir\@\/data|${datadir}\/weston|' \ + -e 's|\@abs_top_builddir\@\/clients|${bindir}|' ${D}${WESTON_INI_CONFIG}/weston.ini + +} + +PACKAGES += "${PN}-ini" + +FILES_${PN}-ini = "${sysconfdir}/xdg" -- 1.8.4Signature · 5 lines
സുജിത് ഹരിദാസന് Bangalore <Project>Contributor to KDE project http://fci.wikia.com/wiki/Anti-DRM-Campaign <Blog> http://sujithh.info
Hi Sujith,
please modify the patch to contain the .ini file in the main rpm. Also, please make sure you increment the PR variable.
Thank you,
Florin
Quoted 56 lines · sujith h
Hi,
Any comment for the new patch?
On Thu, Apr 24, 2014 at 6:09 PM, Sujith H <[email protected] <mailto:[email protected]>> wrote:
Adding weston.ini to /etc/xdg. With this change user can login and launch weston with ivi-shell. Signed-off-by: Sujith H <[email protected] <mailto:[email protected]>> --- recipes-graphics/wayland/weston_1.4.0.bbappend | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/recipes-graphics/wayland/weston_1.4.0.bbappend b/recipes-graphics/wayland/weston_1.4.0.bbappend index 7a8ba6f..1bcb327 100644 --- a/recipes-graphics/wayland/weston_1.4.0.bbappend +++ b/recipes-graphics/wayland/weston_1.4.0.bbappend @@ -12,3 +12,18 @@ PR = "r1" FILES_${PN} += "${libdir}/weston/*" FILES_${PN}-dbg += "${libdir}/weston/.debug/*" + +do_install_append() { + WESTON_INI_CONFIG=${sysconfdir}/xdg/weston + install -d ${D}${WESTON_INI_CONFIG} + install -m 0644 ${S}/ivi-shell/weston.ini.in <http://weston.ini.in> ${D}${WESTON_INI_CONFIG}/weston.ini + sed -i -e 's/hmi-controller.so/hmi-controller.so,ivi-controller.so/ <http://hmi-controller.so/hmi-controller.so,ivi-controller.so/>' \ + -e 's|\@libexecdir\@|${libexecdir}|' \ + -e 's|\@abs_top_builddir\@\/data|${datadir}\/weston|' \ + -e 's|\@abs_top_builddir\@\/clients|${bindir}|' ${D}${WESTON_INI_CONFIG}/weston.ini + +} + +PACKAGES += "${PN}-ini" + +FILES_${PN}-ini = "${sysconfdir}/xdg" -- 1.8.4Signature · 5 lines
സുജിത് ഹരിദാസന് Bangalore <Project>Contributor to KDE project http://fci.wikia.com/wiki/Anti-DRM-Campaign <Blog> http://sujithh.info