All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-ivi][PATCH] weston: Add weston.ini config file
@ 2014-04-23  7:12 Sujith H
  2014-04-24 12:18 ` sujith h
  0 siblings, 1 reply; 14+ messages in thread
From: Sujith H @ 2014-04-23  7:12 UTC (permalink / raw)
  To: holger.behrens, florin.sarbu; +Cc: yocto, 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 <Sujith_Haridasan@mentor.com>
---
 recipes-graphics/wayland/weston_1.4.0.bbappend | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/recipes-graphics/wayland/weston_1.4.0.bbappend b/recipes-graphics/wayland/weston_1.4.0.bbappend
index 7a8ba6f..b839be4 100644
--- a/recipes-graphics/wayland/weston_1.4.0.bbappend
+++ b/recipes-graphics/wayland/weston_1.4.0.bbappend
@@ -12,3 +12,17 @@ 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/' ${D}${WESTON_INI_CONFIG}/weston.ini
+   sed -i -e 's|\@libexecdir\@|${libexecdir}|' ${D}${WESTON_INI_CONFIG}/weston.ini
+   sed -i -e 's|\@abs_top_builddir\@\/data|${datadir}\/weston|' ${D}${WESTON_INI_CONFIG}/weston.ini
+   sed -i -e 's|\@abs_top_builddir\@\/clients|${bindir}|' ${D}${WESTON_INI_CONFIG}/weston.ini
+}
+
+PACKAGES += "${PN}-ini"
+
+FILES_${PN}-ini = "${sysconfdir}/xdg"
-- 
1.8.4



^ permalink raw reply related	[flat|nested] 14+ messages in thread
* [meta-ivi][PATCH] weston: Add weston.ini config file
@ 2014-04-28  6:23 Sujith H
  0 siblings, 0 replies; 14+ messages in thread
From: Sujith H @ 2014-04-28  6:23 UTC (permalink / raw)
  To: holger.behrens, florin.sarbu; +Cc: yocto, 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 <Sujith_Haridasan@mentor.com>
---
 recipes-graphics/wayland/weston_1.4.0.bbappend | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/recipes-graphics/wayland/weston_1.4.0.bbappend b/recipes-graphics/wayland/weston_1.4.0.bbappend
index 7a8ba6f..b324335 100644
--- a/recipes-graphics/wayland/weston_1.4.0.bbappend
+++ b/recipes-graphics/wayland/weston_1.4.0.bbappend
@@ -8,7 +8,20 @@ SRC_URI_remove = "http://wayland.freedesktop.org/releases/weston-1.4.0.tar.xz"
 SRC_URI_prepend = "git://github.com/ntanibata/weston-ivi-shell.git;branch=weston-ivi-shell-1.4.0-v12;protocol=http "
 S = "${WORKDIR}/git"
 
-PR = "r1"
+PR = "r2"
 
 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
+
+}
+
+FILES_${PN} += "${sysconfdir}/xdg"
-- 
1.8.4



^ permalink raw reply related	[flat|nested] 14+ messages in thread
* [meta-ivi][PATCH] weston: Add weston.ini config file
@ 2014-04-24 12:39 Sujith H
  2014-04-25 12:59 ` sujith h
  0 siblings, 1 reply; 14+ messages in thread
From: Sujith H @ 2014-04-24 12:39 UTC (permalink / raw)
  To: holger.behrens, florin.sarbu; +Cc: yocto, 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 <Sujith_Haridasan@mentor.com>
---
 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 ${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"
-- 
1.8.4



^ permalink raw reply related	[flat|nested] 14+ messages in thread
* [meta-ivi][PATCH] weston: Add weston.ini config file
@ 2014-04-16  8:12 Sujith H
  2014-04-23  2:24 ` sujith h
  2014-04-23  3:34 ` Khem Raj
  0 siblings, 2 replies; 14+ messages in thread
From: Sujith H @ 2014-04-16  8:12 UTC (permalink / raw)
  To: holger.behrens, florin.sarbu; +Cc: yocto, Sujith H

Adding weston.ini to $ROOT_HOME/.config. With this change
user can login to $ROOT_HOME and launch weston with ivi-shell.

Signed-off-by: Sujith H <Sujith_Haridasan@mentor.com>
---
 recipes-graphics/wayland/weston_1.4.0.bbappend | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/recipes-graphics/wayland/weston_1.4.0.bbappend b/recipes-graphics/wayland/weston_1.4.0.bbappend
index 7a8ba6f..a2713d6 100644
--- a/recipes-graphics/wayland/weston_1.4.0.bbappend
+++ b/recipes-graphics/wayland/weston_1.4.0.bbappend
@@ -12,3 +12,16 @@ PR = "r1"
 
 FILES_${PN} += "${libdir}/weston/*"
 FILES_${PN}-dbg += "${libdir}/weston/.debug/*"
+
+do_install_append() {
+   install -d ${D}${ROOT_HOME}/.config
+   install -m 0644 ${S}/ivi-shell/weston.ini.in ${D}${ROOT_HOME}/.config/weston.ini
+   sed -i -e  's/hmi-controller.so/hmi-controller.so, ivi-controller.so/' ${D}${ROOT_HOME}/.config/weston.ini
+   sed -i -e 's|\@libexecdir\@|${libexecdir}|' ${D}${ROOT_HOME}/.config/weston.ini
+   sed -i -e 's|\@abs_top_builddir\@\/data|${datadir}\/weston|' ${D}${ROOT_HOME}/.config/weston.ini
+   sed -i -e 's|\@abs_top_builddir\@\/clients|${bindir}|' ${D}${ROOT_HOME}/.config/weston.ini
+}
+
+PACKAGES += "${PN}-ini"
+
+FILES_${PN}-ini = "${ROOT_HOME}/.config"
-- 
1.8.4



^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-04-28  6:23 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-23  7:12 [meta-ivi][PATCH] weston: Add weston.ini config file Sujith H
2014-04-24 12:18 ` sujith h
2014-04-24 12:25   ` Billie Alsup
  -- strict thread matches above, loose matches on Subject: below --
2014-04-28  6:23 Sujith H
2014-04-24 12:39 Sujith H
2014-04-25 12:59 ` sujith h
2014-04-25 13:02   ` Florin Sarbu
2014-04-27 20:35   ` Florin Sarbu
2014-04-16  8:12 Sujith H
2014-04-23  2:24 ` sujith h
2014-04-23  3:34 ` Khem Raj
2014-04-23  5:59   ` sujith h
2014-04-23  6:04     ` Khem Raj
2014-04-23  7:13       ` sujith h

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.