]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
11 years agodirectfb:filter out -fno-omit-frame-pointer option on x86 arch
Roy.Li [Fri, 14 Jun 2013 07:15:22 +0000 (15:15 +0800)]
directfb:filter out -fno-omit-frame-pointer option on x86 arch

directfb need -fomit-frame-pointer option of gcc to build some inline
asm code about mmx. But once -fno-omit-frame-pointer was added
into TARGET_CFLAGS. That will cause directfb build error on x86 arch.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoopenssh: obey 'tcp-wrappers' PACKAGECONFIG
Roy.Li [Fri, 14 Jun 2013 07:02:52 +0000 (15:02 +0800)]
openssh: obey 'tcp-wrappers' PACKAGECONFIG

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoopenssh: fix a unaligned memory access issue
Roy.Li [Fri, 14 Jun 2013 07:02:51 +0000 (15:02 +0800)]
openssh: fix a unaligned memory access issue

Backport patch to fix segment fault due to unaligned memory access

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoopenssl: Add fix for cipher des-ede3-cfb1
Muhammad Shakeel [Thu, 13 Jun 2013 11:41:20 +0000 (16:41 +0500)]
openssl: Add fix for cipher des-ede3-cfb1

Add patch file for one of the ciphers used in openssl, namely the cipher
des-ede3-cfb1. Details of the bug, without this patch, can be found here.
http://rt.openssl.org/Ticket/Display.html?id=2867

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agobind: backport six CVE patches
Roy.Li [Thu, 13 Jun 2013 05:51:51 +0000 (13:51 +0800)]
bind: backport six CVE patches

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoarchiver.bbclass: check if package contains a copyleft license
Kevin Strasser [Wed, 12 Jun 2013 20:27:15 +0000 (13:27 -0700)]
archiver.bbclass: check if package contains a copyleft license

The copyleft filter is only excluding packages that contain a
closed source license. This is because oe.license.is_included()
returns a boolean value that indicates if the license is excluded,
and a string that contains the matched included licenses. If the
string is empty it indicates that no licenses were matched.

Reject packages that do not contain a copyleft license.

[YOCTO 4630]

Signed-off-by: Kevin Strasser <kevin.strasser@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agowebkit-gtk: Support build on mips64
Khem Raj [Wed, 12 Jun 2013 17:56:05 +0000 (10:56 -0700)]
webkit-gtk: Support build on mips64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agodhcp: drop noattrmode.patch
Kevin Strasser [Wed, 12 Jun 2013 17:40:31 +0000 (10:40 -0700)]
dhcp: drop noattrmode.patch

This change no longer needs to be backported now that a newer version
of dhcp is being used. The patch isn't causing errors because it is not
included in the dhcp recipe's SRC_URI.

Signed-off-by: Kevin Strasser <kevin.strasser@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agodhcp: drop fixincludes.patch
Kevin Strasser [Wed, 12 Jun 2013 17:40:30 +0000 (10:40 -0700)]
dhcp: drop fixincludes.patch

Recent versions of dhcp have swapped out use of __u16 for u_int16_t and
therefor asm/types.h no longer needs to be included. Drop fixincludes.patch
from dhcp recipe.

Signed-off-by: Kevin Strasser <kevin.strasser@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogtk+3: fix repainting under Weston 1.1
Ross Burton [Fri, 31 May 2013 14:22:38 +0000 (15:22 +0100)]
gtk+3: fix repainting under Weston 1.1

Weston 1.1 is stricter with the protocol, so fix the behaviour in GTK+.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogtk+3: clean up libtool link creation to avoid errors in configure log
Ross Burton [Wed, 29 May 2013 18:15:16 +0000 (19:15 +0100)]
gtk+3: clean up libtool link creation to avoid errors in configure log

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogtk+3: split into .bb/.inc
Ross Burton [Wed, 29 May 2013 15:45:58 +0000 (16:45 +0100)]
gtk+3: split into .bb/.inc

