Re: [OE-core] [PATCH] classes/package: ensure pkgdata is cleaned out first

2012-07-30 Thread Richard Purdie
On Sun, 2012-07-29 at 06:41 +0100, Paul Eggleton wrote: If do_package needs to be re-run and packages are removed/renamed as a result, we want the corresponding stale pkgdata files to no longer be present; for that we need to ensure all of the old pkgdata files are cleaned out prior to

[OE-core] [RFC v2 00/34] Fix Update-Alernative Warning (Cover Letter Only)

2012-07-30 Thread Saul Wold
I am heading out, so please review this, I will resend next week when I return (unless it's deemed good enough now). I have reviewed the build history and diffed the pkgdata/runtime files. Only major change is pigz delivers pigz binary that are then linked to gzip as an alternative. A non-gplv3

Re: [OE-core] [PATCH 0/6] relocatable SDK

2012-07-30 Thread Laurentiu Palcu
Hi Philip, The user will then execute the .sh script and give it the target directory for SDK installation (default is /opt/poky). The installer For oe-core the default should be something like /opt/oe-core, not /opt/some-distro. This a good observation. SDKPATH =

[OE-core] [PATCH] scripts/oe-pkgdata-util: exclude unpackaged in glob output

2012-07-30 Thread Paul Eggleton
Check for .packaged file and exclude packages if this file does not exist - this avoids attempting to install empty packages during complementary package installation within do_rootfs that didn't end up being created (and failing as a result). Signed-off-by: Paul Eggleton

[OE-core] [PATCH] perf-3.4: fix hardcoded slang include dir

2012-07-30 Thread rongqing.li
From: Roy.Li rongqing...@windriver.com [YOCTO #2853] Sysroot in CFLAGS can not pass into Makefile, and slang include dir becomes the hardcoded host dir, fix it by using STAGING_INCDIR. And add dependency on slang Signed-off-by: Roy.Li rongqing...@windriver.com ---

[OE-core] [PATCH] slang: change char type to signed char in macros

2012-07-30 Thread rongqing.li
From: Roy.Li rongqing...@windriver.com [YOCTO 2726] The patch of converting char type to signed char is only applied to arm, in fact it should be applied to powerpc too since powerpc has the same assumption for char type. To x86 and mips, this patch has not impact. Signed-off-by: Roy.Li

Re: [OE-core] [PATCH] package_rpm.bbclass: Accomodate dash when using arrays

2012-07-30 Thread Paul Eggleton
On Sunday 29 July 2012 14:27:05 Khem Raj wrote: we were assigning local variable to an array coming through positional arguments. local is a non posix contruct thats also supported by dash luckily but operates differently in this case it exapnds the array before assignment. so local pkgs=$@

Re: [OE-core] [PATCH] perf-3.4: fix hardcoded slang include dir

2012-07-30 Thread Enrico Scholz
rongqing.li-cwa4wttnnzf54taoqty...@public.gmane.org writes: +++ b/meta/recipes-kernel/perf/perf_3.4.bb ... + sed -i s:-I/usr/include/slang:-I${STAGING_INCDIR}: ${S}/tools/perf/Makefile You are patching an already staged file here: | S = ${STAGING_KERNEL_DIR} When want to fix it in

[OE-core] [PATCH] dbus: include dbus-launch in the main dbus package

2012-07-30 Thread Radu Moisan
Followed suggestions from Bugz 2261: 2) make the virtual/libx11 DEPENDS conditional based on the x11 distro feature. This makes the build dependencies reflect the feature list. 3) remove dbus-x11, meaning that dbus-launch with its potential X11 dependency is now back in dbus where is belongs.

[OE-core] libunique upgrage

2012-07-30 Thread Radu Moisan
For libunique I have No Upgrade Reason:Do not upgrade to version: 2.91.4 because it requires gtk+ = 2.90.0 and the stable version of gtk+ used by poky is 2.20.1 Is this still true? Radu ___ Openembedded-core mailing list

[OE-core] [PATCH 2/2] buildhistory: reduce the numeric delta to 10%

2012-07-30 Thread Ross Burton
Signed-off-by: Ross Burton ross.bur...@intel.com --- meta/lib/oe/buildhistory_analysis.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/buildhistory_analysis.py b/meta/lib/oe/buildhistory_analysis.py index d0e0808..0a50432 100644 ---

Re: [OE-core] [PATCH 1/2] buildhistory: correctly handle reductions of numeric fields

