]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agopython: add patch to fix cross compilation on host with linux-3.0
Martin Jansa [Wed, 20 Jul 2011 19:52:15 +0000 (21:52 +0200)]
python: add patch to fix cross compilation on host with linux-3.0

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agopython: save Makefile.sysroot in do_compile
Martin Jansa [Wed, 20 Jul 2011 18:47:36 +0000 (20:47 +0200)]
python: save Makefile.sysroot in do_compile

* otherwise calling do_install twice results in Makefile.sysroot == Makefile.orig and distutils using wrong LIBDIR (from host)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agoeglibc-package: don't fail without localedef/gconv
Martin Jansa [Tue, 19 Jul 2011 16:51:10 +0000 (18:51 +0200)]
eglibc-package: don't fail without localedef/gconv

* in some cases we don't have localedef/gconv built
  ie when DISTRO_FEATURES lacks one of libc-charsets, libc-locales, libc-locale-code
  then is better ignore localedef/gconv instead of do_install_locale
  failing like in this bugreport:
  http://bugzilla.yoctoproject.org/show_bug.cgi?id=1209

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agotcmode-default: set preferred version also for (e)glibc-locale
Martin Jansa [Tue, 19 Jul 2011 09:34:47 +0000 (11:34 +0200)]
tcmode-default: set preferred version also for (e)glibc-locale

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agositeinfo.bbclass: Port over oe.dev logic for site files
Tom Rini [Tue, 12 Jul 2011 16:29:34 +0000 (09:29 -0700)]
siteinfo.bbclass: Port over oe.dev logic for site files

In oe.dev we have a sets to pick out hostos/hostarch/etc site
files out of and include things like a common-linux site file.
This should also help out with adding multilib-specific site files
(ie x32).  In oe.dev we have an iterator but at Richard's request
we continue to return a list of files in siteinfo_get_files().

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agoicon-naming-utils-native: Fix long path to perl in icon-name-mapping
Tom Rini [Mon, 18 Jul 2011 15:57:31 +0000 (08:57 -0700)]
icon-naming-utils-native: Fix long path to perl in icon-name-mapping

This is 5396e0868cf89787746fa6341ddb1f271a770595 in oe.dev but here we
instead use the nativeperl wrapper.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agocpan.bbclass: Perform more mangling for perl path
Tom Rini [Mon, 18 Jul 2011 16:02:18 +0000 (09:02 -0700)]
cpan.bbclass: Perform more mangling for perl path

On hosts where we may already be past the #! limit this is required
and this is safe on the target as well.  This is be7fe31 in oe.dev.
Related to this we now bump all PRs for recipes that inherit cpan.
Note that in oe.dev we mangle for perl but here we use the new
nativeperl script.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agoperl-native: Add a perl-native wrapper in the normal bindir
Tom Rini [Tue, 19 Jul 2011 15:49:42 +0000 (08:49 -0700)]
perl-native: Add a perl-native wrapper in the normal bindir

We need this to allow for scripts to do #!/usr/bin/env perl-native
and not require an 'inherit perlnative' per user of a package.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agognome-doc-utils: Use /usr/bin/env python in xml2po, bump PR
Tom Rini [Mon, 18 Jul 2011 15:14:25 +0000 (08:14 -0700)]
gnome-doc-utils: Use /usr/bin/env python in xml2po, bump PR

In oe.dev we can just sed over the binary but in newer versions of this
program we need to fix the in use copy too.  As noted in the patch header,
this isn't appropriate for upstream as it could change behavior on Windows.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agopython-native: Mangle scripts to use /usr/bin/env python, bump PR
Tom Rini [Mon, 18 Jul 2011 16:19:07 +0000 (09:19 -0700)]
python-native: Mangle scripts to use /usr/bin/env python, bump PR

This is dd33ced4b8123600efa1f67f704aec13b0842ad1 in oe.dev and needed
for building in deep paths.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agoAdd endianess macros used by previous endian-ness_handling.patch
Matthew McClintock [Wed, 20 Jul 2011 20:17:25 +0000 (15:17 -0500)]
Add endianess macros used by previous endian-ness_handling.patch

Some distro's don't include these macros in /usr/include/endian.h
so we include them via this patch

Signed-off-by: Matthew McClintock <msm@freescale.com>
13 years agoinsane: improve diagnostic for redundant rpath
Phil Blundell [Fri, 15 Jul 2011 11:19:35 +0000 (12:19 +0100)]
insane: improve diagnostic for redundant rpath