I plan on introducing a git master version for automatically testing upstream
development, so this split makes things a lot easier.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogtk+3: register GSetting schemas
Ross Burton [Fri, 24 May 2013 15:53:33 +0000 (16:53 +0100)]
gtk+3: register GSetting schemas

The schemas were not being registered, which resulted in a crash when using the
file chooser or colour picker widgets.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogtk+: remove spurious libgcrypt dependency
Ross Burton [Fri, 24 May 2013 11:27:24 +0000 (12:27 +0100)]
gtk+: remove spurious libgcrypt dependency

This dependency was for the display migration patch set, which was finally
dropped entirely in 2007.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogtk+3: add dependencies for gtk+3-demo
Ross Burton [Thu, 23 May 2013 18:36:30 +0000 (19:36 +0100)]
gtk+3: add dependencies for gtk+3-demo

The demo loads PNG files and sniffs mime types, so ensure that these
dependencies are present so the demo actually works.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogtk+3: respect x11 and wayland DISTRO_FEATURES
Ross Burton [Thu, 23 May 2013 14:47:39 +0000 (15:47 +0100)]
gtk+3: respect x11 and wayland DISTRO_FEATURES

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogtk+3: explicitly disable introspection
Ross Burton [Thu, 23 May 2013 13:49:02 +0000 (14:49 +0100)]
gtk+3: explicitly disable introspection

If someone is/has been using meta-gir then it's possible for this floating
option to become enabled.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogtk+3: update to 3.8.2
Ross Burton [Thu, 23 May 2013 11:37:44 +0000 (12:37 +0100)]
gtk+3: update to 3.8.2

Drop cross.patch as it was a backport and is integrated upstream.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoat-spi2: add -core and -atk, for GTK+ 3.8
Ross Burton [Thu, 23 May 2013 14:26:50 +0000 (15:26 +0100)]
at-spi2: add -core and -atk, for GTK+ 3.8

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosite.conf.sample: Update git proxy instructions
Richard Purdie [Mon, 17 Jun 2013 15:28:58 +0000 (16:28 +0100)]
site.conf.sample: Update git proxy instructions

Somewhere along the line this change got lost, update the git
proxy examples to match the current usage.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolocal.conf.sample: use ?= to assign BB_ENV_EXTRAWHITE variables
Jesse Zhang [Thu, 6 Jun 2013 06:20:27 +0000 (06:20 +0000)]
local.conf.sample: use ?= to assign BB_ENV_EXTRAWHITE variables

Use ?= so that the BB_ENV_EXTRAWHITE variables can be overridden from
the environment.