2012-07-30 Thread Paul Eggleton
On Monday 30 July 2012 13:18:06 Ross Burton wrote: Signed-off-by: Ross Burton ross.bur...@intel.com --- meta/lib/oe/buildhistory_analysis.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/buildhistory_analysis.py b/meta/lib/oe/buildhistory_analysis.py

Re: [OE-core] [PATCH 2/2] buildhistory: reduce the numeric delta to 10%

2012-07-30 Thread Paul Eggleton
On Monday 30 July 2012 13:18:07 Ross Burton wrote: Signed-off-by: Ross Burton ross.bur...@intel.com --- meta/lib/oe/buildhistory_analysis.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/buildhistory_analysis.py b/meta/lib/oe/buildhistory_analysis.py

[OE-core] [PATCH 0/1] findutils-4.4.2: add bison-native to DEPENDS

2012-07-30 Thread xin.ouyang
From: Xin Ouyang xin.ouy...@windriver.com [YOCTO #2858] The following changes since commit 7411158e1f980cd71c432026fa2f68ab80e3541e: xcb-proto: Update for python-native changes (2012-07-29 17:17:38 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib

[OE-core] [PATCH 1/1] findutils-4.4.2: add bison-native to DEPENDS

2012-07-30 Thread xin.ouyang
From: Xin Ouyang xin.ouy...@windriver.com [YOCTO #2858] Signed-off-by: Xin Ouyang xin.ouy...@windriver.com --- meta/recipes-extended/findutils/findutils_4.4.2.bb |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-extended/findutils/findutils_4.4.2.bb

Re: [OE-core] [PATCH 2/2] buildhistory: reduce the numeric delta to 10%

2012-07-30 Thread Burton, Ross
On 30 July 2012 13:22, Paul Eggleton paul.eggle...@linux.intel.com wrote: I don't think I picked 20% completely out of thin air but I wasn't especially scientific about it either, so: FWIW, my situation was that I was messing around with the Mesa packaging and it wasn't reporting a package size

Re: [OE-core] [PATCH 0/6] relocatable SDK

2012-07-30 Thread Richard Purdie
On Mon, 2012-07-30 at 11:50 +0300, Laurentiu Palcu wrote: Hi Philip, The user will then execute the .sh script and give it the target directory for SDK installation (default is /opt/poky). The installer For oe-core the default should be something like /opt/oe-core, not

[OE-core] [PATCH] subversion build fix

2012-07-30 Thread Bogdan Marinescu
subversion needs an explicit dependency on sqlite3, otherwise it does not build. Tested by building core-image-minimal. Signed-off-by: Bogdan Marinescu bogdan.a.marine...@intel.com --- .../subversion/subversion_1.7.2.bb |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[OE-core] [PATCH] bison: updated to 2.5.1

2012-07-30 Thread Bogdan Marinescu
The gets patch is not needed anymore in this version. The manpage patch was updated for this version. --- .../bison/bison/fix_cross_manpage_building.patch | 15 +++ .../bison/{bison_2.5.bb = bison_2.5.1.bb} |7 ++- 2 files changed, 9 insertions(+), 13 deletions(-)

[OE-core] Fwd: [oe-commits] Morgan Little : python-native: Put binaries in seperate directory

2012-07-30 Thread Andreas Müller
On Sun, Jul 22, 2012 at 12:43 PM, g...@git.openembedded.org wrote: Module: openembedded-core.git Branch: master Commit: a2e554f731437545e9483a7a73e6847c03f6f48a URL: http://git.openembedded.org/?p=openembedded-core.gita=commit;h=a2e554f731437545e9483a7a73e6847c03f6f48a Author: Morgan

Re: [OE-core] [oe-commits] Morgan Little : python-native: Put binaries in seperate directory

2012-07-30 Thread Andreas Müller
On Mon, Jul 30, 2012 at 4:02 PM, Andreas Müller schnitzelt...@googlemail.com wrote: On Sun, Jul 22, 2012 at 12:43 PM, g...@git.openembedded.org wrote: Module: openembedded-core.git Branch: master Commit: a2e554f731437545e9483a7a73e6847c03f6f48a URL:

[OE-core] [PATCH] udev-extraconf: merge with udev-extra-rules from meta-oe

2012-07-30 Thread Martin Jansa
* license in meta-oe was MIT, in oe-core it was GPLv2, everyone fine with this? * add mount.blacklist to CONFFILES * add more rules and scripts from meta-oe * change PV to 1.0 and bump PR to provide upgrade path from meta-oe's udev-extra-rules including RREPLACE/RPROVIDES/RCONFLICTS trio

Re: [OE-core] [PATCH] dbus: include dbus-launch in the main dbus package

2012-07-30 Thread Burton, Ross
On 30 July 2012 12:24, Radu Moisan radu.moi...@intel.com wrote: +PROVIDES = dbus-x11 The provides that provide comparability were RPROVIDES/RREPLACES, this doesn't do anything because nothing should be DEPENDing on dbus-x11, so you can remove it. Ross

Re: [OE-core] [PATCH] udev-extraconf: merge with udev-extra-rules from meta-oe

2012-07-30 Thread Martin Jansa
On Mon, Jul 30, 2012 at 05:03:14PM +0200, Martin Jansa wrote: * license in meta-oe was MIT, in oe-core it was GPLv2, everyone fine with this? * add mount.blacklist to CONFFILES * add more rules and scripts from meta-oe * change PV to 1.0 and bump PR to provide upgrade path from meta-oe's

[OE-core] [PATCH] scripts/bitbake: unbreak the git version comparison

2012-07-30 Thread Christopher Larson
From: Christopher Larson chris_lar...@mentor.com With the current code, we're calling awk to do a floating point comparison between '1.7.0.4' and '1.7.5' (on an ubuntu 10.04 LTS machine). These clearly aren't proper floating point numbers, and the comparison is incorrect. It's returning true for

Re: [OE-core] Fwd: [oe-commits] Morgan Little : python-native: Put binaries in seperate directory

2012-07-30 Thread Little, Morgan
On 12-07-30 10:02 AM, Andreas Müller wrote: On Sun, Jul 22, 2012 at 12:43 PM, g...@git.openembedded.org wrote: Module: openembedded-core.git Branch: master Commit: a2e554f731437545e9483a7a73e6847c03f6f48a URL:

Re: [OE-core] [PATCH] slang: change char type to signed char in macros

2012-07-30 Thread Chris Larson
On Mon, Jul 30, 2012 at 2:08 AM, rongqing...@windriver.com wrote: -SRC_URI_append_arm = file://change-char-type-to-signed-char-in-macros.patch +SRC_URI_append = file://change-char-type-to-signed-char-in-macros.patch Just move this into the main SRC_URI. There's no point retaining the

[OE-core] mesa-dri vs mesa-xlib

2012-07-30 Thread Burton, Ross
Hi, I've recently been looking at the Mesa packaging (via the work that Damien Lespiau has been doing) and am confused as to why there are both mesa-dri and mesa-xlib packages. I'm also no Mesa expert, so I thougth I should mail this list... The main difference appear to be that mesa-dri uses

Re: [OE-core] mesa-dri vs mesa-xlib

2012-07-30 Thread Koen Kooi
Op 30 jul. 2012, om 19:15 heeft Burton, Ross ross.bur...@intel.com het volgende geschreven: Hi, I've recently been looking at the Mesa packaging (via the work that Damien Lespiau has been doing) and am confused as to why there are both mesa-dri and mesa-xlib packages. I'm also no Mesa

Re: [OE-core] [PATCH] udev-extraconf: merge with udev-extra-rules from meta-oe

2012-07-30 Thread Koen Kooi
Op 30 jul. 2012, om 17:03 heeft Martin Jansa martin.ja...@gmail.com het volgende geschreven: * license in meta-oe was MIT, in oe-core it was GPLv2, everyone fine with this? Hmm, MIT to GPL is a big regression, anyway to keep MIT? ___

Re: [OE-core] [PATCH] udev-extraconf: merge with udev-extra-rules from meta-oe

2012-07-30 Thread Martin Jansa
On Mon, Jul 30, 2012 at 07:42:28PM +0200, Koen Kooi wrote: Op 30 jul. 2012, om 17:03 heeft Martin Jansa martin.ja...@gmail.com het volgende geschreven: * license in meta-oe was MIT, in oe-core it was GPLv2, everyone fine with this? Hmm, MIT to GPL is a big regression, anyway to keep

Re: [OE-core] mesa-dri vs mesa-xlib

2012-07-30 Thread Burton, Ross
On 30 July 2012 18:40, Koen Kooi k...@dominion.thruhere.net wrote: They produce 2 differently named shared libraries and currently some images need both. If that's a bug or not, I don't know :) The only difference I can see is that -xlib generates the osmesa library whereas -dri doesn't - this

[OE-core] [PATCH] udev-extraconf: change LICENSE to MIT

2012-07-30 Thread Martin Jansa
* original recipe added by RP in fc128ab1e4fec27d44cebfa690a9bc233eda0caf was saying GPL * later it was changed to GPLv2 * COPYING.GPL was added to reflect that * meta-oe has similar recipe with MIT license and even more scripts, so lets change LICENSE here too Signed-off-by: Martin Jansa

Re: [OE-core] [PATCH] lib/oe/lsb: Add basic LSB functions

2012-07-30 Thread Denys Dmytriyenko
On Sat, Jul 28, 2012 at 10:58:16AM +0100, Jack Mitchell wrote: On 28/07/2012 10:37, Martin Jansa wrote: On Sat, Jul 28, 2012 at 11:16:14AM +0200, Martin Jansa wrote: by installing lsb_release. Archlinux 64. Should it check to see if it installed first and error otherwise? It looks like it

[OE-core] [PATCH 0/2] do_populate_sdk fixes

2012-07-30 Thread Paul Eggleton
The following changes since commit ab0187c13b2b0a041bf3d98c3a53bd3f45a624de: libxcb: Update for python-native changes (2012-07-30 16:53:49 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib paule/sdk-rpmresolve

[OE-core] [PATCH 2/2] classes/populate_sdk_rpm: add depends on rpmresolve-native

2012-07-30 Thread Paul Eggleton
As of OE-Core revision 72d1048a8381fa4a8c4c0d082047536727b4be47, rpmresolve is now required for complementary package installation during do_populate_sdk. Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com --- meta/classes/populate_sdk_rpm.bbclass |1 + 1 file changed, 1 insertion(+)

[OE-core] [PATCH 1/2] classes/populate_sdk_base: don't break existing do_populate_sdk depends

2012-07-30 Thread Paul Eggleton
We set do_populate_sdk[depends] in populate_sdk_*.bbclass, but since these are inherited at the top of populate_sdk_base.bbclass, those values are wiped out by using = at the end of the latter class. Use += to avoid this. Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com ---

[OE-core] [PATCH 0/2] Qt 4 fixes

2012-07-30 Thread Paul Eggleton
The following changes since commit ab0187c13b2b0a041bf3d98c3a53bd3f45a624de: libxcb: Update for python-native changes (2012-07-30 16:53:49 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib paule/qt4-fixes-1

[OE-core] [PATCH 1/2] qt4: allow recipes building commercial edition

2012-07-30 Thread Paul Eggleton
To enable building the commercial edition of Qt (through additional recipes that are *not* provided by OE-Core) we need to tweak a few things: * Don't make recipes that inherit qt4x11.bbclass depend on qt4-x11-free - instead add qt4-x11 to DEPENDS and then have qt4-x11-free include this in

[OE-core] [PATCH 2/2] qt4: make font packaging specific to embedded version

2012-07-30 Thread Paul Eggleton
Qt 4's lib/fonts files are intended only for installation with Qt Embedded [1] so only install and package them with the embedded version. Fixes [YOCTO #2809]. [1] http://lists.qt-project.org/pipermail/interest/2012-July/003062.html Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com ---

[OE-core] [PATCH 1/7] combo-layer: remove bashism

2012-07-30 Thread Paul Eggleton
does not work with dash - use 21 instead. Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com --- scripts/combo-layer |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/combo-layer b/scripts/combo-layer index 73d61cc..b1a9dca 100755 ---

[OE-core] [PATCH 3/7] combo-layer: ignore patch-* temp directories in dirty check

2012-07-30 Thread Paul Eggleton
Make the dirty repo check somewhat less strict by ignoring old patch directories created by this tool. Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com --- scripts/combo-layer |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/combo-layer

[OE-core] [PATCH 4/7] combo-layer: drop to a shell when apply fails during update

2012-07-30 Thread Paul Eggleton
If applying a patch fails during the update process, drop to a shell instead of exiting; at that point the user can manually apply the patch, do nothing and exit to skip it, or exit 1 to abort the process. Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com --- scripts/combo-layer | 34

[OE-core] [PATCH 2/7] combo-layer: allow component pull to be done separately

2012-07-30 Thread Paul Eggleton
* Add a -n option to disable component repo pull during update * Add a 'pull' action to pull the component repos only Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com --- scripts/combo-layer | 51 +++ 1 file changed, 39 insertions(+),

[OE-core] [PATCH 0/7] combo-layer improvements

2012-07-30 Thread Paul Eggleton
The following changes since commit ab0187c13b2b0a041bf3d98c3a53bd3f45a624de: libxcb: Update for python-native changes (2012-07-30 16:53:49 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib paule/combo-layer-fixes7

[OE-core] [PATCH 6/7] combo-layer: check that last_revision is valid

2012-07-30 Thread Paul Eggleton
If the user edits the configuration file by hand and sets last_revision, we need to ensure that the revision is valid and on the specified branch. Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com --- scripts/combo-layer | 21 + 1 file changed, 21 insertions(+)

[OE-core] [PATCH 5/7] combo-layer: improve patch list handling and output

2012-07-30 Thread Paul Eggleton
* Ignore blank lines in patch list * Don't fail in interactive mode if patch list is deleted * Show patch counter * Show relative path for patches * Print headings before applying patch list for each component Also change to using a with block to read the patch list so it gets closed properly

[OE-core] [PATCH 7/7] combo-layer: allow splitting out local config

2012-07-30 Thread Paul Eggleton
Allow splitting the local parts of the configuration (mostly local_repo_dir and last_revision, although there is no limitation) to a side-by-side -local.conf file, with component sections optionally tagged with the combo layer branch name. This effectively allows you to: * avoid polluting the

[OE-core] [oe-core][RFC] gdb-cross: add pythonnative

2012-07-30 Thread Martin Jansa
* fails like this without: | gcc -isystem/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include -O2 -pipe -L/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -L/OE/shr-core/tmp-eglibc/sysroo ts/x86_64-linux/lib -Wl,-rpath-link,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib

[OE-core] [oe-core][PATCH] package.bbclass: fix TypeError in runstrip

2012-07-30 Thread Martin Jansa
* some packages have .ko files which are not elf, without this change it fails with TypeError, with this change only runstip fails and reports where: ERROR: runstrip: ''arm-oe-linux-gnueabi-strip'

Re: [OE-core] [PATCH] perf-3.4: fix hardcoded slang include dir

2012-07-30 Thread Rongqing Li
On 2012年07月30日 17:43, Enrico Scholz wrote: rongqing.li-cwa4wttnnzf54taoqty...@public.gmane.org writes: +++ b/meta/recipes-kernel/perf/perf_3.4.bb ... + sed -i s:-I/usr/include/slang:-I${STAGING_INCDIR}: ${S}/tools/perf/Makefile You are patching an already staged file here: | S =

Re: [OE-core] [PATCH] slang: change char type to signed char in macros

2012-07-30 Thread Rongqing Li
On 2012年07月31日 00:55, Chris Larson wrote: On Mon, Jul 30, 2012 at 2:08 AM, rongqing...@windriver.com wrote: -SRC_URI_append_arm = file://change-char-type-to-signed-char-in-macros.patch +SRC_URI_append = file://change-char-type-to-signed-char-in-macros.patch Just move this into the main

Re: [OE-core] [PATCH] dbus: include dbus-launch in the main dbus package

2012-07-30 Thread Radu Moisan
this is what my intention was as well, but nobody confirmed when I asked about it. I'll prepare another patch. Radu On 07/30/2012 06:07 PM, Burton, Ross wrote: On 30 July 2012 12:24, Radu Moisan radu.moi...@intel.com wrote: +PROVIDES = dbus-x11 The provides that provide comparability were

[OE-core] [PATCH 1/1] libxcb: Ensure nativesdk package extension is handled correctly

2012-07-30 Thread nitin . a . kamble
From: Nitin A Kamble nitin.a.kam...@intel.com This avoids the warning: NOTE: multiple providers are available for runtime libxcb-dri2 (libxcb-nativesdk, libxcb) NOTE: consider defining a PREFERRED_PROVIDER entry to match libxcb-dri2 until such times as we convert nativesdk to use a prefix like

[OE-core] [PATCH 0/1] Misc: avoid QA warnings for libxcb

2012-07-30 Thread nitin . a . kamble
From: Nitin A Kamble nitin.a.kam...@intel.com The following changes since commit bd726660a3b365b8f0f702771afef30dcd05b6d7: libxcb: Update for python-native changes (2012-07-30 16:54:34 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib nitin/work