[yocto] [meta-ivi][PATCH 1/2] dlt-daemon: Package utils, libraries, test etc. separately

2012-11-14 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb |   24 +++---
 1 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb 
b/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb
index 9cdbfc0..7a20647 100644
--- a/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb
+++ b/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb
@@ -11,7 +11,7 @@ DESCRIPTION = This component provides a standardised log and 
trace interface, b
 HOMEPAGE = https://www.genivi.org/;
 SECTION = console/utils
 
-PR = r0
+PR = r1
 
 inherit gzipnative
 
@@ -25,9 +25,25 @@ S = ${WORKDIR}/git
 
 inherit autotools gettext cmake
 
-FILES_${PN}-doc += /usr/share/*
+PACKAGES =+ ${PN}-systemd \
+ libdlt \
+ dlt-adaptor \
+ dlt-convert \
+ dlt-example \
+ dlt-receive \
+ dlt-system \
+ dlt-test \
+ 
+
+FILES_libdlt = ${libdir}/*${SOLIBS}
+FILES_dlt-adaptor = ${bindir}/dlt-adaptor*
+FILES_dlt-convert = ${bindir}/dlt-convert*
+FILES_dlt-example = ${bindir}/dlt-example*
+FILES_dlt-receive = ${bindir}/dlt-receive*
+FILES_dlt-system = ${bindir}/dlt-system* \
+  ${sysconfdir}/dlt-system.conf
+FILES_dlt-test = ${bindir}/dlt-test* \
+  ${datadir}/dlt-filetransfer
 FILES_${PN}-systemd += ${systemd_unitdir}/system/
 
-PACKAGES =+ ${PN}-systemd
-
 EXTRA_OECMAKE = -DWITH_SYSTEMD=ON
-- 
1.7.5.4

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 2/2] dlt-daemon: Use systemd class from meta-systemd

2012-11-14 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb |   31 ++
 1 files changed, 25 insertions(+), 6 deletions(-)

diff --git a/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb 
b/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb
index 7a20647..52a69f8 100644
--- a/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb
+++ b/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb
@@ -11,7 +11,7 @@ DESCRIPTION = This component provides a standardised log and 
trace interface, b
 HOMEPAGE = https://www.genivi.org/;
 SECTION = console/utils
 
-PR = r1
+PR = r2
 
 inherit gzipnative
 
@@ -23,11 +23,30 @@ SRC_URI = 
git://git.projects.genivi.org/${PN}.git;protocol=git;tag=v${PV}
 
 S = ${WORKDIR}/git
 
-inherit autotools gettext cmake
+inherit autotools gettext cmake systemd
 
-PACKAGES =+ ${PN}-systemd \
+SYSTEMD_PACKAGES =  \
+dlt-adaptor-udp-systemd \
+dlt-receive-systemd \
+dlt-system-systemd \
+dlt-example-systemd \
+dlt-daemon-systemd \
+
+SYSTEMD_SERVICE_dlt-adaptor-udp-systemd = dlt-adaptor-udp.service
+SYSTEMD_AUTO_ENABLE_dlt-adaptor-udp-systemd = disable
+SYSTEMD_SERVICE_dlt-receive-systemd = dlt-receive.service
+SYSTEMD_AUTO_ENABLE_dlt-receive-systemd = disable
+SYSTEMD_SERVICE_dlt-system-systemd = dlt-system.service
+SYSTEMD_AUTO_ENABLE_dlt-system-systemd = disable
+SYSTEMD_SERVICE_dlt-example-systemd = dlt-example-user.service
+SYSTEMD_AUTO_ENABLE_dlt-example-systemd = disable
+SYSTEMD_SERVICE_${PN}-systemd = dlt.service
+SYSTEMD_AUTO_ENABLE_${PN}-systemd = disable
+
+PACKAGES =+  \
  libdlt \
- dlt-adaptor \
+ dlt-adaptor-udp \
+ dlt-adaptor-stdin \
  dlt-convert \
  dlt-example \
  dlt-receive \
@@ -36,7 +55,8 @@ PACKAGES =+ ${PN}-systemd \
  
 
 FILES_libdlt = ${libdir}/*${SOLIBS}
-FILES_dlt-adaptor = ${bindir}/dlt-adaptor*
+FILES_dlt-adaptor-udp = ${bindir}/dlt-adaptor-stdin
+FILES_dlt-adaptor-stdin = ${bindir}/dlt-adaptor-udp
 FILES_dlt-convert = ${bindir}/dlt-convert*
 FILES_dlt-example = ${bindir}/dlt-example*
 FILES_dlt-receive = ${bindir}/dlt-receive*
@@ -44,6 +64,5 @@ FILES_dlt-system = ${bindir}/dlt-system* \
   ${sysconfdir}/dlt-system.conf
 FILES_dlt-test = ${bindir}/dlt-test* \
   ${datadir}/dlt-filetransfer
-FILES_${PN}-systemd += ${systemd_unitdir}/system/
 
 EXTRA_OECMAKE = -DWITH_SYSTEMD=ON
-- 
1.7.5.4

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH][meta-ivi] pango: Remove bbappend as upstream removed its dependency to gnome-common

2012-12-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 recipes-graphics/pango/pango_1.30.0.bbappend |8 
 1 files changed, 0 insertions(+), 8 deletions(-)
 delete mode 100644 recipes-graphics/pango/pango_1.30.0.bbappend

diff --git a/recipes-graphics/pango/pango_1.30.0.bbappend 
b/recipes-graphics/pango/pango_1.30.0.bbappend
deleted file mode 100644
index b2323e6..000
--- a/recipes-graphics/pango/pango_1.30.0.bbappend
+++ /dev/null
@@ -1,8 +0,0 @@
-PRINC = 1
-
-# gnome-common is GPLv3 so we drop this dependency
-# if INCOMPATIBLE_LICENSE contains GPLv3
-python () {
-if (d.getVar(INCOMPATIBLE_LICENSE, True) or ).find(GPLv3) != -1:
-d.setVar(DEPENDS,  .join(i for i in d.getVar(DEPENDS).split() if 
i != gnome-common))
-}
-- 
1.7.5.4

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 1/2] mesa-dri: Sync bbappend version with oe-core

2012-12-13 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 ...-dri_8.0.4.bbappend = mesa-dri_8.0.5.bbappend} |0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-graphics/mesa/{mesa-dri_8.0.4.bbappend = 
mesa-dri_8.0.5.bbappend} (100%)

diff --git a/recipes-graphics/mesa/mesa-dri_8.0.4.bbappend 
b/recipes-graphics/mesa/mesa-dri_8.0.5.bbappend
similarity index 100%
rename from recipes-graphics/mesa/mesa-dri_8.0.4.bbappend
rename to recipes-graphics/mesa/mesa-dri_8.0.5.bbappend
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 2/2] qt4-embedded: Sync bbappend version with oe-core

2012-12-13 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 ..._4.8.3.bbappend = qt4-embedded_4.8.4.bbappend} |0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-qt/qt4/{qt4-embedded_4.8.3.bbappend = 
qt4-embedded_4.8.4.bbappend} (100%)

diff --git a/recipes-qt/qt4/qt4-embedded_4.8.3.bbappend 
b/recipes-qt/qt4/qt4-embedded_4.8.4.bbappend
similarity index 100%
rename from recipes-qt/qt4/qt4-embedded_4.8.3.bbappend
rename to recipes-qt/qt4/qt4-embedded_4.8.4.bbappend
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-ivi][PATCH 1/2] mesa-dri: Sync bbappend version with oe-core

2012-12-14 Thread Andrei Gherzan
On Fri, Dec 14, 2012 at 1:07 PM, Burton, Ross ross.bur...@intel.com wrote:

 Hi,

 That append just does:

 PACKAGECONFIG_append_vexpressa9 =  gles egl

 But 8.0.5 (and actually some of the 8.0.4 releases) have:

 PACKAGECONFIG ??= ${@base_contains('DISTRO_FEATURES', 'x11', 'x11',
 '', d)} egl gles

 So you can drop the bbappend entirely on your master branch.


Will do but right now we need a fast solution to fix build.
Soon I will cleanup master.

ag
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 1/2] xserver-xorg: Remove dependency to libgl

2012-12-14 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 .../xorg-xserver/xserver-xorg_1.13.0.bbappend  |4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_1.13.0.bbappend 
b/recipes-graphics/xorg-xserver/xserver-xorg_1.13.0.bbappend
index c43684e..51573f6 100644
--- a/recipes-graphics/xorg-xserver/xserver-xorg_1.13.0.bbappend
+++ b/recipes-graphics/xorg-xserver/xserver-xorg_1.13.0.bbappend
@@ -1,6 +1,4 @@
-PRINC := ${@int(PRINC) + 3}
-
-LIB_DEPS += virtual/libgl
+PRINC := ${@int(PRINC) + 4}
 
 FILESEXTRAPATHS := ${THISDIR}/${PN}
 
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 2/2] layer-management: Replace dependency of libgl with egl

2012-12-14 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 .../layer-management/layer-management_0.9.9.bb |4 ++--
 .../layer-management/layer-management_git.bb   |4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes-graphics/layer-management/layer-management_0.9.9.bb 
b/recipes-graphics/layer-management/layer-management_0.9.9.bb
index eb6ceaf..81b8fd0 100644
--- a/recipes-graphics/layer-management/layer-management_0.9.9.bb
+++ b/recipes-graphics/layer-management/layer-management_0.9.9.bb
@@ -5,9 +5,9 @@ SECTION = environment/base
 LICENSE = Apache-2.0
 LIC_FILES_CHKSUM = file://LICENSE.txt;md5=071e6b9a5eb9fc5868edf57ce153e5b9
 
-DEPENDS = virtual/libgl dbus libxcomposite
+DEPENDS = virtual/egl dbus libxcomposite
 
-PR = r0
+PR = r1
 
 SRC_URI =  \

git://git.projects.genivi.org/layer_management.git;protocol=git;tag=ivi-layer-management_version_0_9_9
 \
diff --git a/recipes-graphics/layer-management/layer-management_git.bb 
b/recipes-graphics/layer-management/layer-management_git.bb
index 7be26c1..9af452d 100644
--- a/recipes-graphics/layer-management/layer-management_git.bb
+++ b/recipes-graphics/layer-management/layer-management_git.bb
@@ -6,9 +6,9 @@ SECTION = environment/base
 LICENSE = Apache-2.0
 LIC_FILES_CHKSUM = file://LICENSE.txt;md5=249d3578d6bba1bb946148d367a28080
 
-DEPENDS = virtual/libgl dbus libxcomposite
+DEPENDS = virtual/egl dbus libxcomposite
 
-PR = r2
+PR = r3
 
 SRCREV = 86c2dc9ef367b52fd5d05b53cbad5e21b9ab042f
 
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Raspberry Pi do_fetch failure

2013-01-04 Thread Andrei Gherzan
Please submit a bug / contact github with the problem you found. And if you
are so kind, please keep me posted.





*Andrei Gherzan*
mobile +40.744.478.414  fax +40.31.816.28.12
Email: and...@gherzan.ro
Email: andrei.gher...@windriver.com
Romania


On Thu, Jan 3, 2013 at 4:49 PM, ed nelson enelson1...@comcast.net wrote:

  On 01/02/2013 01:52 AM, Andrei Gherzan wrote:

  On Wed, Jan 2, 2013 at 6:12 AM, ed nelson enelson1...@comcast.netwrote:

   On 01/01/2013 06:50 PM, Andrei Gherzan wrote:

 On Tue, Jan 1, 2013 at 7:34 PM, ed nelson enelson1...@comcast.netwrote:

 I am getting a do_fetch failure on raspberrypi kernel.  Is anyone else
 having this problem?

 Build Configuration:
 BB_VERSION= 1.16.0
 TARGET_ARCH   = arm
 TARGET_OS = linux-gnueabi
 MACHINE   = raspberrypi
 DISTRO= poky
 DISTRO_VERSION= 1.3
 TUNE_FEATURES = armv6 vfp
 TARGET_FPU= vfp
 meta
 meta-yocto
 meta-yocto-bsp= danny:bf909b267498dbab4d7695c26b0dce903ac8b6b0
 meta-raspberrypi  = master:305c5259e24eaa9fb285ca983dc4f9454743fa0c

 NOTE: Resolving any missing task queue dependencies
 NOTE: Preparing runqueue
 NOTE: Executing SetScene Tasks
 NOTE: Executing RunQueue Tasks
 WARNING: Failed to fetch URL git://
 github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27,
 attempting MIRRORS if available
 ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
 Cloning into bare repository
 '/home/ed/oe/poky-danny/rasperryPiBuild/downloads/git2/github.com.raspberrypi.linux.git'...

 fatal: read error: Connection reset by peer
 fatal: early EOF
 fatal: index-pack failed

 ERROR: Function failed: Fetcher failure for URL: 'git://
 github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27'.
 Unable to fetch URL from any source.


 So this error hits again.

  It's something related  to github. I've seen this on other repos and
 solved it with a ticket to github - strangely I can't reproduce your issue
 now on my host. As i recall the clone would fail if --quiet was used. Can
 you confirm? Are you able to clone that repo manually? WIth --quiet too?

  Andrei


  When I manually try:
 $ git clone --quiet git://github.com/raspberrypi/linux.git
 The process hangs


 Wait a while and check if this fails after a while.

  Andrei


 It failed the same as the build.

 ed@ed-Aspire-5560:~/temp$ git clone --quiet git://
 github.com/raspberrypi/linux.git

 fatal: read error: Connection reset by peer
 fatal: early EOF
 fatal: index-pack failed

 Any suggestions?

 Thanks








___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH] layer.conf: Use .= for adding to BBPATH and += to BBFILES

2013-01-04 Thread Andrei Gherzan
Fixes parsing errors which is appearing after this commit to
meta-openembedded

http://cgit.openembedded.org/meta-openembedded/commit/?id=3c21a46020bd0816579648f684c41dbd6333583e

This triggers
exception NameError: name 'base_contains' is not defined
without this change

Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 conf/layer.conf |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/conf/layer.conf b/conf/layer.conf
index 1a90791..346cc0e 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -1,9 +1,10 @@
 BBPATH ?= 
 # We add conf directory to BBPATH
-BBPATH := ${BBPATH}:${LAYERDIR}
+BBPATH .= :${LAYERDIR}
 
 # We have a recipes directory containing .bb and .bbappend files, add to 
BBFILES
-BBFILES += ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend
+BBFILES += ${LAYERDIR}/recipes-*/*/*.bb \
+${LAYERDIR}/recipes-*/*/*.bbappend
 
 BBFILE_COLLECTIONS += ivi
 BBFILE_PATTERN_ivi := ^${LAYERDIR}/
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 1/4] MAINTAINERS: Add info about patch subject

2013-01-04 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 MAINTAINERS |1 +
 1 file changed, 1 insertion(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index 4149537..373bdd1 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2,6 +2,7 @@ This file contains a list of maintainers for the meta-ivi layer.
 
 Please submit any patches against meta-ivi to the maintainers
 (cc:ing the Yocto Project mailing list (yocto@yoctoproject.org))
+with '[meta-ivi]' in subject
 
 You may also contact the maintainers directly in case you have any questions
 on a particular meta-ivi topic, but please try to do the following first:
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 2/4] ofono: Sync version with oe-core

2013-01-04 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 .../{ofono_1.10.bbappend = ofono_1.12.bbappend}   |0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-connectivity/ofono/{ofono_1.10.bbappend = ofono_1.12.bbappend} 
(100%)

diff --git a/recipes-connectivity/ofono/ofono_1.10.bbappend 
b/recipes-connectivity/ofono/ofono_1.12.bbappend
similarity index 100%
rename from recipes-connectivity/ofono/ofono_1.10.bbappend
rename to recipes-connectivity/ofono/ofono_1.12.bbappend
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 3/4] xserver-xorg: Sync version with oe-core

2013-01-04 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 13.0.bbappend = xserver-xorg_1.13.1.bbappend} |0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-graphics/xorg-xserver/{xserver-xorg_1.13.0.bbappend = 
xserver-xorg_1.13.1.bbappend} (100%)

diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_1.13.0.bbappend 
b/recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend
similarity index 100%
rename from recipes-graphics/xorg-xserver/xserver-xorg_1.13.0.bbappend
rename to recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 4/4] node-startup-controller: Use public repository

2013-01-04 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 .../node-startup-controller_1.0.1.bb   |4 ++--
 .../node-startup-controller_git.bb |4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/recipes-extended/node-startup-controller/node-startup-controller_1.0.1.bb 
b/recipes-extended/node-startup-controller/node-startup-controller_1.0.1.bb
index 814760e..396c7ce 100644
--- a/recipes-extended/node-startup-controller/node-startup-controller_1.0.1.bb
+++ b/recipes-extended/node-startup-controller/node-startup-controller_1.0.1.bb
@@ -13,9 +13,9 @@ LICENSE = MPLv2
 LIC_FILES_CHKSUM = file://COPYING;md5=815ca599c9df247a0c7f619bab123dad
 
 # tag 1.0.1 : f109eab4393fcb55ecbb0a21d68436a5057a6b82
-SRC_URI = 
git://git.genivi.org/srv/git/${PN};protocol=git;tag=f109eab4393fcb55ecbb0a21d68436a5057a6b82
 \
+SRC_URI = 
git://git.projects.genivi.org/lifecycle/node-startup-controller.git;protocol=git;tag=f109eab4393fcb55ecbb0a21d68436a5057a6b82
 \
file://use-systemd-unit-dir.patch
-PR = r1
+PR = r2
 
 DEPENDS = glib-2.0 dlt-daemon systemd
 
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 9c02572..0d3b90c 100644
--- a/recipes-extended/node-startup-controller/node-startup-controller_git.bb
+++ b/recipes-extended/node-startup-controller/node-startup-controller_git.bb
@@ -14,11 +14,11 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=815ca599c9df247a0c7f619bab123dad
 
 SRCREV = 958e5ab2bc93ac0d885ca75f4f33988cbdd3e758
 PV = 1.0.0+git${SRCPV}
-PR = r1
+PR = r2
 
 DEFAULT_PREFERENCE = -1
 
-SRC_URI = git://git.genivi.org/srv/git/${PN};protocol=git
+SRC_URI = 
git://git.projects.genivi.org/lifecycle/node-startup-controller.git;protocol=git
 
 DEPENDS = glib-2.0 dlt-daemon systemd
 
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Raspberry Pi do_fetch failure

2013-01-04 Thread Andrei Gherzan
On Fri, Jan 4, 2013 at 10:22 PM, Alex J Lennon 
ajlen...@dynamicdevices.co.uk wrote:

 On 01/01/2013 17:34, ed nelson wrote:
  I am getting a do_fetch failure on raspberrypi kernel.  Is anyone else
  having this problem?
 
  Build Configuration:
  BB_VERSION= 1.16.0
  TARGET_ARCH   = arm
  TARGET_OS = linux-gnueabi
  MACHINE   = raspberrypi
  DISTRO= poky
  DISTRO_VERSION= 1.3
  TUNE_FEATURES = armv6 vfp
  TARGET_FPU= vfp
  meta
  meta-yocto
  meta-yocto-bsp= danny:bf909b267498dbab4d7695c26b0dce903ac8b6b0
  meta-raspberrypi  = master:305c5259e24eaa9fb285ca983dc4f9454743fa0c
 
  NOTE: Resolving any missing task queue dependencies
  NOTE: Preparing runqueue
  NOTE: Executing SetScene Tasks
  NOTE: Executing RunQueue Tasks
  WARNING: Failed to fetch URL
  git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27,
  attempting MIRRORS if available
  ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
  Cloning into bare repository
 
 '/home/ed/oe/poky-danny/rasperryPiBuild/downloads/git2/github.com.raspberrypi.linux.git'...
 
  fatal: read error: Connection reset by peer
  fatal: early EOF
  fatal: index-pack failed
 
  ERROR: Function failed: Fetcher failure for URL:
  'git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27'.
  Unable to fetch URL from any source.
 
  Thanks

 I'm rebuilding an RPi image from scratch here now for some testing and I
 see the same issue, which looks to be a GitHub hiccup.

 I do have a cached download of the RPi linux GitHub repository from a
 previous build, which you're welcome to use if it'll help you move
 forward whilst GitHub has this issue.

 I've tarred it up as github.com.raspberrypi.linux.git.tgz. You can
 extract this into the Yocto downloads directory and I believe it'll be
 picked up by the build tool, e.g.

 cd /path/to/yoctoProject/raspberryPiBuild/downloads
 tar xzf  /path/to/github.com.raspberrypi.linux.git.tgz

 You should see it go into a git2 folder in downloads.

 It's currently uploading to a DropBox public link at

 https://dl.dropbox.com/u/12130167/rpi/github.com.raspberrypi.linux.git.tgz

 (It's around 620MB so it'll be about an hour before it's up. I'll
 probably leave it up there over the weekend but it may disappear next
 week!)

 Cheers,

 Alex


Thank you Alex. Hope it will help Nelson.
ag
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 01/23] base-passwd: Modify patch as home directory of root user is /root

2013-01-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 .../base-passwd/add-default-root-pass.patch|4 ++--
 .../base-passwd/base-passwd_3.5.26.bbappend|2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/recipes-core-ivi/base-passwd/base-passwd/add-default-root-pass.patch 
b/recipes-core-ivi/base-passwd/base-passwd/add-default-root-pass.patch
index 48b0eb3..320841e 100644
--- a/recipes-core-ivi/base-passwd/base-passwd/add-default-root-pass.patch
+++ b/recipes-core-ivi/base-passwd/base-passwd/add-default-root-pass.patch
@@ -3,8 +3,8 @@ Index: base-passwd/passwd.master
 --- base-passwd.orig/passwd.master 2012-03-15 16:45:58.149968908 +0200
 +++ base-passwd/passwd.master  2012-03-15 16:47:26.094468934 +0200
 @@ -1,4 +1,4 @@
--root::0:0:root:/home/root:/bin/sh
-+root:\$1\$1DO/lR8M\$f8JOOu4W8GBZzdNzCgSW40:0:0:root:/home/root:/bin/sh
+-root::0:0:root:/root:/bin/sh
++root:\$1\$1DO/lR8M\$f8JOOu4W8GBZzdNzCgSW40:0:0:root:/root:/bin/sh
  daemon:*:1:1:daemon:/usr/sbin:/bin/sh
  bin:*:2:2:bin:/bin:/bin/sh
  sys:*:3:3:sys:/dev:/bin/sh
diff --git a/recipes-core-ivi/base-passwd/base-passwd_3.5.26.bbappend 
b/recipes-core-ivi/base-passwd/base-passwd_3.5.26.bbappend
index 8b73d9d..4e3c8a9 100644
--- a/recipes-core-ivi/base-passwd/base-passwd_3.5.26.bbappend
+++ b/recipes-core-ivi/base-passwd/base-passwd_3.5.26.bbappend
@@ -1,4 +1,4 @@
-PRINC := ${@int(PRINC) + 1}
+PRINC := ${@int(PRINC) + 2}
 FILESEXTRAPATHS := ${THISDIR}/${PN}
 
 SRC_URI += file://add-default-root-pass.patch \
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 02/23] README.md: Reformat file to use maximum 80 columns

2013-01-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 README.md |   14 ++
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index fe21807..386615b 100644
--- a/README.md
+++ b/README.md
@@ -41,19 +41,25 @@ following steps:
 
 2. Add meta-ivi path to COREBASE/build/conf/bblayers.conf file.
 
-3. Add meta-openembedded/meta-systemd path to 
COREBASE/build/conf/bblayers.conf file.
+3. Add meta-openembedded/meta-systemd path to COREBASE/build/conf/bblayers.conf
+file.
 
 4. Add meta-openembedded/meta-oe path to COREBASE/build/conf/bblayers.conf 
file.
 
-5. Add meta-openembedded/meta-gnome path to COREBASE/build/conf/bblayers.conf 
file.
+5. Add meta-openembedded/meta-gnome path to COREBASE/build/conf/bblayers.conf
+file.
 
-6. Add meta-openembedded/meta-networking path to 
COREBASE/build/conf/bblayers.conf file.
+6. Add meta-openembedded/meta-networking path to
+COREBASE/build/conf/bblayers.conf file.
 
 7. Set MACHINE ??= vexpressa9 or MACHINE ??= qemux86 in
 COREBASE/build/conf/local.conf file to build for an emulated ARMv7a or IA-32
 instruction-set maschine respectively.
 
-8. Add BBMASK = 
meta-systemd/meta-efl|meta-systemd/meta-gnome|meta-systemd/meta-multimedia|meta-systemd/meta-oe/recipes-support|meta-gnome/recipes-gnome
+8. Add
+BBMASK = meta-systemd/meta-efl|meta-systemd/meta-gnome|\
+meta-systemd/meta-multimedia|meta-systemd/meta-oe/recipes-support|\
+meta-gnome/recipes-gnome
 in COREBASE/build/conf/local.conf file.
 
 9. Add INCOMPATIBLE_LICENSE = GPLv3 in COREBASE/build/conf/local.conf file.
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 03/23] u-boot: Minor file reformatting

2013-01-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 recipes-bsp/u-boot/u-boot_2011.06.bbappend |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-bsp/u-boot/u-boot_2011.06.bbappend 
b/recipes-bsp/u-boot/u-boot_2011.06.bbappend
index 16e9f38..672a019 100644
--- a/recipes-bsp/u-boot/u-boot_2011.06.bbappend
+++ b/recipes-bsp/u-boot/u-boot_2011.06.bbappend
@@ -2,4 +2,4 @@
 FILESEXTRAPATHS := ${THISDIR}/files
 
 # Patch for removing autostart countdown
-SRC_URI_append_imx53qsb += file://no_delay.patch
\ No newline at end of file
+SRC_URI_append_imx53qsb += file://no_delay.patch
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 04/23] connman: Minor file reformatting

2013-01-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 recipes-connectivity/connman/connman_1.4.bbappend |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-connectivity/connman/connman_1.4.bbappend 
b/recipes-connectivity/connman/connman_1.4.bbappend
index 55d5955..cda612b 100644
--- a/recipes-connectivity/connman/connman_1.4.bbappend
+++ b/recipes-connectivity/connman/connman_1.4.bbappend
@@ -1,4 +1,4 @@
-PRINC = 2
+PRINC := ${@int(PRINC) + 2}
 
 INITSCRIPT_NAME = 
 INITSCRIPT_PARAMS = 
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 05/23] nfs-utils: Minor file reformatting

2013-01-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 .../nfs-utils/nfs-utils_1.2.3.bbappend |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend 
b/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend
index 005400f..cc459a9 100644
--- a/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend
+++ b/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend
@@ -1,4 +1,4 @@
-PRINC = 2
+PRINC := ${@int(PRINC) + 2}
 
 INITSCRIPT_NAME = 
 INITSCRIPT_PARAMS = 
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 06/23] bluez4: Minor file reformatting

2013-01-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 recipes-connectivity/bluez/bluez4_4.101.bbappend |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-connectivity/bluez/bluez4_4.101.bbappend 
b/recipes-connectivity/bluez/bluez4_4.101.bbappend
index 8f5da72..7610c18 100644
--- a/recipes-connectivity/bluez/bluez4_4.101.bbappend
+++ b/recipes-connectivity/bluez/bluez4_4.101.bbappend
@@ -1,4 +1,4 @@
-PRINC = 3
+PRINC := ${@int(PRINC) + 3}
 
 inherit systemd
 
@@ -11,4 +11,4 @@ do_configure_append () {
#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:' tools/hid2hci.c
-}
\ No newline at end of file
+}
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 07/23] obexd: Minor file reformatting

2013-01-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 recipes-connectivity/obexd/obexd_0.47.bb |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-connectivity/obexd/obexd_0.47.bb 
b/recipes-connectivity/obexd/obexd_0.47.bb
index 550a4ff..46817ef 100644
--- a/recipes-connectivity/obexd/obexd_0.47.bb
+++ b/recipes-connectivity/obexd/obexd_0.47.bb
@@ -16,4 +16,4 @@ FILES_${PN} += ${datadir}/dbus-1/services/${PN}.service
 FILES_obex-client = ${libexecdir}/obex-client \
  ${datadir}/dbus-1/services/obex-client.service
 # currently the plugins are empty
-FILES_obex-plugins = ${libdir}/obex/plugins
\ No newline at end of file
+FILES_obex-plugins = ${libdir}/obex/plugins
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 08/23] ofono: Minor file reformatting and fix bashism

2013-01-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 recipes-connectivity/ofono/ofono_1.12.bbappend |9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/recipes-connectivity/ofono/ofono_1.12.bbappend 
b/recipes-connectivity/ofono/ofono_1.12.bbappend
index 2cbc3ac..abe265e 100644
--- a/recipes-connectivity/ofono/ofono_1.12.bbappend
+++ b/recipes-connectivity/ofono/ofono_1.12.bbappend
@@ -1,4 +1,4 @@
-PRINC = 3
+PRINC := ${@int(PRINC) + 3}
 
 inherit systemd
 
@@ -12,8 +12,7 @@ INITSCRIPT_PARAMS = 
 
 # Remove init scripts
 do_install_append() {
-   if [[ ${DISTRO_FEATURES} == *systemd*  ]]
-   then
-   rm -rf ${D}${sysconfdir}/init.d/
-   fi
+   case ${DISTRO_FEATURES} in
+   *systemd*) rm -rf ${D}${sysconfdir}/init.d/
+   esac
 }
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 09/23] portmap: Minor file reformatting

2013-01-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 recipes-connectivity/portmap/portmap_6.0.bbappend |9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/recipes-connectivity/portmap/portmap_6.0.bbappend 
b/recipes-connectivity/portmap/portmap_6.0.bbappend
index ea1a1c8..515e9ee 100644
--- a/recipes-connectivity/portmap/portmap_6.0.bbappend
+++ b/recipes-connectivity/portmap/portmap_6.0.bbappend
@@ -1,6 +1,6 @@
-PRINC = 3
+PRINC := ${@int(PRINC) + 3}
 
-# Find local files and ${PN} directory
+# Find local ${PN} directory
 FILESEXTRAPATHS := ${THISDIR}/${PN}
 
 inherit systemd
@@ -9,8 +9,9 @@ SYSTEMD_PACKAGES = ${PN}-systemd
 SYSTEMD_SERVICE = portmap.service
 SYSTEMD_AUTO_ENABLE = disable
 
-SRC_URI_append =  file://portmap.service \
- 
+SRC_URI_append =  \
+file://portmap.service \
+
 
 INITSCRIPT_NAME = 
 INITSCRIPT_PARAMS = 
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 12/23] eglibc: Minor file reformatting

2013-01-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 recipes-core-ivi/eglibc/eglibc_2.16.bbappend |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-core-ivi/eglibc/eglibc_2.16.bbappend 
b/recipes-core-ivi/eglibc/eglibc_2.16.bbappend
index 715401d..0e82372 100644
--- a/recipes-core-ivi/eglibc/eglibc_2.16.bbappend
+++ b/recipes-core-ivi/eglibc/eglibc_2.16.bbappend
@@ -5,5 +5,5 @@ PRINC := ${@int(PRINC) + 1}
 
 # Add patch to avoid overwriting libc_cv_rootsbindir
 SRC_URI +=  \
- file://eglibc_2.16_add_af_bus_support.patch \
-   
+file://eglibc_2.16_add_af_bus_support.patch \
+
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 13/23] nebase: Minor file reformatting

2013-01-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 recipes-core-ivi/netbase/netbase_5.0.bbappend |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core-ivi/netbase/netbase_5.0.bbappend 
b/recipes-core-ivi/netbase/netbase_5.0.bbappend
index eb57879..d130a6f 100644
--- a/recipes-core-ivi/netbase/netbase_5.0.bbappend
+++ b/recipes-core-ivi/netbase/netbase_5.0.bbappend
@@ -6,5 +6,5 @@ INITSCRIPT_PARAMS = 
 
 # Remove installed init scripts
 do_install_append () {
-   rm -rvf ${D}${sysconfdir}/init.d
+rm -rvf ${D}${sysconfdir}/init.d
 }
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 15/23] dlt-daemon: Minor file reformatting

2013-01-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb |6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb 
b/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb
index 9cdbfc0..5be4aba 100644
--- a/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb
+++ b/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb
@@ -16,8 +16,10 @@ PR = r0
 inherit gzipnative
 
 LICENSE = MPLv2
-LIC_FILES_CHKSUM = file://LICENSE.txt;md5=99ba60c3fad7eaf8c56bca6dd75cba09 \
-   file://MPL.txt;md5=ccdb2761cef70c8b2612624c323f89dc
+LIC_FILES_CHKSUM =  \
+file://LICENSE.txt;md5=99ba60c3fad7eaf8c56bca6dd75cba09 \
+file://MPL.txt;md5=ccdb2761cef70c8b2612624c323f89dc \
+
 
 SRC_URI = git://git.projects.genivi.org/${PN}.git;protocol=git;tag=v${PV}
 
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 16/23] node-startup-controller: Remove git version recipe

2013-01-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 .../node-startup-controller_git.bb |   53 
 1 file changed, 53 deletions(-)
 delete mode 100644 
recipes-extended/node-startup-controller/node-startup-controller_git.bb

diff --git 
a/recipes-extended/node-startup-controller/node-startup-controller_git.bb 
b/recipes-extended/node-startup-controller/node-startup-controller_git.bb
deleted file mode 100644
index 0d3b90c..000
--- a/recipes-extended/node-startup-controller/node-startup-controller_git.bb
+++ /dev/null
@@ -1,53 +0,0 @@
-SUMMARY = GENIVI Node Startup Controller
-DESCRIPTION = The GENIVI Node Startup Controller \
-   - manages the Last User Context (LUC) \
-   - monitors node startup \
- and \
-   - manages legacy applications within a node \
-   
-
-HOMEPAGE = https://www.genivi.org/;
-SECTION = base
-
-LICENSE = MPLv2
-LIC_FILES_CHKSUM = file://COPYING;md5=815ca599c9df247a0c7f619bab123dad
-
-SRCREV = 958e5ab2bc93ac0d885ca75f4f33988cbdd3e758
-PV = 1.0.0+git${SRCPV}
-PR = r2
-
-DEFAULT_PREFERENCE = -1
-
-SRC_URI = 
git://git.projects.genivi.org/lifecycle/node-startup-controller.git;protocol=git
-
-DEPENDS = glib-2.0 dlt-daemon systemd
-
-S = ${WORKDIR}/git
-
-inherit autotools gtk-doc
-do_configure_prepend () {
-mkdir m4
-}
-
-PACKAGES =+ ${PN}-nsm-dummy ${PN}-nsm-dummy-dbg
-
-RRECOMMENDS_${PN} += ${PN}-nsm-dummy
-
-
-FILES_${PN} += \
-   ${libdir}/${PN}-1/${PN} \
-   ${libdir}/${PN}-1/legacy-app-handler \
-   ${libdir}/systemd/system/${PN}.service \
-   
${datadir}/dbus-1/system-services/org.genivi.NodeStartupController1.service \
-   
-FILES_${PN}-dbg += \
-   ${libdir}/${PN}-1/.debug/*ler \
-   
-FILES_${PN}-nsm-dummy = \
-   ${libdir}/${PN}-1/nsm-dummy \
-   ${libdir}/systemd/system/nsm-dummy.service \
-   ${datadir}/dbus-1/system-services/org.genivi.NodeStateManager.* \
-   
-FILES_${PN}-nsm-dummy-dbg = \
-   ${libdir}/${PN}-1/.debug/nsm-dummy \
-   
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 17/23] layer-management: Remove git version recipe

2013-01-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 .../include-unistd-for-alarm-in-example.patch  |   12 -
 ...include-unistd-for-usleep-in-OpenGLES2App.patch |   18 ---
 .../point-to-internal-CMakeVersions.patch  |   13 -
 .../layer-management/layer-management_git.bb   |   56 
 4 files changed, 99 deletions(-)
 delete mode 100644 
recipes-graphics/layer-management/layer-management-git/include-unistd-for-alarm-in-example.patch
 delete mode 100644 
recipes-graphics/layer-management/layer-management-git/include-unistd-for-usleep-in-OpenGLES2App.patch
 delete mode 100644 
recipes-graphics/layer-management/layer-management-git/point-to-internal-CMakeVersions.patch
 delete mode 100644 recipes-graphics/layer-management/layer-management_git.bb

diff --git 
a/recipes-graphics/layer-management/layer-management-git/include-unistd-for-alarm-in-example.patch
 
b/recipes-graphics/layer-management/layer-management-git/include-unistd-for-alarm-in-example.patch
deleted file mode 100644
index 20896b4..000
--- 
a/recipes-graphics/layer-management/layer-management-git/include-unistd-for-alarm-in-example.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: git/LayerManagerExamples/LayerManagerControl/src/commands.cpp
-===
 git.orig/LayerManagerExamples/LayerManagerControl/src/commands.cpp 
2012-07-12 16:51:49.695274924 +0300
-+++ git/LayerManagerExamples/LayerManagerControl/src/commands.cpp  
2012-07-12 16:52:03.231275452 +0300
-@@ -21,6 +21,7 @@
- #include ExpressionInterpreter.h
- #include iostream
- #include signal.h // signal
-+#include unistd.h
- 
- using namespace std;
- 
diff --git 
a/recipes-graphics/layer-management/layer-management-git/include-unistd-for-usleep-in-OpenGLES2App.patch
 
b/recipes-graphics/layer-management/layer-management-git/include-unistd-for-usleep-in-OpenGLES2App.patch
deleted file mode 100644
index 87a9379..000
--- 
a/recipes-graphics/layer-management/layer-management-git/include-unistd-for-usleep-in-OpenGLES2App.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Include unistd.h in OpenGLES2App.cpp as usleep is used in code
-
-Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
-Upstream-status: Pending
-
-Index: git/LayerManagerExamples/EGLX11MockNavigation/src/OpenGLES2App.cpp
-===
 git.orig/LayerManagerExamples/EGLX11MockNavigation/src/OpenGLES2App.cpp
2012-05-16 13:52:30.114057234 +0300
-+++ git/LayerManagerExamples/EGLX11MockNavigation/src/OpenGLES2App.cpp 
2012-05-16 13:52:46.674056640 +0300
-@@ -28,6 +28,8 @@
- #include math.h
- #include sys/time.h
- 
-+#include unistd.h
-+
- #define RUNTIME_IN_MS() (GetTickCount() - startTimeInMS)
- 
- // Max width and height of the window
diff --git 
a/recipes-graphics/layer-management/layer-management-git/point-to-internal-CMakeVersions.patch
 
b/recipes-graphics/layer-management/layer-management-git/point-to-internal-CMakeVersions.patch
deleted file mode 100644
index 5fd080f..000
--- 
a/recipes-graphics/layer-management/layer-management-git/point-to-internal-CMakeVersions.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: git/CMakeLists.txt
-===
 git.orig/CMakeLists.txt2012-02-16 13:02:02.257718578 +0200
-+++ git/CMakeLists.txt 2012-02-16 13:02:20.217968698 +0200
-@@ -22,7 +22,7 @@
- 
- set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} 
${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules/)
- 
--include(${CMAKE_MODULE_PATH}/CMakeVersions.txt)
-+include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules/CMakeVersions.txt)
- 
- # set default build type, if not defined by user
- if (NOT CMAKE_BUILD_TYPE)
diff --git a/recipes-graphics/layer-management/layer-management_git.bb 
b/recipes-graphics/layer-management/layer-management_git.bb
deleted file mode 100644
index 9af452d..000
--- a/recipes-graphics/layer-management/layer-management_git.bb
+++ /dev/null
@@ -1,56 +0,0 @@
-DESCRIPTION = LayerManager
-
-HOMEPAGE = https://www.genivi.org/;
-SECTION = environment/base
-
-LICENSE = Apache-2.0
-LIC_FILES_CHKSUM = file://LICENSE.txt;md5=249d3578d6bba1bb946148d367a28080
-
-DEPENDS = virtual/egl dbus libxcomposite
-
-PR = r3
-
-SRCREV = 86c2dc9ef367b52fd5d05b53cbad5e21b9ab042f
-
-DEFAULT_PREFERENCE = -1
-
-SRC_URI = git://git.projects.genivi.org/layer_management.git;protocol=git \
-  file://point-to-internal-CMakeVersions.patch \
-  file://include-unistd-for-usleep-in-OpenGLES2App.patch \
-  file://include-unistd-for-alarm-in-example.patch \
-  file://layermanager.service \
-  
-# Needed this for imx6 boards to use precompiled EGL libraries
-python () {
-if ((d.getVar(MACHINE, True) or ).find(imx6) != -1):
-   flags = d.getVar(OECMAKE_CXX_FLAGS, True)
-   flags +=  -DLINUX
-   d.setVar('OECMAKE_CXX_FLAGS', flags)
-}
-
-S = ${WORKDIR}/git
-
-inherit autotools gettext

[yocto] [meta-ivi][PATCH 18/23] shadow-securetty: Minor file reformatting

2013-01-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 .../shadow-securetty_4.1.4.3.bbappend  |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/recipes-extended/shadow-securetty/shadow-securetty_4.1.4.3.bbappend 
b/recipes-extended/shadow-securetty/shadow-securetty_4.1.4.3.bbappend
index e4fdd55..50a6c94 100644
--- a/recipes-extended/shadow-securetty/shadow-securetty_4.1.4.3.bbappend
+++ b/recipes-extended/shadow-securetty/shadow-securetty_4.1.4.3.bbappend
@@ -1,4 +1,4 @@
-PRINC = 1
+PRINC := ${@int(PRINC) + 1}
 
 FILESEXTRAPATHS := ${THISDIR}/${PN}
 
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 19/23] audiomanager: Remove git version recipe

2013-01-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 .../audiomanager/audiomanager_git.bb   |   43 
 1 file changed, 43 deletions(-)
 delete mode 100644 recipes-multimedia/audiomanager/audiomanager_git.bb

diff --git a/recipes-multimedia/audiomanager/audiomanager_git.bb 
b/recipes-multimedia/audiomanager/audiomanager_git.bb
deleted file mode 100644
index fc087d4..000
--- a/recipes-multimedia/audiomanager/audiomanager_git.bb
+++ /dev/null
@@ -1,43 +0,0 @@
-SUMMARY = Genivi AudioManager
-HOMEPAGE = https://www.genivi.org/;
-SECTION = multimedia
-
-LICENSE = MPLv2
-LIC_FILES_CHKSUM = file://LICENCE;md5=815ca599c9df247a0c7f619bab123dad
-
-PR = r4
-
-DEPENDS = dlt-daemon sqlite3 dbus
-
-SRC_URI = 
git://git.projects.genivi.org/AudioManager.git;protocol=git;tag=e33f72e932661784affc0f24d56f0e78fbac783f
 \
-   file://AudioManager.service file://setup_amgr.sh
-
-S = ${WORKDIR}/git
-inherit autotools gettext cmake pkgconfig systemd
-
-SYSTEMD_PACKAGES = ${PN}-systemd
-SYSTEMD_SERVICE = AudioManager.service
-SYSTEMD_AUTO_ENABLE = disable
-
-EXTRA_OECMAKE += -DWITH_TESTS=OFF -DUSE_BUILD_LIBS=OFF
-OECMAKE_CXX_FLAGS +=-ldl
-
-FILES_${PN} += ${libdir}/audioManager/command/*.so.* \
-${libdir}/audioManager/control/*.so.* \
-${libdir}/audioManager/routing/*.so.* \
-
-FILES_${PN}-dev += ${libdir}/audioManager/command/*.so \
-${libdir}/audioManager/control/*.so \
-${libdir}/audioManager/routing/*.so \
-
-
-FILES_${PN}-dbg += ${libdir}/audioManager/command/.debug/* \
-${libdir}/audioManager/control/.debug/* \
-${libdir}/audioManager/routing/.debug/* \
-
-FILES_${PN}-systemd += ${systemd_unitdir}/scripts
-
-do_install_append() {
-mkdir -p ${D}${systemd_unitdir}/scripts/
-install -m 0755 ${WORKDIR}/setup_amgr.sh 
${D}${systemd_unitdir}/scripts/setup_amgr.sh
-}
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 20/23] mesa-dri: egl and gles are added by default in PACKAGECONFIG

2013-01-06 Thread Andrei Gherzan
oe-core mesa-dri recipe includes egl and gles by default now in
PACKAGECONFIG. Drop this bbappend.

Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 recipes-graphics/mesa/mesa-dri_8.0.5.bbappend |2 --
 1 file changed, 2 deletions(-)
 delete mode 100644 recipes-graphics/mesa/mesa-dri_8.0.5.bbappend

diff --git a/recipes-graphics/mesa/mesa-dri_8.0.5.bbappend 
b/recipes-graphics/mesa/mesa-dri_8.0.5.bbappend
deleted file mode 100644
index db4a459..000
--- a/recipes-graphics/mesa/mesa-dri_8.0.5.bbappend
+++ /dev/null
@@ -1,2 +0,0 @@
-PRINC := ${@int(PRINC) + 1}
-PACKAGECONFIG_append_vexpressa9 =  gles egl
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 21/23] tiff: Minor file reformatting

2013-01-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 recipes-multimedia/libtiff/tiff_4.0.3.bbappend |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-multimedia/libtiff/tiff_4.0.3.bbappend 
b/recipes-multimedia/libtiff/tiff_4.0.3.bbappend
index 54309d7..238795f 100644
--- a/recipes-multimedia/libtiff/tiff_4.0.3.bbappend
+++ b/recipes-multimedia/libtiff/tiff_4.0.3.bbappend
@@ -1,4 +1,4 @@
-PRINC = 1
+PRINC := ${@int(PRINC) + 1}
 
 # xz is GPLv3 so remove it from DEPENDS if INCOMPATIBLE_LICENSE contains GPLv3
 python () {
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 23/23] consolekit: Minor file reformatting

2013-01-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 .../consolekit/consolekit_0.4.5.bbappend   |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-support-ivi/consolekit/consolekit_0.4.5.bbappend 
b/recipes-support-ivi/consolekit/consolekit_0.4.5.bbappend
index 378631e..1dccee5 100644
--- a/recipes-support-ivi/consolekit/consolekit_0.4.5.bbappend
+++ b/recipes-support-ivi/consolekit/consolekit_0.4.5.bbappend
@@ -1,4 +1,4 @@
-PRINC = 1
+PRINC := ${@int(PRINC) + 1}
 
 # gnome-common is GPLv3 so we drop this dependency
 # if INCOMPATIBLE_LICENSE contains GPLv3
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Raspberry Pi do_fetch failure

2013-01-07 Thread Andrei Gherzan
On Mon, Jan 7, 2013 at 7:53 PM, Robert P. J. Day rpj...@crashcourse.cawrote:

 On Mon, 7 Jan 2013, Alex J Lennon wrote:

   Alex
  
   Thanks I was able to download and build core-image-sato
  
   Having discussion with github but no real solution yet.
  
 
  Hi Ed, I'm glad that was useful in moving you forward. I did some
  googling and this issue with GitHub does seem to pop up
  intermittently. My gut feeling is there's some kind of resource
  issue, perhaps related to compression on the server. Some of the
  comments do seem to suggest that disabling compression helps.
 
  I do wonder if someone from the Yocto project is able to fork the
  RPi linux repo and mirror either the Git repo itself or an archive
  of that (and indeed if that's a good idea)?

   is there a current diagnosis for this github fetching irritation?  i
 thought i'd take a shot at building for rpi and, like others, i failed
 to fetch the kernel from github:

 WARNING: Failed to fetch URL
 git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27,
 attempting MIRRORS if available
 ERROR: Fetcher failure: Fetch command failed with exit code 128,
 output:
 Cloning into bare repository

 '/home/rpjday/oe/builds/rpi/downloads/git2/github.com.raspberrypi.linux.git'...

 fatal: The remote end hung up unexpectedly
 fatal: early EOF
 fatal: index-pack failed

 ERROR: Function failed: Fetcher failure for URL:
 'git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27'.
 Unable to fetch URL from any source.
 ERROR: Logfile of failure stored in:

 /home/rpjday/oe/builds/rpi/tmp-eglibc/work/armv6-vfp-oe-linux-gnueabi/linux-libc-headers-raspberrypi/3.2.27-r0/temp/log.do_fetch.1278
 ERROR: Task 62

 (/home/rpjday/oe/dist/layers/meta-raspberrypi/recipes-kernel/linux-libc-headers/
 linux-libc-headers-raspberrypi_3.2.27.bb,
 do_fetch) failed with exit code '1'

   thoughts?  i've tried a few times this morning, same result each
 time.

 rday


I tested it today too and i ended up using a shared download directory. The
problem is at github. Will submit a bug (even if somebody already did).
More bugs - many changes to get it fixed soon. Keep you posted.

ag
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Raspberry Pi do_fetch failure

2013-01-07 Thread Andrei Gherzan
On Mon, Jan 7, 2013 at 8:07 PM, Robert P. J. Day rpj...@crashcourse.cawrote:

 On Mon, 7 Jan 2013, Alex J Lennon wrote:

  On 07/01/2013 17:53, Robert P. J. Day wrote:
   fatal: The remote end hung up unexpectedly
   fatal: early EOF
   fatal: index-pack failed
 
  fwiw there's a note here which relates to Cygwin:
 
 
 http://stackoverflow.com/questions/2505644/git-checking-out-problem-fatal-early-eofs
 
  I wonder if it might be worth trying the compression setting to see if
  that helps (less than ideal I know)
 
  git config --add core.compression -1

   i'm just heading out for a bit, i'll give that a shot when i get
 home (unless someone else wants to try it first).  but FWIW, i've had
 fetching issues before with kernel source for other builds -- it's not
 like raspberry pi is the only configuration where i've seen this
 error.


As i said. We fixed an identical problem for fsl months ago. Fix? Github
support ticket.

ag
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH] consolekit: Remove bbappend as gnome-common is not GPLv3

2013-01-10 Thread Andrei Gherzan
gnome-common's LICENSE fixed with this oe-core commit:
commit 97469db0cba6d21ab1290238225d3fe365931a5c
Author: Ross Burton ross.bur...@intel.com
Date:   Tue Oct 30 12:02:45 2012 +

gnome-common: Fix license
gnome-common 2.28 is GPLv2+.  From Christian Persch, upstream:
The licence is presumed GPL2+, although it's not there explicitly. GPL2+
because as far as I could figure out when I tried to, gnome-autogen started in
gnome-core which had a GPL2 COPYING file.

Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 .../consolekit/consolekit_0.4.5.bbappend   |8 
 1 file changed, 8 deletions(-)
 delete mode 100644 recipes-support-ivi/consolekit/consolekit_0.4.5.bbappend

diff --git a/recipes-support-ivi/consolekit/consolekit_0.4.5.bbappend 
b/recipes-support-ivi/consolekit/consolekit_0.4.5.bbappend
deleted file mode 100644
index 1dccee5..000
--- a/recipes-support-ivi/consolekit/consolekit_0.4.5.bbappend
+++ /dev/null
@@ -1,8 +0,0 @@
-PRINC := ${@int(PRINC) + 1}
-
-# gnome-common is GPLv3 so we drop this dependency
-# if INCOMPATIBLE_LICENSE contains GPLv3
-python () {
-if (d.getVar(INCOMPATIBLE_LICENSE, True) or ).find(GPLv3) != -1:
-d.setVar(DEPENDS,  .join(i for i in d.getVar(DEPENDS).split() if 
i != gnome-common and i != gconf and i != gconf-native))
-}
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-intel][PATCH 1/2] ffmpeg: Remove package as nobody depends on it anymore

2013-01-13 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan and...@gherzan.ro
---
 common/recipes-multimedia/ffmpeg/ffmpeg.inc   |  110 -
 common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb |   44 -
 2 files changed, 154 deletions(-)
 delete mode 100644 common/recipes-multimedia/ffmpeg/ffmpeg.inc
 delete mode 100644 common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb

diff --git a/common/recipes-multimedia/ffmpeg/ffmpeg.inc 
b/common/recipes-multimedia/ffmpeg/ffmpeg.inc
deleted file mode 100644
index 3ce950e..000
--- a/common/recipes-multimedia/ffmpeg/ffmpeg.inc
+++ /dev/null
@@ -1,110 +0,0 @@
-DESCRIPTION = FFmpeg is a complete solution to record, convert and stream 
audio and video
-HOMEPAGE = http://ffmpeg.mplayerhq.hu/;
-AUTHOR = Fabrice Bellard ffmpeg-de...@mplayerhq.hu
-SECTION = libs
-PRIORITY = optional
-LICENSE = GPLv2+  LGPLv2.1+
-
-LICENSE_FLAGS = commercial
-
-ARM_INSTRUCTION_SET = arm
-
-DEPENDS = zlib libogg libvorbis libtheora liba52 libva yasm-native
-
-INC_PR = r0
-
-inherit autotools pkgconfig
-
-LEAD_SONAME = libavcodec.so
-
-EXTRA_OECONF = \
-\
---enable-pp \
---enable-shared \
---enable-pthreads \
---enable-gpl \
-\
---cross-prefix=${TARGET_PREFIX} \
---disable-debug \
---disable-ffserver \
---disable-ffplay \
-\
-
-
-EXTRA_OECONF_append_powerpc += 
--${@['disable-altivec','enable-altivec'][bb.data.getVar('BASE_PACKAGE_ARCH',d,1)
 in ['ppce600']]}
-
-FFMPEG_LIBS = libavcodec libavdevice libavformat \
-   libavutil libpostproc libswscale libavfilter
-
-SYSROOT_PREPROCESS_FUNCS =  \
-  ffmpeg_stage_cleanup \
-  ffmpeg_create_compat_links
-
-ffmpeg_create_compat_links() {
-rm -rf ${SYSROOT_DESTDIR}${includedir}/ffmpeg
-mkdir -m 0755 ${SYSROOT_DESTDIR}${includedir}/ffmpeg
-cd ${SYSROOT_DESTDIR}${includedir}/ffmpeg
-
-for lib in ${FFMPEG_LIBS}; do
-ln -s ../$lib/*.h '.' || true
-done
-}
-
-ffmpeg_stage_cleanup() {
-rm -rf ${SYSROOT_DESTDIR}${libdir}/vhook \
-${SYSROOT_DESTDIR}${datadir}
-}
-
-PACKAGES += ${PN}-vhook-dbg ${PN}-vhook
-
-FILES_${PN} = ${bindir}
-FILES_${PN}-dev = ${includedir}/${PN}
-
-FILES_${PN}-vhook = ${libdir}/vhook
-FILES_${PN}-vhook-dbg += ${libdir}/vhook/.debug
-
-PACKAGES += ffmpeg-x264-presets \
- libavcodec  libavcodec-dev  libavcodec-dbg \
- libavdevice libavdevice-dev libavdevice-dbg \
- libavformat libavformat-dev libavformat-dbg \
- libavutil   libavutil-dev   libavutil-dbg \
- libpostproc libpostproc-dev libpostproc-dbg \
- libswscale  libswscale-dev  libswscale-dbg \
- libavfilter libavfilter-dev libavfilter-dbg \
- libavcore   libavcore-dev   libavcore-dbg \
-
-
-FILES_ffmpeg-x264-presets = ${datadir}/*.ffpreset
-
-FILES_${PN}-dev = ${includedir}
-FILES_libavcodec = ${libdir}/libavcodec*.so.*
-FILES_libavcodec-dev = ${libdir}/libavcodec*.so 
${libdir}/pkgconfig/libavcodec.pc ${libdir}/libavcodec*.a
-FILES_libavcodec-dbg += ${libdir}/.debug/libavcodec*
-
-FILES_libavdevice = ${libdir}/libavdevice*.so.*
-FILES_libavdevice-dev = ${libdir}/libavdevice*.so 
${libdir}/pkgconfig/libavdevice.pc ${libdir}/libavdevice*.a
-FILES_libavdevice-dbg += ${libdir}/.debug/libavdevice*
-
-FILES_libavformat = ${libdir}/libavformat*.so.*
-FILES_libavformat-dev = ${libdir}/libavformat*.so 
${libdir}/pkgconfig/libavformat.pc ${libdir}/libavformat*.a
-FILES_libavformat-dbg += ${libdir}/.debug/libavformat*
-
-FILES_libavutil = ${libdir}/libavutil*.so.*
-FILES_libavutil-dev = ${libdir}/libavutil*.so 
${libdir}/pkgconfig/libavutil.pc ${libdir}/libavutil*.a
-FILES_libavutil-dbg += ${libdir}/.debug/libavutil*
-
-FILES_libpostproc = ${libdir}/libpostproc*.so.*
-FILES_libpostproc-dev = ${libdir}/libpostproc*.so  
${libdir}/pkgconfig/libpostproc.pc ${libdir}/libpostproc*.a 
${includedir}/postproc
-FILES_libpostproc-dbg += ${libdir}/.debug/libpostproc*
-
-FILES_libswscale = ${libdir}/libswscale*.so.*
-FILES_libswscale-dev = ${libdir}/libswscale*.so 
${libdir}/pkgconfig/libswscale.pc ${libdir}/libswscale*.a
-FILES_libswscale-dbg += ${libdir}/.debug/libswscale*
-
-FILES_libavfilter = ${libdir}/libavfilter*.so.*
-FILES_libavfilter-dev = ${libdir}/libavfilter*.so 
${libdir}/pkgconfig/libavfilter.pc ${libdir}/libavfilter*.a
-FILES_libavfilter-dbg += ${libdir}/.debug/libavfilter*
-
-FILES_libavcore = ${libdir}/libavcore*.so.*
-FILES_libavcore-dev = ${libdir}/libavcore*.so 
${libdir}/pkgconfig/libavcore.pc ${libdir}/libavcore*.a
-FILES_libavcore-dbg += ${libdir}/.debug/libavcore*
diff --git a/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb 
b/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
deleted file mode 100644
index cf97a19..000
--- a/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
+++ /dev/null
@@ -1,44 +0,0 @@
-require ffmpeg.inc
-
-LICENSE = LGPLv2.1+  GPLv2+
-PR = ${INC_PR}.2
-
-SRC_URI = http

[yocto] [meta-intel][PATCH 2/2] fri2.conf: mesa-dri was updated to 9.0.1

2013-01-13 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan and...@gherzan.ro
---
 meta-fri2/conf/machine/fri2.conf |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-fri2/conf/machine/fri2.conf b/meta-fri2/conf/machine/fri2.conf
index 0efba2a..07ad750 100644
--- a/meta-fri2/conf/machine/fri2.conf
+++ b/meta-fri2/conf/machine/fri2.conf
@@ -27,7 +27,7 @@ XSERVER ?= ${XSERVER_IA32_BASE} \

 
 PREFERRED_VERSION_xserver-xorg ?= 1.9.3
-PREFERRED_VERSION_mesa-dri ?= 8.0.4
+PREFERRED_VERSION_mesa-dri ?= 9.0.1
 PREFERRED_VERSION_xf86-input-evdev ?= 2.6.0
 PREFERRED_VERSION_emgd-driver-bin ?= 1.14
 
-- 
1.7.10.4

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-intel][PATCH 2/2] fri2.conf: mesa-dri was updated to 9.0.1

2013-01-13 Thread Andrei Gherzan
On Sun, Jan 13, 2013 at 6:44 PM, Ross Burton ross.bur...@intel.com wrote:

  Sorry for top posting... Have you verified that GL still works with this
 major version bump?

 Ross
 --
 Ross Burton
 Sent with Sparrow http://www.sparrowmailapp.com/?sig

 On Sunday, 13 January 2013 at 16:23, Andrei Gherzan wrote:

 Signed-off-by: Andrei Gherzan and...@gherzan.ro
 ---
 meta-fri2/conf/machine/fri2.conf | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

 diff --git a/meta-fri2/conf/machine/fri2.conf
 b/meta-fri2/conf/machine/fri2.conf
 index 0efba2a..07ad750 100644
 --- a/meta-fri2/conf/machine/fri2.conf
 +++ b/meta-fri2/conf/machine/fri2.conf
 @@ -27,7 +27,7 @@ XSERVER ?= ${XSERVER_IA32_BASE} \
 
 PREFERRED_VERSION_xserver-xorg ?= 1.9.3
 -PREFERRED_VERSION_mesa-dri ?= 8.0.4
 +PREFERRED_VERSION_mesa-dri ?= 9.0.1
 PREFERRED_VERSION_xf86-input-evdev ?= 2.6.0
 PREFERRED_VERSION_emgd-driver-bin ?= 1.14

 Tested with a new sato build on master. Everything seems to be OK.

ag
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-intel][PATCH 2/2] fri2.conf: mesa-dri was updated to 9.0.1

2013-01-13 Thread Andrei Gherzan
On Sun, Jan 13, 2013 at 10:03 PM, Ross Burton ross.bur...@intel.com wrote:

 On Sunday, 13 January 2013 at 19:39, Andrei Gherzan wrote:
  Tested with a new sato build on master. Everything seems to be OK.

 glxinfo/glxgears or something that actually uses the hardware?


Yes. That too.
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-ivi][PATCH 01/23] base-passwd: Modify patch as home directory of root user is /root

2013-01-14 Thread Andrei Gherzan
On Mon, Jan 7, 2013 at 5:22 AM, ChenQi qi.c...@windriver.com wrote:

 Home directory is now configurable now.
 You could specify it in local.conf.

 See the following commits for more details.

 845c2c0 oprofile: use dynamic root home directory
 2af073a base-passwd: use configurable root home directory
 07b842f base-files: use dynamic root home directory
 de5b44a bitbake.conf: import var ROOT_HOME


This bbappend was added to modify the default password of root. And we
modify the whole root line from passwd.master which includes the home
directory. And as home directory was moved to /home we had to rebase this
patch too.

ag
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-intel][PATCH 2/2] fri2.conf: mesa-dri was updated to 9.0.1

2013-01-24 Thread Andrei Gherzan
On Sun, Jan 13, 2013 at 11:06 PM, Andrei Gherzan and...@gherzan.ro wrote:

 On Sun, Jan 13, 2013 at 10:03 PM, Ross Burton ross.bur...@intel.comwrote:

 On Sunday, 13 January 2013 at 19:39, Andrei Gherzan wrote:
  Tested with a new sato build on master. Everything seems to be OK.

 glxinfo/glxgears or something that actually uses the hardware?


 Yes. That too.


Ping.

-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-intel][PATCH 1/2] ffmpeg: Remove package as nobody depends on it anymore

2013-01-24 Thread Andrei Gherzan
Ping


On Sun, Jan 13, 2013 at 6:23 PM, Andrei Gherzan and...@gherzan.ro wrote:

 Signed-off-by: Andrei Gherzan and...@gherzan.ro
 ---
  common/recipes-multimedia/ffmpeg/ffmpeg.inc   |  110
 -
  common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb |   44 -
  2 files changed, 154 deletions(-)
  delete mode 100644 common/recipes-multimedia/ffmpeg/ffmpeg.inc
  delete mode 100644 common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb

 diff --git a/common/recipes-multimedia/ffmpeg/ffmpeg.inc
 b/common/recipes-multimedia/ffmpeg/ffmpeg.inc
 deleted file mode 100644
 index 3ce950e..000
 --- a/common/recipes-multimedia/ffmpeg/ffmpeg.inc
 +++ /dev/null
 @@ -1,110 +0,0 @@
 -DESCRIPTION = FFmpeg is a complete solution to record, convert and
 stream audio and video
 -HOMEPAGE = http://ffmpeg.mplayerhq.hu/;
 -AUTHOR = Fabrice Bellard ffmpeg-de...@mplayerhq.hu
 -SECTION = libs
 -PRIORITY = optional
 -LICENSE = GPLv2+  LGPLv2.1+
 -
 -LICENSE_FLAGS = commercial
 -
 -ARM_INSTRUCTION_SET = arm
 -
 -DEPENDS = zlib libogg libvorbis libtheora liba52 libva yasm-native
 -
 -INC_PR = r0
 -
 -inherit autotools pkgconfig
 -
 -LEAD_SONAME = libavcodec.so
 -
 -EXTRA_OECONF = \
 -\
 ---enable-pp \
 ---enable-shared \
 ---enable-pthreads \
 ---enable-gpl \
 -\
 ---cross-prefix=${TARGET_PREFIX} \
 ---disable-debug \
 ---disable-ffserver \
 ---disable-ffplay \
 -\
 -
 -
 -EXTRA_OECONF_append_powerpc +=
 --${@['disable-altivec','enable-altivec'][bb.data.getVar('BASE_PACKAGE_ARCH',d,1)
 in ['ppce600']]}
 -
 -FFMPEG_LIBS = libavcodec libavdevice libavformat \
 -   libavutil libpostproc libswscale libavfilter
 -
 -SYSROOT_PREPROCESS_FUNCS =  \
 -  ffmpeg_stage_cleanup \
 -  ffmpeg_create_compat_links
 -
 -ffmpeg_create_compat_links() {
 -rm -rf ${SYSROOT_DESTDIR}${includedir}/ffmpeg
 -mkdir -m 0755 ${SYSROOT_DESTDIR}${includedir}/ffmpeg
 -cd ${SYSROOT_DESTDIR}${includedir}/ffmpeg
 -
 -for lib in ${FFMPEG_LIBS}; do
 -ln -s ../$lib/*.h '.' || true
 -done
 -}
 -
 -ffmpeg_stage_cleanup() {
 -rm -rf ${SYSROOT_DESTDIR}${libdir}/vhook \
 -${SYSROOT_DESTDIR}${datadir}
 -}
 -
 -PACKAGES += ${PN}-vhook-dbg ${PN}-vhook
 -
 -FILES_${PN} = ${bindir}
 -FILES_${PN}-dev = ${includedir}/${PN}
 -
 -FILES_${PN}-vhook = ${libdir}/vhook
 -FILES_${PN}-vhook-dbg += ${libdir}/vhook/.debug
 -
 -PACKAGES += ffmpeg-x264-presets \
 - libavcodec  libavcodec-dev  libavcodec-dbg \
 - libavdevice libavdevice-dev libavdevice-dbg \
 - libavformat libavformat-dev libavformat-dbg \
 - libavutil   libavutil-dev   libavutil-dbg \
 - libpostproc libpostproc-dev libpostproc-dbg \
 - libswscale  libswscale-dev  libswscale-dbg \
 - libavfilter libavfilter-dev libavfilter-dbg \
 - libavcore   libavcore-dev   libavcore-dbg \
 -
 -
 -FILES_ffmpeg-x264-presets = ${datadir}/*.ffpreset
 -
 -FILES_${PN}-dev = ${includedir}
 -FILES_libavcodec = ${libdir}/libavcodec*.so.*
 -FILES_libavcodec-dev = ${libdir}/libavcodec*.so
 ${libdir}/pkgconfig/libavcodec.pc ${libdir}/libavcodec*.a
 -FILES_libavcodec-dbg += ${libdir}/.debug/libavcodec*
 -
 -FILES_libavdevice = ${libdir}/libavdevice*.so.*
 -FILES_libavdevice-dev = ${libdir}/libavdevice*.so
 ${libdir}/pkgconfig/libavdevice.pc ${libdir}/libavdevice*.a
 -FILES_libavdevice-dbg += ${libdir}/.debug/libavdevice*
 -
 -FILES_libavformat = ${libdir}/libavformat*.so.*
 -FILES_libavformat-dev = ${libdir}/libavformat*.so
 ${libdir}/pkgconfig/libavformat.pc ${libdir}/libavformat*.a
 -FILES_libavformat-dbg += ${libdir}/.debug/libavformat*
 -
 -FILES_libavutil = ${libdir}/libavutil*.so.*
 -FILES_libavutil-dev = ${libdir}/libavutil*.so
 ${libdir}/pkgconfig/libavutil.pc ${libdir}/libavutil*.a
 -FILES_libavutil-dbg += ${libdir}/.debug/libavutil*
 -
 -FILES_libpostproc = ${libdir}/libpostproc*.so.*
 -FILES_libpostproc-dev = ${libdir}/libpostproc*.so
  ${libdir}/pkgconfig/libpostproc.pc ${libdir}/libpostproc*.a
 ${includedir}/postproc
 -FILES_libpostproc-dbg += ${libdir}/.debug/libpostproc*
 -
 -FILES_libswscale = ${libdir}/libswscale*.so.*
 -FILES_libswscale-dev = ${libdir}/libswscale*.so
 ${libdir}/pkgconfig/libswscale.pc ${libdir}/libswscale*.a
 -FILES_libswscale-dbg += ${libdir}/.debug/libswscale*
 -
 -FILES_libavfilter = ${libdir}/libavfilter*.so.*
 -FILES_libavfilter-dev = ${libdir}/libavfilter*.so
 ${libdir}/pkgconfig/libavfilter.pc ${libdir}/libavfilter*.a
 -FILES_libavfilter-dbg += ${libdir}/.debug/libavfilter*
 -
 -FILES_libavcore = ${libdir}/libavcore*.so.*
 -FILES_libavcore-dev = ${libdir}/libavcore*.so
 ${libdir}/pkgconfig/libavcore.pc ${libdir}/libavcore*.a
 -FILES_libavcore-dbg += ${libdir}/.debug/libavcore*
 diff --git 
 a/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bbb/common/recipes-multimedia/ffmpeg/
 ffmpeg_0.7.12.bb
 deleted file mode

[yocto] meta-raspberrypi has a new home - yocto

2013-01-24 Thread Andrei Gherzan
Hello raspberrypi owners,

I am happy to announce that yoctoproject hosts now the meta-raspberrypi BSP
layer.
The web interface is now up and running:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/ and we will use
the yocto mailing list for meta-raspberrypi specific discussions. Please
don't forget to add [meta-raspberrypi] in subject.

For more information check the included README in the layer.

In the end i want to thank the group who added value to this layer:

Aurelian Zanoschi
David-John Willis
Gary Thomas
Jack Mitchell
Julian Scheel
Koen Kooi
Paul Eggleton
Sander van Grieken
Tomas Frydrych
Tyler Hall

Special thanks to David-John Willis. He's actually the owner. :)

Keep up the good work guys!

-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] meta-raspberrypi has a new home - yocto

2013-01-25 Thread Andrei Gherzan
On Fri, Jan 25, 2013 at 11:43 AM, Jack Mitchell m...@communistcode.co.ukwrote:

 On 24/01/13 19:45, Andrei Gherzan wrote:

 Hello raspberrypi owners,

 I am happy to announce that yoctoproject hosts now the meta-raspberrypi
 BSP layer.
 The web interface is now up and running: http://git.yoctoproject.org/**
 cgit/cgit.cgi/meta-**raspberrypi/http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/and
  we will use the yocto mailing list for meta-raspberrypi specific
 discussions. Please don't forget to add [meta-raspberrypi] in subject.

 For more information check the included README in the layer.

 In the end i want to thank the group who added value to this layer:

 Aurelian Zanoschi
 David-John Willis
 Gary Thomas
 Jack Mitchell
 Julian Scheel
 Koen Kooi
 Paul Eggleton
 Sander van Grieken
 Tomas Frydrych
 Tyler Hall

 Special thanks to David-John Willis. He's actually the owner. :)

 Keep up the good work guys!

 --
 *Andrei Gherzan*

 m: +40.744.478.414 |  f: +40.31.816.28.12


 __**_
 yocto mailing list
 yocto@yoctoproject.org
 https://lists.yoctoproject.**org/listinfo/yoctohttps://lists.yoctoproject.org/listinfo/yocto


 Will the github layer be kept in sync or should we update our git origins?


Would be easier for maintainers to use a single repo source. But if people
really want to use github, I will try to keep that repo in sync too.
-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 3/3] sdcard-image: Use the size of the generated rootfs

2013-01-25 Thread Andrei Gherzan
On Fri, Jan 25, 2013 at 3:33 PM, Jan Schmidt thay...@noraisin.net wrote:

 When constructing the SD card image, the code was using
 the inherited ROOTFS_SIZE, which is the size of the
 rootfs contents. When building (for example) a compressed
 rootfs, this allocates a partition much larger than necessary.

 Instead, take the size of the generated rootfs file that is
 about to be written into the generated image.

 Signed-off-by: Jan Schmidt thay...@noraisin.net
 ---
  classes/sdcard_image-rpi.bbclass |5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)

 diff --git a/classes/sdcard_image-rpi.bbclass
 b/classes/sdcard_image-rpi.bbclass
 index 421f561..355ff9c 100644
 --- a/classes/sdcard_image-rpi.bbclass
 +++ b/classes/sdcard_image-rpi.bbclass
 @@ -60,7 +60,8 @@ IMAGE_CMD_rpi-sdimg () {
 # Align partitions
 BOOT_SPACE_ALIGNED=$(expr ${BOOT_SPACE} +
 ${IMAGE_ROOTFS_ALIGNMENT} - 1)
 BOOT_SPACE_ALIGNED=$(expr ${BOOT_SPACE_ALIGNED} -
 ${BOOT_SPACE_ALIGNED} % ${IMAGE_ROOTFS_ALIGNMENT})
 -   SDIMG_SIZE=$(expr ${IMAGE_ROOTFS_ALIGNMENT} +
 ${BOOT_SPACE_ALIGNED} + $ROOTFS_SIZE + ${IMAGE_ROOTFS_ALIGNMENT})
 +   ROOTFS_SIZE=`du -ks ${SDIMG_ROOTFS} | awk '{print $1}'`


This is a good idea but you will have to align the new ROOTFS_SIZE
to IMAGE_ROOTFS_ALIGNMENT.


 +   SDIMG_SIZE=$(expr ${IMAGE_ROOTFS_ALIGNMENT} +
 ${BOOT_SPACE_ALIGNED} + ${ROOTFS_SIZE})


So you are actually removing IMAGE_ROOTFS_ALIGNMENT space at the end of the
sd image. Why are you doing this? Nothing stated in the comment.

ag
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 3/3] sdcard-image: Use the size of the generated rootfs

2013-01-26 Thread Andrei Gherzan
On Jan 26, 2013 10:53 AM, Jan Schmidt thay...@noraisin.net wrote:

 On Sat, 2013-01-26 at 02:19 +0200, Andrei Gherzan wrote:
  On Fri, Jan 25, 2013 at 3:33 PM, Jan Schmidt thay...@noraisin.net
  wrote:

 
 
  This is a good idea but you will have to align the new ROOTFS_SIZE
  to IMAGE_ROOTFS_ALIGNMENT.
 
  +   SDIMG_SIZE=$(expr ${IMAGE_ROOTFS_ALIGNMENT} +
  ${BOOT_SPACE_ALIGNED} + ${ROOTFS_SIZE})
 
 
  So you are actually removing IMAGE_ROOTFS_ALIGNMENT space at the end
  of the sd image. Why are you doing this? Nothing stated in the
  comment.

 Sorry, yeah - I forgot to mention it. I removed it because it's
 pointless. It's not actually aligning to anything (it doesn't calculate
 an alignment based on the difference between the ROOTFS_SIZE and some
 target multiple). Instead, it was just arbitrarily padding some
 megabytes onto the end of the image file.


Makes sense. I added that because we had a strange bug where the final
sdimg file size was not enough. Maybe this was fixed now - something
related to parted. Please add your comment and modify the asci partition
layout in the bbclass file too.

Thanks,
Andrei

Thanks,
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 2/2] xserver-xf86-config: fix do_install

2013-01-26 Thread Andrei Gherzan
On Thu, Jan 24, 2013 at 10:57:42PM +0100, Andreas Müller wrote:
 for some reason wildcards don't work in current head. Error message was:

 | DEBUG: Executing shell function do_install
 | install: cannot stat 
 `/home/Superandy/tmp/oe-core-eglibc/work/raspberrypi-angstrom-linux-gnueabi/xserver-xf86-config/0.1-r18/xorg.conf.d/*':
  No such file or directory


I can't reproduce your error. For me this works. Maybe was something broken in
oe-core? Anyway it seems to be fixed now. Would you retest it please

 Signed-off-by: Andreas Müller schnitzelt...@googlemail.com
 ---
  .../xorg-xserver/xserver-xf86-config_0.1.bbappend  |6 --
  1 files changed, 4 insertions(+), 2 deletions(-)

 diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend 
 b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
 index 65931e2..a8b8e8c 100644
 --- a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
 +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
 @@ -1,12 +1,14 @@
  FILESEXTRAPATHS_prepend := ${THISDIR}/${PN}:

  # Don't forget to bump PRINC if you update the extra files.
 -PRINC := ${@int(PRINC) + 5}
 +PRINC := ${@int(PRINC) + 6}

  THISDIR := ${@os.path.dirname(bb.data.getVar('FILE', d, True))}
  FILESPATH =. ${@base_set_filespath([${THISDIR}/${PN}], d)}:

 -SRC_URI_append_raspberrypi =  file://xorg.conf.d/* 
 +SRC_URI_append_raspberrypi =  \
 + file://xorg.conf.d/10-evdev.conf \
 +

I don't find this lin ebreak necesssary here. And if it was, don't combine
formating commits with other fixes.

Thanks,

--
Andrei Gherzan
m: +40.744.478.414 | f: +40.31.816.28.12

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 1/2] layer.conf: fix parse

2013-01-26 Thread Andrei Gherzan
On Thu, Jan 24, 2013 at 10:57:41PM +0100, Andreas Müller wrote:
 after meta-systemd commit [1] the following error was thrown during parsing:

 ERROR: Unable to parse 
 /home/Superandy/data/oe-core/sources/meta-raspberrypi/conf/layer.conf:
 Failure expanding variable BBFILES, expression was
 ...
 /home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/recipes-*/*/*.bb
 /home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/oe-core/recipes-*/*/*.bbappend
 /home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-oe/recipes-*/*/*.bbappend
 ${@base_contains('BBFILE_COLLECTIONS', 'systemd-layer','', 
 '/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/invalid.bb',
  d)}
 ${@base_contains('BBFILE_COLLECTIONS', 
 'gnome-layer','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-gnome/recipes-*/*/*.bbappend',
  '', d)}
 ${@base_contains('BBFILE_COLLECTIONS', 
 'efl-layer','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-efl/recipes-*/*/*.bbappend',
  '', d)}
 ${@base_contains('BBFILE_COLLECTIONS', 
 'multimedia-layer','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-multimedia/recipes-*/*/*.bbappend',
  '', d)}
 ${@base_contains('BBFILE_COLLECTIONS', 
 'networking','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-networking/recipes-*/*/*.bbappend',
  '', d)}
 ${@base_contains('BBFILE_COLLECTIONS', 
 'xfce-layer','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-xfce/recipes-*/*/*.bbappend',
  '', d)}
 ...
 which triggered exception NameError: name 'base_contains' is not defined

 [1] 
 http://cgit.openembedded.org/meta-openembedded/commit/?id=3c21a46020bd0816579648f684c41dbd6333583e

 Signed-off-by: Andreas Müller schnitzelt...@googlemail.com
 ---
  conf/layer.conf |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

 diff --git a/conf/layer.conf b/conf/layer.conf
 index 32e1827..e8b87b2 100644
 --- a/conf/layer.conf
 +++ b/conf/layer.conf
 @@ -2,7 +2,7 @@
  BBPATH .= :${LAYERDIR}

  # We have a recipes directory containing .bb and .bbappend files, add to 
 BBFILES
 -BBFILES := ${BBFILES} ${LAYERDIR}/recipes*/*/*.bb \
 +BBFILES += ${LAYERDIR}/recipes*/*/*.bb \
  ${LAYERDIR}/recipes*/*/*.bbappend

  BBFILE_COLLECTIONS += raspberrypi
 --
 1.7.4.4

 ___
 yocto mailing list
 yocto@yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto

Merged with a little commit message tweak.

Thank you,

--
Andrei Gherzan
m: +40.744.478.414 | f: +40.31.816.28.12

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 3/3] sdcard-image: Use the size of the generated rootfs

2013-01-27 Thread Andrei Gherzan
On Sun, Jan 27, 2013 at 10:17:57PM +1100, Jan Schmidt wrote:
 On Sun, 2013-01-27 at 00:47 +0200, Andrei Gherzan wrote:
  On Sat, Jan 26, 2013 at 10:18:24PM +1100, Jan Schmidt wrote:
   When constructing the SD card image, the code was using
   the inherited ROOTFS_SIZE, which is the size of the
   rootfs contents. When building (for example) a compressed
   rootfs, this allocates a partition much larger than necessary.
  
   Instead, take the size of the generated rootfs file that is
   about to be written into the generated image.
  
   Also remove the extra ${IMAGE_ROOTFS_ALIGNMENT} padding at
   the end of the image, as it isn't needed now.
  
   Signed-off-by: Jan Schmidt thay...@noraisin.net
   ---
classes/sdcard_image-rpi.bbclass |   23 +--
1 file changed, 13 insertions(+), 10 deletions(-)
  
   diff --git a/classes/sdcard_image-rpi.bbclass 
   b/classes/sdcard_image-rpi.bbclass
   index 421f561..fdac3b2 100644
   --- a/classes/sdcard_image-rpi.bbclass
   +++ b/classes/sdcard_image-rpi.bbclass
   @@ -13,14 +13,16 @@ inherit image_types
# Default Free space 
   = 1.3x
# Use 
   IMAGE_OVERHEAD_FACTOR to add more space
# -
   -#4KiB  20MiB   SDIMG_ROOTFS
   +#4KiB ~20MiB   SDIMG_ROOTFS
 
  Why ~20M? As you see in the class BOOT_SPACE ?= 20480. So that is 20MiB.

 I was trying to make it clear in the comment that if the user changes
 the BOOT_SPACE size, it will always be rounded up to the nearest 4MB. I
 couldn't think of a great way. Also, I didn't pay enough attention - the
 comment is saying IMAGE_ROOTFS_ALIGNMENT is 4kB, but it should be MiB.


Uh, I understand now your point here. Well, I don't think that user needs to
know that if he wants 20470 as BOOT_SPACE, he's partition will end up 20480.
Because this is something related to performance and it's in his benefit after
all. So let's drop this for now.

About the 4kB thing - yes. Needs fix.

# --- -- --
   -#     
   ---
   -# | IMAGE_ROOTFS_ALIGNMENT | BOOT_SPACE | ROOTFS_SIZE| 
   IMAGE_ROOTFS_ALIGNMENT|
   -#     
   ---
   -# ^^^^   
   ^
   -# ||||   
   |
   -# 0  4096 4KiB + 20MiB   4KiB + 20Mib + 
   SDIMG_ROOTFS   4KiB + 20MiB + SDIMG_ROOTFS + 4KiB
   +#    
   +# | IMAGE_ROOTFS_ALIGNMENT | BOOT_SPACE | ROOTFS_SIZE|
   +#    
   +# ^^^^
   +# ||||
   +# 0  4096 4KiB + ~20MiB  4KiB + ~20Mib + 
   SDIMG_ROOTFS
   +# rounded up to
   +#  IMAGE_ROOTFS_ALIGNMENT
  
  
# Set kernel and boot loader
   @@ -29,7 +31,7 @@ IMAGE_BOOTLOADER ?= bcm2835-bootfiles
# Boot partition volume id
BOOTDD_VOLUME_ID ?= ${MACHINE}
  
   -# Boot partition size [in KiB]
   +# Boot partition size [in KiB] (will be rounded up to 
   IMAGE_ROOTFS_ALIGNMENT)
BOOT_SPACE ?= 20480
  
# Set alignment to 4MB [in KiB]
   @@ -60,7 +62,8 @@ IMAGE_CMD_rpi-sdimg () {
 # Align partitions
 BOOT_SPACE_ALIGNED=$(expr ${BOOT_SPACE} + ${IMAGE_ROOTFS_ALIGNMENT} - 1)
 BOOT_SPACE_ALIGNED=$(expr ${BOOT_SPACE_ALIGNED} - ${BOOT_SPACE_ALIGNED} 
   % ${IMAGE_ROOTFS_ALIGNMENT})
   - SDIMG_SIZE=$(expr ${IMAGE_ROOTFS_ALIGNMENT} + ${BOOT_SPACE_ALIGNED} + 
   $ROOTFS_SIZE + ${IMAGE_ROOTFS_ALIGNMENT})
   + ROOTFS_SIZE=`du -ks ${SDIMG_ROOTFS} | awk '{print $1}'`
 
  Are you sure `du -ks ${ROOTFS_SIZE} | awk '{print $1}'` is aligned to
  IMAGE_ROOTFS_ALIGNMENT? I'm not so sure about this. So you might need to 
  align
  it the way BOOT_SPACE is aligned.

 No, the ROOTFS_SIZE will be whatever the base recipe creates. I don't
 think it will have any particular alignment, except by accident - in the
 sense that it's probably stored on an ext3 filesystem that has 4kB
 allocation blocks and therefore 'du -sk' will round it up to that. We
 would need to explicitly round up to 4MiB, but I'm not sure why to do
 that -


Check this out:
http://android.bytearrays.com/android/what-means-sd-card-alignment/

   + SDIMG_SIZE=$(expr ${IMAGE_ROOTFS_ALIGNMENT} + ${BOOT_SPACE_ALIGNED} + 
   ${ROOTFS_SIZE})
  
 # Initialize sdcard image file

Re: [yocto] [meta-raspberrypi][PATCH 1/3] linux: Add a Linux 3.6 kernel recipe

2013-01-27 Thread Andrei Gherzan
On Sat, Jan 26, 2013 at 12:33:23AM +1100, Jan Schmidt wrote:
 * Add a recipe to build the linux kernel from the rpi-3.6.y branch at
   https://github.com/raspberrypi/linux
 * Since this has a higher version, it will be the preferred linux kernel
   by default.

 Signed-off-by: Jan Schmidt thay...@noraisin.net
 ---
  recipes-kernel/linux/linux-raspberrypi_3.6.11.bb |   34 
 ++
  1 file changed, 34 insertions(+)
  create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.6.11.bb

Merged.

Thank you,

--
Andrei Gherzan
m: +40.744.478.414 | f: +40.31.816.28.12

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 2/3] bcm2835-bootfiles: Bump the firmware revision

2013-01-27 Thread Andrei Gherzan
On Sat, Jan 26, 2013 at 12:33:24AM +1100, Jan Schmidt wrote:
 * Pull in a newer firmware revision (0ac68c 7th Jan 2013) from
   https://github.com/raspberrypi/firmware for various fixes and
   improvements

 Signed-off-by: Jan Schmidt thay...@noraisin.net
 ---
  recipes-bcm/common/firmware.inc |6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

Merged.

Thank you,

--
Andrei Gherzan
m: +40.744.478.414 | f: +40.31.816.28.12

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 1/2] node-startup-controller: Avoid error while reconfigure

2013-01-28 Thread Andrei Gherzan
| DEBUG: Executing shell function do_configure
| mkdir: cannot create directory `m4': File exists

Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 .../node-startup-controller_1.0.1.bb   |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/recipes-extended/node-startup-controller/node-startup-controller_1.0.1.bb 
b/recipes-extended/node-startup-controller/node-startup-controller_1.0.1.bb
index 396c7ce..f350956 100644
--- a/recipes-extended/node-startup-controller/node-startup-controller_1.0.1.bb
+++ b/recipes-extended/node-startup-controller/node-startup-controller_1.0.1.bb
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=815ca599c9df247a0c7f619bab123dad
 # tag 1.0.1 : f109eab4393fcb55ecbb0a21d68436a5057a6b82
 SRC_URI = 
git://git.projects.genivi.org/lifecycle/node-startup-controller.git;protocol=git;tag=f109eab4393fcb55ecbb0a21d68436a5057a6b82
 \
file://use-systemd-unit-dir.patch
-PR = r2
+PR = r3
 
 DEPENDS = glib-2.0 dlt-daemon systemd
 
@@ -23,7 +23,7 @@ S = ${WORKDIR}/git
 
 inherit autotools gtk-doc systemd
 do_configure_prepend () {
-mkdir m4
+mkdir -p m4
 }
 
 PACKAGES =+ ${PN}-nsm-dummy ${PN}-nsm-dummy-dbg
-- 
1.7.5.4

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 2/2] dlt-daemon: Remove User option from systemd services

2013-01-28 Thread Andrei Gherzan
All systemd services use genivi as User option. There is no such username
so these services would fail.

Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb |8 +++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb 
b/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb
index 5be4aba..58aaa15 100644
--- a/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb
+++ b/recipes-extended/dlt-daemon/dlt-daemon_2.9.0.bb
@@ -11,7 +11,7 @@ DESCRIPTION = This component provides a standardised log and 
trace interface, b
 HOMEPAGE = https://www.genivi.org/;
 SECTION = console/utils
 
-PR = r0
+PR = r1
 
 inherit gzipnative
 
@@ -33,3 +33,9 @@ FILES_${PN}-systemd += ${systemd_unitdir}/system/
 PACKAGES =+ ${PN}-systemd
 
 EXTRA_OECMAKE = -DWITH_SYSTEMD=ON
+
+# Remove User=genivi option from systemd services
+# as there is no such username
+do_install_append() {
+sed -i '/User/d' ${D}/${systemd_unitdir}/system/*.service
+}
-- 
1.7.5.4

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 1/3] systemd: Remove bbappend as xz si not GPLv3

2013-02-05 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 recipes-core-ivi/systemd/systemd_git.bbappend |6 --
 1 files changed, 0 insertions(+), 6 deletions(-)
 delete mode 100644 recipes-core-ivi/systemd/systemd_git.bbappend

diff --git a/recipes-core-ivi/systemd/systemd_git.bbappend 
b/recipes-core-ivi/systemd/systemd_git.bbappend
deleted file mode 100644
index f881b7f..000
--- a/recipes-core-ivi/systemd/systemd_git.bbappend
+++ /dev/null
@@ -1,6 +0,0 @@
-PRINC := ${@int(PRINC) + 1}
-
-# xz is GPLv3
-# Remove this package from depends and configure
-DEPENDS := ${@oe_filter_out('xz', '${DEPENDS}', d)}
-EXTRA_OECONF := ${@oe_filter_out('--enable-xz', '${EXTRA_OECONF}', d)}
-- 
1.7.5.4

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 2/3] nfs-utils: Sync with oe-core version

2013-02-05 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 ...ils_1.2.3.bbappend = nfs-utils_1.2.7.bbappend} |0
 1 files changed, 0 insertions(+), 0 deletions(-)
 rename recipes-connectivity/nfs-utils/{nfs-utils_1.2.3.bbappend = 
nfs-utils_1.2.7.bbappend} (100%)

diff --git a/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend 
b/recipes-connectivity/nfs-utils/nfs-utils_1.2.7.bbappend
similarity index 100%
rename from recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend
rename to recipes-connectivity/nfs-utils/nfs-utils_1.2.7.bbappend
-- 
1.7.5.4

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 3/3] eglibc: Sync with oe-core version

2013-02-05 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 .../{eglibc_2.16.bbappend = eglibc_2.17.bbappend} |0
 1 files changed, 0 insertions(+), 0 deletions(-)
 rename recipes-core-ivi/eglibc/{eglibc_2.16.bbappend = eglibc_2.17.bbappend} 
(100%)

diff --git a/recipes-core-ivi/eglibc/eglibc_2.16.bbappend 
b/recipes-core-ivi/eglibc/eglibc_2.17.bbappend
similarity index 100%
rename from recipes-core-ivi/eglibc/eglibc_2.16.bbappend
rename to recipes-core-ivi/eglibc/eglibc_2.17.bbappend
-- 
1.7.5.4

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH 1/3] qemux86.cfg: Activate ecryptfs

2013-02-06 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 recipes-kernel/linux/linux-yocto/qemux86.cfg |6 ++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/recipes-kernel/linux/linux-yocto/qemux86.cfg 
b/recipes-kernel/linux/linux-yocto/qemux86.cfg
index ff828b9..6f6ea51 100644
--- a/recipes-kernel/linux/linux-yocto/qemux86.cfg
+++ b/recipes-kernel/linux/linux-yocto/qemux86.cfg
@@ -1,3 +1,9 @@
 # config for adding support for AF_BUS sockets
 CONFIG_AF_BUS=y
 CONFIG_NETFILTER_DBUS=y
+
+# Activate ecryptfs
+CONFIG_EXPERIMENTAL=y
+CONFIG_KEYS=y
+CONFIG_CRYPTO=y
+CONFIG_ECRYPT_FS=y
-- 
1.7.5.4

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-ivi][PATCH] packagegroup-core-p1: Remove wpa-supplicant-systemd as systemd services are now in ${PN}

2013-02-07 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 .../packagegroups/packagegroup-core-p1.bb  |1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/recipes-yocto-ivi/packagegroups/packagegroup-core-p1.bb 
b/recipes-yocto-ivi/packagegroups/packagegroup-core-p1.bb
index ea2dfe0..e2989dd 100644
--- a/recipes-yocto-ivi/packagegroups/packagegroup-core-p1.bb
+++ b/recipes-yocto-ivi/packagegroups/packagegroup-core-p1.bb
@@ -40,7 +40,6 @@ RDEPENDS_packagegroup-core-p1 = \
 sqlite3 \
 udev \
 wpa-supplicant \
-wpa-supplicant-systemd \
 
 
 RRECOMMENDS_${PN} = \
-- 
1.7.5.4

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 0/2] Binary graphics library fixes

2013-02-07 Thread Andrei Gherzan
We are moving to userland repo. So we will build our libraries so this
patch says on hold - sorry for delay - been ill.


On Wed, Jan 30, 2013 at 11:51 PM, Philipp Wagner
li...@philipp-wagner.comwrote:

 Hi,

 I'm working on an application that needs the graphics libraries. Right now
 I'm still using the binary libraries (which are still default in
 meta-raspberrypi). Unfortunately, the current default configuration has
 two problems:
 a) It chooses the wrong ABI version (hardfp instead of softfp). To reduce
the possibility for error here I changed the recipe to automatically
select the right version.
 b) Many applications dlopen the OpenGL libraries. For that to work, they
need to be listed in the RPROVIDES list. The second patch does that.

 I'm aware of the fact that those binary graphics libraries will be
 replaced with the new userland libraries, but until this is all ready
 I'd be grat if those patches could be accepted to have a working-by-default
 configuration in the meta-raspberrypi tree.

 Philipp

 Philipp Wagner (2):
   Choose correct ABI version of graphics binaries
   Add RPROVIDES for OpenGL libraries

  conf/machine/include/rpi-default-providers.inc |   10 +++---
  recipes-bcm/vc-graphics/vc-graphics.inc|1 +
  2 files changed, 8 insertions(+), 3 deletions(-)

 --
 1.7.9.5
 ___
 yocto mailing list
 yocto@yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto




-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 0/2] Binary graphics library fixes

2013-02-08 Thread Andrei Gherzan
On Fri, Feb 8, 2013 at 12:17 PM, Tomas Frydrych tf+lists.yo...@r-finger.com
 wrote:

 Hi Andrei,

 On 07/02/13 14:26, Andrei Gherzan wrote:
  We are moving to userland repo. So we will build our libraries

 I tried to use the userland repo about a week ago and had to revert back
 to using the binary firmware; the userland tree seem to miss some bcm
 headers, so it was impossible to build apps against the libs whose
 includes require those.


I will push some patches this weekend. Would you give it a try?

-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 0/2] Binary graphics library fixes

2013-02-08 Thread Andrei Gherzan
On Fri, Feb 8, 2013 at 4:18 PM, Tomas Frydrych
tf+lists.yo...@r-finger.comwrote:

 On 08/02/13 13:03, Andrei Gherzan wrote:
 
 
 
  On Fri, Feb 8, 2013 at 12:17 PM, Tomas Frydrych
  tf+lists.yo...@r-finger.com mailto:tf+lists.yo...@r-finger.com
 wrote:
 
  Hi Andrei,
 
  On 07/02/13 14:26, Andrei Gherzan wrote:
   We are moving to userland repo. So we will build our libraries
 
  I tried to use the userland repo about a week ago and had to revert
 back
  to using the binary firmware; the userland tree seem to miss some bcm
  headers, so it was impossible to build apps against the libs whose
  includes require those.
 
 
  I will push some patches this weekend. Would you give it a try?

 Time allowing, of course. But the problem was not with the meta-rpi
 packaging, the files were missing in the upstream userland git repository.


Maybe newer updates include those. Just need to know.

-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-raspberrypi][PATCH 1/7] rpi-default-providers: Remove virtual/libgl provider

2013-02-09 Thread Andrei Gherzan
There are no libgl binary shipped in raspberrypi firmware repo.

Signed-off-by: Andrei Gherzan and...@gherzan.ro
---
 conf/machine/include/rpi-default-providers.inc |1 -
 1 file changed, 1 deletion(-)

diff --git a/conf/machine/include/rpi-default-providers.inc 
b/conf/machine/include/rpi-default-providers.inc
index ce963b3..6abab60 100644
--- a/conf/machine/include/rpi-default-providers.inc
+++ b/conf/machine/include/rpi-default-providers.inc
@@ -4,5 +4,4 @@ PREFERRED_PROVIDER_virtual/kernel = linux-raspberrypi
 PREFERRED_PROVIDER_virtual/xserver = xserver-xorg
 PREFERRED_PROVIDER_virtual/egl ?= vc-graphics-hardfp
 PREFERRED_PROVIDER_virtual/libgles2 ?= vc-graphics-hardfp
-PREFERRED_PROVIDER_virtual/libgl ?= vc-graphics-hardfp
 PREFERRED_PROVIDER_linux-libc-headers ?= linux-libc-headers-raspberrypi
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-raspberrypi][PATCH 2/7] rpi-default-providers: Use userland as provider for egl and gles2

2013-02-09 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan and...@gherzan.ro
---
 conf/machine/include/rpi-default-providers.inc |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/machine/include/rpi-default-providers.inc 
b/conf/machine/include/rpi-default-providers.inc
index 6abab60..86330e8 100644
--- a/conf/machine/include/rpi-default-providers.inc
+++ b/conf/machine/include/rpi-default-providers.inc
@@ -2,6 +2,6 @@
 
 PREFERRED_PROVIDER_virtual/kernel = linux-raspberrypi
 PREFERRED_PROVIDER_virtual/xserver = xserver-xorg
-PREFERRED_PROVIDER_virtual/egl ?= vc-graphics-hardfp
-PREFERRED_PROVIDER_virtual/libgles2 ?= vc-graphics-hardfp
+PREFERRED_PROVIDER_virtual/egl ?= userland
+PREFERRED_PROVIDER_virtual/libgles2 ?= userland
 PREFERRED_PROVIDER_linux-libc-headers ?= linux-libc-headers-raspberrypi
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-raspberrypi][PATCH 3/7] custom-licenses: Add directory to hold custom licenses

2013-02-09 Thread Andrei Gherzan
Add Broadcom license to this directory.

Signed-off-by: Andrei Gherzan and...@gherzan.ro
---
 files/custom-licenses/Broadcom |   25 +
 1 file changed, 25 insertions(+)
 create mode 100644 files/custom-licenses/Broadcom

diff --git a/files/custom-licenses/Broadcom b/files/custom-licenses/Broadcom
new file mode 100644
index 000..2582681
--- /dev/null
+++ b/files/custom-licenses/Broadcom
@@ -0,0 +1,25 @@
+Copyright (c) 2012, Broadcom Europe Ltd
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+* Redistributions of source code must retain the above copyright
+  notice, this list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright
+  notice, this list of conditions and the following disclaimer in the
+  documentation and/or other materials provided with the distribution.
+* Neither the name of the copyright holder nor the
+  names of its contributors may be used to endorse or promote products
+  derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 
FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-raspberrypi][PATCH 4/7] layer.conf: Set LICENSE_PATH to layers's custom licenses directory

2013-02-09 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan and...@gherzan.ro
---
 conf/layer.conf |4 
 1 file changed, 4 insertions(+)

diff --git a/conf/layer.conf b/conf/layer.conf
index e8b87b2..7bffd4b 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -8,3 +8,7 @@ BBFILES += ${LAYERDIR}/recipes*/*/*.bb \
 BBFILE_COLLECTIONS += raspberrypi
 BBFILE_PATTERN_raspberrypi := ^${LAYERDIR}/
 BBFILE_PRIORITY_raspberrypi = 6
+
+# Additional license directories.
+LICENSE_PATH += ${LAYERDIR}/files/custom-licenses
+
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-raspberrypi][PATCH 5/7] recipes.txt: Remove file

2013-02-09 Thread Andrei Gherzan
This file contains outdated informations.

Signed-off-by: Andrei Gherzan and...@gherzan.ro
---
 recipes.txt |9 -
 1 file changed, 9 deletions(-)
 delete mode 100644 recipes.txt

diff --git a/recipes.txt b/recipes.txt
deleted file mode 100644
index f989530..000
--- a/recipes.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-recipes-bcm  - Broadcom specific recipes and tweaks (including binary 
only bootloader).
-recipes-bsp  - Anything with links to the RaspberryPi hardware 
configuration information.
-recipes-core - Extensions to existing upstream core recipes.
-recipes-devtools - Extensions to existing upstream devtools recipes and 
other RaspberryPi specific devtools recipes.
-recipes-devices  - Device drivers/Init scripts.
-recipes-graphics - XOrg Config and such.
-recipes-kernel   - The RaspberryPi kernel recipes and anything with strong 
kernel dependencies.
-recipes-multimedia   - Extensions to existing upstream multimedia recipes and 
other RaspberryPi specific multimedia recipes.
-
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-raspberrypi][PATCH 6/7] userland: Update to 8700279495e266378d36092ccf86424f0ee2539f

2013-02-09 Thread Andrei Gherzan
* install_vmcs not needed anymore
* By default package is installed in /opt/vc. Move everything in ${prefix}.
* Move recipe in recipes-graphics
* Add PACKAGE_ARCH = MACHINE_ARCH

Signed-off-by: Andrei Gherzan and...@gherzan.ro
---
 recipes-bcm/userland/userland-git/install_vmcs |  279 
 recipes-bcm/userland/userland_git.bb   |   43 
 recipes-graphics/userland/userland_git.bb  |   39 
 3 files changed, 39 insertions(+), 322 deletions(-)
 delete mode 100755 recipes-bcm/userland/userland-git/install_vmcs
 delete mode 100644 recipes-bcm/userland/userland_git.bb
 create mode 100644 recipes-graphics/userland/userland_git.bb

diff --git a/recipes-bcm/userland/userland-git/install_vmcs 
b/recipes-bcm/userland/userland-git/install_vmcs
deleted file mode 100755
index 980522e..000
--- a/recipes-bcm/userland/userland-git/install_vmcs
+++ /dev/null
@@ -1,279 +0,0 @@
-#!/bin/sh
-
-# edit this file only at vc4\makefiles\cmake\scripts\install_vmcs
-# update (via root staging area) using cmake {args} vc4, etc.
-
-cmd=$0
-cmd_dir=`dirname -- $cmd`
-cmd_dir=`(cd $cmd_dir/dev/null;pwd)`
-cmd_name=`basename -- $cmd`
-
-# this command should be run as root from ${dir_install}/sbin
-
-dir_install=`dirname -- $cmd_dir`
-dir_data=$dir_install/share/install
-dir_sd=/sd
-
-do_force=false
-
-# install contents of $dir_data into the system
-
-if [ `whoami` != root ]; then
-echo $cmd_name: you need to be root to execute this command2
-exit 1
-fi
-
-[ _$1 = _-f -o _$1 = _--force ]  { do_force=true; shift; }
-
-
-# Uninstall script
-
-#
-#
-
-create_uninstall()
-{  cat 'EOF'
-#!/bin/sh
-
-
- WARNING: this script is written and overwritten by $cmd - don't edit
-
-
-cmd=$0
-cmd_dir=`dirname -- $cmd`
-cmd_dir=`(cd $cmd_dir/dev/null;pwd)`
-cmd_name=`basename -- $cmd`
-
-# this command should be run from dir_install/sbin
-
-if [ `whoami` != root ]; then
-echo $cmd_name: you need to be root to execute this command2
-exit 1
-fi
-
-# uninstall the new libraries
-
-if [ -f /etc/ld.so.conf.d/vmcs.conf ]; then
-rm /etc/ld.so.conf.d/vmcs.conf
-ldconfig 
-fi
-
-vcfiled=/etc/init.d/vcfiled
-if [ -x $vcfiled ]; then
-$vcfiled stop
-if update-rc.d -f vcfiled remove; then
-rm -f $vcfiled
-else
-echo $cmd_name: failed to install $vcfiled, sorry2
-fi
-fi
-
-EOF
-}
-
-
-#
-#
-
-rc=0
-
-# install un-installation script
-
-if [ -f $cmd_dir/uninstall_vmcs ]; then
-if mv -f $cmd_dir/uninstall_vmcs $cmd_dir/uninstall_last_vmcs; then
-echo $cmd_name: previous installation's uninstallation script saved 
in2
-echo $cmd_name: $cmd_dir/uninstall_last_vmcs2
-else
-echo $cmd_name: failed to rename previous installation's 
uninstallation script2
-fi
-fi
-create_uninstall  $cmd_dir/uninstall_vmcs
-chmod +x $cmd_dir/uninstall_vmcs
-
-# install the new libraries
-
-if $do_force || [ -d /etc/ld.so.conf.d ]; then
-if $do_force || [ ! -f /etc/ld.so.conf.d/vmcs.conf ]; then
-if [ ! -f $dir_data/vmcs.conf ]; then
-echo $cmd_name: expected file missing in $dir_data/vmcs.conf2
-rc=1
-else
-mkdir -p /etc/ld.so.conf.d
-cp -af $dir_data/vmcs.conf /etc/ld.so.conf.d/vmcs.conf
-ldconfig 
-fi
-fi
-else
-echo $cmd_name: don't know how to install libraries, sorry2
-rc=2
-fi
-
-# install VC file daemon
-
-if $do_force || [ ! -f /etc/init.d/vcfiled ]; then
-if [ ! -f $dir_data/vcfiled ]; then
-echo $cmd_name: expected file missing in $dir_data/vcfiled2
-rc=3
-else
-cp -af $dir_data/vcfiled /etc/init.d/vcfiled
-if ! update-rc.d vcfiled defaults 16; then
-echo $cmd_name: don't know how to install new 
/etc/init.d/vcfiled, sorry2
-rc=4
-elif ! update-rc.d vcfiled enable; then
-echo $cmd_name: failed to enable new /etc/init.d/vcfiled, 
sorry2
-rc=5
-fi
-fi
-fi
-
-# make sure vchiq device finder is installed 
-
-if $do_force || [ ! -f /etc/init.d/vchiq ]; then
-if [ ! -f $dir_data/vchiq ]; then
-echo $cmd_name: expected file missing in $dir_data/vchiq2
-else
-cp -af $dir_data/vchiq /etc/init.d/vchiq
-if ! update-rc.d vchiq defaults 12; then
-echo $cmd_name: don't know how to install new /etc/init.d/vchiq, 
sorry2
-rc=6
-elif ! update-rc.d vchiq enable; then
-echo $cmd_name: failed to enable new /etc/init.d/vchiq, sorry2
-rc=7
-fi
-fi
-fi
-
-# set up a module directory from SD card if possible
-
-current_moddir=/lib/modules
-pkg_moddir=${dir_install}$current_moddir
-sd_moddir=/boot$current_moddir
-
-if [ -h $pkg_moddir ]; then
-# this should never have been made into a symbolic link - it will mean
-# different

[yocto] [meta-raspberrypi][PATCH 7/7] vc-graphics.inc: There is no libgl so get rid of this PROVIDES

2013-02-09 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan and...@gherzan.ro
---
 recipes-bcm/vc-graphics/vc-graphics.inc |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bcm/vc-graphics/vc-graphics.inc 
b/recipes-bcm/vc-graphics/vc-graphics.inc
index 915b7c1..28c95a1 100644
--- a/recipes-bcm/vc-graphics/vc-graphics.inc
+++ b/recipes-bcm/vc-graphics/vc-graphics.inc
@@ -3,7 +3,7 @@ LICENSE = Proprietary
 
 LIC_FILES_CHKSUM = file://LICENCE;md5=86e53f5f5909ee66900418028de11780
 
-PROVIDES = virtual/libgl virtual/libgles2 virtual/egl
+PROVIDES = virtual/libgles2 virtual/egl
 COMPATIBLE_MACHINE = raspberrypi
 
 include ../common/firmware.inc
@@ -14,7 +14,7 @@ SRC_URI = 
git://github.com/raspberrypi/firmware.git;protocol=git;branch=master\
 
 S = ${WORKDIR}/git/${VCDIR}
 
-INCPR = r0
+INCPR = r1
 
 inherit pkgconfig update-rc.d
 
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 2/2] Add RPROVIDES for OpenGL libraries

2013-02-09 Thread Andrei Gherzan
On Tue, Feb 5, 2013 at 8:54 PM, Philipp Wagner li...@philipp-wagner.comwrote:

 Am 05.02.2013 19:50, schrieb Tomas Frydrych:
  On 30/01/13 21:51, Philipp Wagner wrote:
  https://github.com/djwillis/meta-raspberrypi/issues/55
 
   PROVIDES = virtual/libgl virtual/libgles2 virtual/egl
  +RPROVIDES = virtual/libgl virtual/libgles2 virtual/egl
 
  As I noted in the above issue, this really is wrong; there is *no* libgl
  provided by the RPi firmware.

 In the bug report, Andrei also mentions that it is required for some
 reason, but I don't know exactly what the reason is.

 Andrei, could you explain that in more detail?


Well it was a workaround. In this way opengl distro features would point to
our libraries even if that is not the right thing to do. Think about
libsdl. I actually did this for this case as i remember. libsdl was a
dependency for omxplayer and libsdl was triggering mesa in build because of
this opengl dependency taken from DISTRO FEATURES. So I made this to trick
the package not to depend on mesa but on rpi graphic libraries.

But I dropped this ugly thing. We need a real way to fix this now. There is
a discussion on ml already about this.
-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 1/2] Choose correct ABI version of graphics binaries

2013-02-09 Thread Andrei Gherzan
On Wed, Jan 30, 2013 at 11:51 PM, Philipp Wagner
li...@philipp-wagner.comwrote:

 From: Philipp Wagner m...@philipp-wagner.com

 Depending on the used calling convention use the hardfp or
 the softfp binary graphics libraries.

 Signed-off-by: Philipp Wagner m...@philipp-wagner.com
 ---
  conf/machine/include/rpi-default-providers.inc |   10 +++---
  1 file changed, 7 insertions(+), 3 deletions(-)

 diff --git a/conf/machine/include/rpi-default-providers.inc
 b/conf/machine/include/rpi-default-providers.inc
 index ce963b3..83292df 100644
 --- a/conf/machine/include/rpi-default-providers.inc
 +++ b/conf/machine/include/rpi-default-providers.inc
 @@ -2,7 +2,11 @@

  PREFERRED_PROVIDER_virtual/kernel = linux-raspberrypi
  PREFERRED_PROVIDER_virtual/xserver = xserver-xorg
 -PREFERRED_PROVIDER_virtual/egl ?= vc-graphics-hardfp
 -PREFERRED_PROVIDER_virtual/libgles2 ?= vc-graphics-hardfp
 -PREFERRED_PROVIDER_virtual/libgl ?= vc-graphics-hardfp
  PREFERRED_PROVIDER_linux-libc-headers ?= linux-libc-headers-raspberrypi
 +
 +# The graphics libraries are closed source and provided as binaries with
 either
 +# hardfp and softfp calling conventions. We need to choose the one that
 fits
 +# in with the rest of the system.
 +PREFERRED_PROVIDER_virtual/egl ?= ${@bb.utils.contains(TUNE_FEATURES,
 callconvention-hard, vc-graphics-hardfp, vc-graphics, d)}
 +PREFERRED_PROVIDER_virtual/libgles2 ?=
 ${@bb.utils.contains(TUNE_FEATURES, callconvention-hard,
 vc-graphics-hardfp, vc-graphics, d)}
 +PREFERRED_PROVIDER_virtual/libgl ?=
 ${@bb.utils.contains(TUNE_FEATURES, callconvention-hard,
 vc-graphics-hardfp, vc-graphics, d)}


I like this change but I think the best way would be to switch to userland.
So we can compile our own libraries. I sent some patches so please give
them a try.

-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-raspberrypi][PATCH 1/1] rpi-first-run-wizard: Fix RDEPENDS warning

2013-02-10 Thread Andrei Gherzan
WARNING: QA Issue: [...]/rpi-first-run-wizard.bb:
Variable RDEPENDS is set as not being package specific, please fix this.

Signed-off-by: Andrei Gherzan and...@gherzan.ro
---
 recipes-extra/startup/rpi-first-run-wizard.bb |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-extra/startup/rpi-first-run-wizard.bb 
b/recipes-extra/startup/rpi-first-run-wizard.bb
index c5cef7c..6ede56e 100644
--- a/recipes-extra/startup/rpi-first-run-wizard.bb
+++ b/recipes-extra/startup/rpi-first-run-wizard.bb
@@ -3,11 +3,11 @@ LICENSE = GPLV2
 LIC_FILES_CHKSUM = 
file://${WORKDIR}/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263
 
 DEPENDS = zenity dbus
-RDEPENDS = slim sudo zenity dbus
+RDEPENDS_${PN} = slim sudo zenity dbus
 
 COMPATIBLE_MACHINE = raspberrypi
 
-PR = r1
+PR = r2
 
 SRC_URI =  \
   file://LICENSE \
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Fwd:

2013-02-12 Thread Andrei Gherzan
On Tue, Feb 12, 2013 at 9:37 AM, Iorga, Cristian
cristian.io...@intel.comwrote:

 Hello, this is spam.


It's more than a spam - it's a virus. Belisko, check your computer.

-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 1/1] poky-ivi-systemd.conf: Add yoctoproject mirrors

2013-02-12 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 conf/distro/poky-ivi-systemd.conf |4 
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/conf/distro/poky-ivi-systemd.conf 
b/conf/distro/poky-ivi-systemd.conf
index 0f65a4b..1fd13d4 100644
--- a/conf/distro/poky-ivi-systemd.conf
+++ b/conf/distro/poky-ivi-systemd.conf
@@ -9,3 +9,7 @@ include conf/distro/include/default-providers-ivi.inc
 
 DISTRO_FEATURES +=  bluetooth systemd 
 
+MIRRORS =+ \
+ftp://.*/.*  http://downloads.yoctoproject.org/mirror/sources/ \n \
+http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
+https://.*/.*http://downloads.yoctoproject.org/mirror/sources/ \n
-- 
1.7.5.4

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 1/7] rpi-default-providers: Remove virtual/libgl provider