[YOCTO #4367]

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodistrodata.bbclass: fix syntax errors
Laurentiu Palcu [Sat, 15 Jun 2013 12:17:36 +0000 (15:17 +0300)]
distrodata.bbclass: fix syntax errors

Thes were added by the recent event handler changes.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodbus-wait: Upgrade to fix typo
Richard Purdie [Mon, 17 Jun 2013 10:57:22 +0000 (11:57 +0100)]
dbus-wait: Upgrade to fix typo

There was a typo, the fix was merged upstream, this patch
updates to the new SRCREV.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agooe-buildenv-internal: Fix exit verses return
Richard Purdie [Mon, 17 Jun 2013 09:40:15 +0000 (10:40 +0100)]
oe-buildenv-internal: Fix exit verses return

This script is sourced so we should return, not exit.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodocumentation.conf: Drop variables for class that no longer exists in OE-Core
Richard Purdie [Fri, 14 Jun 2013 13:50:23 +0000 (14:50 +0100)]
documentation.conf: Drop variables for class that no longer exists in OE-Core

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: set QMAKE_COMPILER to gcc in mkspec
Jonathan Liu [Fri, 14 Jun 2013 13:15:37 +0000 (23:15 +1000)]
qt4: set QMAKE_COMPILER to gcc in mkspec

This avoids the following warning when running qmake:
Project WARNING: qmake spec does not announce the compiler family.
Guessed gcc.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: disable gdb_dwarf_index
Jonathan Liu [Fri, 14 Jun 2013 13:15:17 +0000 (23:15 +1000)]
qt4: disable gdb_dwarf_index

* qmake is trying to call native gdb and we don't depend on gdb-native
  (or even provide gdb-native)
* fixes errors like this:
  /bin/sh: gdb: command not found
  /bin/sh: line 0: test: -gt: unary operator expected

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/conf: Add eventmasks for event handlers
Richard Purdie [Wed, 12 Jun 2013 16:31:57 +0000 (16:31 +0000)]
classes/conf: Add eventmasks for event handlers

Now that bitbake supports masking events for event handlers, lets use
this so event handlers are only called for events they care about. This
lets us simplify the code indentation a bit at least as well as mildly
improving the event handling performance.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/buildenv-internal/sanity: Update to python 2.7.3 as a minimum
Richard Purdie [Fri, 7 Jun 2013 17:19:13 +0000 (18:19 +0100)]
scripts/buildenv-internal/sanity: Update to python 2.7.3 as a minimum

We're finding bugs in python 2.6 and starting to require unittest
functionality in python 2.7.x. Its time to bump the minimum version
requirement. Anyone without python 2.7.x can use the buildtools-tarball
out to install a standalone python/git/tar setup which will work
with the system.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity: Drop pseudo test, now unneeded
Richard Purdie [Fri, 7 Jun 2013 17:18:35 +0000 (18:18 +0100)]
sanity: Drop pseudo test, now unneeded

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/bitbake: Drop horrible double execution mess
Richard Purdie [Fri, 7 Jun 2013 17:17:49 +0000 (18:17 +0100)]
scripts/bitbake: Drop horrible double execution mess

There is no longer anything of value in the bitbake wrapper script since pseudo
is handled by bitbake internally. We can therefore drop it (yay).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity.conf: Update minimum bitbake version requirement to 1.19.1 for bitbake-worker
Richard Purdie [Fri, 7 Jun 2013 17:17:12 +0000 (18:17 +0100)]
sanity.conf: Update minimum bitbake version requirement to 1.19.1 for bitbake-worker

This is due to the need to rely on bitbake-worker being present going
forwards.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/oe-buildenv-internal bitbake: Migrate python version checks
Richard Purdie [Fri, 7 Jun 2013 17:16:41 +0000 (18:16 +0100)]
scripts/oe-buildenv-internal bitbake: Migrate python version checks

In preparation for removal of the bitbake wrapper script, move the
python version checks to the environment script. There are also
checks within bitbake itself but these may not always function
correctly on every version of python so this is really insurance.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/bitbake sanity.bbclass: Migrate tests for git and tar versions
Richard Purdie [Fri, 7 Jun 2013 17:16:03 +0000 (18:16 +0100)]
scripts/bitbake sanity.bbclass: Migrate tests for git and tar versions

Migrate tests for correct git and tar versions from the wrapper script
to the sanity class.

This sets the scene to allow us to remove the bitbake wrapper script.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: Add extra fakeroot parameters
Richard Purdie [Fri, 7 Jun 2013 17:15:19 +0000 (18:15 +0100)]
bitbake.conf: Add extra fakeroot parameters

In order to correctly handle fakeroot at the bitbake level we need some extra
information which we provide with these new variables.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuildtools-tarball: Add nativesdk-ncurses-terminfo-base
Richard Purdie [Fri, 14 Jun 2013 11:46:05 +0000 (12:46 +0100)]
buildtools-tarball: Add nativesdk-ncurses-terminfo-base

We've been seeing issues where some TERM values don't work well with the
tarball. These show up as escape codes coming from simple python calls such
as printing the python version. Adding the terminfo goes part way to addressing
the problem, the remainder is ensuring the relocation code correctly searches
the right path for it (which will be in a follow on patch).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython: -Wformat is needed by gcc 4.8
Khem Raj [Thu, 13 Jun 2013 09:28:28 +0000 (02:28 -0700)]
python: -Wformat is needed by gcc 4.8

This fixes errors in packages using python( build with gcc 4.8)

|
/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/python2.7/modsupport.h:27:1:
error: 'PyArg_ParseTuple' is an unrecognized format function type
[-Werror=format=]
|  PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...)
Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3);
|  ^
| cc1: all warnings being treated as errors
| cc1: all warnings being treated as errors

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: introduce gallium-llvmpipe PACKAGECONFIG
Martin Jansa [Wed, 12 Jun 2013 23:20:03 +0000 (01:20 +0200)]
mesa: introduce gallium-llvmpipe PACKAGECONFIG

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: use PACKAGESPLITFUNCS
Martin Jansa [Wed, 12 Jun 2013 23:20:02 +0000 (01:20 +0200)]
mesa: use PACKAGESPLITFUNCS

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: introduce openvg PACKAGECONFIG
Martin Jansa [Wed, 12 Jun 2013 23:20:01 +0000 (01:20 +0200)]
mesa: introduce openvg PACKAGECONFIG

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: introduce gallium PACKAGECONFIG
Martin Jansa [Wed, 12 Jun 2013 23:20:00 +0000 (01:20 +0200)]
mesa: introduce gallium PACKAGECONFIG

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: remove more .la files
Martin Jansa [Wed, 12 Jun 2013 23:19:59 +0000 (01:19 +0200)]
mesa: remove more .la files

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: merge mesa-git.inc to mesa_git.bb
Martin Jansa [Wed, 12 Jun 2013 23:19:57 +0000 (01:19 +0200)]
mesa: merge mesa-git.inc to mesa_git.bb

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: move LIC_FILES_CHKSUM to .inc
Martin Jansa [Wed, 12 Jun 2013 23:19:56 +0000 (01:19 +0200)]
mesa: move LIC_FILES_CHKSUM to .inc

