From: Billie Alsup <billie.alsup@ericsson.com>
To: sujith h <sujith.h@gmail.com>,
"Behrens, Holger" <holger.behrens@windriver.com>,
Florin Sarbu <florin.sarbu@windriver.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>,
Sujith H <Sujith_Haridasan@mentor.com>
Subject: Re: [meta-ivi][PATCH] weston: Add weston.ini config file
Date: Thu, 24 Apr 2014 12:25:07 +0000 [thread overview]
Message-ID: <CF7ECEC6.2FD5F%billie.alsup@ericsson.com> (raw)
In-Reply-To: <CADyYWLk0ERtaW=PgHhu6V-w9rQd5AJ75OzKcBjXhdipcD-qPXg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2498 bytes --]
I know nothing about yocto recipes, but why would you invoke sed 4 times, rather than once with 4 different -e arguments?
this kind of approach really adds up in large build systems.
From: sujith h <sujith.h@gmail.com<mailto:sujith.h@gmail.com>>
Date: Thursday, April 24, 2014 2:18 PM
To: "Behrens, Holger" <holger.behrens@windriver.com<mailto:holger.behrens@windriver.com>>, Florin Sarbu <florin.sarbu@windriver.com<mailto:florin.sarbu@windriver.com>>
Cc: "yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>" <yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>>, Sujith H <Sujith_Haridasan@mentor.com<mailto:Sujith_Haridasan@mentor.com>>
Subject: Re: [yocto] [meta-ivi][PATCH] weston: Add weston.ini config file
Hi,
Any comments for this patch?
On Wed, Apr 23, 2014 at 12:42 PM, Sujith H <sujith.h@gmail.com<mailto:sujith.h@gmail.com>> wrote:
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<mailto: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<http://weston.ini.in> ${D}${WESTON_INI_CONFIG}/weston.ini
+ sed -i -e 's/hmi-controller.so/hmi-controller.so<http://hmi-controller.so/hmi-controller.so>, ivi-controller.so/<http://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
--
സുജിത് ഹരിദാസന്
Bangalore
<Project>Contributor to KDE project
http://fci.wikia.com/wiki/Anti-DRM-Campaign
<Blog> http://sujithh.info
[-- Attachment #2: Type: text/html, Size: 4665 bytes --]
next prev parent reply other threads:[~2014-04-24 12:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
-- 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
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=CF7ECEC6.2FD5F%billie.alsup@ericsson.com \
--to=billie.alsup@ericsson.com \
--cc=Sujith_Haridasan@mentor.com \
--cc=florin.sarbu@windriver.com \
--cc=holger.behrens@windriver.com \
--cc=sujith.h@gmail.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.