scm/bb/tizen-distro.git
11 years agoscripts/pybootchart: Fix missing entries bug
Richard Purdie [Mon, 19 Nov 2012 15:02:18 +0000 (15:02 +0000)]
scripts/pybootchart: Fix missing entries bug

If two entries have the same start time, the data store used will cause
all but one of the entries to be lost. This patch enhances the data
storage structure to avoid this problem and allow more than one
event to start at the same time.

(From OE-Core rev: 220b071fd8d1cc6bdbca58f75489e3c9b34921ca)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoflac: fix text relocations
Ross Burton [Mon, 19 Nov 2012 11:22:14 +0000 (11:22 +0000)]
flac: fix text relocations

The recent sanity checks were flagging:

 ELF binary '.../libFLAC.so.8.2.0' has relocations in .text

This is caused by hand-written assembler being invoked badly.  Apply a patch
from upstream git that uses PIC instead of relocations.

[ YOCTO: #3461 ]

(From OE-Core rev: 9b5660ee0e507852a02ba5281b571f3e55dffc18)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoncurses: update gnu-config files in do_configure()
Marcin Juszkiewicz [Mon, 19 Nov 2012 12:39:22 +0000 (13:39 +0100)]
ncurses: update gnu-config files in do_configure()

(From OE-Core rev: 52d4c2cb6cd15f8ebaacc92ddf71274bf7a421d5)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokmod: fix git repo URL
Eric Bénard [Mon, 19 Nov 2012 14:12:53 +0000 (15:12 +0100)]
kmod: fix git repo URL

(From OE-Core rev: 156e0fca979585f72323041f8d8aeafcbd43dfc3)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: remove 4.8.1
Ross Burton [Mon, 19 Nov 2012 14:22:34 +0000 (14:22 +0000)]
qt4: remove 4.8.1

(From OE-Core rev: 5f6d7d61d79215ffe38aa6b122ae5ac0af7e859a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: remove negative preference on 4.8.3
Ross Burton [Mon, 19 Nov 2012 14:22:33 +0000 (14:22 +0000)]
qt4: remove negative preference on 4.8.3

(From OE-Core rev: 36e42fa771ddd11e169d92dd31d213ba84538012)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc: Use FILESPATH instead of FILESDIR and cleanup/simplify
Richard Purdie [Mon, 19 Nov 2012 21:18:52 +0000 (21:18 +0000)]
gcc: Use FILESPATH instead of FILESDIR and cleanup/simplify

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: update qemu machine.conf template
Stefan Stanacar [Fri, 16 Nov 2012 16:37:27 +0000 (18:37 +0200)]
yocto-bsp: update qemu machine.conf template

Update the template with the changes from the last commits to meta/conf/machine/qemux86.conf
Building sato image for a machine created using yocto-bsp with qemux86/x86-64 templates fails because nothing RPROVIDES qemugl anymore so remove support from the template as well.
Also drop redundant glibc configure knobs (they are no longer optional and they don't exist in conf/machine/qemux86.conf anymore so for consistency the template shouldn't keep them).

(From meta-yocto rev: 644c201a8fb9e589cdda1f76385a0b41549ea057)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopulseaudio: explicitly disable xen, rather than letting it detect
Gilbert Coville [Fri, 16 Nov 2012 23:11:02 +0000 (17:11 -0600)]
pulseaudio: explicitly disable xen, rather than letting it detect

(From OE-Core rev: d109b24ad354382cd40b28e86211e53929a0910f)

Signed-off-by: Gilbert Coville <gilbert_coville@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopkg: added alternatives-ln patch
Enrico Scholz [Fri, 16 Nov 2012 17:05:05 +0000 (18:05 +0100)]
opkg: added alternatives-ln patch

Use 'ln -n' to avoid dereferencing links to host files.

(From OE-Core rev: e5aef500e11cbf7d1cd20b588fcea2c5fd6b5d0e)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobinutils: fixed --enable-targets option
Enrico Scholz [Fri, 16 Nov 2012 17:26:34 +0000 (18:26 +0100)]
binutils: fixed --enable-targets option

There does not exist an '--enable-target=all' option

(From OE-Core rev: 60fe4e80ca5845a0d03f918b80d6e980c13378b9)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocmake.bbclass: use DEPENDS_prepend instead of += for cmake-native
Ross Burton [Fri, 16 Nov 2012 17:16:07 +0000 (17:16 +0000)]
cmake.bbclass: use DEPENDS_prepend instead of += for cmake-native

Otherwise when a recipe using DEPENDS=, the cmake-native dependency disappears.

(From OE-Core rev: 2b35539d96325d8e687451543d4f52f1a07bf1c6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodefault-providers: add default provider for make
Ross Burton [Fri, 16 Nov 2012 17:16:06 +0000 (17:16 +0000)]
default-providers: add default provider for make

remake PROVIDES make, so we need a default provider.

(From OE-Core rev: 9af884d433d18582b14977eb340cfdfa4801e7fe)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibcgroup/libxkbcommon: Use BPN in SRC_URI
Richard Purdie [Sun, 18 Nov 2012 11:16:53 +0000 (11:16 +0000)]
libcgroup/libxkbcommon: Use BPN in SRC_URI

If we don't do this, multilib and other varients using BBCLASSEXTEND
will fail.

(From OE-Core rev: 9a97367038a1e2431bf94211dabbc5aedbbee3bb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoFix the first line typo of adt-installer
Jessica Zhang [Mon, 12 Nov 2012 23:04:40 +0000 (15:04 -0800)]
Fix the first line typo of adt-installer

[YOCTO #3384]

(From OE-Core rev: 039e119590b2f3e1d912b446fa68b6cf936d21c2)

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoless: Update to 451
Saul Wold [Wed, 14 Nov 2012 05:32:45 +0000 (21:32 -0800)]
less: Update to 451

LICENSE file was changed to match the BSD-2 Clause

(From OE-Core rev: 4b6a70e60790a32d89e2e5cdded4af83e9d303ae)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinsane.bbclass: add qa package name check
Constantin Musca [Tue, 13 Nov 2012 15:51:00 +0000 (17:51 +0200)]
insane.bbclass: add qa package name check

Check if package names match the [a-z0-9.+-]+ regular
expression

[YOCTO #3139]

(From OE-Core rev: 55dd271be1aee21e36d130359f4f21841623c425)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Drop now unneeded python whitelist entries
Richard Purdie [Wed, 14 Nov 2012 14:31:58 +0000 (14:31 +0000)]
sstate: Drop now unneeded python whitelist entries

(From OE-Core rev: 2a9a3e5e3e9229eb11f20eeabef7929014bccd11)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython: Resolve intermediate staging issues
Richard Purdie [Wed, 14 Nov 2012 14:31:24 +0000 (14:31 +0000)]
python: Resolve intermediate staging issues

Its bad practise to poke into the sysroot without knowledge of sstate.

This adds a patch to python allowing us to account for cross compiling
and allow it to find the Makefile/pyconfig.h files without needing them
in the sysroot for do_compile/do_install to complete.

Tested on two architectures and compared with buildhistory with no
significant delta.

(From OE-Core rev: 16da4f75a75dc8020803df9ea73a2a7ead88cc5a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-self-hosted: add sftp server
Saul Wold [Wed, 14 Nov 2012 05:32:43 +0000 (21:32 -0800)]
packagegroup-self-hosted: add sftp server

Which is needed for integration with Eclispe plugin

(From OE-Core rev: 57127ff6f42145bb1a200c8c3267158df637fbfd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopsmisc: Update to 22.20
Saul Wold [Wed, 14 Nov 2012 05:32:46 +0000 (21:32 -0800)]
psmisc: Update to 22.20

(From OE-Core rev: e4fc11305e2e09b2883cb455e0772a01e9f6dd4a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokconfig-frontends: Update to 3.6
Saul Wold [Wed, 14 Nov 2012 05:32:47 +0000 (21:32 -0800)]
kconfig-frontends: Update to 3.6

(From OE-Core rev: 3fb19c1044b46ee7b0d898af4fc6f46bbd957b2f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomx: Update to 1.4.7
Saul Wold [Wed, 14 Nov 2012 05:32:49 +0000 (21:32 -0800)]
mx: Update to 1.4.7

Source moved to GitHub

(From OE-Core rev: 1f2f35ba7607b503af2cdf51a459c6de786f554d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopulse: fix Bashism in string test
Saul Wold [Wed, 14 Nov 2012 05:32:51 +0000 (21:32 -0800)]
pulse: fix Bashism in string test

(From OE-Core rev: 342daf26eaf0d885278b06b8d820db238cbf4d61)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomake-3.82: Add patch for archive expression expansion issues
Richard Purdie [Wed, 14 Nov 2012 11:24:52 +0000 (11:24 +0000)]
make-3.82: Add patch for archive expression expansion issues

bitbake make-native; MACHINE=qemuarm bitbake icu

would fail with:

*** No rule to make target `uconvmsg/libuconvmsg.a(uconvmsg/uconvmsg_dat.ao', needed by `uconvmsg/libuconvmsg.a'.  Stop

which is caused by a bug in make 3.82 which the attached patch fixes.

(From OE-Core rev: 06e64233a3a00a3c60fab7d92cbb18cd9feadc8d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxf86-input-synaptics: add mtdev dependency
Laurentiu Palcu [Sun, 11 Nov 2012 07:36:54 +0000 (09:36 +0200)]
xf86-input-synaptics: add mtdev dependency

After upgrading xserver to 1.13, multitouch support is automatically
enabled in xf86-input-synaptics. Hence, the need for mtdev dependency.

(From OE-Core rev: 03d787efe0d83b20155508811f901b05a910940c)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomdadm: upgrade to 3.2.6
Laurentiu Palcu [Thu, 8 Nov 2012 08:45:35 +0000 (10:45 +0200)]
mdadm: upgrade to 3.2.6

(From OE-Core rev: c7aacc09c4d3d68bdd6fa7419a7ea1c2b2a007ae)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofontconfig: upgrade to 2.10.1
Laurentiu Palcu [Wed, 7 Nov 2012 15:34:56 +0000 (17:34 +0200)]
fontconfig: upgrade to 2.10.1

A couple of changes:
 * licence snippet in fccache.c moved down the file;
 * new files appeared in this version, added them to fontconfig package

(From OE-Core rev: f6ca099d9cbd2ed1c181e8e91cc16d0550701f26)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxcb-proto: upgrade to 1.8
Laurentiu Palcu [Wed, 7 Nov 2012 15:01:22 +0000 (17:01 +0200)]
xcb-proto: upgrade to 1.8

(From OE-Core rev: dd378e8bd3419219585968158be1972bffa57247)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxf86-input-mouse: upgrade to 1.8.1
Laurentiu Palcu [Wed, 7 Nov 2012 12:31:15 +0000 (14:31 +0200)]
xf86-input-mouse: upgrade to 1.8.1

Licence chacksum changed because Red Hat added a copyright line.

(From OE-Core rev: 00c892acc24860c26fe658ff96cfa002a1c96410)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxf86-video-intel: upgrade to 2.20.12
Laurentiu Palcu [Wed, 7 Nov 2012 11:37:15 +0000 (13:37 +0200)]
xf86-video-intel: upgrade to 2.20.12

(From OE-Core rev: 31ade27a9d6011ff3a96aa2ef81be662f83c640f)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxf86-video-vesa: upgrade to 2.3.2
Laurentiu Palcu [Wed, 7 Nov 2012 11:35:40 +0000 (11:35 +0000)]
xf86-video-vesa: upgrade to 2.3.2

(From OE-Core rev: efdf6fc1cdbd5427eb94b034b2adc6a45a351b75)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-smartpm: Add basic knowledge of RPMSENSE_MISSINGOK
Mark Hatle [Wed, 31 Oct 2012 19:43:48 +0000 (14:43 -0500)]
python-smartpm: Add basic knowledge of RPMSENSE_MISSINGOK

Currently smart does not support recommend dependencies.  Add the first set
of 'support' for RPMSENSE_MISSINGOK (the flag that makes something a
recommend).  This initial support ends up ignoring the recommendation, but is
written in a way that it will be the basis of eventual support.

(From OE-Core rev: 4f1f6d39803c94cf9ff55f0a4616e7a1703bcef6)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorpm: Add additional RPMSENSE values to python module
Mark Hatle [Wed, 31 Oct 2012 19:42:03 +0000 (14:42 -0500)]
rpm: Add additional RPMSENSE values to python module

We add a number of additional RPMSENSE values to the python module to better
support the dependency calculations in SMART.

(From OE-Core rev: 431352d063b353ee0e0eaa5bfe24450962d71d6b)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-smartpm: Add smartpm recipe
Mark Hatle [Thu, 4 Oct 2012 18:57:00 +0000 (13:57 -0500)]
python-smartpm: Add smartpm recipe

This is the initial integration, basic functionality such as 'smart query'
has been tested.  Active use of remote feeds and such has not yet been
verified.

Thanks to Paul Eggleton for corrections and bug fixes for the initial
integration.

(From OE-Core rev: 92182ca88aff9cec04b2af5e9babaf33bf61f0af)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorpm: Slightly change the way python-rpm is constructed
Mark Hatle [Thu, 4 Oct 2012 18:54:13 +0000 (13:54 -0500)]
rpm: Slightly change the way python-rpm is constructed

If python support is enabled we want to make sure that the RPM python support
is packaged properly.

Move the components into the site-packages directory, move the .la files to a
new -dev package.

Add "rpm" as a dependency of python-rpm, otherwise rpm and the associated
libraries won't be available.

Fixup python wrapper to handle automatic relocation, as supported by the
vendor WINDRIVER configuration.  (Based on a patch from Paul Eggleton)

(From OE-Core rev: cd0473a145cec51be736b6141b0b18a82b64d483)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Bump version number to deal with layout fixes
Richard Purdie [Wed, 14 Nov 2012 23:32:56 +0000 (23:32 +0000)]
sstate: Bump version number to deal with layout fixes

The recent preveeding sstate directory layout fixes made the code do what it
was originally intended to do, as can be clearly seen from the code.
Unfortunately this changed the contents and layout of the sstate files
themselves since the bug was leading to a directory prefix being missing.

This is now resulting in chaotic messages on the console since things
are getting confused with the two different layouts. The simplest way to
resolve this is to bump the version number, hence moving the new layout
into its own new namespace.

Its worth noting that whilst the failure messages are scary, the failure
mode is relatively harmless since it will just fall back to building the
data rather than installing from sstate.

Usually I'd give more notice of a change like this but under the
circumstances, I'm just going to push this in to resolve the failures
people are seeing. Initially I thought the problem was limited to
some of the -cross packages and therefore of low impact but that is
clearly not the case.

(From OE-Core rev: b53ea6687b6201c8c5ab5cb0d2a845ef7e7b2abe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobash: fix mkbuiltins build failure
Christopher Larson [Wed, 14 Nov 2012 14:55:09 +0000 (07:55 -0700)]
bash: fix mkbuiltins build failure

On hosts with FORTIFY_SOURCES, stringize support is required, as it's used by
the macros to wrap functions (e.g. read and open in unistd.h). Those wrappers
use the STRING() macro from unistd.h. A header in the bash sources overrides
the unistd.h macro to 'x' when HAVE_STRINGIZE is not defined, causing the
wrappers to generate calls to 'xread' and 'xopen', which do not exist,
resulting in a failure to link.

Assume we have stringize support when cross-compiling, which works around the
issue.

It may be best for upstream to either give up on supporting compilers without
stringize support, or to not define STRING() at all when FORTIFY_SOURCES is
defined, letting the unistd.h one be used, instead.

(From OE-Core rev: f7a25dd72d1d463eb72d48c6f9dd968d376496c0)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Fix various path manipulation issues
Richard Purdie [Wed, 14 Nov 2012 15:52:45 +0000 (15:52 +0000)]
sstate: Fix various path manipulation issues

Fix missing parameter to endswith and pass paths through normpath to remove
any duplicate "/" characters which would corrupt other calls like basename.

(From OE-Core rev: 172a74c540378149eec493c37c030e9f42f9603d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: knotty: kill duplicated import of 'time'
Christopher Larson [Tue, 13 Nov 2012 19:12:50 +0000 (12:12 -0700)]
bitbake: knotty: kill duplicated import of 'time'

The duplicated import could result in an UnboundLocalError.

(Bitbake rev: a098cebd5c33ebd704efd35d9e655262283cbe1f)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutils.bbclass: Fix documentation of create_cmdline_wrapper
Richard Purdie [Fri, 9 Nov 2012 11:02:04 +0000 (12:02 +0100)]
utils.bbclass: Fix documentation of create_cmdline_wrapper

(From OE-Core rev: 56160ca49dd546b7db07ae2021eefef7279b0f10)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses: Be consistent about sstate-inputdirs/outputdirs ending with '/'
Richard Purdie [Sat, 3 Nov 2012 17:01:32 +0000 (17:01 +0000)]
classes: Be consistent about sstate-inputdirs/outputdirs ending with '/'

If sstate-inputdirs and sstate-outputdirs don't match with ending '/'
characters, the manifest file can end up corrupted. This change
ensures the metadata is consistent in ending do_populate_root tasks
with this character to avoid manifest file corruption.

(From OE-Core rev: 3910eaf88d14904eef85b9e391387547df7fc54e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Be consistent about sstate-inputdirs/outputdirs ending with '/'
Richard Purdie [Sat, 3 Nov 2012 17:03:14 +0000 (17:03 +0000)]
sstate: Be consistent about sstate-inputdirs/outputdirs ending with '/'

The manifest file can become corrupted if sstate-inputdirs and sstate-outputdirs
don't have matching endings. This patch ensures that even if set incorrectly,
the code functions as intended, thereby handling manifest corruption safely.

(From OE-Core rev: 0109a3623a19f9ae289952a4f054e53c3eca4eaa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython.inc: make lsb override more concise
Richard Purdie [Sat, 3 Nov 2012 17:19:01 +0000 (17:19 +0000)]
python.inc: make lsb override more concise

No functionality change, just a readability improvement

(From OE-Core rev: 7a27f95c2800285d7f97fead616620bfd7dabbe3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibc-common: Ensure sysconfdir exists before installing files to it
Richard Purdie [Tue, 13 Nov 2012 13:31:55 +0000 (13:31 +0000)]
libc-common: Ensure sysconfdir exists before installing files to it

Depending on the eglibc configuaration, the directory may or may not exist.

(From OE-Core rev: aa89b80a42297196c7bbba55fe2396ba1f98acc7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoboost: Activate zlib and bzip2 because they now work.
Denis 'GNUtoo' Carikli [Sat, 20 Oct 2012 15:50:13 +0000 (17:50 +0200)]
boost: Activate zlib and bzip2 because they now work.

This patch is needed for making wesnoth(will be sumbited
  in meta-games) work.

[RP: Add missing bzip2 dependency]
(From OE-Core rev: 9987998d7431fb33b12a7e210024a8193b43e717)

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: print clear message for "bitbake -e ASSUME_PROVIDED"
Robert Yang [Tue, 6 Nov 2012 12:18:42 +0000 (20:18 +0800)]
bitbake: print clear message for "bitbake -e ASSUME_PROVIDED"

"bitbake -e ASSUME_PROVIDED" should fail, but the error message wasn't
clear enough in the past:

$ bitbake -e bzip2-native
[snip]
ERROR: Command execution failed: Traceback (most recent call last):
  File "/buildarea/lyang1/poky/bitbake/lib/bb/command.py", line 94, in
runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File "/buildarea/lyang1/poky/bitbake/lib/bb/command.py", line 323, in
showEnvironmentTarget
    command.cooker.showEnvironment(None, pkg)
  File "/buildarea/lyang1/poky/bitbake/lib/bb/cooker.py", line 325, in
showEnvironment
    fnid = taskdata.build_targets[targetid][0]
KeyError: 0
[snip]

With this patch, the massage will be:
[snip]
ERROR: bzip2-native is in ASSUME_PROVIDED
ERROR: Command execution failed: Exited with 1

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

[YOCTO #3392]

(Bitbake rev: f31447dac92454c822d4ebb7dd48e96c6c69dde4)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: hob was freezing because it doesn't receives well the log file
Cristiana Voicu [Thu, 8 Nov 2012 13:03:42 +0000 (15:03 +0200)]
bitbake: hob: hob was freezing because it doesn't receives well the log file

-after pressing "build image" button, hob was freezing because it didn't
receive well the log file

[YOCTO #3398]
(Bitbake rev: e3619e34d43c3f7725fc83c362d8cbd07e153ebe)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa-demos: fix --with-glut check
Ross Burton [Mon, 12 Nov 2012 15:03:28 +0000 (15:03 +0000)]
mesa-demos: fix --with-glut check

The GLUT check was automatic and couldn't be disabled, so mesa-demos would gain
a GLUT dependency if it was present when built.

So, fix configure.ac so that --without-glut works as expected.

(From OE-Core rev: fa7fb44d1ca2b8a57509806bde19672c68ef157d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinitrdscripts: fix udevd in the live boot init scripts
Ross Burton [Mon, 12 Nov 2012 16:18:35 +0000 (16:18 +0000)]
initrdscripts: fix udevd in the live boot init scripts

udevd moved location and isn't in $PATH anymore, so use an absolute path to
start it.

The control socket path moved too, so mkdir the directory it's in.

Mounts the new devtmpfs on /dev device tree.

(From OE-Core rev: 543606e5dc379497c34196d004a214e847f5db2d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexandru Damian <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibunique: fix compilation with GLib 2.34
Ross Burton [Mon, 12 Nov 2012 17:52:36 +0000 (17:52 +0000)]
libunique: fix compilation with GLib 2.34

The new GLib has deprecated some functions, and libunique was building with
-Werror.  Take a patch from upstream to update the build system and rationalise
the warning flags.

(From OE-Core rev: 713e1c82d32a477be84951d1dba8326b0342c8ca)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinsane: detect and warn about relocations in .text
Phil Blundell [Wed, 3 Oct 2012 10:24:12 +0000 (11:24 +0100)]
insane: detect and warn about relocations in .text

(From OE-Core rev: bc08838ddab0d16d889f81244529a0302a9240bc)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxslt: upgrade to 1.1.27
Constantin Musca [Fri, 9 Nov 2012 10:00:41 +0000 (12:00 +0200)]
libxslt: upgrade to 1.1.27

pkgconfig_fix.patch: adapted to the new version

(From OE-Core rev: 960ad0998a9edbefe57d08b6f587682f0dc9d768)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopuzzles: upgrade to r9660
Constantin Musca [Fri, 9 Nov 2012 10:00:42 +0000 (12:00 +0200)]
puzzles: upgrade to r9660

License checksum change due to diff:
4,5c4,5
< K�lker, Dariusz Olszewski, Michael Schierl, Lambros Lambrou and
< Bernd Schmidt.
> K�lker, Dariusz Olszewski, Michael Schierl, Lambros Lambrou, Bernd
> Schmidt and Steffen Bauer.

(From OE-Core rev: dbf89870ae2eade8210ef6bbc9c13be17336ea68)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: remove python2 detection hack
Ross Burton [Thu, 8 Nov 2012 11:31:31 +0000 (11:31 +0000)]
mesa: remove python2 detection hack

Our python-native is 2.7.3 which ships python2, and we've been patching it in to
earlier versions since September 2011.

(From OE-Core rev: 1961ea1493caf5fe2959db2a11831a4a5a17eaeb)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopopulate_sdk_base.bbclass: use SDK_ARCH instead of SDKMACHINE
Laurentiu Palcu [Mon, 5 Nov 2012 13:06:59 +0000 (15:06 +0200)]
populate_sdk_base.bbclass: use SDK_ARCH instead of SDKMACHINE

If SDKMACHINE is not set, the toolchain will be built but the tarball
installer will not run. A better choice is to use SDK_ARCH because, even
if SDKMACHINE is not set, SDK_ARCH is set, by default, to BUILD_HOST.

(From OE-Core rev: b6d391903ae8baf902fa142a58533857ade6afd3)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoglib-2.0: upgrade to latest stable, 2.34.1.
Ross Burton [Mon, 5 Nov 2012 16:22:48 +0000 (16:22 +0000)]
glib-2.0: upgrade to latest stable, 2.34.1.

Also explicitly disable the test suite (as we can't run it), subsequently
dropping 60_wait-longer-for-threads-to-die.patch and nodbus.patch.

nolibelf.patch has been merged upstream, drop.

Upstream has dropped the pre-generated man pages, to generate them again we'd
need libxslt and the DocBook infrastructure.  We can live without the man pages
as those build-dependencies are non-trivial.

(From OE-Core rev: ce5fcad59fff19dbffc2d7b49c0c8bf3701d17ed)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoglib-2.0: remove zip build dependency
Ross Burton [Mon, 5 Nov 2012 16:22:47 +0000 (16:22 +0000)]
glib-2.0: remove zip build dependency

This dependency mysteriously appeared a long time ago for no good reason, remove
it.

(From OE-Core rev: 5e2fdfcbe71f0b6a786ef609e288c0999000e163)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: remove -lGLU from QMAKE_LIBS_OPENGL in our linux.conf
Martin Jansa [Mon, 5 Nov 2012 23:36:47 +0000 (00:36 +0100)]
qt4: remove -lGLU from QMAKE_LIBS_OPENGL in our linux.conf

upstream does not need GLU since:
commit e7eed096a0c33607a7a37baaf06e5952dc9d556b
Author: Bj<C3><B8>rn Erik Nilsen <bjorn.nilsen@nokia.com>
Date:   Mon Aug 9 14:07:01 2010 +0200

    Remove dependency of OpenGL Utility Library (GLU).

    GLU is not part of standard OpenGL and is not used internally in Qt,
    so we should not depend on it.

    Task-number: QT-12227
Reviewed-by: kim
(From OE-Core rev: 181874ba8033535bb4ce2b36725ae0a71c27b3bd)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxorg-driver-common: remove AC_CHECK_FILE workaround
Ross Burton [Tue, 6 Nov 2012 12:32:35 +0000 (12:32 +0000)]
xorg-driver-common: remove AC_CHECK_FILE workaround

The drivers don't generally use AC_CHECK_FILE anymore, so remove this
brute-force kludge. Any subsequent breakage can be worked-around in the recipe
and fixes submitted upstream.

(From OE-Core rev: 1b0d9cb1801a8eb68c82dfcda5a1da420ac8dd83)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agometa: remove redundant _FOR_BUILD variables
Ross Burton [Fri, 9 Nov 2012 10:09:29 +0000 (10:09 +0000)]
meta: remove redundant _FOR_BUILD variables

(From OE-Core rev: acabd2158d9004dedfdfad8c170b77d32684f3fc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoautotools: set _FOR_BUILD variables here
Ross Burton [Fri, 9 Nov 2012 10:09:28 +0000 (10:09 +0000)]
autotools: set _FOR_BUILD variables here

(From OE-Core rev: edf30561184ec42e5692a55fdf93304fac0fdb1b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oe/classextend: Ensure we don't extend expressions more than once
Richard Purdie [Tue, 6 Nov 2012 08:29:00 +0000 (09:29 +0100)]
lib/oe/classextend: Ensure we don't extend expressions more than once

We could end up with MLPREFIX being prepended to variables like
PACKAGE_DYNAMIC. This patch avoids the problem and unbreaks builds.

[YOCTO #3389]

(From OE-Core rev: 5e4714a454f9f742bf8af70dad2aa66ccb87e3fd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agognome-desktop: Now we depend on gnome-common-native, use the correct sysroot
Richard Purdie [Fri, 2 Nov 2012 16:17:07 +0000 (16:17 +0000)]
gnome-desktop: Now we depend on gnome-common-native, use the correct sysroot

This fixes the build after gnomebase was changed to depend on
gnome-common-native.

(From OE-Core rev: e57278dfde1f975fa34e72354749bbc91380f36b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agognomebase: depend on gnome-common-native
Ross Burton [Tue, 30 Oct 2012 11:30:26 +0000 (11:30 +0000)]
gnomebase: depend on gnome-common-native

gnome-common is a build-only dependency so we should depend on the native
variant.  This also resolves an (incorrect) GPLv3 license issue in gnome-common
at build-time.

This will also remove the pointless gnome-common-dev RRECOMMENDS in any -dev
package that uses gnomebase.

(From OE-Core rev: 6a4f394bc1280f5d58d928a2f7cff7cce4eb3b2b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopopulate_sdk_base.bbclass: check installation machine before installing SDK
Laurentiu Palcu [Thu, 1 Nov 2012 13:23:02 +0000 (15:23 +0200)]
populate_sdk_base.bbclass: check installation machine before installing SDK

Do not allow installer to continue if the installation machine architecture
does not match the intended SDK machine architecture.

[YOCTO: #3269]

(From OE-Core rev: 1f78e2c97f978f0f02e884870e7c495751f0802c)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agognome-common: Fix license
Ross Burton [Tue, 30 Oct 2012 12:02:45 +0000 (12:02 +0000)]
gnome-common: Fix license

gnome-common 2.28 is GPLv2+.  From Christian Persch, upstream:

  The licence is presumed GPL2+, although it's not there explicitly.  GPL2+
  because as far as I could figure out when I tried to, gnome-autogen started in
  gnome-core which had a GPL2 COPYING file.

(From OE-Core rev: 1d1532f495041ac58aeafd06781ac87ee3bd3f6a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: Add udev rules into ${PN} files by default
Khem Raj [Wed, 31 Oct 2012 06:45:47 +0000 (23:45 -0700)]
bitbake.conf: Add udev rules into ${PN} files by default

As we move to systemd, udev is not provided by systemd where the arch
independent files are stored in /lib and /usr/lib and not in
${base_libdir} and ${libdir} which means the files like udev rules
go into /lib/udev or /usr/lib/udev. This patch adds these paths
to be packaged into default ${PN} output package from a recipe

(From OE-Core rev: 6cbc0c7bf3f35e18f0abd29e5a704fba55f88ab2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocreate-recipe: update re pattern and output
Kang Kai [Thu, 1 Nov 2012 02:44:56 +0000 (10:44 +0800)]
create-recipe: update re pattern and output

In the URL, there may be more than just digits in the version section,
something like xz 5.1.2alpha. Update RE pattern to catch all the string
after package name and before '.tar' in URL as package version.

And error message which has been sent to /dev/null still shows on Ubuntu
12.10 with perl 5.14. Update the way to find source tar file to eraser
the error message.

configure files may rewrite the version section, and that is not necessary.
Test when version section has been set, omit the version value from
configure files.

And tweak for output to bb file.

(From OE-Core rev: 17f09ab713acc814ec0561b1c41fa87d9bf7b83f)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agohwclock.sh: improve hwclock.sh script to use UTC variable
Chen Qi [Thu, 1 Nov 2012 06:47:46 +0000 (14:47 +0800)]
hwclock.sh: improve hwclock.sh script to use UTC variable

Make UTC variable in /etc/default/rcS has effect on hwclock.sh.
This variable declares whether the Hardware Clock is kept in UTC
or local time. Default its value to "yes" and change the comment.

[YOCTO #3341]

(From OE-Core rev: 2bda4bbda3f3033cfb324778ef88f2aedad4a83b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorecipes-devtools: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
recipes-devtools: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

(From OE-Core rev: bb67ddeb2eed3e25c626a279ef53a7e8c7bfe6f2)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorecipes-extended: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
recipes-extended: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

(From OE-Core rev: 528b4ab831c7b0bc1412318d29e2b7f9cf711d57)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorecipes-graphics: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
recipes-graphics: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

(From OE-Core rev: db1a03da3a6a6e7adb68e28883204adfaa8b3f47)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorecipes-support: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
recipes-support: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

NOTE:
There were 2 errors in libcap.inc, the BUILD_LDFLAGS_virtclass_native
should be BUILD_LDFLAGS_virtclass-native (the "_" should be "-"),
otherwise it doesn't work, and the value was: "-Wl,rpath=...", this is
incorrect, it shoudl be: "-Wl,-rpath=..." (lacked a - ), but we don't
need this line, since it is already in the default BUILD_LDFLAGS. Remove
it and we don't need to bump the PR since we just removed a unused line.

[YOCTO #3297]

(From OE-Core rev: cafb550fe9034754933f1708446dde155dcc3d51)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorecipes-gnome: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
recipes-gnome: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

(From OE-Core rev: d37944fff256e9f52d05a56db3edb42c7a352cce)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorecipes-kernel: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
recipes-kernel: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

(From OE-Core rev: 7c7da0af592647be0ab9ab37a8ad2a7ce4890a46)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorecipes-connectivity: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
recipes-connectivity: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

(From OE-Core rev: 37429a94133c0d0bfae71d1d4329aee6dd5eb98b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
classes: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

(From OE-Core rev: 9fbeab63315fef0dbcc91c5e7051665764758a6e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconf: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
conf: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

(From OE-Core rev: 651c6fd6ef8be17ecba53f8054d24d1077198d5b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorecipes-core: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
recipes-core: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

(From OE-Core rev: 5193485a42dfb3396d0f12aaa7732c5db29d7338)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobabeltrace: fix depends
Jack Mitchell [Mon, 29 Oct 2012 09:28:50 +0000 (09:28 +0000)]
babeltrace: fix depends

(From OE-Core rev: 0c1c0a890f6e99608eda3d20a6b89027a2c72e96)

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-core-tools-profile: include sysprof only if x11 is distro feature
Jack Mitchell [Mon, 29 Oct 2012 09:28:49 +0000 (09:28 +0000)]
packagegroup-core-tools-profile: include sysprof only if x11 is distro feature

(From OE-Core rev: 9dd277e3276aef918e4bb84322043db0b4e68e11)

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolatencytop: disable GTK and remove gtk+ dependacy
Jack Mitchell [Mon, 29 Oct 2012 09:28:48 +0000 (09:28 +0000)]
latencytop: disable GTK and remove gtk+ dependacy

When DISTRO_FEATURES does not contain x11, disable GTK GUI and
also don't add gtk+ to the DEPENDS

(From OE-Core rev: 1b41a4660d0dd8f1863bb94d08562927cc108ee1)

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: Build separate GLU library
Daniel Stone [Fri, 26 Oct 2012 15:00:09 +0000 (16:00 +0100)]
mesa: Build separate GLU library

Mesa has removed GLU from the core tree upstream, so remove it from the
Mesa build and add the separate tarball as a new recipe.

(From OE-Core rev: 4395691a44b198ba0b9a969cbade669e8de07a4f)

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoterminal: Ensure existing environment exports are preserved in devshell
Richard Purdie [Fri, 2 Nov 2012 11:23:33 +0000 (11:23 +0000)]
terminal: Ensure existing environment exports are preserved in devshell

After recent changes to terminal.bbclass, variables like PATH were no longer
preserved within the devshell. This change ensures they are inherited into
the environment of devshell and PATH for example has the correct values.

(From OE-Core rev: f2dfc50bdf403719d40d04488245fd37655b5480)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoterminal.bbclass: Ensure parent environment is set
Richard Purdie [Tue, 30 Oct 2012 16:36:50 +0000 (16:36 +0000)]
terminal.bbclass: Ensure parent environment is set

If this isn't done, various terminals fail to launch correctly
with "No such file or directory" errors. This adds back the environment
manipulation removed in the addition of "custom" terminal command
support but shouldn't regress that additional functionality

(From OE-Core rev: 424d2339b462081010af6e7525a71f64d97ff05e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: command: add error to return of runCommand
Christopher Larson [Mon, 29 Oct 2012 20:01:23 +0000 (13:01 -0700)]
bitbake: command: add error to return of runCommand

Currently, command.py can return an error message from runCommand, due to
being unable to run the command, yet few of our UIs (just hob) can handle it
today. This can result in seeing a TypeError with traceback in certain rare
circumstances.

To resolve this, we need a clean way to get errors back from runCommand,
without having to isinstance() the return value. This implements such a thing
by making runCommand also return an error (or None if no error occurred).

As runCommand now has a method of returning errors, we can also alter the
getCmdLineAction bits such that the returned value is just the action, not an
additional message. If a sync command wants to return an error, it raises
CommandError(message), and the message will be passed to the caller
appropriately.

Example Usage:

    result, error = server.runCommand(...)
    if error:
        log.error('Unable to run command: %s' % error)
        return 1

(Bitbake rev: 717831b8315cb3904d9b590e633000bc897e8fb6)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: providing details about process state through porgress bar
Cristiana Voicu [Wed, 31 Oct 2012 13:31:07 +0000 (15:31 +0200)]
bitbake: hob: providing details about process state through porgress bar

-small changes to the text of the progress bar when parsing recipes

[YOCTO #3282]
(Bitbake rev: 90c0dfc39c3ce13e53c7c91168dc3401f7df476b)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake/server: Remove dead console log code
Richard Purdie [Tue, 30 Oct 2012 17:20:55 +0000 (17:20 +0000)]
bitbake: bitbake/server: Remove dead console log code

This code is dead and doesn't do anything so lets remove it.

(Bitbake rev: 8d45739f49618757a5d7d79782deda355e3981ec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker.py: Don't dump the environment into the console log file
Richard Purdie [Tue, 30 Oct 2012 17:18:32 +0000 (17:18 +0000)]
bitbake: cooker.py: Don't dump the environment into the console log file

Dumping the environment data into the console log files directory is
invariably not what the user wants or expects and leads to confusion
when looking at the log directory.

This change forces the logs to be disabled by default when using
the -e option.

(Bitbake rev: 5d825b31d1133e41d3982db1b94f6a30a6fb99f7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: uihelper: Set update flag when start event encountered
Richard Purdie [Tue, 30 Oct 2012 16:42:27 +0000 (16:42 +0000)]
bitbake: uihelper: Set update flag when start event encountered

Its a minor correctness detail but the update flag should be set
when Start events are encountered.

(Bitbake rev: 96683ed68e11672ff22fb4a291d2628676c136f0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: knotty: Ensure last tasks are disaplyed correctly in the footer
Richard Purdie [Tue, 30 Oct 2012 16:39:47 +0000 (16:39 +0000)]
bitbake: knotty: Ensure last tasks are disaplyed correctly in the footer

There was an issue where the last tasks run by bitbake would not
correctly get displayed in the knotty footer. This was due to the
total count including active tasks. This change ensures the footer
is displayed if the are any running tasks.

(Bitbake rev: d787e4efc106589811651bc18ca48d5223443b95)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopenssl: Use ${CFLAGS} not ${FULL_OPTIMIZATION}
Phil Blundell [Mon, 29 Oct 2012 15:20:19 +0000 (15:20 +0000)]
openssl: Use ${CFLAGS} not ${FULL_OPTIMIZATION}

The latter variable is only applicable for target builds and could
result in passing incompatible options (and/or failing to pass
required options) to ${BUILD_CC} for a virtclass-native build.

(From OE-Core rev: 0e90a303bc5cb0ede21ff4346843f9daeddfff45)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoudev: Ensure tmpfs are mounted and volatile/run exists
Richard Purdie [Mon, 29 Oct 2012 15:16:17 +0000 (15:16 +0000)]
udev: Ensure tmpfs are mounted and volatile/run exists

There is a race with udev where eiher the run directory can get replaced
during bootup leading to ude errors, or if the tmpfs was mounted and
populate-volatiles hasn't run, udev won't start at all.

This ensures that any tmpfs get mounted before udev starts and that the
default volatiles/run directory at least exists, fixing the races
and boot time errors caused after the recent udev upgrade.

(From OE-Core rev: fbec192f6bc41a335ede85843ba22a89d13501ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoudev: Use correct variable in udev.conf for run_path
Richard Purdie [Mon, 29 Oct 2012 10:58:56 +0000 (10:58 +0000)]
udev: Use correct variable in udev.conf for run_path

(From OE-Core rev: 6e4a1743a88fe6a002ca8f784b2dad3f493984b5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopolkit: remove license.html from LIC_FILES_CHKSUM
Phil Blundell [Mon, 29 Oct 2012 17:36:37 +0000 (17:36 +0000)]
polkit: remove license.html from LIC_FILES_CHKSUM

This is a generated file and gets removed by "make clean" which then
causes subsequent rebuilds to fail.  Also, the content in this file
is taken verbatim from COPYING (which is already in LIC_FILES_CHKSUM)
so checking it for a second time doesn't accomplish much.

(From OE-Core rev: df7817649cc62bfef04a5c1aab97f7964e6bd76c)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: reordering the layers in the Hob Layers dialog
Cristiana Voicu [Fri, 26 Oct 2012 13:54:47 +0000 (16:54 +0300)]
bitbake: hob: reordering the layers in the Hob Layers dialog

-since the order of the layers can potentially impact
the build outcome, users should be able to reorder
the layers within the layers dialog;
-used TreeView Drag and Drop

[YOCTO #3270]
(Bitbake rev: 2bd9a00facb90f7d76a9bdaa86ca765fb2159e71)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/hig: Hob doesn't save properly proxy settings
Cristian Iorga [Fri, 26 Oct 2012 09:24:19 +0000 (12:24 +0300)]
bitbake: hob/hig: Hob doesn't save properly proxy settings

User introduced proxy settings were not saved
when a proxy details input dialog was opened.
The proxy settings were lost upon return, and
restored from the previously stored one.

Also:
Code cleanup:
details_cb() function duplicate definition
removed

Fixes [YOCTO #3240]

(Bitbake rev: aa64b2e472f8a9713e3dc25647aa2cae474e2622)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: during recipe parsing, progress bar text provides details about the...
Cristiana Voicu [Thu, 25 Oct 2012 13:43:44 +0000 (16:43 +0300)]
bitbake: hob: during recipe parsing, progress bar text provides details about the process state

- indicating on progress bar that hob has gone from parsing
recipes to "Generating dependency tree"; this will provide
some visibility of what has caused the "stop" button state
to change

[YOCTO #3282]
(Bitbake rev: d964d04ff1f59a590bd3ab5430517d79e92536d0)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: add a progress indicator when you select 'view log'
Cristiana Voicu [Thu, 25 Oct 2012 10:36:23 +0000 (13:36 +0300)]
bitbake: hob: add a progress indicator when you select 'view log'

- created a new file named "hobthreads.py", defining a thread
for opening the log file in a subprocess using subprocess module;
in the future I think we will add some other threads here, to
implement some other performance issues
- on "builddetailspage", "packageselectionpage" and "imagedetailspage"
I have changed the manner for opening the log file; it uses the thread
to open the file, and on main thread it creates a dialog to show a
progress bar, which pulses till the file is open
- this was added because when the log file is big, it takes time to
be opened; on the dialog you can use "Cancel" button to terminate the
process initiated to open the file

[YOCTO #2997]
(Bitbake rev: 165362a63f085991b6bab63ab90a0c7b9bf6b784)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>