* we can also include .inc as first statement in recipe like most recipes

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: use PACKAGECONFIG instead of DISTRO_FEATURES to define EGL_PLATFORMS
Martin Jansa [Wed, 12 Jun 2013 23:19:55 +0000 (01:19 +0200)]
mesa: use PACKAGECONFIG instead of DISTRO_FEATURES to define EGL_PLATFORMS

* it makes it easier to change PACKAGECONFIG in .bbappend and get
  consistent EGL_PLATFORMS

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: introduce PACKAGECONFIG for dri
Martin Jansa [Wed, 12 Jun 2013 23:19:58 +0000 (01:19 +0200)]
mesa: introduce PACKAGECONFIG for dri

* move DEPENDS which were originally applied only for mesa-dri to
  dri PACKAGECONFIG

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: merge mesa-common.inc to mesa.inc
Martin Jansa [Wed, 12 Jun 2013 23:19:54 +0000 (01:19 +0200)]
mesa: merge mesa-common.inc to mesa.inc

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocogl: make cogl be able to build on ARM arch
Roy.Li [Fri, 14 Jun 2013 08:37:58 +0000 (16:37 +0800)]
cogl: make cogl be able to build on ARM arch

1. Fix asm() register constraints in cogl when building for ARM.
2. Fix cogl to handle Thumb builds.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: update install-quotaon-once.patch
Ross Burton [Fri, 14 Jun 2013 11:23:46 +0000 (12:23 +0100)]
systemd: update install-quotaon-once.patch

This patch has been merged upstream now, so refresh the patch with a backport
(the patch was changed before being merged).

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/qmake_base: allow parallel make
Jonathan Liu [Wed, 12 Jun 2013 01:21:05 +0000 (11:21 +1000)]
classes/qmake_base: allow parallel make

Remove MAKEFLAGS= from EXTRA_OEMAKE to allow parallel make.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoqt: update qmake2 class to export qconfig.pri mkspec
Felipe F. Tonello [Wed, 12 Jun 2013 01:21:04 +0000 (11:21 +1000)]
qt: update qmake2 class to export qconfig.pri mkspec

This is necessary when Qt applications want to know variables such as
QT_MAJOR_VERSION, QT_VERSION, QT_MINOR_VERSION, GCC version, etc.

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agognome-doc-utils: drop the usage of create_wrapper
Ross Burton [Wed, 12 Jun 2013 16:42:25 +0000 (17:42 +0100)]
gnome-doc-utils: drop the usage of create_wrapper