Make it more obvious which file, and which recipe, are at issue.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib
Mei Lei [Wed, 20 Jul 2011 08:48:17 +0000 (16:48 +0800)]
lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibiconv: Fix SRC_URI checksums for 1.13.1 version
Richard Purdie [Wed, 20 Jul 2011 14:36:03 +0000 (15:36 +0100)]
libiconv: Fix SRC_URI checksums for 1.13.1 version

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibgcc: correct mode on libgcc_s.so.1 to ensure it gets stripped
Phil Blundell [Wed, 20 Jul 2011 10:07:32 +0000 (11:07 +0100)]
libgcc: correct mode on libgcc_s.so.1 to ensure it gets stripped

If the library is installed without execute permission then package.bbclass
will not consider it for stripping.  This is particularly unfortunate because
there seems to be a bug somewhere else which is causing all DSOs to end up with
a NEEDED dependency on libgcc_s, even if they don't actually require it, and
hence it is getting installed in all images (for uclibc on i586 at least).

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopseudo: fix uninitialised variable in realpath_fix.patch
Joshua Lock [Tue, 19 Jul 2011 20:26:20 +0000 (13:26 -0700)]
pseudo: fix uninitialised variable in realpath_fix.patch

Several users reported issues with pseudo on CentOS 5.x hosts, Matthew
McClintock tracked the issue to the realpath_fix.patch and Mark Hatle
supplied the included fix.

CC: Matthew McClintock <msm@freescale.com>
CC: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agosite/x86_64-linux-uclibc: Cache lf_cv_sane_realloc
Khem Raj [Wed, 20 Jul 2011 05:23:32 +0000 (22:23 -0700)]
site/x86_64-linux-uclibc: Cache lf_cv_sane_realloc

If left to configure, it tried to run the testcase
to determine this and that fails on cross compile
e.g. compiling startup-notification-0.12

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agotask-core-tools: Exclude systemtap for uclibc
Khem Raj [Tue, 19 Jul 2011 20:56:54 +0000 (13:56 -0700)]
task-core-tools: Exclude systemtap for uclibc

systemtap needs full fledged elfutils which cant be
built on uclibc therefore we live without systemtap
on uclibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agosysprof: Define NT_GNU_BUILD_ID if undefined
Khem Raj [Mon, 18 Jul 2011 23:00:17 +0000 (16:00 -0700)]
sysprof: Define NT_GNU_BUILD_ID if undefined

This is needed on uclibc which does not have all GNU extentions

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoclutter-box2d: Replace use of finite macro with C99 compliant isfinite()
Khem Raj [Mon, 18 Jul 2011 22:58:38 +0000 (15:58 -0700)]
clutter-box2d: Replace use of finite macro with C99 compliant isfinite()

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agobinutils: Fix build when compiling target binutils recipe with gcc 4.6
Khem Raj [Mon, 18 Jul 2011 22:57:23 +0000 (15:57 -0700)]
binutils: Fix build when compiling target binutils recipe with gcc 4.6

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agopimlico/dates: Fix build on uclibc
Khem Raj [Mon, 18 Jul 2011 22:55:21 +0000 (15:55 -0700)]
pimlico/dates: Fix build on uclibc

uclibc does not have NL_TIME_FIRST_WEEKDAY

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agopowertop: Add lintl to linker commandline on uclibc
Khem Raj [Mon, 18 Jul 2011 22:52:27 +0000 (15:52 -0700)]
powertop: Add lintl to linker commandline on uclibc

intl support is not inbuilt into libc like glibc
so we have to link it explicitly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agooprofile: Fix build when query_module is not there
Khem Raj [Mon, 18 Jul 2011 22:50:59 +0000 (15:50 -0700)]
oprofile: Fix build when query_module is not there

on 2.6 kernels we do not have query_module so warn
about it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agouclibc_0.9.32: Implement sync_file_range2.
Khem Raj [Mon, 18 Jul 2011 22:39:39 +0000 (15:39 -0700)]
uclibc_0.9.32: Implement sync_file_range2.

On some arches e.g. arm, ppc sync_file_range2 is used
instead of sync_file_range so we should consider that

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agotask-core-x11-sato: Add empty NETWORK_MANAGER for uclibc
Khem Raj [Mon, 18 Jul 2011 22:36:42 +0000 (15:36 -0700)]
task-core-x11-sato: Add empty NETWORK_MANAGER for uclibc

