All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

* Re: [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
  1 sibling, 0 replies; 14+ messages in thread
From: sujith h @ 2014-04-23  2:24 UTC (permalink / raw)
  To: Behrens, Holger, Florin Sarbu; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1688 bytes --]

Hi,

Any comments about this patch?

Thanks,
Sujith H


On Wed, Apr 16, 2014 at 1:42 PM, Sujith H <sujith.h@gmail.com> wrote:

> 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
>
>


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

[-- Attachment #2: Type: text/html, Size: 2631 bytes --]

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

* Re: [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
  2014-04-23  5:59   ` sujith h
  1 sibling, 1 reply; 14+ messages in thread
From: Khem Raj @ 2014-04-23  3:34 UTC (permalink / raw)
  To: Sujith H; +Cc: yocto@yoctoproject.org, Sujith H

On Wed, Apr 16, 2014 at 1:12 AM, Sujith H <sujith.h@gmail.com> wrote:
> Adding weston.ini to $ROOT_HOME/.config. With this change
> user can login to $ROOT_HOME and launch weston with ivi-shell.

what if I am not root ? IOW is there more systemwide way of doing it ?

>
> 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
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


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

* Re: [meta-ivi][PATCH] weston: Add weston.ini config file
  2014-04-23  3:34 ` Khem Raj
@ 2014-04-23  5:59   ` sujith h
  2014-04-23  6:04     ` Khem Raj
  0 siblings, 1 reply; 14+ messages in thread
From: sujith h @ 2014-04-23  5:59 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto@yoctoproject.org, Sujith H

[-- Attachment #1: Type: text/plain, Size: 2224 bytes --]

Hi Khem Raj,


On Wed, Apr 23, 2014 at 9:04 AM, Khem Raj <raj.khem@gmail.com> wrote:

> On Wed, Apr 16, 2014 at 1:12 AM, Sujith H <sujith.h@gmail.com> wrote:
> > Adding weston.ini to $ROOT_HOME/.config. With this change
> > user can login to $ROOT_HOME and launch weston with ivi-shell.
>
> what if I am not root ? IOW is there more systemwide way of doing it ?
>

I couldn't find any other login variable( like $ROOT_HOME) in bitbake.conf.
I agree that if we can do it in a more systemwide
way then it would be a clean solution. Any pointers to look at?


> >
> > 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
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>



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

[-- Attachment #2: Type: text/html, Size: 3657 bytes --]

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

* Re: [meta-ivi][PATCH] weston: Add weston.ini config file
  2014-04-23  5:59   ` sujith h
@ 2014-04-23  6:04     ` Khem Raj
  2014-04-23  7:13       ` sujith h
  0 siblings, 1 reply; 14+ messages in thread
From: Khem Raj @ 2014-04-23  6:04 UTC (permalink / raw)
  To: sujith h; +Cc: yocto@yoctoproject.org, Sujith H

On Tue, Apr 22, 2014 at 10:59 PM, sujith h <sujith.h@gmail.com> wrote:
>> what if I am not root ? IOW is there more systemwide way of doing it ?
>
>
> I couldn't find any other login variable( like $ROOT_HOME) in bitbake.conf.
> I agree that if we can do it in a more systemwide
> way then it would be a clean solution. Any pointers to look at?

well, its not really OE issue. see if weston can read configuration
files somewhere in /etc/


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

* [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

* Re: [meta-ivi][PATCH] weston: Add weston.ini config file
  2014-04-23  6:04     ` Khem Raj
@ 2014-04-23  7:13       ` sujith h
  0 siblings, 0 replies; 14+ messages in thread
From: sujith h @ 2014-04-23  7:13 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto@yoctoproject.org, Sujith H

[-- Attachment #1: Type: text/plain, Size: 808 bytes --]

On Wed, Apr 23, 2014 at 11:34 AM, Khem Raj <raj.khem@gmail.com> wrote:

> On Tue, Apr 22, 2014 at 10:59 PM, sujith h <sujith.h@gmail.com> wrote:
> >> what if I am not root ? IOW is there more systemwide way of doing it ?
> >
> >
> > I couldn't find any other login variable( like $ROOT_HOME) in
> bitbake.conf.
> > I agree that if we can do it in a more systemwide
> > way then it would be a clean solution. Any pointers to look at?
>
> well, its not really OE issue. see if weston can read configuration
> files somewhere in /etc/
>

I had updated the new patch with weston.ini file in /etc/xdg/weston
directory.



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

[-- Attachment #2: Type: text/html, Size: 1415 bytes --]

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

* Re: [meta-ivi][PATCH] weston: Add weston.ini config file
  2014-04-23  7:12 Sujith H
@ 2014-04-24 12:18 ` sujith h
  2014-04-24 12:25   ` Billie Alsup
  0 siblings, 1 reply; 14+ messages in thread
From: sujith h @ 2014-04-24 12:18 UTC (permalink / raw)
  To: Behrens, Holger, Florin Sarbu; +Cc: yocto@yoctoproject.org, Sujith H

[-- Attachment #1: Type: text/plain, Size: 1690 bytes --]

Hi,

Any comments for this patch?


On Wed, Apr 23, 2014 at 12:42 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 | 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
>
>


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

[-- Attachment #2: Type: text/html, Size: 2672 bytes --]

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

* Re: [meta-ivi][PATCH] weston: Add weston.ini config file
  2014-04-24 12:18 ` sujith h
@ 2014-04-24 12:25   ` Billie Alsup
  0 siblings, 0 replies; 14+ messages in thread
From: Billie Alsup @ 2014-04-24 12:25 UTC (permalink / raw)
  To: sujith h, Behrens, Holger, Florin Sarbu; +Cc: yocto@yoctoproject.org, Sujith H

[-- 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 --]

^ 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

* Re: [meta-ivi][PATCH] weston: Add weston.ini config file
  2014-04-24 12:39 [meta-ivi][PATCH] weston: Add weston.ini config file Sujith H
@ 2014-04-25 12:59 ` sujith h
  2014-04-25 13:02   ` Florin Sarbu
  2014-04-27 20:35   ` Florin Sarbu
  0 siblings, 2 replies; 14+ messages in thread
From: sujith h @ 2014-04-25 12:59 UTC (permalink / raw)
  To: Behrens, Holger, Florin Sarbu; +Cc: yocto@yoctoproject.org, Sujith H

[-- Attachment #1: Type: text/plain, Size: 1584 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2514 bytes --]

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

* Re: [meta-ivi][PATCH] weston: Add weston.ini config file
  2014-04-25 12:59 ` sujith h
@ 2014-04-25 13:02   ` Florin Sarbu
  2014-04-27 20:35   ` Florin Sarbu
  1 sibling, 0 replies; 14+ messages in thread
From: Florin Sarbu @ 2014-04-25 13:02 UTC (permalink / raw)
  To: sujith h, Behrens, Holger; +Cc: yocto@yoctoproject.org, Sujith H

[-- Attachment #1: Type: text/plain, Size: 2049 bytes --]

Will take it into consideration for next Genivi release. (a.k.a. 6.0.1)

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 
> <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 | 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.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: 4518 bytes --]

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

* Re: [meta-ivi][PATCH] weston: Add weston.ini config file
  2014-04-25 12:59 ` sujith h
  2014-04-25 13:02   ` Florin Sarbu
@ 2014-04-27 20:35   ` Florin Sarbu
  1 sibling, 0 replies; 14+ messages in thread
From: Florin Sarbu @ 2014-04-27 20:35 UTC (permalink / raw)
  To: sujith h, Behrens, Holger; +Cc: yocto@yoctoproject.org, Sujith H

[-- Attachment #1: Type: text/plain, Size: 2122 bytes --]

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 
> <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 | 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.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: 4624 bytes --]

^ permalink raw reply	[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

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-24 12:39 [meta-ivi][PATCH] weston: Add weston.ini config file Sujith H
2014-04-25 12:59 ` 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

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.