create_wrapper was previously abused to invoke the Python interpretter directly
instead of relying on #! parsing, which is read into a 128 byte buffer so breaks
with deep build directories.

However now that we already install a "nativepython" binary into the native
sysroot, use sed to change the #! line to /usr/bin/env nativepython.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agocreaterepo: drop the usage of create_wrapper
Ross Burton [Wed, 12 Jun 2013 16:29:21 +0000 (17:29 +0100)]
createrepo: drop the usage of create_wrapper

create_wrapper was previously abused to invoke the Python interpretter directly
instead of relying on #! parsing, which is read into a 128 byte buffer so breaks
with deep build directories.

However now that we already install a "nativepython" binary into the native
sysroot, use sed to change the #! line to /usr/bin/env nativepython.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agopython-native: add nativepython symlink
Ross Burton [Wed, 12 Jun 2013 16:25:05 +0000 (17:25 +0100)]
python-native: add nativepython symlink

Add a symlink to the native Python so that scripts can just invoke
"nativepython" and get the right one without needing absolute paths (these often
end up too long for the #! parser in the kernel as the buffer is 128 bytes
long).

The name "nativepython" was chosen to match the existing "nativeperl" which
serves the same purpose.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agodpkg: drop the usage of create_wrapper
Ross Burton [Wed, 12 Jun 2013 16:21:29 +0000 (17:21 +0100)]
dpkg: drop the usage of create_wrapper

create_wrapper was previously abused to invoke the Perl interpretter directly
instead of relying on #! parsing, which is read into a 128 byte buffer so breaks
with deep build directories.

However we already install a "nativeperl" binary into the native sysroot, so
use sed to change the #! line to /usr/bin/env nativeperl.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoscripts/contrib/build-perf-test.sh: fix passing arguments
Stefan Stanacar [Wed, 12 Jun 2013 15:07:20 +0000 (18:07 +0300)]
scripts/contrib/build-perf-test.sh: fix passing arguments

Don't pass arguments to bitbake as a single one,
because this will break when the bitbake double-exec
is removed.

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoscripts/contrib/build-perf-test.sh: add branch name and sizes to results
Stefan Stanacar [Wed, 12 Jun 2013 15:07:19 +0000 (18:07 +0300)]
scripts/contrib/build-perf-test.sh: add branch name and sizes to results

Be more descriptive about the revision we are running on
in the global results file: add branch:commit and git describe fields.
Also add the sizes for tmp dir not only times. (previously these were
only available in the output.log)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosite: add more alignment values for at-spi2-core
Ross Burton [Wed, 12 Jun 2013 12:17:41 +0000 (13:17 +0100)]
site: add more alignment values for at-spi2-core

x86 and x86_64 values were added in 8c46ec. The x86-64 values were missing an
entry, add MIPS and PowerPC values from myself in qemu, and ARM values from
Martin Jansa.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agorunqemu: when tunctl can't be found, say what package builds it
Ross Burton [Wed, 12 Jun 2013 10:24:20 +0000 (11:24 +0100)]
runqemu: when tunctl can't be found, say what package builds it

If runqemu is used without actually building any qemu images (i.e. you
downloaded the images) it's likely that qemu-helper-native hasn't been built.
Instead of just saying what command can't be found, tell the user how to solve
their problem.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agonspr: Update to 4.10
Saul Wold [Wed, 12 Jun 2013 06:01:09 +0000 (23:01 -0700)]
nspr: Update to 4.10

Source directory name changed from mozilla/nsprpub -> npsr

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibusb: Update tp 0.1.5
Saul Wold [Wed, 12 Jun 2013 06:00:49 +0000 (23:00 -0700)]
libusb: Update tp 0.1.5

Removed obsoleted patches

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibxkbcommon: Update to 0.3.1
Saul Wold [Wed, 12 Jun 2013 06:00:27 +0000 (23:00 -0700)]
libxkbcommon: Update to 0.3.1

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosysstat: Update to 10.1.6
Saul Wold [Wed, 12 Jun 2013 05:59:59 +0000 (22:59 -0700)]
sysstat: Update to 10.1.6

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolsbinitscripts: Update to 9.47
Saul Wold [Wed, 12 Jun 2013 05:59:36 +0000 (22:59 -0700)]
lsbinitscripts: Update to 9.47

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibidn: Update to 1.27
Saul Wold [Wed, 12 Jun 2013 05:59:14 +0000 (22:59 -0700)]
libidn: Update to 1.27

COPYING, idna.h and ida.c:
  Year change only 2012 -> 2013

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agocups: Update to 1.6.2
Saul Wold [Wed, 12 Jun 2013 05:58:56 +0000 (22:58 -0700)]
cups: Update to 1.6.2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agocracklib: Update to 2.9.0
Saul Wold [Wed, 12 Jun 2013 05:58:40 +0000 (22:58 -0700)]
cracklib: Update to 2.9.0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agohelp2man: Update to 1.43.2
Saul Wold [Wed, 12 Jun 2013 05:57:46 +0000 (22:57 -0700)]
help2man: Update to 1.43.2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agocmake: Update to 2.8.11.1
Saul Wold [Wed, 12 Jun 2013 05:57:09 +0000 (22:57 -0700)]
cmake: Update to 2.8.11.1

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosocat: Update to 1.7.2.2
Saul Wold [Wed, 12 Jun 2013 05:56:41 +0000 (22:56 -0700)]
socat: Update to 1.7.2.2

COPYING changed formating and address, no license changes

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoqemu: update to 1.5.0
Riku Voipio [Thu, 6 Jun 2013 12:08:40 +0000 (15:08 +0300)]
qemu: update to 1.5.0

Patches removed:

0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
 - applied
0002-docs-Fix-generating-qemu-doc.html-with-texinfo-5.patch
 - fixed different upstream
Revert-vmware_vga-Add-back-some-info-in-local-state-.patch
 - fixed different upstream
arm-bgr.patch
 - this should be also fixed upstream, if still issue please resend.
fallback-to-safe-mmap_min_addr.patch
 - this should be also fixed upstream, if still issue please resend.
linker-flags.patch
 - unneeded with makefile changes

from configure the obsolete --audio-cards-list option has been removed.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogcc: Upgrade to 4.8.1
Khem Raj [Tue, 11 Jun 2013 21:57:48 +0000 (14:57 -0700)]
gcc: Upgrade to 4.8.1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoofono: Add run time dependency for ofono test scripts
Muhammad Shakeel [Tue, 11 Jun 2013 07:15:31 +0000 (12:15 +0500)]
ofono: Add run time dependency for ofono test scripts

Some ofono test scripts i.e. enable-modem use python-dbus module
and this must be installed along with ofono-tests package.

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogzip : upgrade to 1.6
Andrei Dinu [Tue, 11 Jun 2013 14:04:42 +0000 (17:04 +0300)]
gzip : upgrade to 1.6

tcmode-default: Update gzip PREFFERED_VERSION to 1.6

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
[sgw - updated tcmode-default]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibxt: upgrade to 1.1.4
Laurentiu Palcu [Mon, 10 Jun 2013 14:11:03 +0000 (17:11 +0300)]
libxt: upgrade to 1.1.4

The following fragment has been added at the end of the licence file:

Copyright (c) 1993, 1994  X Consortium

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Except as contained in this notice, the name of the X Consortium shall not
be used in advertising or otherwise to promote the sale, use or other
dealing in this Software without prior written authorization from the
X Consortium.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibdrm: upgrade to 2.4.45
Laurentiu Palcu [Mon, 10 Jun 2013 13:24:03 +0000 (16:24 +0300)]
libdrm: upgrade to 2.4.45

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoxwininfo: upgrade to 1.1.3
Laurentiu Palcu [Mon, 10 Jun 2013 13:23:43 +0000 (16:23 +0300)]
xwininfo: upgrade to 1.1.3

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoxf86-video-intel: upgrade to 2.21.9
Laurentiu Palcu [Mon, 10 Jun 2013 13:23:12 +0000 (16:23 +0300)]
xf86-video-intel: upgrade to 2.21.9

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoxdpyinfo: upgrade to 1.3.1
Laurentiu Palcu [Mon, 10 Jun 2013 13:22:35 +0000 (16:22 +0300)]
xdpyinfo: upgrade to 1.3.1

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoxkeyboard-config: upgrade to 2.9
Laurentiu Palcu [Mon, 10 Jun 2013 13:20:01 +0000 (16:20 +0300)]
xkeyboard-config: upgrade to 2.9

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoxf86-input-synaptics: upgrade to 1.7.1
Laurentiu Palcu [Mon, 10 Jun 2013 13:19:14 +0000 (16:19 +0300)]
xf86-input-synaptics: upgrade to 1.7.1

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibnewt: split python module into libnewt-python
Christopher Larson [Wed, 5 Jun 2013 23:38:55 +0000 (16:38 -0700)]
libnewt: split python module into libnewt-python

This is useful as it avoids pulling python into a build just to build
chkconfig. The python recipe uses the libnewt installed in the sysroot by the
main package, so there's little loss of build time, other than the additional
unpack/patch.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolatencytop: Deprecate tracing_enabled for tracing_on
Roy.Li [Sat, 8 Jun 2013 07:22:06 +0000 (15:22 +0800)]
latencytop: Deprecate tracing_enabled for tracing_on

tracing_enabled should not be used, it is heavy weight and does not
do much in helping lower the overhead. see commmit (Deprecate
tracing_enabled for tracing_on 6752ab4a9c30d5411b2dfdb251a3f1cb18aae48)
in kernel

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoutil-linux: update to 2.23.1
Jonathan Liu [Mon, 10 Jun 2013 05:15:55 +0000 (15:15 +1000)]
util-linux: update to 2.23.1

Removed patches integrated upstream.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agowpa-supplicant: Enable EXTRA_CFLAGS
Roy.Li [Sat, 8 Jun 2013 06:40:08 +0000 (14:40 +0800)]
wpa-supplicant: Enable EXTRA_CFLAGS

Even if we define EXTRA_CFLAGS, but it never work, since the source codes
donot refer it, and CFLAGS is given a fixed value.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agotune-cortexa*.inc: fix tunings for cortex a5, a7, a8, a9, a15 machines.
Andy Voltz [Wed, 12 Jun 2013 16:38:01 +0000 (12:38 -0400)]
tune-cortexa*.inc: fix tunings for cortex a5, a7, a8, a9, a15 machines.

Using CORTEX_ID variable reference in the tuning overrides did not work.
This reverts those changes, and adds a tuning file for the cortex-a5.

Revert "tune-cortexa5.inc: Add tune file for cortex-a5"
Revert "tune-cortexa.inc: create a common include for cortex-a armv7a tuning"

Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuildtools-tarball: add difflib and pprint python modules
Saul Wold [Tue, 11 Jun 2013 20:53:01 +0000 (13:53 -0700)]
buildtools-tarball: add difflib and pprint python modules

Needed for the unittest part of bitbake-selftest can work correctly.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity.bbclass: non-zero status means that we need -march.
Randy MacLeod [Tue, 11 Jun 2013 18:27:34 +0000 (14:27 -0400)]
sanity.bbclass: non-zero status means that we need -march.

A non-zero status from the march test for gcc means that the "march" flag
is needed. Correct the logic to return True in this case.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-base: s/dosfsprogs/dosfstools/
Christopher Larson [Tue, 11 Jun 2013 17:14:01 +0000 (10:14 -0700)]
packagegroup-base: s/dosfsprogs/dosfstools/

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: don't install quotaon.service twice
Ross Burton [Tue, 11 Jun 2013 17:00:03 +0000 (18:00 +0100)]
systemd: don't install quotaon.service twice