conman needs some features from libresolv e.g. ns_initparse
which are missing in uclibc.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agotzcode,tzdata: Update tzdata to 2011h
Khem Raj [Mon, 18 Jul 2011 22:35:01 +0000 (15:35 -0700)]
tzcode,tzdata: Update tzdata to 2011h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agolibxdamage,libxft,libxrandr: Add missing dependency on virtual/libx11
Khem Raj [Mon, 18 Jul 2011 22:33:24 +0000 (15:33 -0700)]
libxdamage,libxft,libxrandr: Add missing dependency on virtual/libx11

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoclasses/gettext: Do not disable nls for non target recipes
Khem Raj [Sat, 16 Jul 2011 06:22:18 +0000 (23:22 -0700)]
classes/gettext: Do not disable nls for non target recipes

nls disabling is target specific but USE_NLS=no will
disable nls even for other kind of recipes. We should
let them build with nls

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoacl,attr: Fix build failures when NLS is disabled on uclibc
Khem Raj [Sat, 16 Jul 2011 01:48:18 +0000 (18:48 -0700)]
acl,attr: Fix build failures when NLS is disabled on uclibc

Disable gettext support when NLS is not enabled

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agodefault-distrovars: Add largefile and argp to DISTRO_FEATURES
Khem Raj [Sat, 16 Jul 2011 01:46:05 +0000 (18:46 -0700)]
default-distrovars: Add largefile and argp to DISTRO_FEATURES

This is needed for packages that go into core-image-minimal
and core-image-sato highlighted by uclibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoautotools.bbclass: Add help2man-native to the main DEPENDS tree
Tom Rini [Fri, 15 Jul 2011 18:50:52 +0000 (11:50 -0700)]
autotools.bbclass: Add help2man-native to the main DEPENDS tree

With help2man no longer being required by sanity.bbclass we need to
make sure that if we are going to build autotools stuff that help2man
will be there as it's a frequent implicit dependency.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agohelp2man-native: Add 1.38.2
Tom Rini [Fri, 15 Jul 2011 18:49:33 +0000 (11:49 -0700)]
help2man-native: Add 1.38.2

This is a 'side port' of current oe.dev versions.  PR is kept in sync
but we drop out the target recipes in order to punt on potential perl
problems.  Here we do re-configure as we don't have a dance with
perl-native to deal with.  Now that we can build it, don't require it.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agobitbake.conf, sanity.bbclass: Drop mercurial-native
Tom Rini [Fri, 15 Jul 2011 18:16:02 +0000 (11:16 -0700)]
bitbake.conf, sanity.bbclass: Drop mercurial-native

We have no hg URIs in the metadata, so don't require and don't
ASSUME_PROVIDED it either.  meta-oe has a mercurial-native recipe
if hg URIs are added in a recipe later.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agogcc_4.5.1: add pr45886.patch
Ilya Yanok [Tue, 19 Jul 2011 01:00:58 +0000 (03:00 +0200)]
gcc_4.5.1: add pr45886.patch

Add fix for PR45886 as proposed in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45886

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
13 years agogcc_4.5.1: add pr45052.patch
Ilya Yanok [Tue, 19 Jul 2011 01:00:57 +0000 (03:00 +0200)]
gcc_4.5.1: add pr45052.patch

Add fix for PR45052 as proposed in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45052

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
13 years agogcc_4.5.1: add pr45094.patch
Ilya Yanok [Tue, 19 Jul 2011 01:00:56 +0000 (03:00 +0200)]
gcc_4.5.1: add pr45094.patch

Add fix for PR45094 as proposed in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45094

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
13 years agogcc_4.5.1: add pr44606.patch
Ilya Yanok [Tue, 19 Jul 2011 01:00:55 +0000 (03:00 +0200)]
gcc_4.5.1: add pr44606.patch

Add fix for PR44606 as proposed in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44606

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
13 years agogcc_4.5.1: add pr44290.patch
Ilya Yanok [Tue, 19 Jul 2011 01:00:54 +0000 (03:00 +0200)]
gcc_4.5.1: add pr44290.patch

Add fix for PR44290 as proposed in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44290

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
13 years agogcc_4.5.1: add pr43810.patch
Ilya Yanok [Tue, 19 Jul 2011 01:00:53 +0000 (03:00 +0200)]
gcc_4.5.1: add pr43810.patch

Add fix for PR43810 as proposed in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43810

Building on powerpc-eabi* with --enable-target-optspace
still fails for me though.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
13 years agogcc_4.5.1: fix arm_bswapsi2.patch
Ilya Yanok [Tue, 19 Jul 2011 01:00:52 +0000 (03:00 +0200)]
gcc_4.5.1: fix arm_bswapsi2.patch

