All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sujith H <sujith.h@gmail.com>
To: holger.behrens@windriver.com, florin.sarbu@windriver.com
Cc: yocto@yoctoproject.org, Sujith H <Sujith_Haridasan@mentor.com>
Subject: [meta-ivi][PATCH] weston: Add weston.ini config file
Date: Thu, 24 Apr 2014 18:09:20 +0530	[thread overview]
Message-ID: <1398343160-4516-1-git-send-email-sujith.h@gmail.com> (raw)

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



             reply	other threads:[~2014-04-24 12:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-24 12:39 Sujith H [this message]
2014-04-25 12:59 ` [meta-ivi][PATCH] weston: Add weston.ini config file sujith h
2014-04-25 13:02   ` Florin Sarbu
2014-04-27 20:35   ` Florin Sarbu
  -- strict thread matches above, loose matches on Subject: below --
2014-04-28  6:23 Sujith H
2014-04-23  7:12 Sujith H
2014-04-24 12:18 ` sujith h
2014-04-24 12:25   ` Billie Alsup
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1398343160-4516-1-git-send-email-sujith.h@gmail.com \
    --to=sujith.h@gmail.com \
    --cc=Sujith_Haridasan@mentor.com \
    --cc=florin.sarbu@windriver.com \
    --cc=holger.behrens@windriver.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.