If the same file is installed twice there's a race which can lead to "make
install" failing.  Remove the redundant installation of quotaon.service to
eliminate the race.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocopyleft_compliance: set 'dirs' flag on task
Christopher Larson [Mon, 10 Jun 2013 20:46:40 +0000 (13:46 -0700)]
copyleft_compliance: set 'dirs' flag on task

Without this, due to bitbake defaulting to ${B}, it's possible to get ${S}
inadvertantly created before do_unpack, breaking the unpack of git sources,
which expect the destination to not exist.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate.bbclass: fetch archive+siginfo in a single pstaging_fetch
Christopher Larson [Mon, 10 Jun 2013 20:46:23 +0000 (13:46 -0700)]
sstate.bbclass: fetch archive+siginfo in a single pstaging_fetch

This avoids unnecessary duplication of setup. The only visible change in
behavior will be the case if siginfo exists and the archive does not, in which
case it'll redownload both, but this doesn't seem unresasonable to me,
particularly since the archive is downloaded first, making this case
particularly unlikely.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate.bbclass: kill MIRRORS and FILESPATH to speed up fetching
Christopher Larson [Mon, 10 Jun 2013 20:46:22 +0000 (13:46 -0700)]
sstate.bbclass: kill MIRRORS and FILESPATH to speed up fetching

The default FILESPATH isn't really of use, as we don't expect to find sstate
archives buried in layer recipe directories, and the default MIRRORS is
intended for use for fetching SRC_URI, not sstate.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocopyleft_compliance: handle localpaths ending with '/'
Christopher Larson [Mon, 10 Jun 2013 20:46:39 +0000 (13:46 -0700)]
copyleft_compliance: handle localpaths ending with '/'

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogconf: inherit gettext
Christopher Larson [Mon, 10 Jun 2013 23:15:48 +0000 (16:15 -0700)]
gconf: inherit gettext

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoavahi: inherit python classes, use PACKAGECONFIG
Christopher Larson [Mon, 10 Jun 2013 23:15:49 +0000 (16:15 -0700)]
avahi: inherit python classes, use PACKAGECONFIG

Without using our python classes and having appropriate dependencies, the
build is nondeterministic, and whether a python-avahi package is produced will
vary depending on the host environment, yet avahi-discover is always produced,
and it depends on python-avahi.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolicense.bbclass: include all licenses in the manifest
Christopher Larson [Mon, 10 Jun 2013 23:15:50 +0000 (16:15 -0700)]
license.bbclass: include all licenses in the manifest

When we don't have a generic license file for the license in question, we can
warn, but we should still include it in the manifest, otherwise the manifest
doesn't reflect reality. Failing to include a license listed in the recipe in
the manifest can't be allowed.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-core-tools-profile: don't exclude mips
Christopher Larson [Mon, 10 Jun 2013 23:15:47 +0000 (16:15 -0700)]
packagegroup-core-tools-profile: don't exclude mips

Now that liburcu supports mips, this packagegroup can pull in lttng recipes
(lttng-ust, lttng-tools, lttng-modules, babeltrace) on that architecture as it
does for the others.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinsane.bbclass: quiet package errors not in *_QA
Christopher Larson [Mon, 10 Jun 2013 20:47:07 +0000 (13:47 -0700)]
insane.bbclass: quiet package errors not in *_QA

Currently, if a package QA type from package.bbclass is not listed in
ERROR_QA, it gets shown, regardless of whether it's in WARN_QA. This differs
from the behavior of the rest of the QA handling (which doesn't call
package_qa_handle_error at all if it's in neither _QA variable), and is
nonintuitive. Change this to use bb.note() if it's listed neither in ERROR_QA
nor WARN_QA, so it ends up in the task logs, but doesn't clutter up the user's
output.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-base-vfat: include dosfsprogs
Christopher Larson [Mon, 10 Jun 2013 20:47:06 +0000 (13:47 -0700)]
packagegroup-base-vfat: include dosfsprogs

The ext2 group includes e2fsprogs, so this is consistent and should be
appropriate, I think.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>