Acoording to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44392
correct fix should be
TARGET_EITHER && (arm_arch6 || !optimize_size)
not
TARGET_EITHER && (arm_arch6 && !optimize_size)

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
13 years agotune-ppce500mc: Add a tune file for PowerPC e500mc core
Kumar Gala [Tue, 19 Jul 2011 17:42:49 +0000 (12:42 -0500)]
tune-ppce500mc: Add a tune file for PowerPC e500mc core

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agoflac: fix build issues with e500v2 (gnuspe) toolchain
Kumar Gala [Tue, 19 Jul 2011 17:41:36 +0000 (12:41 -0500)]
flac: fix build issues with e500v2 (gnuspe) toolchain

For a PPC target flac will try to build with altivec optimizations.
Altivec and SPE are mutually exclusive options.  Between flac's
configure choices and the ppce500v2 tune file options we'd end up with
a compile invocation with the following arguments:

-mabi=spe -mspe -mabi=altivec -maltivec

Which would cause the compile to fail due to the mutual exclusion.

Pulled in a patch from the debian SPE port that addresses this issue:

http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/2010-June/010212.html

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agoopenssl: Add handling for linux-gnuspe-powerpc
Kumar Gala [Tue, 19 Jul 2011 17:41:35 +0000 (12:41 -0500)]
openssl: Add handling for linux-gnuspe-powerpc

If trying to build for an e500v2 target openssl will fail to build since
the configure script didn't know how to handle a 'gnuspe' target.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agotune-ppce500v2: Add a tune file for PowerPC e500v2 cores
Kumar Gala [Tue, 19 Jul 2011 17:41:34 +0000 (12:41 -0500)]
tune-ppce500v2: Add a tune file for PowerPC e500v2 cores

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agotclibc-*libc: Utilize TARGET_FPU for gnuspe setting
Kumar Gala [Tue, 19 Jul 2011 17:41:33 +0000 (12:41 -0500)]
tclibc-*libc: Utilize TARGET_FPU for gnuspe setting

Its possible that BASE_PACKAGE_ARCH isn't set to ppce500 or ppce500v2 when
we build native toolchains.  So we can utilize TARGET_FPU being set to
'ppc-efd' or 'ppc-efs' to determine if we should enable the gnuspe ABI.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agogcc: Add gcc configure for PowerPC e500v2/SPE embedded floating point ABI
Kumar Gala [Tue, 19 Jul 2011 17:41:32 +0000 (12:41 -0500)]
gcc: Add gcc configure for PowerPC e500v2/SPE embedded floating point ABI

The e500v2 core utilizes a unique floating point programming model / ABI.
We utilize TARGET_FPU = "ppc-efd" to distinguish this choice (Embedded
scalar single-precision floating-point).  When building the toolchain for
this ABI we need configure gcc with --enable-e500_double.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agobtrfs-tools: Add util-linux to DEPENDS
Tom Rini [Mon, 18 Jul 2011 21:49:00 +0000 (14:49 -0700)]
btrfs-tools: Add util-linux to DEPENDS

This needs libuuid bits in order to build.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agoiptuils: Add sgmlspl-native to DEPENDS
Tom Rini [Mon, 18 Jul 2011 16:00:00 +0000 (09:00 -0700)]
iptuils: Add sgmlspl-native to DEPENDS

This is 4fc7d465d684d4952c52adafc1e7032b63039e53 in oe.dev.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agognome-doc-utils: Package up python site packages, bump PR
Tom Rini [Mon, 18 Jul 2011 15:46:35 +0000 (08:46 -0700)]
gnome-doc-utils: Package up python site packages, bump PR

Add python-dir to the inherits list so we can grab the python site packages
files as well.  This fixes a 'installed but not packaged' QA problem with
the python site package files.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agometacity: Add gnome-doc-utils to DEPENDS
Tom Rini [Mon, 18 Jul 2011 15:15:29 +0000 (08:15 -0700)]
metacity: Add gnome-doc-utils to DEPENDS

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agogdk-pixbuf(-native): Fix build by disabling introspection
Andreas Mueller [Sat, 16 Jul 2011 22:48:34 +0000 (00:48 +0200)]
gdk-pixbuf(-native): Fix build by disabling introspection

Error message was:
| /home/Superandy/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/bin/g-ir-compiler  --includedir=. GdkPixbuf-2.0.gir -o GdkPixbuf-2.0.typelib
| /usr/share/gir-1.0/GLib-2.0.gir:9:1: error: Unsupported version '1.1'
| /usr/share/gir-1.0/GLib-2.0.gir:9:39: error: Unsupported version '1.1'
| error parsing file GdkPixbuf-2.0.gir: Failed to parse included gir GLib-2.0
| make[4]: *** [GdkPixbuf-2.0.typelib] Error 1

Signed-off-by: Andreas Mueller <schnitzeltony@gmx.de>
13 years agouclibc: improve packaging granularity
Phil Blundell [Tue, 19 Jul 2011 16:01:38 +0000 (17:01 +0100)]
uclibc: improve packaging granularity

Put each of the libraries into its own package rather than dumping them
all into libc0.  This saves ~300kB on the installed size of an i586 micro-base-image
and avoids the need to set the hated LEAD_SONAME.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agoperl: revise the RRECOMMENDS_perl-modules for multilib case
Yu Ke [Sat, 16 Jul 2011 02:00:45 +0000 (10:00 +0800)]
perl: revise the RRECOMMENDS_perl-modules for multilib case

current RRECOMMENDS_perl-modules replace the hardcode "perl-dbg",
"perl-misc" etc. which does not work in multilib case. Instead, it
should replace the "lib64-perl-dbg", "lib-64-perl-misc". without
doing this, current code will produce RRECOMMENDS=lib64-lib64-xxx etc

This patch revise the code to fix this issue

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Xu Dongxiao <dongxiao.xu@intel.com>
13 years agopciutils: Change the hardcoded /usr/lib to support multilib.
Dongxiao Xu [Wed, 13 Jul 2011 08:44:52 +0000 (16:44 +0800)]
pciutils: Change the hardcoded /usr/lib to support multilib.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoxcb-proto: add multilib support.
Dongxiao Xu [Wed, 13 Jul 2011 08:43:44 +0000 (16:43 +0800)]
xcb-proto: add multilib support.

There is hardcode of /usr/lib dir for some python files.
Fix it to support multilib.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agodistro-tracking: update libpng
Scott Garman [Tue, 19 Jul 2011 01:37:00 +0000 (18:37 -0700)]
distro-tracking: update libpng

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agolibpng: upgrade to v1.2.46
Scott Garman [Tue, 19 Jul 2011 01:32:38 +0000 (18:32 -0700)]
libpng: upgrade to v1.2.46

This addresses the following security advisories:

* CVE-2011-2690
* CVE-2011-2692

This fixes bug [YOCTO #1255]

The LICENSE and png.h checksum changes were due to trivial changes
in the files.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agoscripts/contrib: add build time regression test script
Paul Eggleton [Tue, 19 Jul 2011 14:14:52 +0000 (15:14 +0100)]
scripts/contrib: add build time regression test script

test_build_time.sh is a bash script intended to be used in conjunction
with "git bisect run" in order to find regressions in build time, however
it can also be used independently. It cleans out the build output
directories, runs a specified worker script (an example is
test_build_time_worker.sh) under TIME(1), logs the results, and returns
a value telling "git bisect run" whether the build time is good (under
the specified threshold) or bad (over it).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoalsa-tools: Fix recipe build error.
Dongxiao Xu [Thu, 14 Jul 2011 07:40:36 +0000 (15:40 +0800)]
alsa-tools: Fix recipe build error.

Remove some elements in alsa-tools to avoid build error and further
dependency on new recipes.

[YOCTO #1038]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoFixed concurrency problem for ZIP packed recipes.
Ihar Hrachyshka [Mon, 18 Jul 2011 17:00:29 +0000 (10:00 -0700)]
Fixed concurrency problem for ZIP packed recipes.

The problem occured when unzip-native is not yet staged, and ZIP
archive unpacking already started resulting in failed do_unpack task.

(oe.dev has a NEED_UNZIP_FOR_UNPACK variable we did not bring over)

[RP: Use srcuri from already existing variable]
Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
Signed-off-by: Koen Kooi <koen@openembedded.org>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc: Tighten LICENSE Fields
Saul Wold [Mon, 18 Jul 2011 17:29:08 +0000 (10:29 -0700)]
eglibc: Tighten LICENSE Fields

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogcc-package-target: don't fail if the .la files we try to delete are not there to...
Koen Kooi [Mon, 18 Jul 2011 08:16:07 +0000 (10:16 +0200)]
gcc-package-target: don't fail if the .la files we try to delete are not there to start with

This fixes:

| rm: cannot remove `/OE/tentacle/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/gcc-4.5-r39.1+svnr175127/image/usr/libexec/gcc/arm-angstrom-linux-gnueabi/4.5.4/*.la': No such file or directory
| ERROR: Function 'do_install' failed (see /OE/tentacle/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/gcc-4.5-r39.1+svnr175127/temp/log.do_install.19514 for further information)
NOTE: package gcc-4.5-r39.1+svnr175127: task do_install: Failed

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agounfs-server: add Upstream-Status field to patches
Scott Garman [Mon, 18 Jul 2011 03:04:33 +0000 (20:04 -0700)]
unfs-server: add Upstream-Status field to patches

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agoman: add Upstream-Status field to paches
Scott Garman [Mon, 18 Jul 2011 02:59:47 +0000 (19:59 -0700)]
man: add Upstream-Status field to paches

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agogdk-pixbuf: Fix QA issues and clean minor formatting
Andreas Mueller [Sat, 16 Jul 2011 23:34:56 +0000 (01:34 +0200)]
gdk-pixbuf: Fix QA issues and clean minor formatting

QA warnings fixed:
WARNING:   /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.la
WARNING:   /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-wbmp.la
WARNING:   /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.la
WARNING:   /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ras.la
WARNING:   /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.la
WARNING:   /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.la
WARNING:   /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.la
WARNING:   /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.la
WARNING:   /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.la
WARNING:   /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pcx.la
WARNING:   /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.la
WARNING:   /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.la
WARNING:   /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.la
WARNING:   /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.la
WARNING:   /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.la

Signed-off-by: Andreas Mueller <schnitzeltony@gmx.de>
13 years agobitbake.conf: Change TERM default fallback to XTERM instead of GNOME_TERM
Khem Raj [Fri, 15 Jul 2011 21:19:23 +0000 (14:19 -0700)]
bitbake.conf: Change TERM default fallback to XTERM instead of GNOME_TERM

Its better to use xterm since some folks may not be using gnome
or KDE. Chances of having xterm on build machines are lot more
than having gnome-terminal.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agooe-buildenv-internal: Replace POKYMODE POKYLIBC with TCMODE and TCLIBC
Khem Raj [Sat, 16 Jul 2011 00:00:20 +0000 (17:00 -0700)]
oe-buildenv-internal: Replace POKYMODE POKYLIBC with TCMODE and TCLIBC

These are new variable names in oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoofono: fix test block syntax error
Darren Hart [Fri, 15 Jul 2011 21:44:24 +0000 (14:44 -0700)]
ofono: fix test block syntax error

A space is required prior to the closing square bracket. Without it,
a parsing error is reported to the console. I don't have hardware to
confirm, but I suspect the service would fail to function properly
as well.

Correct the typo.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agosanity, base: remove gcc3 check since qemu doesn't need it any more
Phil Blundell [Thu, 14 Jul 2011 15:24:51 +0000 (16:24 +0100)]
sanity, base: remove gcc3 check since qemu doesn't need it any more

Recent versions of qemu seem to be happy enough building with gcc 4.x, and indeed most modern distributions aren't shipping gcc3 any more, so there is no point checking for its presence as part of sanity.

Also remove the check_gcc3 function from base since nothing else uses it.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agolibcap: pass prefix to "make install"
Phil Blundell [Thu, 14 Jul 2011 14:45:31 +0000 (15:45 +0100)]
libcap: pass prefix to "make install"

Otherwise it will use /usr by default which may not be the right place.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agolinux-yocto/meta: update meta SRCREV for routerstation pro
Bruce Ashfield [Wed, 13 Jul 2011 04:36:17 +0000 (00:36 -0400)]
linux-yocto/meta: update meta SRCREV for routerstation pro

Fixes bug [YOCTO #1161]
Fixes bug [YOCTO #773]

This streamlines the routerstation pro configuration to remove options
that are either unecessary or that are causing bugs.

Also added to all branches is:

  commit ffd73d6b2a9bfa0de5710b90a2237f4be66ae9a7
  Author: Yinghai Lu <yinghai@kernel.org>
  Date:   Thu Jul 14 15:27:44 2011 -0700

    mm: use alloc_bootmem_node_nopanic() on really needed path

    commit 8f389a99b652aab5b42297280bd94d95933ad12f upstream.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agosend-pull-request: default to --supress-cc=all
Darren Hart [Thu, 14 Jul 2011 22:39:55 +0000 (15:39 -0700)]
send-pull-request: default to --supress-cc=all

Unless the user specifies -c, don't pull in any email addresses from the
patches in the series. This avoids having to remove the email addresses from
patches being pulled in from upstream. If you want the email addresses on the
patch to be added, continue to use the -c option as before.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agoclasses: remove classes that don't belong in oe-core
Paul Eggleton [Fri, 15 Jul 2011 13:03:04 +0000 (14:03 +0100)]
classes: remove classes that don't belong in oe-core

These classes are not used within oe-core and really belong in an upper
layer that makes use of them, if they are still useful:

* mozilla.bbclass
* openmoko*.bbclass
* srec.bbclass
* xfce.bbclass

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoclasses: remove obsolete classes
Paul Eggleton [Fri, 15 Jul 2011 12:59:17 +0000 (13:59 +0100)]
classes: remove obsolete classes

All of these classes are currently unused in oe-core and meta-oe; several
are no longer in use even in OE classic:

* base_srpm.bbclass
* ccdv.bbclass
* flow-lossage.bbclass
* patcher.bbclass
* singlemachine.bbclass
* tmake.bbclass
* xlibs.bbclass

patcher.bbclass and singlemachine.bbclass probably still work but it is
unlikely that anyone is still using them.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agokernel.bbclass: minor whitespace fixes
Paul Eggleton [Fri, 15 Jul 2011 12:23:29 +0000 (13:23 +0100)]
kernel.bbclass: minor whitespace fixes

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agogcc-4.6: update to 4.6.1 release
Phil Blundell [Wed, 13 Jul 2011 16:41:13 +0000 (17:41 +0100)]
gcc-4.6: update to 4.6.1 release

Set SRCREV to match the point at which 4.6.1 was released, update PV appropriately.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agoscripts/hob: wrapper script to run hob gui with a UI specific config file
Joshua Lock [Tue, 12 Apr 2011 18:04:06 +0000 (11:04 -0700)]
scripts/hob: wrapper script to run hob gui with a UI specific config file

This ensures any configuration changes made in the GUI are only set when
using hob.
The default hob.local.conf is generated with a line which adds image_types
to INHERITS so that the GUI can introspect the available FSTYPES.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agodistro tracking: Updates
Saul Wold [Tue, 12 Jul 2011 20:59:22 +0000 (13:59 -0700)]
distro tracking: Updates

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolibiconv: add version 1.13.1
Saul Wold [Sun, 10 Jul 2011 02:48:07 +0000 (19:48 -0700)]
libiconv: add version 1.13.1

Keep older libiconv 1.11.1 as 1.13.1 is now LGPLv3

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agobb-matrix: correct BB and PM number canonicalization
Darren Hart [Thu, 14 Jul 2011 21:05:42 +0000 (14:05 -0700)]
bb-matrix: correct BB and PM number canonicalization

The bash string operation ${BB##*0} was greedy and in addition to converting
"02" to "2", also converted "20" to "", causing all builds for a BB value ending
in 0 to run with BB_NUMBER_THREADS=1.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoperl: Use SITEINFO variables not functions
Tom Rini [Wed, 13 Jul 2011 19:06:02 +0000 (12:06 -0700)]
perl: Use SITEINFO variables not functions

Switch from SITEINFO_BITS / SITEINFO_ENDIANESS rather than
siteinfo_get...

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts: Rename "adt-install" to "adt-installer" in user help.
Robert P. J. Day [Wed, 13 Jul 2011 11:43:58 +0000 (07:43 -0400)]
scripts: Rename "adt-install" to "adt-installer" in user help.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc: fix packaging of thread_db
Phil Blundell [Wed, 13 Jul 2011 16:47:32 +0000 (17:47 +0100)]
eglibc: fix packaging of thread_db

Similarly to libnss*, if ${libdir} and ${base_libdir} were the same path then
libthread_db would land in ${PN}-dev rather than the intended place.  As before,
fix this by moving eglibc-thread-db earlier in PACKAGES and adjusting its FILES
to not capture the .so symlink.

Bump PR for both 2.12 and 2.13.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobusybox: respect ${LDFLAGS}
Phil Blundell [Wed, 13 Jul 2011 17:04:07 +0000 (18:04 +0100)]
busybox: respect ${LDFLAGS}

This avoids a GNU_HASH QA warning.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: remove unintended change of INITRAMFS_TASK
Andrea Adami [Wed, 13 Jul 2011 22:50:26 +0000 (00:50 +0200)]
kernel.bbclass: remove unintended change of INITRAMFS_TASK

* during an unfortunate round of tests right before commiting the patch
* do_configure[depends] became  kernel_do_configure[depends]
* Nonsense!
* As documented in commit 4dfef62dfe54a3b2c557a6df81d155adc1e03ccb
* of OpenEmbedded git server, this must be in do_configure[depends]
* to do the magic.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinsane: make GNU_HASH check slightly more robust (avoids false negatives with gold...
Phil Blundell [Thu, 14 Jul 2011 09:02:11 +0000 (10:02 +0100)]
insane: make GNU_HASH check slightly more robust (avoids false negatives with gold); add check for useless rpaths

It isn't safe to make assumptions about the order of the entries in the dynamic section.  Fix the ldflags test to cope with the case where GNU_HASH comes before NEEDED and/or INIT.

Also, add a new warning for binaries which contain useless (but benign) rpath entries pointing to the default search locations.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopenssl: pass ${mandir} explicitly to "make install"
Phil Blundell [Thu, 14 Jul 2011 12:13:08 +0000 (13:13 +0100)]
openssl: pass ${mandir} explicitly to "make install"

Otherwise it will use the openssl internal default of /usr/share/man which may not be correct.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoncurses: Fix site_config
Mark Hatle [Wed, 13 Jul 2011 20:09:15 +0000 (15:09 -0500)]
ncurses: Fix site_config

The site_config directory should have been attached to ncurses.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibpcre: Add bzip2, zlib and readline to DEPENDS
Tom Rini [Wed, 13 Jul 2011 19:05:35 +0000 (12:05 -0700)]
libpcre: Add bzip2, zlib and readline to DEPENDS

libpcre will build, if found, optional support for bzip2/zlib in
pcregrep and a readline frontend to pcretest.  It will not however
listen to --disable-pcregrep-{libz,libbz2} and will still build
these if found.  So we add bzip2, zlib and readline to DEPENDS to make
sure that we get consistent builds.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogroff: Disable x11 support
Tom Rini [Wed, 13 Jul 2011 19:05:34 +0000 (12:05 -0700)]
groff: Disable x11 support

groff will build with, or without x11 support depending on if X has
been built already or not.  Disable x11 support for consistency.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohicolor-icon-theme: Use ${BPN}-${PV} not ${P} to unbreak nativesdk
Tom Rini [Wed, 13 Jul 2011 19:05:33 +0000 (12:05 -0700)]
hicolor-icon-theme: Use ${BPN}-${PV} not ${P} to unbreak nativesdk

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopkg-utils: Print out License field
Khem Raj [Thu, 14 Jul 2011 06:31:20 +0000 (23:31 -0700)]
opkg-utils: Print out License field

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage_ipk: add License field to control file
Koen Kooi [Thu, 14 Jul 2011 06:31:19 +0000 (23:31 -0700)]
package_ipk: add License field to control file

Port of oe.dev Revision e35d1ffad1553f259b084578992f15d10f590f98

Signed-off-by: Koen Kooi <koen@openembedded.org>
Signed-off-by: Khem Raj <raj.khem@gmail.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc: fix runtime assertion failure
Nitin A Kamble [Tue, 12 Jul 2011 18:44:39 +0000 (11:44 -0700)]
eglibc: fix runtime assertion failure

This fixes bug [YOCTO #1237]

Runtime assertion errors were observed:
Inconsistency detected by ld.so: dl-deps.c: 622: _dl_map_object_deps: Assertion `nlist > 1' failed!

A fix was available for this issue:
 http://sourceware.org/bugzilla/show_bug.cgi?id=12454

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agoeglibc: fix installed but not packaged files
Nitin A Kamble [Thu, 7 Jul 2011 16:17:49 +0000 (09:17 -0700)]
eglibc: fix installed but not packaged files

Fixes these package QA warnings:

WARNING: For recipe eglibc, the following files were installed but not shipped in any package:
WARNING:   /etc/localtime

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agobinutils: package unpackaged files
Nitin A Kamble [Thu, 7 Jul 2011 15:44:29 +0000 (08:44 -0700)]
binutils: package unpackaged files

To fix these package qa warnings
WARNING: For recipe binutils, the following files were installed but not shipped in any package:
WARNING:   /usr/bin/ld.bfd
WARNING:   /usr/bin/elfedit

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agopulseaudio: enable bluetooth support
Koen Kooi [Tue, 12 Jul 2011 15:15:20 +0000 (17:15 +0200)]
pulseaudio: enable bluetooth support

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconnman-gnome: run oe-stylize over recipe
Koen Kooi [Wed, 13 Jul 2011 10:53:08 +0000 (12:53 +0200)]
connman-gnome: run oe-stylize over recipe

Variable ordering changed slightly and the RRECOMMENDS line is broken up, no functional changes

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoofono: fix packaging and clean up custom do_install
Koen Kooi [Wed, 13 Jul 2011 10:53:07 +0000 (12:53 +0200)]
ofono: fix packaging and clean up custom do_install

The makefile installs the udev rule in the proper place already. Also fix:

WARNING: For recipe ofono, the following files were installed but not shipped in any package:
WARNING:   /lib/udev/rules.d/97-ofono.rules
WARNING:   /lib/systemd/system/ofono.service

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>