From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A2DBFE00BA7 for ; Sun, 27 Apr 2014 13:35:22 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.5) with ESMTP id s3RKZGRf003762 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Sun, 27 Apr 2014 13:35:16 -0700 (PDT) Received: from [128.224.19.56] (128.224.19.56) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.169.1; Sun, 27 Apr 2014 13:35:16 -0700 Message-ID: <535D6A03.5000102@windriver.com> Date: Sun, 27 Apr 2014 23:35:15 +0300 From: Florin Sarbu User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: sujith h , "Behrens, Holger" References: <1398343160-4516-1-git-send-email-sujith.h@gmail.com> In-Reply-To: Cc: "yocto@yoctoproject.org" , Sujith H Subject: Re: [meta-ivi][PATCH] weston: Add weston.ini config file X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2014 20:35:25 -0000 Content-Type: multipart/alternative; boundary="------------030701030700080909070009" --------------030701030700080909070009 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit 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 On 04/25/2014 03:59 PM, sujith h wrote: > Hi, > > Any comment for the new patch? > > > On Thu, Apr 24, 2014 at 6:09 PM, Sujith H > wrote: > > Adding weston.ini to /etc/xdg. With this change > user can login and launch weston with ivi-shell. > > Signed-off-by: Sujith H > > --- > 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 > > > > > -- > സുജിത് ഹരിദാസന് > Bangalore > Contributor to KDE project > http://fci.wikia.com/wiki/Anti-DRM-Campaign > http://sujithh.info --------------030701030700080909070009 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: 8bit
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

On 04/25/2014 03:59 PM, sujith h wrote:
Hi,

Any comment for the new patch?


On Thu, Apr 24, 2014 at 6:09 PM, Sujith H <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>
---
 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




--
സുജിത് ഹരിദാസന്
Bangalore
<Project>Contributor to KDE project
http://fci.wikia.com/wiki/Anti-DRM-Campaign
<Blog> http://sujithh.info

--------------030701030700080909070009--