Re: [yocto] [OE-core][PATCH] ruby: ensure that .ext/rdoc is gone in compile
On Tue, Sep 6, 2016 at 10:23 PM, Khem Raj wrote: > > > On Aug 29, 2016, at 5:45 AM, Sujith H wrote: > > > > From: Christopher Larson > > > > rdoc gets unhappy if this already exists, so remove it before building. > > > > Without this, it's possible to hit this error: > > > >Directory .ext/rdoc already exists, but it looks like it isn't an RDoc > >directory. > > > > patch is fine, please post it to openembedded-core mailing list. > I have already posted it in the openembedded-core mailing list : http://lists.openembedded.org/pipermail/openembedded-core/2016-August/125836.html > > > Signed-off-by: Christopher Larson > > Signed-off-by: Sujith Haridasan > > --- > > meta/recipes-devtools/ruby/ruby.inc | 4 > > 1 file changed, 4 insertions(+) > > > > diff --git a/meta/recipes-devtools/ruby/ruby.inc > b/meta/recipes-devtools/ruby/ruby.inc > > index fde67e9..d8f6882 100644 > > --- a/meta/recipes-devtools/ruby/ruby.inc > > +++ b/meta/recipes-devtools/ruby/ruby.inc > > @@ -37,3 +37,7 @@ do_configure_prepend() { > > sed -i "s#%%TARGET_CFLAGS%%#$TARGET_CFLAGS#; > s#%%TARGET_LDFLAGS%%#$TARGET_LDFLAGS#" ${S}/common.mk > > rm -rf ${S}/ruby/ > > } > > + > > +do_compile_prepend () { > > +rm -rf .ext/rdoc > > +} > > -- > > 1.9.1 > > > > -- > > ___ > > yocto mailing list > > yocto@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/yocto > > -- സുജിത് ഹരിദാസന് Bangalore Contributor to KDE project Contributor to Yocto project http://fci.wikia.com/wiki/Anti-DRM-Campaign http://sujithh.info C-x C-c -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [OE-core][PATCH] ruby: ensure that .ext/rdoc is gone in compile
From: Christopher Larson rdoc gets unhappy if this already exists, so remove it before building. Without this, it's possible to hit this error: Directory .ext/rdoc already exists, but it looks like it isn't an RDoc directory. Signed-off-by: Christopher Larson Signed-off-by: Sujith Haridasan --- meta/recipes-devtools/ruby/ruby.inc | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-devtools/ruby/ruby.inc b/meta/recipes-devtools/ruby/ruby.inc index fde67e9..d8f6882 100644 --- a/meta/recipes-devtools/ruby/ruby.inc +++ b/meta/recipes-devtools/ruby/ruby.inc @@ -37,3 +37,7 @@ do_configure_prepend() { sed -i "s#%%TARGET_CFLAGS%%#$TARGET_CFLAGS#; s#%%TARGET_LDFLAGS%%#$TARGET_LDFLAGS#" ${S}/common.mk rm -rf ${S}/ruby/ } + +do_compile_prepend () { +rm -rf .ext/rdoc +} -- 1.9.1 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta][PATCH] ruby: ensure that .ext/rdoc is gone in compile
From: Christopher Larson rdoc gets unhappy if this already exists, so remove it before building. Without this, it's possible to hit this error: Directory .ext/rdoc already exists, but it looks like it isn't an RDoc directory. Signed-off-by: Christopher Larson Signed-off-by: Sujith Haridasan --- meta/recipes-devtools/ruby/ruby.inc | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-devtools/ruby/ruby.inc b/meta/recipes-devtools/ruby/ruby.inc index fde67e9..d8f6882 100644 --- a/meta/recipes-devtools/ruby/ruby.inc +++ b/meta/recipes-devtools/ruby/ruby.inc @@ -37,3 +37,7 @@ do_configure_prepend() { sed -i "s#%%TARGET_CFLAGS%%#$TARGET_CFLAGS#; s#%%TARGET_LDFLAGS%%#$TARGET_LDFLAGS#" ${S}/common.mk rm -rf ${S}/ruby/ } + +do_compile_prepend () { +rm -rf .ext/rdoc +} -- 1.9.1 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-qt5] How to increase depth of qemuarm from bootargs?
Hi all, I am trying to build Qt5 from meta-qt5 ( master branch ) with poky( machine is qemuarm). The qtbase is built successfully and is installed into core-image-sato. When I run : runqemu qemuarm I can see the matchbox window launched successfully.The qtbase is having gles2 enabled in the PACKAGECONFIG and gl is removed from PACKAGECONFIG. In mesa I have enabled gallium. I do see a problem when I try to run qtbase opengl examples.The gui gets displayed. But the image(s) associated with it never displays. For example lets say there is an example known as cube. When I try to run cube ( with -platform xcb), I could see a black screen. The cube image never comes. So my query is if it's possible to increase the depth ( default used is 16 for qemuarm ) to 24 through bootargs? If so a helping hand would be great. Let me know if more information is required regarding my setup. I have poky + meta-qt5 + meta-oe + meta-ruby layers in bblayers.conf. Thanks, Sujith H -- സുജിത് ഹരിദാസന് Bangalore Contributor to KDE project Contributor to Yocto project http://fci.wikia.com/wiki/Anti-DRM-Campaign http://sujithh.info C-x C-c -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [PATCH] Adding support for systemd and its service files
On Wed, Aug 13, 2014 at 9:43 PM, Christopher Larson wrote: > > On Wed, Aug 13, 2014 at 4:57 AM, Sujith H wrote: > >> From: Sujith H >> >> Signed-off-by: Muzaffar Mahmood >> Signed-off-by: Sujith H >> > > Might want to mention 'psplash' in the commit message in the future when > emailing a multi-purpose list like yocto@, so it's clear what exactly > it's patching before reading the email :) > Sure Chris. I sent a second email with 'psplash' in the commit message( After seeing that I missed 'psplash' was missing in the commit message). Let me know if you see my second mail with the 'psplash' in the commit message or not? > -- > Christopher Larson > clarson at kergoth dot com > Founder - BitBake, OpenEmbedded, OpenZaurus > Maintainer - Tslib > Senior Software Engineer, Mentor Graphics > -- സുജിത് ഹരിദാസന് Bangalore Contributor to KDE project http://fci.wikia.com/wiki/Anti-DRM-Campaign http://sujithh.info -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [psplash][PATCH] Adding support for systemd and its service files
From: Sujith H Signed-off-by: Muzaffar Mahmood Signed-off-by: Sujith H --- Makefile.am | 8 +++- configure.ac | 23 ++- psplash-quit.service.in | 11 +++ psplash-start.service.in | 11 +++ 4 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 psplash-quit.service.in create mode 100644 psplash-start.service.in diff --git a/Makefile.am b/Makefile.am index c90ebfa..786b3ce 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,8 +11,14 @@ psplash_write_SOURCES = psplash-write.c psplash.h EXTRA_DIST = make-image-header.sh -MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub configure depcomp install-sh ltmain.sh Makefile.in missing +MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub configure depcomp install-sh ltmain.sh Makefile.in missing psplash-quit.service psplash-start.service snapshot: $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"` +if SYSTEMD +systemdunitdir = @SYSTEMD_UNITDIR@ + +systemdunit_DATA = psplash-quit.service psplash-start.service +endif + diff --git a/configure.ac b/configure.ac index 1284833..a44c8d4 100644 --- a/configure.ac +++ b/configure.ac @@ -15,6 +15,27 @@ fi AC_SUBST(GCC_FLAGS) +# Check for pkg-config manually first, as if its not installed the +# PKG_PROG_PKG_CONFIG macro won't be defined. +AC_CHECK_PROG(have_pkg_config, pkg-config, yes, no) + +if test x"$have_pkg_config" = "xno"; then +AC_MSG_ERROR(pkg-config is required to install this program) +fi + +# +# systemd +# +AC_ARG_WITH([systemdunitdir], AC_HELP_STRING([--with-systemdunitdir=DIR], +[path to systemd service directory]), [path_systemdunit=${withval}], +[path_systemdunit="`$PKG_CONFIG --variable=systemdsystemunitdir systemd`"]) +if (test -n "${path_systemdunit}"); then +SYSTEMD_UNITDIR="${path_systemdunit}" +AC_SUBST(SYSTEMD_UNITDIR) +fi +AM_CONDITIONAL(SYSTEMD, test -n "${path_systemdunit}") + AC_OUTPUT([ -Makefile +Makefile psplash-quit.service psplash-start.service ]) + diff --git a/psplash-quit.service.in b/psplash-quit.service.in new file mode 100644 index 000..14bd499 --- /dev/null +++ b/psplash-quit.service.in @@ -0,0 +1,11 @@ +[Unit] +Description=Terminate Psplash Boot Screen +After=psplash-start.service + +[Service] +Type=oneshot +ExecStart=/usr/bin/psplash-write QUIT +TimeoutSec=20 + +[Install] +WantedBy=multi-user.target diff --git a/psplash-start.service.in b/psplash-start.service.in new file mode 100644 index 000..502b150 --- /dev/null +++ b/psplash-start.service.in @@ -0,0 +1,11 @@ +[Unit] +Description=Starts Psplash Boot screen +Wants=systemd-vconsole-setup.service +After=systemd-vconsole-setup.service systemd-udev-trigger.service systemd-udevd.service +DefaultDependencies=no + +[Service] +ExecStart=/usr/bin/psplash + +[Install] +WantedBy=sysinit.target -- 1.8.4 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH] Adding support for systemd and its service files
From: Sujith H Signed-off-by: Muzaffar Mahmood Signed-off-by: Sujith H --- Makefile.am | 8 +++- configure.ac | 23 ++- psplash-quit.service.in | 11 +++ psplash-start.service.in | 11 +++ 4 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 psplash-quit.service.in create mode 100644 psplash-start.service.in diff --git a/Makefile.am b/Makefile.am index c90ebfa..786b3ce 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,8 +11,14 @@ psplash_write_SOURCES = psplash-write.c psplash.h EXTRA_DIST = make-image-header.sh -MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub configure depcomp install-sh ltmain.sh Makefile.in missing +MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub configure depcomp install-sh ltmain.sh Makefile.in missing psplash-quit.service psplash-start.service snapshot: $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"` +if SYSTEMD +systemdunitdir = @SYSTEMD_UNITDIR@ + +systemdunit_DATA = psplash-quit.service psplash-start.service +endif + diff --git a/configure.ac b/configure.ac index 1284833..a44c8d4 100644 --- a/configure.ac +++ b/configure.ac @@ -15,6 +15,27 @@ fi AC_SUBST(GCC_FLAGS) +# Check for pkg-config manually first, as if its not installed the +# PKG_PROG_PKG_CONFIG macro won't be defined. +AC_CHECK_PROG(have_pkg_config, pkg-config, yes, no) + +if test x"$have_pkg_config" = "xno"; then +AC_MSG_ERROR(pkg-config is required to install this program) +fi + +# +# systemd +# +AC_ARG_WITH([systemdunitdir], AC_HELP_STRING([--with-systemdunitdir=DIR], +[path to systemd service directory]), [path_systemdunit=${withval}], +[path_systemdunit="`$PKG_CONFIG --variable=systemdsystemunitdir systemd`"]) +if (test -n "${path_systemdunit}"); then +SYSTEMD_UNITDIR="${path_systemdunit}" +AC_SUBST(SYSTEMD_UNITDIR) +fi +AM_CONDITIONAL(SYSTEMD, test -n "${path_systemdunit}") + AC_OUTPUT([ -Makefile +Makefile psplash-quit.service psplash-start.service ]) + diff --git a/psplash-quit.service.in b/psplash-quit.service.in new file mode 100644 index 000..14bd499 --- /dev/null +++ b/psplash-quit.service.in @@ -0,0 +1,11 @@ +[Unit] +Description=Terminate Psplash Boot Screen +After=psplash-start.service + +[Service] +Type=oneshot +ExecStart=/usr/bin/psplash-write QUIT +TimeoutSec=20 + +[Install] +WantedBy=multi-user.target diff --git a/psplash-start.service.in b/psplash-start.service.in new file mode 100644 index 000..502b150 --- /dev/null +++ b/psplash-start.service.in @@ -0,0 +1,11 @@ +[Unit] +Description=Starts Psplash Boot screen +Wants=systemd-vconsole-setup.service +After=systemd-vconsole-setup.service systemd-udev-trigger.service systemd-udevd.service +DefaultDependencies=no + +[Service] +ExecStart=/usr/bin/psplash + +[Install] +WantedBy=sysinit.target -- 1.8.4 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [PATCH] psplash: Adding support for systemd service files
On Tue, Aug 12, 2014 at 8:37 PM, Saul Wold wrote: > > Maybe I was not clear about this, this should be a patch to psplash > upstream, not to the oe-core metadata. Then once we merge the change to > psplash we can update the pslash recipes. > > So the patch would be to add the 2 service files to psplash upstream. > > http://git.yoctoproject.org/cgit/cgit.cgi/psplash/ > > Make Sense? > Yah it makes sense. I will do the same. Thanks for the feedback :) Sujith H > > Sau! > > > > On 08/11/2014 03:00 AM, Sujith H wrote: > >> From: Sujith H >> >> If the DISTRO_FEATURES has systemd, then its better >> to have corresponding service files associated with >> the psplash. This change will help to do the same. >> >> Signed-off-by: Muzaffar Mahmood >> Signed-off-by: Sujith H >> --- >> meta/recipes-core/psplash/files/psplash-quit.service | 11 +++ >> meta/recipes-core/psplash/files/psplash-start.service | 11 +++ >> meta/recipes-core/psplash/psplash_git.bb | 12 +++- >> 3 files changed, 33 insertions(+), 1 deletion(-) >> create mode 100644 meta/recipes-core/psplash/files/psplash-quit.service >> create mode 100644 meta/recipes-core/psplash/ >> files/psplash-start.service >> >> diff --git a/meta/recipes-core/psplash/files/psplash-quit.service >> b/meta/recipes-core/psplash/files/psplash-quit.service >> new file mode 100644 >> index 000..14bd499 >> --- /dev/null >> +++ b/meta/recipes-core/psplash/files/psplash-quit.service >> @@ -0,0 +1,11 @@ >> +[Unit] >> +Description=Terminate Psplash Boot Screen >> +After=psplash-start.service >> + >> +[Service] >> +Type=oneshot >> +ExecStart=/usr/bin/psplash-write QUIT >> +TimeoutSec=20 >> + >> +[Install] >> +WantedBy=multi-user.target >> diff --git a/meta/recipes-core/psplash/files/psplash-start.service >> b/meta/recipes-core/psplash/files/psplash-start.service >> new file mode 100644 >> index 000..502b150 >> --- /dev/null >> +++ b/meta/recipes-core/psplash/files/psplash-start.service >> @@ -0,0 +1,11 @@ >> +[Unit] >> +Description=Starts Psplash Boot screen >> +Wants=systemd-vconsole-setup.service >> +After=systemd-vconsole-setup.service systemd-udev-trigger.service >> systemd-udevd.service >> +DefaultDependencies=no >> + >> +[Service] >> +ExecStart=/usr/bin/psplash >> + >> +[Install] >> +WantedBy=sysinit.target >> diff --git a/meta/recipes-core/psplash/psplash_git.bb >> b/meta/recipes-core/psplash/psplash_git.bb >> index 628ced4..16fa0ae 100644 >> --- a/meta/recipes-core/psplash/psplash_git.bb >> +++ b/meta/recipes-core/psplash/psplash_git.bb >> @@ -11,6 +11,8 @@ PR = "r15" >> >> SRC_URI = "git://git.yoctoproject.org/${BPN} >> <http://git.yoctoproject.org/$%7BBPN%7D> \ >> file://psplash-init \ >> + file://psplash-start.service \ >> + file://psplash-quit.service \ >> ${SPLASH_IMAGES}" >> >> SPLASH_IMAGES = "file://psplash-poky-img.h;outsuffix=default" >> @@ -65,11 +67,14 @@ python __anonymous() { >> >> S = "${WORKDIR}/git" >> >> -inherit autotools pkgconfig update-rc.d update-alternatives >> +inherit autotools pkgconfig update-rc.d update-alternatives systemd >> >> ALTERNATIVE_PRIORITY = "100" >> ALTERNATIVE_LINK_NAME[psplash] = "${bindir}/psplash" >> >> +SYSTEMD_PACKAGES = "${@base_contains('DISTRO_ >> FEATURES','systemd','${PN}','',d)}" >> +SYSTEMD_SERVICE_${PN} = "${@base_contains('DISTRO_ >> FEATURES','systemd','psplash-start.service psplash-quit.service','',d)}" >> + >> python do_compile () { >> import shutil >> >> @@ -103,6 +108,11 @@ do_install_append() { >> install -m 0755 $i ${D}${bindir}/$i >> done >> rm -f ${D}${bindir}/psplash >> + >> + if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; >> then >> +install -d ${D}${systemd_unitdir}/system >> +install -m 644 ${WORKDIR}/*.service >> ${D}/${systemd_unitdir}/system >> +fi >> } >> >> FILES_${PN} += "/mnt/.psplash" >> >> -- സുജിത് ഹരിദാസന് Bangalore Contributor to KDE project http://fci.wikia.com/wiki/Anti-DRM-Campaign http://sujithh.info -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH] psplash: Adding support for systemd service files
From: Sujith H If the DISTRO_FEATURES has systemd, then its better to have corresponding service files associated with the psplash. This change will help to do the same. Signed-off-by: Muzaffar Mahmood Signed-off-by: Sujith H --- meta/recipes-core/psplash/files/psplash-quit.service | 11 +++ meta/recipes-core/psplash/files/psplash-start.service | 11 +++ meta/recipes-core/psplash/psplash_git.bb | 12 +++- 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-core/psplash/files/psplash-quit.service create mode 100644 meta/recipes-core/psplash/files/psplash-start.service diff --git a/meta/recipes-core/psplash/files/psplash-quit.service b/meta/recipes-core/psplash/files/psplash-quit.service new file mode 100644 index 000..14bd499 --- /dev/null +++ b/meta/recipes-core/psplash/files/psplash-quit.service @@ -0,0 +1,11 @@ +[Unit] +Description=Terminate Psplash Boot Screen +After=psplash-start.service + +[Service] +Type=oneshot +ExecStart=/usr/bin/psplash-write QUIT +TimeoutSec=20 + +[Install] +WantedBy=multi-user.target diff --git a/meta/recipes-core/psplash/files/psplash-start.service b/meta/recipes-core/psplash/files/psplash-start.service new file mode 100644 index 000..502b150 --- /dev/null +++ b/meta/recipes-core/psplash/files/psplash-start.service @@ -0,0 +1,11 @@ +[Unit] +Description=Starts Psplash Boot screen +Wants=systemd-vconsole-setup.service +After=systemd-vconsole-setup.service systemd-udev-trigger.service systemd-udevd.service +DefaultDependencies=no + +[Service] +ExecStart=/usr/bin/psplash + +[Install] +WantedBy=sysinit.target diff --git a/meta/recipes-core/psplash/psplash_git.bb b/meta/recipes-core/psplash/psplash_git.bb index 628ced4..16fa0ae 100644 --- a/meta/recipes-core/psplash/psplash_git.bb +++ b/meta/recipes-core/psplash/psplash_git.bb @@ -11,6 +11,8 @@ PR = "r15" SRC_URI = "git://git.yoctoproject.org/${BPN} \ file://psplash-init \ + file://psplash-start.service \ + file://psplash-quit.service \ ${SPLASH_IMAGES}" SPLASH_IMAGES = "file://psplash-poky-img.h;outsuffix=default" @@ -65,11 +67,14 @@ python __anonymous() { S = "${WORKDIR}/git" -inherit autotools pkgconfig update-rc.d update-alternatives +inherit autotools pkgconfig update-rc.d update-alternatives systemd ALTERNATIVE_PRIORITY = "100" ALTERNATIVE_LINK_NAME[psplash] = "${bindir}/psplash" +SYSTEMD_PACKAGES = "${@base_contains('DISTRO_FEATURES','systemd','${PN}','',d)}" +SYSTEMD_SERVICE_${PN} = "${@base_contains('DISTRO_FEATURES','systemd','psplash-start.service psplash-quit.service','',d)}" + python do_compile () { import shutil @@ -103,6 +108,11 @@ do_install_append() { install -m 0755 $i ${D}${bindir}/$i done rm -f ${D}${bindir}/psplash + + if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then +install -d ${D}${systemd_unitdir}/system +install -m 644 ${WORKDIR}/*.service ${D}/${systemd_unitdir}/system +fi } FILES_${PN} += "/mnt/.psplash" -- 1.8.4 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-ivi][PATCH] Make pulseaudio run by default
From: Sujith H This change will help pulseaudio run by default on the target. On the bootup user can see pulseaudio service started. Signed-off-by: Sujith H --- meta-ivi/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-ivi/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend b/meta-ivi/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend index e32efa7..5401c66 100644 --- a/meta-ivi/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend +++ b/meta-ivi/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend @@ -7,7 +7,7 @@ PR = "r1" inherit systemd SYSTEMD_PACKAGES = "${PN}-server" -SYSTEMD_SERVICE = "pulseaudio.service" +SYSTEMD_SERVICE_${PN}-server = "pulseaudio.service" PACKAGECONFIG_remove = "bluez4" PACKAGECONFIG_append = " bluez5" -- 1.8.4 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-ivi][PATCH] Make pulseaudio run by default
From: Sujith H This change will help pulseaudio run by default on the target. On the bootup user can see pulseaudio service started. Signed-off-by: Sujith H --- meta-ivi/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-ivi/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend b/meta-ivi/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend index e32efa7..5401c66 100644 --- a/meta-ivi/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend +++ b/meta-ivi/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend @@ -7,7 +7,7 @@ PR = "r1" inherit systemd SYSTEMD_PACKAGES = "${PN}-server" -SYSTEMD_SERVICE = "pulseaudio.service" +SYSTEMD_SERVICE_${PN}-server = "pulseaudio.service" PACKAGECONFIG_remove = "bluez4" PACKAGECONFIG_append = " bluez5" -- 1.8.4 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-ivi][PATCH] weston: Add weston.ini config file
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, 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 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-ivi][PATCH] weston: Add weston.ini config file
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 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-ivi][PATCH] weston: Add weston.ini config file
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 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
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 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 | 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 Contributor to KDE project http://fci.wikia.com/wiki/Anti-DRM-Campaign http://sujithh.info -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-ivi][PATCH] weston: Add weston.ini config file
On Wed, Apr 23, 2014 at 11:34 AM, Khem Raj wrote: > On Tue, Apr 22, 2014 at 10:59 PM, sujith h 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 Contributor to KDE project http://fci.wikia.com/wiki/Anti-DRM-Campaign http://sujithh.info -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-ivi][PATCH] weston: Add weston.ini config file
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 | 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 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-ivi][PATCH] weston: Add weston.ini config file
Hi Khem Raj, On Wed, Apr 23, 2014 at 9:04 AM, Khem Raj wrote: > On Wed, Apr 16, 2014 at 1:12 AM, Sujith H 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 > > --- > > 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 Contributor to KDE project http://fci.wikia.com/wiki/Anti-DRM-Campaign http://sujithh.info -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-ivi][PATCH] weston: Add weston.ini config file
Hi, Any comments about this patch? Thanks, Sujith H On Wed, Apr 16, 2014 at 1:42 PM, Sujith H 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 > --- > 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 Contributor to KDE project http://fci.wikia.com/wiki/Anti-DRM-Campaign http://sujithh.info -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-ivi][PATCH] weston: Add weston.ini config file
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 --- 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
[yocto] [meta-ivi][PATCH] weston: Add weston.ini
Adding weston.ini to $HOME/.config. With this change user can login to $HOME and launch weston with ivi-shell. Signed-off-by: Sujith H --- recipes-graphics/wayland/weston_1.4.0.bbappend | 11 +++ 1 file changed, 11 insertions(+) diff --git a/recipes-graphics/wayland/weston_1.4.0.bbappend b/recipes-graphics/wayland/weston_1.4.0.bbappend index 7a8ba6f..fb48de1 100644 --- a/recipes-graphics/wayland/weston_1.4.0.bbappend +++ b/recipes-graphics/wayland/weston_1.4.0.bbappend @@ -12,3 +12,14 @@ PR = "r1" FILES_${PN} += "${libdir}/weston/*" FILES_${PN}-dbg += "${libdir}/weston/.debug/*" + +do_install_append() { + install -d ${D}/home/root/.config + install -m 0644 ${S}/ivi-shell/weston.ini.in ${D}/home/root/.config/weston.ini + sed -i -e 's/hmi-controller.so/hmi-controller.so,ivi-controller.so/' ${D}/home/root/.config/weston.ini + sed -i -e 's|\@libexecdir\@|${libexecdir}|' ${D}/home/root/.config/weston.ini + sed -i -e 's|\@abs_top_builddir\@\/data|${datadir}\/weston|' ${D}/home/root/.config/weston.ini + sed -i -e 's|\@abs_top_builddir\@\/clients|${bindir}|' ${D}/home/root/.config/weston.ini +} + +FILES_${PN} += "/home/root/.config" -- 1.8.4 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH] weston: Add weston.ini
Adding weston.ini to $HOME/.config. With this change user can login to $HOME and launch weston with ivi-shell. Signed-off-by: Sujith H --- recipes-graphics/wayland/weston_1.4.0.bbappend | 11 +++ 1 file changed, 11 insertions(+) diff --git a/recipes-graphics/wayland/weston_1.4.0.bbappend b/recipes-graphics/wayland/weston_1.4.0.bbappend index 7a8ba6f..fb48de1 100644 --- a/recipes-graphics/wayland/weston_1.4.0.bbappend +++ b/recipes-graphics/wayland/weston_1.4.0.bbappend @@ -12,3 +12,14 @@ PR = "r1" FILES_${PN} += "${libdir}/weston/*" FILES_${PN}-dbg += "${libdir}/weston/.debug/*" + +do_install_append() { + install -d ${D}/home/root/.config + install -m 0644 ${S}/ivi-shell/weston.ini.in ${D}/home/root/.config/weston.ini + sed -i -e 's/hmi-controller.so/hmi-controller.so,ivi-controller.so/' ${D}/home/root/.config/weston.ini + sed -i -e 's|\@libexecdir\@|${libexecdir}|' ${D}/home/root/.config/weston.ini + sed -i -e 's|\@abs_top_builddir\@\/data|${datadir}\/weston|' ${D}/home/root/.config/weston.ini + sed -i -e 's|\@abs_top_builddir\@\/clients|${bindir}|' ${D}/home/root/.config/weston.ini +} + +FILES_${PN} += "/home/root/.config" -- 1.8.4 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH] weston: Add weston.ini
From: Sujith H Adding weston.ini to $HOME/.config. With this change user can login to $HOME and launch weston with ivi-shell. Signed-off-by: Sujith H --- recipes-graphics/wayland/weston_1.4.0.bbappend | 11 +++ 1 file changed, 11 insertions(+) diff --git a/recipes-graphics/wayland/weston_1.4.0.bbappend b/recipes-graphics/wayland/weston_1.4.0.bbappend index 7a8ba6f..fb48de1 100644 --- a/recipes-graphics/wayland/weston_1.4.0.bbappend +++ b/recipes-graphics/wayland/weston_1.4.0.bbappend @@ -12,3 +12,14 @@ PR = "r1" FILES_${PN} += "${libdir}/weston/*" FILES_${PN}-dbg += "${libdir}/weston/.debug/*" + +do_install_append() { + install -d ${D}/home/root/.config + install -m 0644 ${S}/ivi-shell/weston.ini.in ${D}/home/root/.config/weston.ini + sed -i -e 's/hmi-controller.so/hmi-controller.so,ivi-controller.so/' ${D}/home/root/.config/weston.ini + sed -i -e 's|\@libexecdir\@|${libexecdir}|' ${D}/home/root/.config/weston.ini + sed -i -e 's|\@abs_top_builddir\@\/data|${datadir}\/weston|' ${D}/home/root/.config/weston.ini + sed -i -e 's|\@abs_top_builddir\@\/clients|${bindir}|' ${D}/home/root/.config/weston.ini +} + +FILES_${PN} += "/home/root/.config" -- 1.8.4 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-ivi][PATCH] weston: Add weston.ini
From: Sujith H Adding weston.ini to $HOME/.config. With this change user can login to $HOME and launch weston with ivi-shell. Signed-off-by: Sujith H --- recipes-graphics/wayland/weston_1.4.0.bbappend | 11 +++ 1 file changed, 11 insertions(+) diff --git a/recipes-graphics/wayland/weston_1.4.0.bbappend b/recipes-graphics/wayland/weston_1.4.0.bbappend index 7a8ba6f..6168271 100644 --- a/recipes-graphics/wayland/weston_1.4.0.bbappend +++ b/recipes-graphics/wayland/weston_1.4.0.bbappend @@ -12,3 +12,14 @@ PR = "r1" FILES_${PN} += "${libdir}/weston/*" FILES_${PN}-dbg += "${libdir}/weston/.debug/*" + +do_install_append() { + install -d ${D}/home/root/.config + install -m 0644 ${S}/ivi-shell/weston.ini.in ${D}/home/root/.config/weston.ini + sed -i -e 's/hmi-controller.so/hmi-controller.so, ivi-controller.so/' ${D}/home/root/.config/weston.ini + sed -i -e 's|\@libexecdir\@|${libexecdir}|' ${D}/home/root/.config/weston.ini + sed -i -e 's|\@abs_top_builddir\@\/data|${datadir}\/weston|' ${D}/home/root/.config/weston.ini + sed -i -e 's|\@abs_top_builddir\@\/clients|${bindir}|' ${D}/home/root/.config/weston.ini +} + +FILES_${PN} += "/home/root/.config" -- 1.8.4 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH] weston: Add weston.ini
From: Sujith H Adding weston.ini to $HOME/.config. With this change user can login to $HOME and launch weston with ivi-shell. Signed-off-by: Sujith H --- recipes-graphics/wayland/weston_1.4.0.bbappend | 11 +++ 1 file changed, 11 insertions(+) diff --git a/recipes-graphics/wayland/weston_1.4.0.bbappend b/recipes-graphics/wayland/weston_1.4.0.bbappend index 7a8ba6f..6168271 100644 --- a/recipes-graphics/wayland/weston_1.4.0.bbappend +++ b/recipes-graphics/wayland/weston_1.4.0.bbappend @@ -12,3 +12,14 @@ PR = "r1" FILES_${PN} += "${libdir}/weston/*" FILES_${PN}-dbg += "${libdir}/weston/.debug/*" + +do_install_append() { + install -d ${D}/home/root/.config + install -m 0644 ${S}/ivi-shell/weston.ini.in ${D}/home/root/.config/weston.ini + sed -i -e 's/hmi-controller.so/hmi-controller.so, ivi-controller.so/' ${D}/home/root/.config/weston.ini + sed -i -e 's|\@libexecdir\@|${libexecdir}|' ${D}/home/root/.config/weston.ini + sed -i -e 's|\@abs_top_builddir\@\/data|${datadir}\/weston|' ${D}/home/root/.config/weston.ini + sed -i -e 's|\@abs_top_builddir\@\/clients|${bindir}|' ${D}/home/root/.config/weston.ini +} + +FILES_${PN} += "/home/root/.config" -- 1.8.4 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-ivi] [PATCH] node-startup-controller: Fixing conf file while packaging
Hi, On Wed, Jun 5, 2013 at 12:04 PM, Behrens, Holger < holger.behr...@windriver.com> wrote: > Hi, > > > Hi Florin, > > > > You are right. The error I get is: > > > > Configuring netbase. > > Configuring procps. > > Configuring packagegroup-core-boot-genivi. > > Configuring u-boot-sabre-sd. > > Configuring u-boot-sabre-lite. > > Configuring run-postinsts. > > Configuring u-boot-sabre-aiquad. > > Collected errors: > > * check_data_file_clashes: Package node-state-manager wants to install > file > > /home/sujith/MEL7/foton-upstream/atp-build/tmp/work/mx6q-poky-linux- > > gnueabi/foton-image/4.0.0-r0/rootfs/etc/dbus- > > 1/system.d/org.genivi.NodeStateManager.conf > > But that file is already provided by package * > node-startup-controller > > * opkg_install_cmd: Cannot install package packagegroup-core-p2. > > ERROR: Function failed: do_rootfs (see /home/sujith/MEL7/foton- > > upstream/atp-build/tmp/work/mx6q-poky-linux-gnueabi/foton- > > image/4.0.0-r0/temp/log.do_rootfs.14894 for further information) > > > > This is one solution that came to my mind. > > in cases we have both the NSC (P1) and the NSM (P2) in an image, the > NSM_dummy which is part of the NSC should not be installed. > Well NSM_dummy doesn't provide org.genivi.NodeStateManager.conf . So my worry is doing so, would it resolve the issue? If you can help me find out why we need to remove NSM_dummy that would be nice of you. Thanks, Sujith H > > Regards, > Holger > > > Thanks, > > Sujith H > > > > > > > > On Tue, Jun 4, 2013 at 6:45 PM, Florin Sarbu > > > wrote: > > > > > > Hi, > > please provide a log with the actual error. The attached patch does > > not contain a solution to your problem in my opinion. > > > > Thank you, > > Florin > > > > > > On 06/04/2013 01:13 PM, sujith h wrote: > > > > > > Hi, > > > > When package_ipk is used, then opkg fails to install node- > > state-manager > > during the do_rootfs phase of foton-image. But this > behavior > > is not seen > > when rpm is used. opkg fails to install when > > org.genivi.NodeStateManager.conf > > is there in etc/dbus-1/dbus-1/system.d/ directory provided > > by node-startup-controller. > > When rpm packaging is used then node-state-manager's > > org.genivi.NodeStateManager.conf > > is forcefully installed. > > > > Thanks, > > > > Sujith H > > > > > > On Tue, Jun 4, 2013 at 3:33 PM, Sujith H > > wrote: > > > > > > From: Sujith H > > > > Issue found while building foton-image when > > PACKAGE_CLASSES > > set to "package_ipk". This patch will fix the > issue. > > This patch has to be applied to branch 4.0. > > > > Signed-off-by: Sujith H > > > > --- > >.../node-startup-controller/node-startup- > > controller_1.0.2.bb | 3 +++ > >.../node-startup-controller/node-startup- > > controller_git.bb | 3 +++ > >2 files changed, 6 insertions(+) > > > > diff --git a/recipes-extended/node-startup- > > controller/node-startup-controller_1.0.2.bb b/recipes-extended/node- > > startup-controller/node-startup-controller_1.0.2.bb > > index 470bb97..fd3e1c9 100644 > > --- a/recipes-extended/node-startup- > > controller/node-startup-controller_1.0.2.bb > > +++ b/recipes-extended/node-startup- > > controller/node-startup-controller_1.0.2.bb > > @@ -55,3 +55,6 @@ FILES_${PN}-nsm-dummy = "\ > >FILES_${PN}-nsm-dummy-dbg = "\ > >${libdir}/${PN}-1/.debug/nsm-dummy \ > >" > > +do_install_append() { > > +rm -f ${D}${sysconfdir}/dbus- > > 1/system.d/org.genivi.NodeStateManager.conf > > +} > > diff --git a/recipes-extended/node-startup- > > controller/node-startup-controller_git.bb b/recipes-extended/node- > > startup-controller/node-s
Re: [yocto] [meta-ivi] [PATCH] node-startup-controller: Fixing conf file while packaging
Hi Florin, You are right. The error I get is: Configuring netbase. Configuring procps. Configuring packagegroup-core-boot-genivi. Configuring u-boot-sabre-sd. Configuring u-boot-sabre-lite. Configuring run-postinsts. Configuring u-boot-sabre-aiquad. Collected errors: * check_data_file_clashes: Package node-state-manager wants to install file /home/sujith/MEL7/foton-upstream/atp-build/tmp/work/mx6q-poky-linux-gnueabi/foton-image/4.0.0-r0/rootfs/etc/dbus-1/system.d/org.genivi.NodeStateManager.conf But that file is already provided by package * node-startup-controller * opkg_install_cmd: Cannot install package packagegroup-core-p2. ERROR: Function failed: do_rootfs (see /home/sujith/MEL7/foton-upstream/atp-build/tmp/work/mx6q-poky-linux-gnueabi/foton-image/4.0.0-r0/temp/log.do_rootfs.14894 for further information) This is one solution that came to my mind. Thanks, Sujith H On Tue, Jun 4, 2013 at 6:45 PM, Florin Sarbu wrote: > Hi, > please provide a log with the actual error. The attached patch does not > contain a solution to your problem in my opinion. > > Thank you, > Florin > > > On 06/04/2013 01:13 PM, sujith h wrote: > > Hi, > > When package_ipk is used, then opkg fails to install node-state-manager > during the do_rootfs phase of foton-image. But this behavior is not seen > when rpm is used. opkg fails to install when > org.genivi.NodeStateManager.conf > is there in etc/dbus-1/dbus-1/system.d/ directory provided by > node-startup-controller. > When rpm packaging is used then node-state-manager's > org.genivi.NodeStateManager.conf > is forcefully installed. > > Thanks, > > Sujith H > > On Tue, Jun 4, 2013 at 3:33 PM, Sujith H wrote: > >> From: Sujith H >> >> Issue found while building foton-image when PACKAGE_CLASSES >> set to "package_ipk". This patch will fix the issue. >> This patch has to be applied to branch 4.0. >> >> Signed-off-by: Sujith H >> --- >> .../node-startup-controller/node-startup-controller_1.0.2.bb >> | 3 +++ >> .../node-startup-controller/node-startup-controller_git.bb >> | 3 +++ >> 2 files changed, 6 insertions(+) >> >> diff --git a/recipes-extended/node-startup-controller/ >> node-startup-controller_1.0.2.bbb/recipes-extended/node-startup-controller/ >> node-startup-controller_1.0.2.bb >> index 470bb97..fd3e1c9 100644 >> --- a/recipes-extended/node-startup-controller/ >> node-startup-controller_1.0.2.bb >> +++ b/recipes-extended/node-startup-controller/ >> node-startup-controller_1.0.2.bb >> @@ -55,3 +55,6 @@ FILES_${PN}-nsm-dummy = "\ >> FILES_${PN}-nsm-dummy-dbg = "\ >> ${libdir}/${PN}-1/.debug/nsm-dummy \ >> " >> +do_install_append() { >> +rm -f >> ${D}${sysconfdir}/dbus-1/system.d/org.genivi.NodeStateManager.conf >> +} >> diff --git a/recipes-extended/node-startup-controller/ >> node-startup-controller_git.bbb/recipes-extended/node-startup-controller/ >> node-startup-controller_git.bb >> index 0d3b90c..2fec5da 100644 >> --- a/recipes-extended/node-startup-controller/ >> node-startup-controller_git.bb >> +++ b/recipes-extended/node-startup-controller/ >> node-startup-controller_git.bb >> @@ -51,3 +51,6 @@ FILES_${PN}-nsm-dummy = "\ >> FILES_${PN}-nsm-dummy-dbg = "\ >> ${libdir}/${PN}-1/.debug/nsm-dummy \ >> " >> +do_install_append() { >> +rm -f >> ${D}${sysconfdir}/dbus-1/system.d/org.genivi.NodeStateManager.conf >> +} >> -- >> 1.8.1.4 >> >> > > > -- > സുജിത് ഹരിദാസന് > Bangalore > Contributor to KDE project > http://fci.wikia.com/wiki/Anti-DRM-Campaign > http://sujithh.info > > > -- സുജിത് ഹരിദാസന് Bangalore Contributor to KDE project http://fci.wikia.com/wiki/Anti-DRM-Campaign http://sujithh.info ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-ivi] [PATCH] node-startup-controller: Fixing conf file while packaging
Hi, When package_ipk is used, then opkg fails to install node-state-manager during the do_rootfs phase of foton-image. But this behavior is not seen when rpm is used. opkg fails to install when org.genivi.NodeStateManager.conf is there in etc/dbus-1/dbus-1/system.d/ directory provided by node-startup-controller. When rpm packaging is used then node-state-manager's org.genivi.NodeStateManager.conf is forcefully installed. Thanks, Sujith H On Tue, Jun 4, 2013 at 3:33 PM, Sujith H wrote: > From: Sujith H > > Issue found while building foton-image when PACKAGE_CLASSES > set to "package_ipk". This patch will fix the issue. > This patch has to be applied to branch 4.0. > > Signed-off-by: Sujith H > --- > .../node-startup-controller/node-startup-controller_1.0.2.bb | > 3 +++ > .../node-startup-controller/node-startup-controller_git.bb | > 3 +++ > 2 files changed, 6 insertions(+) > > diff --git a/recipes-extended/node-startup-controller/ > node-startup-controller_1.0.2.bbb/recipes-extended/node-startup-controller/ > node-startup-controller_1.0.2.bb > index 470bb97..fd3e1c9 100644 > --- a/recipes-extended/node-startup-controller/ > node-startup-controller_1.0.2.bb > +++ b/recipes-extended/node-startup-controller/ > node-startup-controller_1.0.2.bb > @@ -55,3 +55,6 @@ FILES_${PN}-nsm-dummy = "\ > FILES_${PN}-nsm-dummy-dbg = "\ > ${libdir}/${PN}-1/.debug/nsm-dummy \ > " > +do_install_append() { > +rm -f > ${D}${sysconfdir}/dbus-1/system.d/org.genivi.NodeStateManager.conf > +} > diff --git a/recipes-extended/node-startup-controller/ > node-startup-controller_git.bb b/recipes-extended/node-startup-controller/ > node-startup-controller_git.bb > index 0d3b90c..2fec5da 100644 > --- a/recipes-extended/node-startup-controller/ > node-startup-controller_git.bb > +++ b/recipes-extended/node-startup-controller/ > node-startup-controller_git.bb > @@ -51,3 +51,6 @@ FILES_${PN}-nsm-dummy = "\ > FILES_${PN}-nsm-dummy-dbg = "\ > ${libdir}/${PN}-1/.debug/nsm-dummy \ > " > +do_install_append() { > +rm -f > ${D}${sysconfdir}/dbus-1/system.d/org.genivi.NodeStateManager.conf > +} > -- > 1.8.1.4 > > -- സുജിത് ഹരിദാസന് Bangalore Contributor to KDE project http://fci.wikia.com/wiki/Anti-DRM-Campaign http://sujithh.info ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-ivi] [PATCH] node-startup-controller: Fixing conf file while packaging
From: Sujith H Issue found while building foton-image when PACKAGE_CLASSES set to "package_ipk". This patch will fix the issue. This patch has to be applied to branch 4.0. Signed-off-by: Sujith H --- .../node-startup-controller/node-startup-controller_1.0.2.bb | 3 +++ .../node-startup-controller/node-startup-controller_git.bb | 3 +++ 2 files changed, 6 insertions(+) diff --git a/recipes-extended/node-startup-controller/node-startup-controller_1.0.2.bb b/recipes-extended/node-startup-controller/node-startup-controller_1.0.2.bb index 470bb97..fd3e1c9 100644 --- a/recipes-extended/node-startup-controller/node-startup-controller_1.0.2.bb +++ b/recipes-extended/node-startup-controller/node-startup-controller_1.0.2.bb @@ -55,3 +55,6 @@ FILES_${PN}-nsm-dummy = "\ FILES_${PN}-nsm-dummy-dbg = "\ ${libdir}/${PN}-1/.debug/nsm-dummy \ " +do_install_append() { +rm -f ${D}${sysconfdir}/dbus-1/system.d/org.genivi.NodeStateManager.conf +} diff --git a/recipes-extended/node-startup-controller/node-startup-controller_git.bb b/recipes-extended/node-startup-controller/node-startup-controller_git.bb index 0d3b90c..2fec5da 100644 --- a/recipes-extended/node-startup-controller/node-startup-controller_git.bb +++ b/recipes-extended/node-startup-controller/node-startup-controller_git.bb @@ -51,3 +51,6 @@ FILES_${PN}-nsm-dummy = "\ FILES_${PN}-nsm-dummy-dbg = "\ ${libdir}/${PN}-1/.debug/nsm-dummy \ " +do_install_append() { +rm -f ${D}${sysconfdir}/dbus-1/system.d/org.genivi.NodeStateManager.conf +} -- 1.8.1.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-ivi] [PATCH] pulseaudio: Fixing the configure_append.
Providing absolute path to avoid breakage during configure. This patch has to be applied on branch 4.0 Signed-off-by: Sujith H --- recipes-multimedia/pulseaudio/pulseaudio_3.0.bbappend | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes-multimedia/pulseaudio/pulseaudio_3.0.bbappend b/recipes-multimedia/pulseaudio/pulseaudio_3.0.bbappend index 1239f5c..849aeb0 100644 --- a/recipes-multimedia/pulseaudio/pulseaudio_3.0.bbappend +++ b/recipes-multimedia/pulseaudio/pulseaudio_3.0.bbappend @@ -1,4 +1,4 @@ -PRINC := "${@int(PRINC) + 4}" +PRINC := "${@int(PRINC) + 5}" FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" @@ -26,9 +26,9 @@ do_configure_append () { # udev_get_dev_path(), udev_get_sys_path(), udev_get_run_path() # systemd does not allow to configure any of these filesystem paths # udev is included in systemd - sed -i 's:udev_get_sys_path(udev):"/sys":' src/modules/module-udev-detect.c - sed -i 's:udev_get_sys_path(udev):"/sys":' src/modules/udev-util.c - sed -i 's:udev_get_dev_path(u->udev):"/dev":' src/modules/module-udev-detect.c + sed -i 's:udev_get_sys_path(udev):"/sys":' ${S}/src/modules/module-udev-detect.c + sed -i 's:udev_get_sys_path(udev):"/sys":' ${S}/src/modules/udev-util.c + sed -i 's:udev_get_dev_path(u->udev):"/dev":' ${S}/src/modules/module-udev-detect.c } do_install_append() { @@ -36,4 +36,4 @@ do_install_append() { install -d ${D}${systemd_unitdir}/system/ install -m 0644 ${WORKDIR}/pulseaudio.service ${D}${systemd_unitdir}/system fi -} \ No newline at end of file +} -- 1.8.1.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto