[OE-core] [PATCH 0/1] Fix gsettings-data-convert seg fault

2011-12-27 Thread edwin . zhai
From: Zhai Edwin edwin.z...@intel.com

All,
This is the fix for [YOCTO #1779]. Seg fault comes from missing of
gschemas.compiled made by glib-compile-schemas.

Pls. help to pull.
Thanks,
Edwin

The following changes since commit 0ef108a0152bb4893741ac95857525fc50b8d3a6:

  self-hosted-image: Add builder user and mini X (2011-12-22 19:28:56 +0800)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib gzhai/build-appliance2
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=gzhai/build-appliance2

Zhai Edwin (1):
  gnome-keyring: fix gsettings_data_convert seg fault

 meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb |   12 ++--
 1 files changed, 10 insertions(+), 2 deletions(-)


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] gnome-keyring: fix gsettings_data_convert seg fault

2011-12-27 Thread edwin . zhai
From: Zhai Edwin edwin.z...@intel.com

gsttings_data_convert cause seg fault as gnome-keyring's schema is not
installed properly. As a fix, running glib-compile-schemas from glib-utils to
made gschemas.compiled.

[YOCTO #1779] got fixed.

Signed-off-by: Zhai Edwin edwin.z...@intel.com
---
 meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb |   12 ++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb 
b/meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb
index cc97225..a92ac4d 100644
--- a/meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb
+++ b/meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb
@@ -11,12 +11,12 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 
 SECTION = x11/gnome
 
-PR = r3
+PR = r4
 
 inherit autotools gnome pkgconfig
 
 DEPENDS = gtk+ libgcrypt libtasn1 libtasn1-native gconf 
${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}
-RDEPENDS_${PN} = libgnome-keyring
+RDEPENDS_${PN} = libgnome-keyring glib-2.0-utils
 
 EXTRA_OECONF = --disable-gtk-doc ${@base_contains('DISTRO_FEATURES', 'pam', 
'--enable-pam --with-pam-dir=${base_libdir}/security', '--disable-pam', d)}
 
@@ -30,6 +30,14 @@ do_install_append () {
install -m 0644 ${WORKDIR}/org.gnome.keyring.service 
${D}${datadir}/dbus-1/services
 }
 
+pkg_postinst_gnome-keyring () {
+if [ x$D != x ]; then
+exit 1
+fi
+
+test -x ${bindir}/glib-compile-schemas  glib-compile-schemas  
${datadir}/glib-2.0/schemas
+}
+
 FILES_${PN} += ${datadir}/dbus-1/services ${datadir}/gcr 
${base_libdir}/security/*.so
 FILES_${PN}-dbg += ${libdir}/gnome-keyring/standalone/.debug/ 
${base_libdir}/security/*.la
 FILES_${PN}-dbg += ${libdir}/gnome-keyring/devel/.debug/ 
${base_libdir}/security/.debug
-- 
1.7.1


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] patch.bbclass: abstract out logic that determines patches to apply

2011-12-27 Thread Chris Larson
On Wed, Dec 21, 2011 at 10:24 AM, Richard Purdie
richard.pur...@linuxfoundation.org wrote:
 On Tue, 2011-12-20 at 10:38 -0700, Christopher Larson wrote:
 This is needed by the copyleft_compliance class, so it can emit series files
 for the patches, which greatly increases their usefulness to a user
 trying to
 reconstruct the sources outside of OE.

 Signed-off-by: Christopher Larson chris_lar...@mentor.com
 ---
   meta/classes/patch.bbclass |  196
 +++
   1 files changed, 105 insertions(+), 91 deletions(-)

 I have no objection to the change but the patch seems to be mangled
 somehow. Could you resend it or point me at a git tree please?

Sorry about that, my git send-email isn't working on my main dev
machine at the moment, strange error from git that no one seems to
recognize. used imap-send, and apparently tbird defaults to wrapping
the same way the gmail UI does *eyeroll*. See
https://github.com/kergoth/oe-core/compare/patch-refactor
-- 
Christopher Larson

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 0/7] Misc fixes and cleanups

2011-12-27 Thread Saul Wold

On 12/22/2011 05:01 PM, Mark Hatle wrote:

Misc fixes and cleanups that affect various parts of the system...

The following changes since commit c38693f78c968ab5f4bb557c20d1c8c55393ed6b:

   opkg: Fix installation order in feeds with mutiple providers of packages 
(2011-12-22 22:38:09 +)

are available in the git repository at:
   git://git.pokylinux.org/poky-contrib mhatle/misc-fixes
   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/misc-fixes

Mark Hatle (7):
   package.bbclass: Adjust RPM call to use dynamic location for magic
 files
   package_rpm.bbclass:  Add RPMSPEC_PREAMBLE
   rpm_5.4.0: Fix configuration issue with native/nativesdk
   udev: Remove linux-libc-headers dependency
   gperf: Add missing SRC checksum
   which: Add missing SRC checksums

The Above were all merged to OE-Core

Thanks
Sau!



   base.bbclass: Allow buildstats to be optionally supplied


No sure about this, no comments, but RP did not take it yet.

Sau!



  meta/classes/base.bbclass  |1 -
  meta/classes/package.bbclass   |2 +-
  meta/classes/package_rpm.bbclass   |8 +++-
  meta/conf/local.conf.sample|3 ++-
  meta/recipes-core/udev/udev-new.inc|2 +-
  meta/recipes-devtools/rpm/rpm_5.4.0.bb |3 ++-
  meta/recipes-extended/gperf/gperf_3.0.3.bb |3 +++
  meta/recipes-extended/which/which_2.18.bb  |3 +++
  8 files changed, 19 insertions(+), 6 deletions(-)



___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/1] gnome-keyring: fix gsettings_data_convert seg fault

2011-12-27 Thread Saul Wold

On 12/27/2011 05:06 AM, edwin.z...@intel.com wrote:

From: Zhai Edwinedwin.z...@intel.com

gsttings_data_convert cause seg fault as gnome-keyring's schema is not
installed properly. As a fix, running glib-compile-schemas from glib-utils to
made gschemas.compiled.

[YOCTO #1779] got fixed.

Signed-off-by: Zhai Edwinedwin.z...@intel.com
---
  meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb |   12 ++--
  1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb 
b/meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb
index cc97225..a92ac4d 100644
--- a/meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb
+++ b/meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb
@@ -11,12 +11,12 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \

  SECTION = x11/gnome

-PR = r3
+PR = r4

  inherit autotools gnome pkgconfig

  DEPENDS = gtk+ libgcrypt libtasn1 libtasn1-native gconf 
${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}
-RDEPENDS_${PN} = libgnome-keyring
+RDEPENDS_${PN} = libgnome-keyring glib-2.0-utils

  EXTRA_OECONF = --disable-gtk-doc ${@base_contains('DISTRO_FEATURES', 'pam', 
'--enable-pam --with-pam-dir=${base_libdir}/security', '--disable-pam', d)}

@@ -30,6 +30,14 @@ do_install_append () {
install -m 0644 ${WORKDIR}/org.gnome.keyring.service 
${D}${datadir}/dbus-1/services
  }

+pkg_postinst_gnome-keyring () {


I think you can use pkg_postinst_${PN}


+if [ x$D != x ]; then
+exit 1
+fi
+
+test -x ${bindir}/glib-compile-schemas  glib-compile-schemas  
${datadir}/glib-2.0/schemas
+}
+
I think you are missing tabs here, I believe the standard for script 
functions is to have tabs not spaces also.


Sau!


  FILES_${PN} += ${datadir}/dbus-1/services ${datadir}/gcr 
${base_libdir}/security/*.so
  FILES_${PN}-dbg += ${libdir}/gnome-keyring/standalone/.debug/ 
${base_libdir}/security/*.la
  FILES_${PN}-dbg += ${libdir}/gnome-keyring/devel/.debug/ 
${base_libdir}/security/.debug


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] conf: machine: includes: add armv6-novfp support

2011-12-27 Thread Saul Wold

On 12/21/2011 02:16 PM, Víctor Enríquez wrote:

This work was made by Victor Enriquez and then modified by Denis Carikli who 
was helped by Mark Hatle comments (who is fray on
#yocto channel on Freenode).

The changes are for adding support to armv6-novfp, for building binaries for 
armv6 machines without vfp, for example the htc
dream.

Signed-off-by: Mark Hatlemark.ha...@windriver.com
Signed-off-by: Denis 'GNUtoo' Cariklignu...@no-log.org
Signed-off-by: Víctor Enríquezvictor.quicksil...@gmail.com
---
  meta/conf/machine/include/arm/arch-armv6.inc  |   28 +---
  meta/conf/machine/include/arm/feature-arm-vfp.inc |4 ++-
  2 files changed, 21 insertions(+), 11 deletions(-)

diff --git a/meta/conf/machine/include/arm/arch-armv6.inc 
b/meta/conf/machine/include/arm/arch-armv6.inc
index da8274e..f9c112e 100644
--- a/meta/conf/machine/include/arm/arch-armv6.inc
+++ b/meta/conf/machine/include/arm/arch-armv6.inc
@@ -10,24 +10,32 @@ MACHINEOVERRIDES .= ${@bb.utils.contains(TUNE_FEATURES, armv6, 
:armv6, 
  require conf/machine/include/arm/arch-armv5-dsp.inc

  # Little Endian
-AVAILTUNES += armv6 armv6t armv6hf armv6thf
+AVAILTUNES += armv6-novfp armv6 armv6t armv6t-novfp armv6hf armv6thf
+TUNE_FEATURES_tune-armv6-novfp ?= armv6
  TUNE_FEATURES_tune-armv6 ?= armv6 vfp
+TUNE_FEATURES_tune-armv6t-novfp ?= armv6 thumb
  TUNE_FEATURES_tune-armv6t ?= armv6 vfp thumb
  TUNE_FEATURES_tune-armv6hf ?= ${TUNE_FEATURES_tune-armv6} 
callconvention-hard
  TUNE_FEATURES_tune-armv6thf ?= ${TUNE_FEATURES_tune-armv6t} 
callconvention-hard
-PACKAGE_EXTRA_ARCHS_tune-armv6 = ${PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp} 
armv6-vfp
-PACKAGE_EXTRA_ARCHS_tune-armv6t = ${PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp} 
armv6-vfp armv6t-vfp
-PACKAGE_EXTRA_ARCHS_tune-armv6hf = ${PACKAGE_EXTRA_ARCHS_tune-armv5ehf-vfp} 
armv6hf-vfp
-PACKAGE_EXTRA_ARCHS_tune-armv6thf = ${PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp} 
armv6hf-vfp armv6thf-vfp
+PACKAGE_EXTRA_ARCHS_tune-armv6-novfp = ${PACKAGE_EXTRA_ARCHS_tune-armv5e} 
armv6-novfp
+PACKAGE_EXTRA_ARCHS_tune-armv6 = ${PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp} 
armv6-novfp armv6
+PACKAGE_EXTRA_ARCHS_tune-armv6t-novfp = ${PACKAGE_EXTRA_ARCHS_tune-armv5e} 
armv6-novfp armv6t-novfp
+PACKAGE_EXTRA_ARCHS_tune-armv6t = ${PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp} 
armv6-novfp armv6t-novfp armv6-vfp armv6t
I am not sure I fully understand the changes here, so this might be a 
mis-understanding on my part, but should this and the tune-armv6 have 
both -vfp and -novfp in it?



+PACKAGE_EXTRA_ARCHS_tune-armv6hf = ${PACKAGE_EXTRA_ARCHS_tune-armv5ehf-vfp} 
armv6hf
+PACKAGE_EXTRA_ARCHS_tune-armv6thf = ${PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp} 
armv6hf-vfp armv6thf

  # Big Endian
-AVAILTUNES += armv6b armv6tb armv6hfb armv6thfb
+AVAILTUNES += armv6b-novfp armv6b armv6tb-novfp armv6tb armv6hfb armv6thfb
+TUNE_FEATURES_tune-armv6b-novfp ?= ${TUNE_FEATURES_tune-armv6-novfp} 
bigendian
  TUNE_FEATURES_tune-armv6b ?= ${TUNE_FEATURES_tune-armv6} bigendian
+TUNE_FEATURES_tune-armv6tb-novfp ?= ${TUNE_FEATURES_tune-armv6t-novfp} 
bigendian
  TUNE_FEATURES_tune-armv6tb ?= ${TUNE_FEATURES_tune-armv6t} bigendian
  TUNE_FEATURES_tune-armv6hfb ?= ${TUNE_FEATURES_tune-armv6b} 
callconvention-hard
  TUNE_FEATURES_tune-armv6thfb ?= ${TUNE_FEATURES_tune-armv6tb} 
callconvention-hard
-PACKAGE_EXTRA_ARCHS_tune-armv6b = ${PACKAGE_EXTRA_ARCHS_tune-armv5eb-vfp} 
armv6b-vfp
-PACKAGE_EXTRA_ARCHS_tune-armv6tb = ${PACKAGE_EXTRA_ARCHS_tune-armv5teb-vfp} 
armv6b-vfp armv6tb-vfp
-PACKAGE_EXTRA_ARCHS_tune-armv6hfb = ${PACKAGE_EXTRA_ARCHS_tune-armv5ehfb-vfp} 
armv6hfb-vfp
-PACKAGE_EXTRA_ARCHS_tune-armv6thfb = ${PACKAGE_EXTRA_ARCHS_tune-armv5tehfb-vfp} 
armv6hfb-vfp armv6thfb-vfp
+PACKAGE_EXTRA_ARCHS_tune-armv6b-novfp = ${PACKAGE_EXTRA_ARCHS_tune-armv5eb} 
armv6b-novfp
+PACKAGE_EXTRA_ARCHS_tune-armv6b = ${PACKAGE_EXTRA_ARCHS_tune-armv5eb-vfp} 
armv6b

Why not like the armv6 above with -novfp (again, maybe my misunderstanding


+PACKAGE_EXTRA_ARCHS_tune-armv6tb-novfp = ${PACKAGE_EXTRA_ARCHS_tune-armv5eb} 
armv6b-novfp armv6tb-novfp
+PACKAGE_EXTRA_ARCHS_tune-armv6tb = ${PACKAGE_EXTRA_ARCHS_tune-armv5teb-vfp} 
armv6b-novfp armv6tb-novfp armv6b-vfp armv6tb

This seems to match armv6t above.


+PACKAGE_EXTRA_ARCHS_tune-armv6hfb = ${PACKAGE_EXTRA_ARCHS_tune-armv5ehfb-vfp} 
armv6hfb
+PACKAGE_EXTRA_ARCHS_tune-armv6thfb = ${PACKAGE_EXTRA_ARCHS_tune-armv5tehfb-vfp} 
armv6hfb-vfp armv6thfb

diff --git a/meta/conf/machine/include/arm/feature-arm-vfp.inc 
b/meta/conf/machine/include/arm/feature-arm-vfp.inc
index 29a925c..78f453c 100644
--- a/meta/conf/machine/include/arm/feature-arm-vfp.inc
+++ b/meta/conf/machine/include/arm/feature-arm-vfp.inc
@@ -1,5 +1,7 @@
  TUNEVALID[vfp] = Enable Vector Floating Point (vfp) unit.
-ARMPKGSFX_FPU .= ${@bb.utils.contains(TUNE_FEATURES, vfp, -vfp,  ,d)}
+TUNE_ARM_VFP = ${@bb.utils.contains(ARMPKGARCH, armv6, , vfp ,d)}

should this be -vfp?


+TUNE_ARM_NOVFP = ${@bb.utils.contains(ARMPKGARCH, armv6, -novfp,  
,d)}

Re: [OE-core] can't install eclipse plugin

2011-12-27 Thread Zhang, Jessica
Hi Qingliang,

How did you install the LinuxTools?  For the latest Eclipse plug-in, it uses 
the built-in Lttng-viewer so the dependency is introduced.  You just need to go 
under Help-install new software Select the Indigo update site: 
http://download.eclipse.org/releases.indigo, and select its Linux Tracing 
Toolkit Integration, that should bring in all the dependency.

Also, you need to install the Lttng parser library and start eclipse with 
LD_LIBRARY_PATH by following the direction from the Lttng wiki 
http://wiki.eclipse.org/Linux_Tools_Project/LTTng.

- Jessica

-Original Message-
From: openembedded-core-boun...@lists.openembedded.org 
[mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Ni 
Qingliang
Sent: Monday, December 26, 2011 1:45 AM
To: openembedded-core@lists.openembedded.org
Subject: [OE-core] can't install eclipse plugin

hello, all:
I have update yocto plugin to 20111224 current version, but can't
install it correctly.

I don't know where to find linuxtools.tmf.core, I have installed
linuxtools totaly, but can't work.

who can help me? thanks!



Cannot complete the install because one or more required items could not
be found.
  Software being installed: Yocto Plugin for Eclipse 1.1.0.201112240640
(org.yocto.sdk.feature.group 1.1.0.201112240640)
  Missing requirement: Yocto Project Plugin Remote Tools
1.1.0.201112240640 (org.yocto.sdk.remotetools 1.1.0.201112240640)
requires 'bundle org.eclipse.linuxtools.tmf.core 0.4.0' but it could not
be found
  Cannot satisfy dependency:
From: Yocto Plugin for Eclipse 1.1.0.201112240640
(org.yocto.sdk.feature.group 1.1.0.201112240640)
To: org.yocto.sdk.remotetools 0.0.0


--
Yi Qingliang
niqingli...@insigma.com.cn
https://niqingliang2003.wordpress.com


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] patch.bbclass: abstract out logic that determines patches to apply

2011-12-27 Thread Saul Wold

On 12/20/2011 09:38 AM, Christopher Larson wrote:

This is needed by the copyleft_compliance class, so it can emit series
files
for the patches, which greatly increases their usefulness to a user
trying to
reconstruct the sources outside of OE.

Signed-off-by: Christopher Larson chris_lar...@mentor.com
---
meta/classes/patch.bbclass | 196
+++
1 files changed, 105 insertions(+), 91 deletions(-)

diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass
index ac6c1ce..454d9ce 100644
--- a/meta/classes/patch.bbclass
+++ b/meta/classes/patch.bbclass
@@ -7,13 +7,106 @@ PATCHDEPENDENCY =
${PATCHTOOL}-native:do_populate_sysroot
inherit terminal
-python patch_do_patch() {
- import oe.patch
+def src_patches(d):
+ workdir = d.getVar('WORKDIR', True)
+ fetch = bb.fetch2.Fetch([], d)
+ patches = []
+ for url in fetch.urls:
+ local = patch_path(url, fetch, workdir)
+ if not local:
+ continue
+
+ urldata = fetch.ud[url]
+ parm = urldata.parm
+ patchname = parm.get('pname') or os.path.basename(local)
+
+ apply, reason = should_apply(parm)
+ if not apply:
+ if reason:
+ bb.note(Patch %s %s % (patchname, reason))
+ continue
- src_uri = (d.getVar('SRC_URI', 1) or '').split()
- if not src_uri:
+ patchparm = {'patchname': patchname}
+ if striplevel in parm:
+ striplevel = parm[striplevel]
+ elif pnum in parm:
+ striplevel = parm[pnum]
+ else:
+ striplevel = '1'
+ patchparm['striplevel'] = striplevel
+
+ patchdir = parm.get('patchdir')
+ if patchdir:
+ patchparm['patchdir'] = patchdir
+
+ localurl = bb.encodeurl(('file', '', local, '', '', patchparm))
+ patches.append(localurl)
+
+ return patches
+
+def patch_path(url, fetch, workdir):
+ Return the local path of a patch, or None if this isn't a patch
+
+ local = fetch.localpath(url)
+ base, ext = os.path.splitext(os.path.basename(local))
+ if ext in ('.gz', '.bz2', '.Z'):
+ local = os.path.join(workdir, base)
+ ext = os.path.splitext(base)[1]
+
+ urldata = fetch.ud[url]
+ if apply in urldata.parm:
+ apply = oe.types.boolean(urldata.parm[apply])
+ if not apply:
+ return
+ elif ext not in (.diff, .patch):
return
+ return local
+
+def should_apply(parm):


Do you need to pass d here?

I am seeing errors (see 
http://autobuilder.yoctoproject.org:8010/builders/nightly-x86/builds/295/steps/shell_14/logs/stdio)


Sau!


+ Determine if we should apply the given patch
+
+ if mindate in parm or maxdate in parm:
+ pn = d.getVar('PN', 1)
+ srcdate = d.getVar('SRCDATE_%s' % pn, 1)
+ if not srcdate:
+ srcdate = d.getVar('SRCDATE', 1)
+
+ if srcdate == now:
+ srcdate = d.getVar('DATE', 1)
+
+ if maxdate in parm and parm[maxdate]  srcdate:
+ return False, 'is outdated'
+
+ if mindate in parm and parm[mindate]  srcdate:
+ return False, 'is predated'
+
+
+ if minrev in parm:
+ srcrev = d.getVar('SRCREV', 1)
+ if srcrev and srcrev  parm[minrev]:
+ return False, 'applies to later revisions'
+
+ if maxrev in parm:
+ srcrev = d.getVar('SRCREV', 1)
+ if srcrev and srcrev  parm[maxrev]:
+ return False, 'applies to earlier revisions'
+
+ if rev in parm:
+ srcrev = d.getVar('SRCREV', 1)
+ if srcrev and parm[rev] not in srcrev:
+ return False, doesn't apply to revision
+
+ if notrev in parm:
+ srcrev = d.getVar('SRCREV', 1)
+ if srcrev and parm[notrev] in srcrev:
+ return False, doesn't apply to revision
+
+ return True, None
+
+python patch_do_patch() {
+ import oe.patch
+
patchsetmap = {
patch: oe.patch.PatchTree,
quilt: oe.patch.QuiltTree,
@@ -29,93 +122,15 @@ python patch_do_patch() {
rcls = resolvermap[d.getVar('PATCHRESOLVE', 1) or 'user']
+ classes = {}
+
s = d.getVar('S', 1)
path = os.getenv('PATH')
os.putenv('PATH', d.getVar('PATH', 1))
- classes = {}
-
- workdir = d.getVar('WORKDIR', 1)
- for url in src_uri:
- (type, host, path, user, pswd, parm) = bb.decodeurl(url)
-
- local = None
- base, ext = os.path.splitext(os.path.basename(path))
- if ext in ('.gz', '.bz2', '.Z'):
- local = os.path.join(workdir, base)
- ext = os.path.splitext(base)[1]
-
- if apply in parm:
- apply = parm[apply]
- if apply != yes:
- if apply != no:
- bb.msg.warn(None, Unsupported value '%s' for 'apply' url param in
'%s', please use 'yes' or 'no' % (apply, url))
- continue
- #elif patch in parm:
- #bb.msg.warn(None, Deprecated usage of 'patch' url param in '%s',
please use 'apply={yes,no}' % url)
- elif ext not in (.diff, .patch):
- continue
-
- if not local:
- url = bb.encodeurl((type, host, path, user, pswd, []))
- local = os.path.join('/', bb.fetch2.localpath(url, d))
- local = bb.data.expand(local, d)
-
- if striplevel in parm:
- striplevel = parm[striplevel]
- elif pnum in parm:
- #bb.msg.warn(None, Deprecated usage of 'pnum' url parameter in '%s',
please use 'striplevel' % url)
- striplevel = parm[pnum]
- else:
- striplevel = '1'
-
- if pname in parm:
- pname = parm[pname]
- else:
- pname = os.path.basename(local)
-
- if mindate in parm or maxdate in parm:
- pn = d.getVar('PN', 1)
- srcdate = d.getVar('SRCDATE_%s' % pn, 1)
- if not srcdate:
- srcdate = 

[OE-core] [PATCH 1/2] u-boot: improved DESCRIPTION, fixed HOMEPAGE

2011-12-27 Thread Frans Meulenbroeks
HOMEPAGE pointed to an sf.net page that said that the
page did not exist any more and after that it redirected
to the denx.de page; updated HOMEPAGE to point to that page
Also improved the description to use the official capitalisation

Signed-off-by: Frans Meulenbroeks fransmeulenbro...@gmail.com
---
 meta/recipes-bsp/u-boot/u-boot.inc |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-bsp/u-boot/u-boot.inc 
b/meta/recipes-bsp/u-boot/u-boot.inc
index 544acd2..a3f50bc 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -1,3 +1,5 @@
+DESCRIPTION = U-Boot - the Universal Boot Loader
+HOMEPAGE = http://www.denx.de/wiki/U-Boot/WebHome;
 DESCRIPTION = U-boot bootloader
 HOMEPAGE = http://u-boot.sf.net;
 SECTION = bootloaders
-- 
1.7.8.1


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/2] u-boot: added generating the env utils (fixes bug 1800)

2011-12-27 Thread Frans Meulenbroeks
This adds building the u-boot tools for target.
(fw_printenv, fw_setenv).
They are put into a separate package
With these files it becomes possible to modify
the u-boot environment when linux is booted

The #ifdef's in fw_env.h were needed to avoid compilation issues
The constants have been changed to more meaningful defaults
(as 128k flash pages are much more common than 4k pages)
but can be overridden using a configuration file.

This resolves bug 1800

Signed-off-by: Frans Meulenbroeks fransmeulenbro...@gmail.com

---
Note: development and testing was done under openembedded classic.
I've tested it there quite heavily (for mpc8313 if that matters).
I was requested to provide a patch for oe-core too (to resolve bug 1800)
so here it is, although at the moment I am unable to test the patch for oe-core.
I suggest that this is carefully reviewed and tested before being merged.

Frans.
---
 meta/recipes-bsp/u-boot/files/tools_fwenv.patch |   48 +++
 meta/recipes-bsp/u-boot/u-boot.inc  |   21 -
 meta/recipes-bsp/u-boot/u-boot_2011.03.bb   |3 +-
 meta/recipes-bsp/u-boot/u-boot_2011.06.bb   |3 +-
 4 files changed, 70 insertions(+), 5 deletions(-)
 create mode 100644 meta/recipes-bsp/u-boot/files/tools_fwenv.patch

diff --git a/meta/recipes-bsp/u-boot/files/tools_fwenv.patch 
b/meta/recipes-bsp/u-boot/files/tools_fwenv.patch
new file mode 100644
index 000..8e87800
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/files/tools_fwenv.patch
@@ -0,0 +1,48 @@
+Index: u-boot-2011.03/tools/env/fw_env.h
+===
+--- u-boot-2011.03.orig/tools/env/fw_env.h 2011-03-31 23:45:36.0 
+0200
 u-boot-2011.03/tools/env/fw_env.h  2011-12-02 13:55:24.667278362 +0100
+@@ -27,25 +27,35 @@
+  * See included fw_env.config sample file (TRAB board)
+  * for notes on configuration.
+  */
+-#define CONFIG_FILE /etc/fw_env.config
++//#define CONFIG_FILE /etc/fw_env.config
++
++#include config.h
+ 
+ #define HAVE_REDUND /* For systems with 2 env sectors */
+-#define DEVICE1_NAME  /dev/mtd1
+-#define DEVICE2_NAME  /dev/mtd2
++#define DEVICE1_NAME  /dev/mtd0
++#define DEVICE2_NAME  /dev/mtd0
+ #define DEVICE1_OFFSET0x
+-#define ENV1_SIZE 0x4000
+-#define DEVICE1_ESIZE 0x4000
+-#define DEVICE2_OFFSET0x
+-#define ENV2_SIZE 0x4000
+-#define DEVICE2_ESIZE 0x4000
++#define ENV1_SIZE 0x2000
++#define DEVICE1_ESIZE 0x2
++#define DEVICE1_ENVSECTORS 1
++#define DEVICE2_OFFSET0x2
++#define ENV2_SIZE 0x2000
++#define DEVICE2_ESIZE 0x2
++#define DEVICE2_ENVSECTORS 1
+ 
++#ifndef CONFIG_BAUDRATE
+ #define CONFIG_BAUDRATE   115200
++#endif
++#ifndef CONFIG_BOOTDELAY
+ #define CONFIG_BOOTDELAY  5   /* autoboot after 5 seconds */
++#endif
++#ifndef CONFIG_BOOTCOMMAND
+ #define CONFIG_BOOTCOMMAND
\
+   bootp;
\
+   setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} 
\
+   ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;
\
+   bootm
++#endif
+ 
+ extern int   fw_printenv(int argc, char *argv[]);
+ extern char *fw_getenv  (char *name);
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc 
b/meta/recipes-bsp/u-boot/u-boot.inc
index a3f50bc..bbfc6d6 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -32,16 +32,31 @@ do_compile () {
unset CPPFLAGS
oe_runmake ${UBOOT_MACHINE}
oe_runmake ${UBOOT_MAKE_TARGET}
+   oe_runmake tools env HOSTCC=${CC}
 }
 
 do_install () {
-install -d ${D}/boot
-install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
-ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
+   install -d ${D}/boot
+   install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
+   ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
+
+   if [ -e ${WORKDIR}/fw_env.config ] ; then
+   install -d ${D}${base_sbindir}
+   install -d ${D}${sysconfdir}
+   install -m 644 ${WORKDIR}/fw_env.config 
${D}${sysconfdir}/fw_env.config
+   install -m 755 ${S}/tools/env/fw_printenv 
${D}${base_sbindir}/fw_printenv
+   install -m 755 ${S}/tools/env/fw_printenv 
${D}${base_sbindir}/fw_setenv
+   fi
+
 }
 
 FILES_${PN} = /boot
 
+PACKAGES += ${PN}-fw-utils
+FILES_${PN}-fw-utils = ${sysconfdir} ${base_sbindir}
+# u-boot doesn't use LDFLAGS for fw files, needs to get fixed, but until then:
+INSANE_SKIP_${PN}-fw-utils = True
+
 do_deploy () {
install ${S}/u-boot.bin ${DEPLOYDIR}/${UBOOT_IMAGE}
 
diff --git a/meta/recipes-bsp/u-boot/u-boot_2011.03.bb 
b/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
index 1ebdbea..fe10f58 100644
--- a/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
+++ 

Re: [OE-core] [PATCH] patch.bbclass: abstract out logic that determines patches to apply

2011-12-27 Thread Chris Larson
On Tue, Dec 27, 2011 at 1:33 PM, Saul Wold s...@linux.intel.com wrote:
 Do you need to pass d here?

 I am seeing errors (see
 http://autobuilder.yoctoproject.org:8010/builders/nightly-x86/builds/295/steps/shell_14/logs/stdio)

Bah, indeed, apparently my testing didn't hit any recipes using
minrev/maxrev/notrev. Will rework the patch. Grr.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/2] u-boot: improved DESCRIPTION, fixed HOMEPAGE

2011-12-27 Thread Saul Wold

On 12/27/2011 12:35 PM, Frans Meulenbroeks wrote:

HOMEPAGE pointed to an sf.net page that said that the
page did not exist any more and after that it redirected
to the denx.de page; updated HOMEPAGE to point to that page
Also improved the description to use the official capitalisation

Signed-off-by: Frans Meulenbroeksfransmeulenbro...@gmail.com
---
  meta/recipes-bsp/u-boot/u-boot.inc |2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-bsp/u-boot/u-boot.inc 
b/meta/recipes-bsp/u-boot/u-boot.inc
index 544acd2..a3f50bc 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -1,3 +1,5 @@
+DESCRIPTION = U-Boot - the Universal Boot Loader
+HOMEPAGE = http://www.denx.de/wiki/U-Boot/WebHome;
  DESCRIPTION = U-boot bootloader
  HOMEPAGE = http://u-boot.sf.net;
  SECTION = bootloaders

Should you be deleting the older DESCRIPTION and HOMEPAGE?

Sau!

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 2/2] u-boot: added generating the env utils (fixes bug 1800)

2011-12-27 Thread Saul Wold

On 12/27/2011 12:35 PM, Frans Meulenbroeks wrote:

This adds building the u-boot tools for target.
(fw_printenv, fw_setenv).
They are put into a separate package
With these files it becomes possible to modify
the u-boot environment when linux is booted

The #ifdef's in fw_env.h were needed to avoid compilation issues
The constants have been changed to more meaningful defaults
(as 128k flash pages are much more common than 4k pages)
but can be overridden using a configuration file.

This resolves bug 1800


Thanks for the fix, in the future please mark this as [YOCTO #1800]

Reviewing and someone will test also.

Thanks  
Sau!

Signed-off-by: Frans Meulenbroeksfransmeulenbro...@gmail.com

---
Note: development and testing was done under openembedded classic.
I've tested it there quite heavily (for mpc8313 if that matters).
I was requested to provide a patch for oe-core too (to resolve bug 1800)
so here it is, although at the moment I am unable to test the patch for oe-core.
I suggest that this is carefully reviewed and tested before being merged.

Frans.
---
  meta/recipes-bsp/u-boot/files/tools_fwenv.patch |   48 +++
  meta/recipes-bsp/u-boot/u-boot.inc  |   21 -
  meta/recipes-bsp/u-boot/u-boot_2011.03.bb   |3 +-
  meta/recipes-bsp/u-boot/u-boot_2011.06.bb   |3 +-
  4 files changed, 70 insertions(+), 5 deletions(-)
  create mode 100644 meta/recipes-bsp/u-boot/files/tools_fwenv.patch

diff --git a/meta/recipes-bsp/u-boot/files/tools_fwenv.patch 
b/meta/recipes-bsp/u-boot/files/tools_fwenv.patch
new file mode 100644
index 000..8e87800
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/files/tools_fwenv.patch
@@ -0,0 +1,48 @@
+Index: u-boot-2011.03/tools/env/fw_env.h
+===
+--- u-boot-2011.03.orig/tools/env/fw_env.h 2011-03-31 23:45:36.0 
+0200
 u-boot-2011.03/tools/env/fw_env.h  2011-12-02 13:55:24.667278362 +0100
+@@ -27,25 +27,35 @@
+  * See included fw_env.config sample file (TRAB board)
+  * for notes on configuration.
+  */
+-#define CONFIG_FILE /etc/fw_env.config
++//#define CONFIG_FILE /etc/fw_env.config
++
++#include config.h
+
+ #define HAVE_REDUND /* For systems with 2 env sectors */
+-#define DEVICE1_NAME  /dev/mtd1
+-#define DEVICE2_NAME  /dev/mtd2
++#define DEVICE1_NAME  /dev/mtd0
++#define DEVICE2_NAME  /dev/mtd0
+ #define DEVICE1_OFFSET0x
+-#define ENV1_SIZE 0x4000
+-#define DEVICE1_ESIZE 0x4000
+-#define DEVICE2_OFFSET0x
+-#define ENV2_SIZE 0x4000
+-#define DEVICE2_ESIZE 0x4000
++#define ENV1_SIZE 0x2000
++#define DEVICE1_ESIZE 0x2
++#define DEVICE1_ENVSECTORS 1
++#define DEVICE2_OFFSET0x2
++#define ENV2_SIZE 0x2000
++#define DEVICE2_ESIZE 0x2
++#define DEVICE2_ENVSECTORS 1
+
++#ifndef CONFIG_BAUDRATE
+ #define CONFIG_BAUDRATE   115200
++#endif
++#ifndef CONFIG_BOOTDELAY
+ #define CONFIG_BOOTDELAY  5   /* autoboot after 5 seconds */
++#endif
++#ifndef CONFIG_BOOTCOMMAND
+ #define CONFIG_BOOTCOMMAND
\
+   bootp;  \
+   setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath}   \
+   ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off;  \
+   bootm
++#endif
+
+ extern int   fw_printenv(int argc, char *argv[]);
+ extern char *fw_getenv  (char *name);
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc 
b/meta/recipes-bsp/u-boot/u-boot.inc
index a3f50bc..bbfc6d6 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -32,16 +32,31 @@ do_compile () {
unset CPPFLAGS
oe_runmake ${UBOOT_MACHINE}
oe_runmake ${UBOOT_MAKE_TARGET}
+   oe_runmake tools env HOSTCC=${CC}
  }

  do_install () {
-install -d ${D}/boot
-install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
-ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
+   install -d ${D}/boot
+   install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
+   ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
+
+   if [ -e ${WORKDIR}/fw_env.config ] ; then
+   install -d ${D}${base_sbindir}
+   install -d ${D}${sysconfdir}
+   install -m 644 ${WORKDIR}/fw_env.config 
${D}${sysconfdir}/fw_env.config
+   install -m 755 ${S}/tools/env/fw_printenv 
${D}${base_sbindir}/fw_printenv
+   install -m 755 ${S}/tools/env/fw_printenv 
${D}${base_sbindir}/fw_setenv
+   fi
+
  }

  FILES_${PN} = /boot

+PACKAGES += ${PN}-fw-utils
+FILES_${PN}-fw-utils = ${sysconfdir} ${base_sbindir}
+# u-boot doesn't use LDFLAGS for fw files, needs to get fixed, but until then:
+INSANE_SKIP_${PN}-fw-utils = True
+
  do_deploy () {
install ${S}/u-boot.bin ${DEPLOYDIR}/${UBOOT_IMAGE}

diff --git 

Re: [OE-core] [PATCH 2/2] u-boot: added generating the env utils (fixes bug 1800)

2011-12-27 Thread Koen Kooi

Op 27 dec. 2011, om 23:00 heeft Saul Wold het volgende geschreven:

 On 12/27/2011 12:35 PM, Frans Meulenbroeks wrote:
 This adds building the u-boot tools for target.
 (fw_printenv, fw_setenv).
 They are put into a separate package
 With these files it becomes possible to modify
 the u-boot environment when linux is booted
 
 The #ifdef's in fw_env.h were needed to avoid compilation issues
 The constants have been changed to more meaningful defaults
 (as 128k flash pages are much more common than 4k pages)
 but can be overridden using a configuration file.
 
 This resolves bug 1800
 
 Thanks for the fix, in the future please mark this as [YOCTO #1800]
 
 Reviewing and someone will test also.

This seems to be copying 
http://cgit.openembedded.org/openembedded/commit/?id=fde321de556abd8ce66e494ab21bc4a2d4e28699
 without credit

signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH oe-core] valgrind: add powerpc into the compatible host list

2011-12-27 Thread McClintock Matthew-B29882
On Thu, Dec 22, 2011 at 9:15 PM, Luo Zhenhua-B19537
b19...@freescale.com wrote:
 Can somebody confirm whether valgrind works for armv4/v5, please?

We should probably ask this on a valgrind list...

-M

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] patch.bbclass: abstract out logic that determines patches to apply

2011-12-27 Thread Christopher Larson
Pushed an updated version of the patch-refactor commit that should fix this.
-- 
Christopher Larson


On Tuesday, December 27, 2011 at 1:38 PM, Chris Larson wrote:

 On Tue, Dec 27, 2011 at 1:33 PM, Saul Wold s...@linux.intel.com 
 (mailto:s...@linux.intel.com) wrote:
  Do you need to pass d here?
  
  I am seeing errors (see
  http://autobuilder.yoctoproject.org:8010/builders/nightly-x86/builds/295/steps/shell_14/logs/stdio)
  
 
 
 Bah, indeed, apparently my testing didn't hit any recipes using
 minrev/maxrev/notrev. Will rework the patch. Grr.
 
 

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] rpm: Fix rpm database files capacity issue.

2011-12-27 Thread Mei Lei
Tune the __db* size in DB_CONFIG.
This will reduce the __db* size from 62MB to 26MB in qemu.

[YOCTO #1769]

Signed-off-by: Mei Lei lei@intel.com
---
 meta/classes/rootfs_rpm.bbclass   |3 +++
 meta/recipes-devtools/rpm/rpm/rpm-db-reduce.patch |   19 +++
 meta/recipes-devtools/rpm/rpm_5.4.0.bb|3 ++-
 3 files changed, 24 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-db-reduce.patch

diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index 5fd45d7..c7a034a 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -66,6 +66,9 @@ fakeroot rootfs_rpm_do_rootfs () {
 
mkdir -p ${INSTALL_ROOTFS_RPM}${rpmlibdir}
mkdir -p ${INSTALL_ROOTFS_RPM}${rpmlibdir}/log
+   # After change the __db.* cache size, log file will not be generated 
automatically,
+   # that will raise some warnings, so touch a bare log for rpm write into 
it.
+   touch ${INSTALL_ROOTFS_RPM}${rpmlibdir}/log/log.01
cat  ${INSTALL_ROOTFS_RPM}${rpmlibdir}/DB_CONFIG  EOF
 #  Environment
 set_data_dir.
diff --git a/meta/recipes-devtools/rpm/rpm/rpm-db-reduce.patch 
b/meta/recipes-devtools/rpm/rpm/rpm-db-reduce.patch
new file mode 100644
index 000..e063e86
--- /dev/null
+++ b/meta/recipes-devtools/rpm/rpm/rpm-db-reduce.patch
@@ -0,0 +1,19 @@
+Upstream-Status: Inappropriate [configuration]
+
+Change cache size to reduce the usage of disk space from 62MB to 26MB. 
+
+Signed-off-by: Mei Lei lei@intel.com
+
+diff --git a/rpmdb/DB_CONFIG.in b/rpmdb/DB_CONFIG.in
+index e0b4689..b64e3a9 100644
+--- a/rpmdb/DB_CONFIG.in
 b/rpmdb/DB_CONFIG.in
+@@ -29,7 +29,7 @@ set_thread_count 64
+ 
+ #  Memory Pool
+ #XXX initializing dbenv with set_cachesize has unimplemented prerequsites
+-#set_cachesize0 1048576 0 
++set_cachesize 0 1048576 0 
+ set_mp_mmapsize   268435456
+ 
+ #  Locking
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.0.bb 
b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
index 122d3a9..aae59ec 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.0.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
@@ -45,12 +45,13 @@ LIC_FILES_CHKSUM = 
file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1
 DEPENDS = bzip2 zlib db openssl elfutils expat libpcre attr acl popt 
${extrarpmdeps}
 extrarpmdeps = python perl
 extrarpmdeps_virtclass-native = file-native
-PR = r27
+PR = r28
 
 # rpm2cpio is a shell script, which is part of the rpm src.rpm.  It is needed
 # in order to extract the distribution SRPM into a format we can extract...
 SRC_URI = 
http://www.rpm5.org/files/rpm/rpm-5.4/rpm-5.4.0-0.20101229.src.rpm;extract=rpm-5.4.0.tar.gz
 \
   file://rpm-log-auto-rm.patch \
+  file://rpm-db-reduce.patch \
   file://perfile_rpmdeps.sh \
   file://rpm-autogen.patch \
   file://rpm-libsql-fix.patch \
-- 
1.7.0.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] rpm:fix bug 1769

2011-12-27 Thread Mei Lei
Hi all,
This patch will fix bug 1769. The discussion from community can be 
found here:
http://rpm5.org/community/rpm-devel/5087.html
Please review and merge it. 
Thanks,
Lei



The following changes since commit 8f348ccad083d6c02c200652ff6295e701e88f0d:
  Saul Wold (1):
coreutils: ensure --color works so DEPEND on libcap

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib lmei3/bug1769
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=lmei3/bug1769

Mei Lei (1):
  rpm: Fix rpm database files capacity issue.

 meta/classes/rootfs_rpm.bbclass   |3 +++
 meta/recipes-devtools/rpm/rpm/rpm-db-reduce.patch |   19 +++
 meta/recipes-devtools/rpm/rpm_5.4.0.bb|3 ++-
 3 files changed, 24 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-db-reduce.patch


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH oe-core] valgrind: add powerpc to the compatible host and add eglibc-dbg in rdepends

2011-12-27 Thread b19537
From: Zhenhua Luo b19...@freescale.com

1. add powerpc into the compatible host list
2. valgrind requires the non-stripped eglibc libraries, so add eglibc-dbg
   into RDEPENDS

Signed-off-by: Zhenhua Luo b19...@freescale.com
---
 meta/recipes-devtools/valgrind/valgrind_3.6.1.bb |6 --
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/valgrind/valgrind_3.6.1.bb 
b/meta/recipes-devtools/valgrind/valgrind_3.6.1.bb
index 021caa8..f3cf5b2 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.6.1.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.6.1.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=c46082167a314d785d012a244748d803 \
 
file://include/valgrind.h;beginline=1;endline=56;md5=13a71cedba99112334d8596162aec37e
 \
 file://COPYING.DOCS;md5=8fdeb5abdb235a08e76835f8f3260215
 DEPENDS = virtual/libx11
-PR = r1
+PR = r2
 
 SRC_URI = http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
   file://fix_issue_caused_by_ccache.patch \
@@ -17,7 +17,7 @@ SRC_URI = 
http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
 SRC_URI[md5sum] = 2c3aa122498baecc9d69194057ca88f5
 SRC_URI[sha256sum] = 
49bdcc4fbcf060049b5f0dcfd8a187a6e90e0b0e57309f633b64e44430726a0e
 
-COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
+COMPATIBLE_HOST = '(i.86|x86_64|powerpc|ppc|powerpc64|ppc64).*-linux'
 
 inherit autotools
 
@@ -26,3 +26,5 @@ EXTRA_OEMAKE = -w
 PARALLEL_MAKE = 
 
 FILES_${PN}-dbg += ${libdir}/${PN}/*/.debug/*
+
+RDEPENDS += eglibc-dbg
-- 
1.7.0.4



___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core