2013-02-20 Thread Andrei Gherzan
Thank you. You hint is OK and will apply patches with your suggestion.

Thanks.


On Tue, Feb 19, 2013 at 4:11 PM, Philipp Wagner li...@philipp-wagner.comwrote:

 Hi Andrei,

 I applied and tested all 7 patches and they work as the binary firmware
 did before. Maybe in a later patch a pkgconfig file can be added (I think
 it was there before, but I'm not using it yet, so I'm not really sure).

 I don't like the name userland (it's not really describing that we're
 actually talking about graphics libraries), but that's just a nitpick.
 Maybe it can be renamed to rpi-graphics-userland or something more
 descriptive like that?

 Philipp

 Am 09.02.2013 23:11, schrieb Andrei Gherzan:

  There are no libgl binary shipped in raspberrypi firmware repo.

 Signed-off-by: Andrei Gherzan and...@gherzan.ro
 ---
   conf/machine/include/rpi-**default-providers.inc |1 -
   1 file changed, 1 deletion(-)

 diff --git a/conf/machine/include/rpi-**default-providers.inc
 b/conf/machine/include/rpi-**default-providers.inc
 index ce963b3..6abab60 100644
 --- a/conf/machine/include/rpi-**default-providers.inc
 +++ b/conf/machine/include/rpi-**default-providers.inc
 @@ -4,5 +4,4 @@ PREFERRED_PROVIDER_virtual/**kernel = linux-raspberrypi
   PREFERRED_PROVIDER_virtual/**xserver = xserver-xorg
   PREFERRED_PROVIDER_virtual/egl ?= vc-graphics-hardfp
   PREFERRED_PROVIDER_virtual/**libgles2 ?= vc-graphics-hardfp
 -PREFERRED_PROVIDER_virtual/**libgl ?= vc-graphics-hardfp
   PREFERRED_PROVIDER_linux-libc-**headers ?= linux-libc-headers-**
 raspberrypi




-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 1/1] rpi-first-run-wizard: Fix RDEPENDS warning

2013-02-20 Thread Andrei Gherzan
Thanks.


On Tue, Feb 19, 2013 at 4:03 PM, Philipp Wagner li...@philipp-wagner.comwrote:

 Am 10.02.2013 18:55, schrieb Andrei Gherzan:

  WARNING: QA Issue: [...]/rpi-first-run-wizard.bb:
 Variable RDEPENDS is set as not being package specific, please fix this.

 Signed-off-by: Andrei Gherzan and...@gherzan.ro
 ---
   
 recipes-extra/startup/rpi-**first-run-wizard.bbhttp://rpi-first-run-wizard.bb|
 4 ++--
   1 file changed, 2 insertions(+), 2 deletions(-)

 diff --git 
 a/recipes-extra/startup/rpi-**first-run-wizard.bbhttp://rpi-first-run-wizard.bbb/recipes-extra/startup/
 rpi-**first-run-wizard.bb http://rpi-first-run-wizard.bb
 index c5cef7c..6ede56e 100644
 --- 
 a/recipes-extra/startup/rpi-**first-run-wizard.bbhttp://rpi-first-run-wizard.bb
 +++ 
 b/recipes-extra/startup/rpi-**first-run-wizard.bbhttp://rpi-first-run-wizard.bb
 @@ -3,11 +3,11 @@ LICENSE = GPLV2
   LIC_FILES_CHKSUM = file://${WORKDIR}/LICENSE;**md5=**
 b234ee4d69f5fce4486a80fdaf4a42**63

   DEPENDS = zenity dbus
 -RDEPENDS = slim sudo zenity dbus
 +RDEPENDS_${PN} = slim sudo zenity dbus

   COMPATIBLE_MACHINE = raspberrypi

 -PR = r1
 +PR = r2

   SRC_URI =  \
 file://LICENSE \


 I've applied this patch and it works as expected.

 Philipp




-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 2/7] rpi-default-providers: Use userland as provider for egl and gles2

2013-03-13 Thread Andrei Gherzan
Merged.


On Sun, Feb 10, 2013 at 12:11 AM, Andrei Gherzan and...@gherzan.ro wrote:

 Signed-off-by: Andrei Gherzan and...@gherzan.ro
 ---
  conf/machine/include/rpi-default-providers.inc |4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

 diff --git a/conf/machine/include/rpi-default-providers.inc
 b/conf/machine/include/rpi-default-providers.inc
 index 6abab60..86330e8 100644
 --- a/conf/machine/include/rpi-default-providers.inc
 +++ b/conf/machine/include/rpi-default-providers.inc
 @@ -2,6 +2,6 @@

  PREFERRED_PROVIDER_virtual/kernel = linux-raspberrypi
  PREFERRED_PROVIDER_virtual/xserver = xserver-xorg
 -PREFERRED_PROVIDER_virtual/egl ?= vc-graphics-hardfp
 -PREFERRED_PROVIDER_virtual/libgles2 ?= vc-graphics-hardfp
 +PREFERRED_PROVIDER_virtual/egl ?= userland
 +PREFERRED_PROVIDER_virtual/libgles2 ?= userland
  PREFERRED_PROVIDER_linux-libc-headers ?= linux-libc-headers-raspberrypi
 --
 1.7.9.5




-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 4/7] layer.conf: Set LICENSE_PATH to layers's custom licenses directory

2013-03-13 Thread Andrei Gherzan
Merged.


On Sun, Feb 10, 2013 at 12:11 AM, Andrei Gherzan and...@gherzan.ro wrote:

 Signed-off-by: Andrei Gherzan and...@gherzan.ro
 ---
  conf/layer.conf |4 
  1 file changed, 4 insertions(+)

 diff --git a/conf/layer.conf b/conf/layer.conf
 index e8b87b2..7bffd4b 100644
 --- a/conf/layer.conf
 +++ b/conf/layer.conf
 @@ -8,3 +8,7 @@ BBFILES += ${LAYERDIR}/recipes*/*/*.bb \
  BBFILE_COLLECTIONS += raspberrypi
  BBFILE_PATTERN_raspberrypi := ^${LAYERDIR}/
  BBFILE_PRIORITY_raspberrypi = 6
 +
 +# Additional license directories.
 +LICENSE_PATH += ${LAYERDIR}/files/custom-licenses
 +
 --
 1.7.9.5




-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 5/7] recipes.txt: Remove file

2013-03-13 Thread Andrei Gherzan
Merged.


On Sun, Feb 10, 2013 at 12:11 AM, Andrei Gherzan and...@gherzan.ro wrote:

 This file contains outdated informations.

 Signed-off-by: Andrei Gherzan and...@gherzan.ro
 ---
  recipes.txt |9 -
  1 file changed, 9 deletions(-)
  delete mode 100644 recipes.txt

 diff --git a/recipes.txt b/recipes.txt
 deleted file mode 100644
 index f989530..000
 --- a/recipes.txt
 +++ /dev/null
 @@ -1,9 +0,0 @@
 -recipes-bcm  - Broadcom specific recipes and tweaks (including
 binary only bootloader).
 -recipes-bsp  - Anything with links to the RaspberryPi hardware
 configuration information.
 -recipes-core - Extensions to existing upstream core recipes.
 -recipes-devtools - Extensions to existing upstream devtools recipes
 and other RaspberryPi specific devtools recipes.
 -recipes-devices  - Device drivers/Init scripts.
 -recipes-graphics - XOrg Config and such.
 -recipes-kernel   - The RaspberryPi kernel recipes and anything with
 strong kernel dependencies.
 -recipes-multimedia   - Extensions to existing upstream multimedia recipes
 and other RaspberryPi specific multimedia recipes.
 -
 --
 1.7.9.5




-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 6/7] userland: Update to 8700279495e266378d36092ccf86424f0ee2539f

2013-03-13 Thread Andrei Gherzan
Merged.


On Sun, Feb 10, 2013 at 12:11 AM, Andrei Gherzan and...@gherzan.ro wrote:

 * install_vmcs not needed anymore
 * By default package is installed in /opt/vc. Move everything in ${prefix}.
 * Move recipe in recipes-graphics
 * Add PACKAGE_ARCH = MACHINE_ARCH

 Signed-off-by: Andrei Gherzan and...@gherzan.ro
 ---
  recipes-bcm/userland/userland-git/install_vmcs |  279
 
  recipes-bcm/userland/userland_git.bb   |   43 
  recipes-graphics/userland/userland_git.bb  |   39 
  3 files changed, 39 insertions(+), 322 deletions(-)
  delete mode 100755 recipes-bcm/userland/userland-git/install_vmcs
  delete mode 100644 recipes-bcm/userland/userland_git.bb
  create mode 100644 recipes-graphics/userland/userland_git.bb

 diff --git a/recipes-bcm/userland/userland-git/install_vmcs
 b/recipes-bcm/userland/userland-git/install_vmcs
 deleted file mode 100755
 index 980522e..000
 --- a/recipes-bcm/userland/userland-git/install_vmcs
 +++ /dev/null
 @@ -1,279 +0,0 @@
 -#!/bin/sh
 -
 -# edit this file only at vc4\makefiles\cmake\scripts\install_vmcs
 -# update (via root staging area) using cmake {args} vc4, etc.
 -
 -cmd=$0
 -cmd_dir=`dirname -- $cmd`
 -cmd_dir=`(cd $cmd_dir/dev/null;pwd)`
 -cmd_name=`basename -- $cmd`
 -
 -# this command should be run as root from ${dir_install}/sbin
 -
 -dir_install=`dirname -- $cmd_dir`
 -dir_data=$dir_install/share/install
 -dir_sd=/sd
 -
 -do_force=false
 -
 -# install contents of $dir_data into the system
 -
 -if [ `whoami` != root ]; then
 -echo $cmd_name: you need to be root to execute this command2
 -exit 1
 -fi
 -
 -[ _$1 = _-f -o _$1 = _--force ]  { do_force=true; shift; }
 -
 -
 -# Uninstall script
 -
 -#
 -#
 -
 -create_uninstall()
 -{  cat 'EOF'
 -#!/bin/sh
 -
 -
 - WARNING: this script is written and overwritten by $cmd - don't edit
 -
 -
 -cmd=$0
 -cmd_dir=`dirname -- $cmd`
 -cmd_dir=`(cd $cmd_dir/dev/null;pwd)`
 -cmd_name=`basename -- $cmd`
 -
 -# this command should be run from dir_install/sbin
 -
 -if [ `whoami` != root ]; then
 -echo $cmd_name: you need to be root to execute this command2
 -exit 1
 -fi
 -
 -# uninstall the new libraries
 -
 -if [ -f /etc/ld.so.conf.d/vmcs.conf ]; then
 -rm /etc/ld.so.conf.d/vmcs.conf
 -ldconfig
 -fi
 -
 -vcfiled=/etc/init.d/vcfiled
 -if [ -x $vcfiled ]; then
 -$vcfiled stop
 -if update-rc.d -f vcfiled remove; then
 -rm -f $vcfiled
 -else
 -echo $cmd_name: failed to install $vcfiled, sorry2
 -fi
 -fi
 -
 -EOF
 -}
 -
 -
 -#
 -#
 -
 -rc=0
 -
 -# install un-installation script
 -
 -if [ -f $cmd_dir/uninstall_vmcs ]; then
 -if mv -f $cmd_dir/uninstall_vmcs $cmd_dir/uninstall_last_vmcs;
 then
 -echo $cmd_name: previous installation's uninstallation script
 saved in2
 -echo $cmd_name: $cmd_dir/uninstall_last_vmcs2
 -else
 -echo $cmd_name: failed to rename previous installation's
 uninstallation script2
 -fi
 -fi
 -create_uninstall  $cmd_dir/uninstall_vmcs
 -chmod +x $cmd_dir/uninstall_vmcs
 -
 -# install the new libraries
 -
 -if $do_force || [ -d /etc/ld.so.conf.d ]; then
 -if $do_force || [ ! -f /etc/ld.so.conf.d/vmcs.conf ]; then
 -if [ ! -f $dir_data/vmcs.conf ]; then
 -echo $cmd_name: expected file missing in
 $dir_data/vmcs.conf2
 -rc=1
 -else
 -mkdir -p /etc/ld.so.conf.d
 -cp -af $dir_data/vmcs.conf /etc/ld.so.conf.d/vmcs.conf
 -ldconfig
 -fi
 -fi
 -else
 -echo $cmd_name: don't know how to install libraries, sorry2
 -rc=2
 -fi
 -
 -# install VC file daemon
 -
 -if $do_force || [ ! -f /etc/init.d/vcfiled ]; then
 -if [ ! -f $dir_data/vcfiled ]; then
 -echo $cmd_name: expected file missing in $dir_data/vcfiled2
 -rc=3
 -else
 -cp -af $dir_data/vcfiled /etc/init.d/vcfiled
 -if ! update-rc.d vcfiled defaults 16; then
 -echo $cmd_name: don't know how to install new
 /etc/init.d/vcfiled, sorry2
 -rc=4
 -elif ! update-rc.d vcfiled enable; then
 -echo $cmd_name: failed to enable new /etc/init.d/vcfiled,
 sorry2
 -rc=5
 -fi
 -fi
 -fi
 -
 -# make sure vchiq device finder is installed
 -
 -if $do_force || [ ! -f /etc/init.d/vchiq ]; then
 -if [ ! -f $dir_data/vchiq ]; then
 -echo $cmd_name: expected file missing in $dir_data/vchiq2
 -else
 -cp -af $dir_data/vchiq /etc/init.d/vchiq
 -if ! update-rc.d vchiq defaults 12; then
 -echo $cmd_name: don't know how to install new
 /etc/init.d/vchiq, sorry2
 -rc=6
 -elif ! update-rc.d vchiq enable; then
 -echo $cmd_name: failed to enable new /etc/init.d/vchiq,
 sorry2
 -rc=7
 -fi
 -fi
 -fi
 -
 -# set up a module directory

Re: [yocto] [meta-raspberrypi][PATCH 1/7] rpi-default-providers: Remove virtual/libgl provider

2013-03-13 Thread Andrei Gherzan
Merged.


On Sun, Feb 10, 2013 at 12:11 AM, Andrei Gherzan and...@gherzan.ro wrote:

 There are no libgl binary shipped in raspberrypi firmware repo.

 Signed-off-by: Andrei Gherzan and...@gherzan.ro
 ---
  conf/machine/include/rpi-default-providers.inc |1 -
  1 file changed, 1 deletion(-)

 diff --git a/conf/machine/include/rpi-default-providers.inc
 b/conf/machine/include/rpi-default-providers.inc
 index ce963b3..6abab60 100644
 --- a/conf/machine/include/rpi-default-providers.inc
 +++ b/conf/machine/include/rpi-default-providers.inc
 @@ -4,5 +4,4 @@ PREFERRED_PROVIDER_virtual/kernel = linux-raspberrypi
  PREFERRED_PROVIDER_virtual/xserver = xserver-xorg
  PREFERRED_PROVIDER_virtual/egl ?= vc-graphics-hardfp
  PREFERRED_PROVIDER_virtual/libgles2 ?= vc-graphics-hardfp
 -PREFERRED_PROVIDER_virtual/libgl ?= vc-graphics-hardfp
  PREFERRED_PROVIDER_linux-libc-headers ?= linux-libc-headers-raspberrypi
 --
 1.7.9.5




-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 3/3] sdcard-image: Use the size of the generated rootfs

2013-03-13 Thread Andrei Gherzan
Any news on this. Still waiting for patches :)


On Sun, Jan 27, 2013 at 2:04 PM, Jan Schmidt thay...@noraisin.net wrote:

 On Sun, 2013-01-27 at 13:32 +0200, Andrei Gherzan wrote:
  On Sun, Jan 27, 2013 at 10:17:57PM +1100, Jan Schmidt wrote:
   On Sun, 2013-01-27 at 00:47 +0200, Andrei Gherzan wrote:
On Sat, Jan 26, 2013 at 10:18:24PM +1100, Jan Schmidt wrote:
 When constructing the SD card image, the code was using
 the inherited ROOTFS_SIZE, which is the size of the

 *snip*

 --- a/classes/sdcard_image-rpi.bbclass
 +++ b/classes/sdcard_image-rpi.bbclass
 @@ -13,14 +13,16 @@ inherit image_types
  # Default
 Free space = 1.3x
  # Use
 IMAGE_OVERHEAD_FACTOR to add more space
  # -
 -#4KiB  20MiB   SDIMG_ROOTFS
 +#4KiB ~20MiB   SDIMG_ROOTFS
   
Why ~20M? As you see in the class BOOT_SPACE ?= 20480. So that is
 20MiB.
  
   I was trying to make it clear in the comment that if the user changes
   the BOOT_SPACE size, it will always be rounded up to the nearest 4MB. I
   couldn't think of a great way. Also, I didn't pay enough attention -
 the
   comment is saying IMAGE_ROOTFS_ALIGNMENT is 4kB, but it should be MiB.
  
 
  Uh, I understand now your point here. Well, I don't think that user
 needs to
  know that if he wants 20470 as BOOT_SPACE, he's partition will end up
 20480.
  Because this is something related to performance and it's in his benefit
 after
  all. So let's drop this for now.

 OK.

  About the 4kB thing - yes. Needs fix.

 OK.

 *snip*

 BOOT_SPACE_ALIGNED=$(expr ${BOOT_SPACE_ALIGNED} -
 ${BOOT_SPACE_ALIGNED} % ${IMAGE_ROOTFS_ALIGNMENT})
 -   SDIMG_SIZE=$(expr ${IMAGE_ROOTFS_ALIGNMENT} +
 ${BOOT_SPACE_ALIGNED} + $ROOTFS_SIZE + ${IMAGE_ROOTFS_ALIGNMENT})
 +   ROOTFS_SIZE=`du -ks ${SDIMG_ROOTFS} | awk '{print $1}'`
   
Are you sure `du -ks ${ROOTFS_SIZE} | awk '{print $1}'` is aligned to
IMAGE_ROOTFS_ALIGNMENT? I'm not so sure about this. So you might
 need to align
it the way BOOT_SPACE is aligned.
  
   No, the ROOTFS_SIZE will be whatever the base recipe creates. I don't
   think it will have any particular alignment, except by accident - in
 the
   sense that it's probably stored on an ext3 filesystem that has 4kB
   allocation blocks and therefore 'du -sk' will round it up to that. We
   would need to explicitly round up to 4MiB, but I'm not sure why to do
   that -
  
 
  Check this out:
  http://android.bytearrays.com/android/what-means-sd-card-alignment/

 Sure, but the largst cluster sizes I've seen are 32KB (do they come
 bigger yet?) 4MiB seems like a large amount for anticipation of future
 cluster sizes.

 +   SDIMG_SIZE=$(expr ${IMAGE_ROOTFS_ALIGNMENT} +
 ${BOOT_SPACE_ALIGNED} + ${ROOTFS_SIZE})

 # Initialize sdcard image file
 dd if=/dev/zero of=${SDIMG} bs=1 count=0 seek=$(expr 1024
 \* ${SDIMG_SIZE})
 @@ -71,7 +74,7 @@ IMAGE_CMD_rpi-sdimg () {
 parted -s ${SDIMG} unit KiB mkpart primary fat32
 ${IMAGE_ROOTFS_ALIGNMENT} $(expr ${BOOT_SPACE_ALIGNED} \+
 ${IMAGE_ROOTFS_ALIGNMENT})
 parted -s ${SDIMG} set 1 boot on
 # Create rootfs partition
 -   parted -s ${SDIMG} unit KiB mkpart primary ext2 $(expr
 ${BOOT_SPACE_ALIGNED} \+ ${IMAGE_ROOTFS_ALIGNMENT}) $(expr
 ${BOOT_SPACE_ALIGNED} \+ ${IMAGE_ROOTFS_ALIGNMENT} \+ ${ROOTFS_SIZE})
 +   parted -s ${SDIMG} unit KiB mkpart primary ext2 $(expr
 ${BOOT_SPACE_ALIGNED} \+ ${IMAGE_ROOTFS_ALIGNMENT}) $(expr ${SDIMG_SIZE} -
 1)
 parted ${SDIMG} print
   
Don't think that -1 is needed here.
  
   No, you're right - it shouldn't be. I got a weird error where parted
   failed to create the partition in the image file, saying it ran past
 the
   end. Possibly related to the error you mentioned you saw that made you
   pad with IMAGE_ROOTFS_ALIGNMENT in the first place. I think I'll
   investigate more.
  
   There's a couple of things to check and fix here, so I think I'll
   withdraw this patch and re-send it later after more testing. The first
 2
   patches still should be OK though.
  
 
  Please do. Btw, after a smoke test the boot process failed with your
  modifications:

 Interesting! That certainly didn't happen for me. It may depend on the
 exact size and internal layout of the rootfs image being written to the
 SD image file. I'll test as many combinations as I can before
 re-submitting.

 J.

  [2.274940] mmcblk0: mmc0:b368 SMI   3.84 GiB
  [2.281131]  mmcblk0: p1 p2
  [2.304604] EXT4-fs (mmcblk0p2): feature flags set on rev 0 fs,
 running
  e2fsck is recommended
  [2.313147] EXT4-fs (mmcblk0p2): bad geometry: block count 57344
 exceeds
  size of device (45539 blocks)
  [2.323630] List of all

Re: [yocto] [meta-raspberrypi][PATCH 1/1] rpi-first-run-wizard: Fix RDEPENDS warning

2013-03-13 Thread Andrei Gherzan
Merged.


On Wed, Feb 20, 2013 at 1:16 PM, Andrei Gherzan and...@gherzan.ro wrote:

 Thanks.


 On Tue, Feb 19, 2013 at 4:03 PM, Philipp Wagner 
 li...@philipp-wagner.comwrote:

 Am 10.02.2013 18:55, schrieb Andrei Gherzan:

  WARNING: QA Issue: [...]/rpi-first-run-wizard.bb:
 Variable RDEPENDS is set as not being package specific, please fix this.

 Signed-off-by: Andrei Gherzan and...@gherzan.ro
 ---
   
 recipes-extra/startup/rpi-**first-run-wizard.bbhttp://rpi-first-run-wizard.bb|
 4 ++--
   1 file changed, 2 insertions(+), 2 deletions(-)

 diff --git 
 a/recipes-extra/startup/rpi-**first-run-wizard.bbhttp://rpi-first-run-wizard.bbb/recipes-extra/startup/
 rpi-**first-run-wizard.bb http://rpi-first-run-wizard.bb
 index c5cef7c..6ede56e 100644
 --- 
 a/recipes-extra/startup/rpi-**first-run-wizard.bbhttp://rpi-first-run-wizard.bb
 +++ 
 b/recipes-extra/startup/rpi-**first-run-wizard.bbhttp://rpi-first-run-wizard.bb
 @@ -3,11 +3,11 @@ LICENSE = GPLV2
   LIC_FILES_CHKSUM = file://${WORKDIR}/LICENSE;**md5=**
 b234ee4d69f5fce4486a80fdaf4a42**63

   DEPENDS = zenity dbus
 -RDEPENDS = slim sudo zenity dbus
 +RDEPENDS_${PN} = slim sudo zenity dbus

   COMPATIBLE_MACHINE = raspberrypi

 -PR = r1
 +PR = r2

   SRC_URI =  \
 file://LICENSE \


 I've applied this patch and it works as expected.

 Philipp




 --
 *Andrei Gherzan*
 m: +40.744.478.414 |  f: +40.31.816.28.12




-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 1/2] Choose correct ABI version of graphics binaries

2013-03-13 Thread Andrei Gherzan
I will drop this patch as we use useland now as default provider.

Thank you.


On Tue, Feb 12, 2013 at 7:36 PM, Philipp Wagner li...@philipp-wagner.comwrote:

 Am 09.02.2013 23:59, Andrei Gherzan wrote:
  I like this change but I think the best way would be to switch to
  userland. So we can compile our own libraries. I sent some patches so
  please give them a try.

 I agree that switching to userland is the best solution. I'll give it a
 try in the next couple days and report back.

 Philipp




-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH] rpi-first-run-wizard: fix QA Error

2013-03-13 Thread Andrei Gherzan
Hello,

There was already a patch in queue. Thank you and fix was merged in master.


On Tue, Mar 12, 2013 at 10:56 PM, Eric Bénard e...@eukrea.com wrote:

 ERROR: QA Issue: .../meta-raspberrypi/recipes-extra/startup/
 rpi-first-run-wizard.bb:
 Variable RDEPENDS is set as not being package specific, please fix this.

 Signed-off-by: Eric Bénard e...@eukrea.com
 ---
  recipes-extra/startup/rpi-first-run-wizard.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

 diff --git 
 a/recipes-extra/startup/rpi-first-run-wizard.bbb/recipes-extra/startup/
 rpi-first-run-wizard.bb
 index c5cef7c..f3ac8b4 100644
 --- a/recipes-extra/startup/rpi-first-run-wizard.bb
 +++ b/recipes-extra/startup/rpi-first-run-wizard.bb
 @@ -3,7 +3,7 @@ LICENSE = GPLV2
  LIC_FILES_CHKSUM =
 file://${WORKDIR}/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263

  DEPENDS = zenity dbus
 -RDEPENDS = slim sudo zenity dbus
 +RDEPENDS_${PN} = slim sudo zenity dbus

  COMPATIBLE_MACHINE = raspberrypi

 --
 1.7.11.7




-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH] use right license name for GPLv2

2013-03-13 Thread Andrei Gherzan
Hello Eric,

The SPDX name for GPLv2 (http://spdx.org/licenses/) is GPL-2.0 so I'd like
to use this.

And one more thing, please add the recipe name in the commit log -
something like:
*rpi-first-run-wizard.bb: Use right license name for GPLv2*

Thank you,

On Tue, Mar 12, 2013 at 11:00 PM, Eric Bénard e...@eukrea.com wrote:

 Signed-off-by: Eric Bénard e...@eukrea.com
 ---
  recipes-bcm/bcm2835/bcm2835_1.8.bb| 2 +-
  recipes-extra/startup/rpi-first-run-wizard.bb | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)

 diff --git a/recipes-bcm/bcm2835/bcm2835_1.8.bb b/recipes-bcm/bcm2835/
 bcm2835_1.8.bb
 index d9681e5..40f9be5 100644
 --- a/recipes-bcm/bcm2835/bcm2835_1.8.bb
 +++ b/recipes-bcm/bcm2835/bcm2835_1.8.bb
 @@ -5,7 +5,7 @@ SECTION = base
  HOMEPAGE = http://www.open.com.au/mikem/bcm2835;
  AUTHOR = Mike McCauley (mi...@open.com.au)

 -LICENSE = GPL-2.0
 +LICENSE = GPLv2
  LIC_FILES_CHKSUM = file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263

  PR = r0
 diff --git 
 a/recipes-extra/startup/rpi-first-run-wizard.bbb/recipes-extra/startup/
 rpi-first-run-wizard.bb
 index f3ac8b4..dda4012 100644
 --- a/recipes-extra/startup/rpi-first-run-wizard.bb
 +++ b/recipes-extra/startup/rpi-first-run-wizard.bb
 @@ -1,5 +1,5 @@
  DESCRIPTION = Scripts to support a first run wizard on the Raspberry Pi.
 -LICENSE = GPLV2
 +LICENSE = GPLv2
  LIC_FILES_CHKSUM =
 file://${WORKDIR}/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263

  DEPENDS = zenity dbus
 --
 1.7.11.7




-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH] Fix FILESEXTRAPATHS, dir is netbase-5.0

2013-04-20 Thread Andrei Gherzan
On Sat, Apr 20, 2013 at 4:05 PM, Paul Barker p...@paulbarker.me.uk wrote:

 On 19 April 2013 17:23, Saul Wold s...@linux.intel.com wrote:
  Just another note about the netbase, for 1.4 the interfaces file moved to
  init-ifupdown, so that file should move to a new recipe with bbappends
 for
  init-ifupdown-1.0.
 
  We just fixed meta-yocto for the beagleboard  in the final 1.4 release.
 

 Ok, had a look at this now.

 As originally pointed out by Robert, the hosts and interfaces files
 are not picked up as the wrong directory is named in
 netbase_5.0.bbappend. However, the image I've just built works fine
 with the stock files in openembedded-core. Both eth0 and lo interfaces
 come up fine. Other interfaces listed in the stock files don't have an
 auto line so no attempt is made to bring them up at boot.

 If we look at the interfaces file in meta-raspberrypi
 (
 http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/recipes-core/netbase/netbase-5.0/raspberrypi/interfaces
 ),
 it doesn't even list eth0 so I can't see how it would work.

 The hosts file (
 http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/recipes-core/netbase/netbase-5.0/raspberrypi/hosts
 )
 just adds the names 'raspberrypi' and 'rpi' as aliases for localhost,
 which I don't see the purpose of myself.

 So I'd recommend dropping these from meta-raspberrypi completely. Just
 my opinion though, anyone else got any thoughts on this?


Hello guys. Probably dropping would be the best thing here. I don't think
that the issue is reproduced anymore with netbase on rpi. If you submit
patch I can give it a try.

-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] meta-raspberrypi

2013-05-01 Thread Andrei Gherzan
Right. Had a couple of problems + out of town for a while. Tonight will
sync with all the patches sent. Sorry for this.


On Tue, Apr 30, 2013 at 12:54 AM, Philipp Wagner
li...@philipp-wagner.comwrote:

 Am 30.04.2013 00:13, seth bollinger wrote:
  Is anyone maintaining the meta-raspberrypi repository?

 Yes, it's maintained by Andrei Gherzan and...@gherzan.ro.

 Philipp
 ___
 yocto mailing list
 yocto@yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto




-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 1/2] sdcard_image-rpi.bbclass: Fix error in conditional test

2013-05-01 Thread Andrei Gherzan
On Thu, Apr 25, 2013 at 2:59 PM, Paul Barker p...@paulbarker.me.uk wrote:

 On 25 April 2013 13:51, Seth Bollinger seth.b...@gmail.com wrote:
  On Thu, Apr 25, 2013 at 7:38 AM, Paul Barker p...@paulbarker.me.uk
 wrote:
 
  '[[' should be a bash builtin. What host OS are you using for the build?
 
  I'm using debian.  I'll check what the default shell is.  You're right,
 it's
  probably dash.
 

 Try 'sudo dpkg-reconfigure dash'.

  However, should this fail silently then?  In this instance I only saw the
  error with debug enabled.  Otherwise it silently tried to dd a compressed
  image to the sd card.  Of course this didn't run.  :)
 

 I assume that 'if' tries to run the command, gets a non-zero return
 value as the command doesn't run and just interprets this as the
 command running but returning non-zero.


I think I asked Seth a while ago and he confirmed that bash was his shell. I
thought about dash as well. But as a matter of fact we should remove
bashisms and make things as usable as possible. So maybe his patch makes
sense after all.


-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 2/2] sdcard_image-rpi.bbclass: Copy startup files required for 16MB GPU operation.

2013-05-01 Thread Andrei Gherzan
On Thu, Apr 25, 2013 at 3:03 PM, Paul Barker p...@paulbarker.me.uk wrote:

 On 25 April 2013 13:57, Seth Bollinger seth.b...@gmail.com wrote:
  On Thu, Apr 25, 2013 at 7:51 AM, Paul Barker p...@paulbarker.me.uk
 wrote:
 
  Trying to apply this email I get:
 
  Applying: sdcard_image-rpi.bbclass: Copy startup files required
  for 16MB GPU operation.
  fatal: corrupt patch at line 14
  Patch failed at 0001 sdcard_image-rpi.bbclass: Copy startup files
  required for 16MB GPU operation.
 
  Trying to apply the attached patch I get:
 
  Patch format detection failed.
 
  Are you using 'git send-email'?
 
  However, I can apply this after fixing the attached patch file by
  hand, giving it a test now.
 
 
  I run git format-patch and then copy the text into the email and attach
 the
  patch.  I apologize for the trouble.  Richard complained of whitespace
  problems in my last patches so I'm trying to alleviate this problem.  :)
  I'll see if I can't get gmail set up on my vm so I can use git
 send-email.
 
  Seth

 Somehow a leading '' crept into the attached patch.

 Almost all mail clients ruin patches, maybe take a look at
 https://coderwall.com/p/dp-gka for using 'git send-email' with gmail.

 If you don't want to clog the list with attempts which might not work,
 send a few test patches to me and i'll let you know if they work.


Aa... I just can't make it work. My advice is to use git send-email
too.

-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi] Zenity is in meta-gnome

2013-05-01 Thread Andrei Gherzan
On Sat, Apr 27, 2013 at 05:14:22PM +0100, Paul Barker wrote:
 rpi-first-run-wizard depends on zenity, which is in meta-gnome.
 However the README file for meta-raspberrypi says only oe-core and
 meta-oe layers are required (lines 105 and 106 of the current README).

 I'd say the 2 possible solutions are either listing meta-gnome as a
 layer dependency or re-writing rpi-first-run-wizard to use something
 else. I can write a patch for the former, the latter isn't really my
 area of expertise.

That's something we should take a look at. It was introduced before me taking
this layer and we need to tweak it a little bit (dependency too). If you cat
take a loot at it would be great. Never tested it on board actually. And we
need to make it work with systemd too somehow. I have it in my queue.

--
Andrei Gherzan
m: +40.744.478.414 | f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 3/3] sdcard-image: Use the size of the generated rootfs

2013-05-01 Thread Andrei Gherzan
On Wed, Mar 13, 2013 at 10:03 PM, Jan Schmidt thay...@noraisin.net wrote:

 Hi Andrei,

 Thanks for the reminder - I did find the problem with the original
 patch, but didn't send it through yet. The problem was using du on a
 sparse file and getting the size-on-disk, not the apparent size - making
 the resulting partition too small. Using du -bks gets the correct size.


That's great. Bring in the patches :)


-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Antwort: Re: booting with systemd fails with poky 9.0.0 meta-ivi 4.0 meta-intel master

2013-05-02 Thread Andrei Gherzan
On Thu, May 2, 2013 at 10:08 AM, Felix01 Fischer felix01.fisc...@iav.dewrote:

 Hello,

 I've attached a file with the changes I made to local.conf, bblayers.conf
  some output from bitbake. I can build working images for qemux86, too

 The build process itself triggers no errors.

 As im building with MACHINE ??= crownbay I was able to locate
 tmp-eglibc-eglibc/work/crownbay-oe-linux/foton-image/4.0.0-r0/rootfs/bin/mount
 which is a symlink to /bin/mount.util-linux. This file exists, too.

 This is the output when trying to boot, beginning with the /init error

 /init: line 98: mount: not found
 /init: line 98: mount: not found
 /init: line 98: mount: not found
 systemd-udev[44]: starting version 199
 cat: can't open '/proc/cmdline': No such file or directory
 Waiting for removable media...



So you are using crownbay. Most probably you miss some systemd configs in
kernel. That would be my guess.
Adding Florin Sarbu and Holger Behrens to CC (meta-ivi maintainer).

Cheers!

-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 2/2] sdcard_image-rpi.bbclass: Copy startup files required for 16MB GPU operation.

2013-05-02 Thread Andrei Gherzan
Managed to apply it. Thanks.


On Thu, May 2, 2013 at 1:37 PM, Paul Barker p...@paulbarker.me.uk wrote:

 On 1 May 2013 20:19, Andrei Gherzan and...@gherzan.ro wrote:
 
  Aa... I just can't make it work. My advice is to use git send-email
 too.
 

 You can cherry-pick it from my repository at the moment
 (https://bitbucket.org/betafive/meta-raspberrypi), but yes, git
 send-email is the way forward.

 --
 Paul Barker

 Email: p...@paulbarker.me.uk
 http://www.paulbarker.me.uk




-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi] Zenity is in meta-gnome

2013-05-02 Thread Andrei Gherzan
On Thu, May 2, 2013 at 6:23 PM, Gary Thomas g...@mlbassoc.com wrote:

 On 2013-05-02 09:52, Paul Barker wrote:

 On 2 May 2013 16:12, Trevor Woerner twoer...@gmail.com wrote:

 - a separate tool (which will probably need to be run as root) is used
 to actually format/create the SD device (using, say, sfdisk for
 automation) this way the last partition can be specified as use the
 rest of the disk
 - this tool unpacks the requested/required {tar|rpm|deb|ipk}s onto the
 SD device (some of which can come from outside the Yocto build system,
 e.g. from using the SDK); this device already has its
 formatting/partitions ready
 - this tool could also handle setting up serial numbers, IP addresses,
 etc
 - this tools also sets up the bootloader (if required)



It always makes sense to create images and deploy it to different file
types. I don't know why you don't think this is a feature the build system
should handle. And the sdcard image is just a particular case of that. Now,
what we are talking about is to make things easier for the user. If he
needs to install alternative rpms (or whatever) he can do it with yum +
repos (even custom from deploy dir), he can use custom images /
packagegroups. IMAGE_INSTALL_append etc. There are so many ways to do it so
after all the user has the possibility to custom things around.

Now, the sdcard is generated or not ... again that is optional. You can
have a tar + kernel + boot things and use a custom script to do whatever -
directly on sd or so. Exactly what you said. But for a general user that
would be additional work / time. And btw the sdcard image is as little as
the actual files are (plus some default free space) and you can have more
free space with EXTRA_IMAGE_FREE_SPACE (?! need to check if that it correct
but anyway there is something similar).

So that script was just a helper to make things easier for the user.

On the other hand i'm pretty sure nobody uses it. Probably because is
outdated and seems to come from other project - which is true :). So if we
decide to keep it we need to refactor it. And raspi-config would be my
choice.




  Sounds great though it may take a long time to copy files to an SD
 card (I noticed a similar opinion at
 http://www.raspbian.org/**RaspbianInstallerhttp://www.raspbian.org/RaspbianInstaller).
 May be quicker to generate
 an image file with the correct size first then dd that to the card.


 The problem with this approach is that the generated image will typically
 be many gigabytes in size (typical SD cards are 4GB on up).  The time to
 copy such an image to the physical card can be very large indeed.


Correct.

-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 1/2] sdcard_image-rpi.bbclass: Fix error in conditional test

2013-05-03 Thread Andrei Gherzan
Merged to master.

Thanks a lot.


On Thu, May 2, 2013 at 1:33 PM, Paul Barker p...@paulbarker.me.uk wrote:

 On 1 May 2013 20:10, Andrei Gherzan and...@gherzan.ro wrote:
  I think I asked Seth a while ago and he confirmed that bash was his
 shell. I
  thought about dash as well. But as a matter of fact we should remove
  bashisms and make things as usable as possible. So maybe his patch makes
  sense after all.
 

 Based on Paul Eggleton's reply elsewhere:

 On 2 May 2013 09:07, Paul Eggleton paul.eggle...@linux.intel.com wrote:
  On Wednesday 01 May 2013 19:13:19 seth bollinger wrote:
  2.  I couldn't find a wildcard string search in dash.  Can anyone
  suggest a more shell agnostic way to do this?
 
  AFAIK grep or awk is the only way.

 I think this patch probably does make sense.

 --
 Paul Barker

 Email: p...@paulbarker.me.uk
 http://www.paulbarker.me.uk




-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH] netbase: Remove bbappend and files

2013-05-03 Thread Andrei Gherzan
Merged to master.

Thanks a lot.


On Mon, Apr 22, 2013 at 10:19 PM, Paul Barker p...@paulbarker.me.uk wrote:

 Dropped raspberrypi modifications to hosts and interfaces files as they are
 unnecessary.

 Signed-off-by: Paul Barker p...@paulbarker.me.uk
 ---
  recipes-core/netbase/netbase-5.0/raspberrypi/hosts  |2 --
  recipes-core/netbase/netbase-5.0/raspberrypi/interfaces |   15
 ---
  recipes-core/netbase/netbase_5.0.bbappend   |3 ---
  3 files changed, 20 deletions(-)
  delete mode 100644 recipes-core/netbase/netbase-5.0/raspberrypi/hosts
  delete mode 100644 recipes-core/netbase/netbase-5.0/raspberrypi/interfaces
  delete mode 100644 recipes-core/netbase/netbase_5.0.bbappend

 diff --git a/recipes-core/netbase/netbase-5.0/raspberrypi/hosts
 b/recipes-core/netbase/netbase-5.0/raspberrypi/hosts
 deleted file mode 100644
 index 7d87a18..000
 --- a/recipes-core/netbase/netbase-5.0/raspberrypi/hosts
 +++ /dev/null
 @@ -1,2 +0,0 @@
 -127.0.0.1  localhost.localdomain   localhost
 raspberrypi rpi
 -
 diff --git a/recipes-core/netbase/netbase-5.0/raspberrypi/interfaces
 b/recipes-core/netbase/netbase-5.0/raspberrypi/interfaces
 deleted file mode 100644
 index 00ae607..000
 --- a/recipes-core/netbase/netbase-5.0/raspberrypi/interfaces
 +++ /dev/null
 @@ -1,15 +0,0 @@
 -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
 -
 -# The loopback interface
 -auto lo
 -iface lo inet loopback
 -
 -# Wireless interfaces
 -iface wlan0 inet dhcp
 -   wireless_mode managed
 -   wireless_essid any
 -   wpa-driver wext
 -   wpa-conf /etc/wpa_supplicant.conf
 -
 -# Bluetooth networking
 -iface bnep0 inet dhcp
 diff --git a/recipes-core/netbase/netbase_5.0.bbappend
 b/recipes-core/netbase/netbase_5.0.bbappend
 deleted file mode 100644
 index 36432f5..000
 --- a/recipes-core/netbase/netbase_5.0.bbappend
 +++ /dev/null
 @@ -1,3 +0,0 @@
 -FILESEXTRAPATHS_prepend := ${THISDIR}/${PN}:
 -# Don't forget to bump PRINC if you update the extra files.
 -PRINC = 1
 --
 1.7.10.4

 ___
 yocto mailing list
 yocto@yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto




-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH] use right license name for GPLv2

2013-05-03 Thread Andrei Gherzan
Merged to master.

Thanks a lot.


On Thu, Mar 14, 2013 at 3:02 PM, Eric Bénard e...@eukrea.com wrote:

 Hi Andrei,

 Le Wed, 13 Mar 2013 20:01:54 +0200,
 Andrei Gherzan and...@gherzan.ro a écrit :
  The SPDX name for GPLv2 (http://spdx.org/licenses/) is GPL-2.0 so I'd
 like
  to use this.
 
 OE-core is mainly using GPLv2 thus the change proposal to be consistant.

  And one more thing, please add the recipe name in the commit log -
  something like:
  *rpi-first-run-wizard.bb: Use right license name for GPLv2*
 
 2 recipes were concerned in this patch so I din't put their names in
 the 1st line to keep it short.

 Eric




-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 2/2] xserver-xf86-config: fix do_install

2013-05-03 Thread Andrei Gherzan
Can't replicate this issue and somebody who experienced it in the past
confirmed me that it was someway fixed. So I will drop this patch.

Thanks.


On Wed, Mar 13, 2013 at 6:47 PM, Andrei Gherzan and...@gherzan.ro wrote:

 Hey Andreas,

 Is this sill needed? Did you test this lately?


 On Sun, Jan 27, 2013 at 4:35 PM, Andreas Müller 
 schnitzelt...@googlemail.com wrote:

 On Sat, Jan 26, 2013 at 11:58 PM, Andrei Gherzan and...@gherzan.ro
 wrote:
  On Thu, Jan 24, 2013 at 10:57:42PM +0100, Andreas Müller wrote:
  for some reason wildcards don't work in current head. Error message
 was:
 
  | DEBUG: Executing shell function do_install
  | install: cannot stat
 `/home/Superandy/tmp/oe-core-eglibc/work/raspberrypi-angstrom-linux-gnueabi/xserver-xf86-config/0.1-r18/xorg.conf.d/*':
 No such file or directory
 
 
  I can't reproduce your error. For me this works. Maybe was something
 broken in
  oe-core? Anyway it seems to be fixed now. Would you retest it please
 Will do that
 
  Signed-off-by: Andreas Müller schnitzelt...@googlemail.com
  ---
   .../xorg-xserver/xserver-xf86-config_0.1.bbappend  |6 --
   1 files changed, 4 insertions(+), 2 deletions(-)
 
  diff --git
 a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
 b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
  index 65931e2..a8b8e8c 100644
  --- a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
  +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
  @@ -1,12 +1,14 @@
   FILESEXTRAPATHS_prepend := ${THISDIR}/${PN}:
 
   # Don't forget to bump PRINC if you update the extra files.
  -PRINC := ${@int(PRINC) + 5}
  +PRINC := ${@int(PRINC) + 6}
 
   THISDIR := ${@os.path.dirname(bb.data.getVar('FILE', d, True))}
   FILESPATH =. ${@base_set_filespath([${THISDIR}/${PN}], d)}:
 
  -SRC_URI_append_raspberrypi =  file://xorg.conf.d/* 
  +SRC_URI_append_raspberrypi =  \
  + file://xorg.conf.d/10-evdev.conf \
  +
 
  I don't find this lin ebreak necesssary here. And if it was, don't
 combine
  formating commits with other fixes.
 
 Oops this was left over from some testing.

 Andreas




 --
 *Andrei Gherzan*
 m: +40.744.478.414 |  f: +40.31.816.28.12




-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


  1   2   3   4   5   6   7   8   9   10   >