scm/bb/tizen-distro.git
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

(From OE-Core rev: d42e34eb497b4ef72492b469ce0b035bb3dacb43)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 6d5d89deed0dca25220e5bc20de005d427b5e144)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 56f4e7101d2bbb0692607a54b3392f2703c11a32)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: e83bc6b5f68b12c2a989001f2cdac02b46bb3c9b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 408f933f3b5523fc26ee818a16bb4162c4343192)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 1584e587288d355eef29f4f447a75388ed86f314)

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 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.

(From OE-Core rev: e5422ed7f3e4b1ee8554ffe3a98006477fb52c4d)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 0a3dff5bc0b98df54f8e0f4f198999e00a5f2ce7)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
[sgw - updated tcmode-default]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: a7d4370efa4f51d79c2f37e92fe978659a9a2d6d)

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 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

(From OE-Core rev: 3b097ef359d884cb077bafad5f47fa9737f6886c)

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 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

(From OE-Core rev: a89702a8e416864d40a7aa76f5f9b475d618f9f1)

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 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

(From OE-Core rev: a5b4b8a52c1523dad24e2a3ef7c6a73a9b286581)

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 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

(From OE-Core rev: 58fcded3b5657d6120b97fdc605506608eb2b0a5)

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 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

(From OE-Core rev: 8b04e2757c07a6f583025ef52c4c9770f673ef7d)

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 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

(From OE-Core rev: 38992002d6fcf8147b2f2a0172d8acefbdcbfe8d)

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 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.

(From OE-Core rev: b255ebbf8283568d732827086bf0bd2b8db1d905)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: ee95048cf0c79dc52857dbc0e5da9363f2ad8b9b)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 4f7c228c841ce1244e92bceeef363e29748adadd)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 4a7b5963a9d18924ae0564119f4edeefaca6b415)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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"

(From OE-Core rev: 74158c2e99c6d8631800ae80025d1cc9f19336d2)

Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: Add missing file that went out of sync
Richard Purdie [Wed, 12 Jun 2013 12:13:21 +0000 (13:13 +0100)]
bitbake: Add missing file that went out of sync

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.

(From OE-Core rev: fe744381e8844ad17dcc6e036650a442dbc9575d)

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.

(From OE-Core rev: 217fd857df78c66eae853f935e9cdafcbeb3bc31)

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/

(From OE-Core rev: 15e3c72bdcabf0a21efff60333323ac04908efb0)

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.

(From OE-Core rev: c6c5c2285e1b6cb3598ccba08aee3dfd090e7129)

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.

(From OE-Core rev: 694a15382fe9f3749ffdc0168a6dc2da8a29ae2d)

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.

(From OE-Core rev: aa4991c307d4bbdd06c3cbf8448240b74c5e01c4)

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.

(From OE-Core rev: 46402b2f5b69004751f6663d435bedae0ad9dab1)

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 '/'

(From OE-Core rev: 1f30d2eb2ef45550c71969c735275db1448b6ac6)

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

(From OE-Core rev: b35411d0ed069d135c3052ae457a488503636221)

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.

(From OE-Core rev: 4599ef630c13224506671bf84569bfc240cd3032)

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.

(From OE-Core rev: e87232828b761d56f1ce6a27e4009d350d68209c)

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.

(From OE-Core rev: c0f435cde195e1d037af32c69aa1732797362cfa)

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.

(From OE-Core rev: 8f5675e6d3eb8473f367de72d2d3d8a702011a47)

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.

(From OE-Core rev: 4ec66dc5f38913056942e1288c0b01a00ea0551f)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman: use PACKAGECONFIG for WISPr support
Christopher Larson [Tue, 11 Jun 2013 01:49:31 +0000 (18:49 -0700)]
connman: use PACKAGECONFIG for WISPr support

(From OE-Core rev: a5161ed721791dbd32b90f1621b3eca92b2a9400)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: remove unrecognized configure options
Jonathan Liu [Mon, 10 Jun 2013 08:00:01 +0000 (18:00 +1000)]
mesa: remove unrecognized configure options

--disable-glut and --disable-glw are not recognized since Mesa 8.0.
--disable-glu is not recognized since Mesa 9.0.

(From OE-Core rev: dac1f95e03f897237e6551240c200370d5102807)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoglib-2.0: drop Makefile.in hunks from patch
Ross Burton [Tue, 11 Jun 2013 11:18:48 +0000 (12:18 +0100)]
glib-2.0: drop Makefile.in hunks from patch

Patching a generated file is prone to conflicts, and we'll be replacing this
file anyway when configuring, so drop the Makefile.in hunks.

(From OE-Core rev: a3fa323c4d24375be9b783281c3cf31c0707ecb7)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agohandle two-word commands with tmux
Peter Seebach [Tue, 11 Jun 2013 14:28:03 +0000 (09:28 -0500)]
handle two-word commands with tmux

Trying to make a devshell using tmux can fail because "tmux new"
expects a single command, not a series of arguments. It does, however,
split strings in a suitable way. So you can quote the command.

The failure mode is particularly arcane, in that you end up
with a message like:

ERROR: Unable to spawn terminal auto: \
Execution of 'pseudo /bin/bash' failed with exit code 1:
usage: new-session [-d] [-n window-name] [-s session-name] \
[-t target-session] [command]

which is confusing because there's no "new-session" anywhere in
sight (that's actually "tmux new"), and because what failed to execute
wasn't either pseudo or bash.

(From OE-Core rev: f8ed7446755eeb88191e16749350efa1e7e6197c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibrsvg: configure needs a native gdk-pixbuf binary
Saul Wold [Mon, 10 Jun 2013 17:24:00 +0000 (10:24 -0700)]
librsvg: configure needs a native gdk-pixbuf binary

Build failure was seen on the autobuilder, so add gdk-pixbuf-native to depends list

(From OE-Core rev: 6ea293a8696843779cb23d6176b54efcde0462ec)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorpm: replace rpm-postinsts dependency with run-postinsts
Laurentiu Palcu [Thu, 23 May 2013 08:19:32 +0000 (11:19 +0300)]
rpm: replace rpm-postinsts dependency with run-postinsts

run-postinsts is generic and will handle rpm delayed postinsts just
fine. No need to use another recipe.

(From OE-Core rev: 1195a188f366fbbb04b9379d7ea3c7c02130cc98)

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 agopackage_rpm.bbclass: handle pre/post remove scriptlets
Laurentiu Palcu [Wed, 5 Jun 2013 09:16:50 +0000 (12:16 +0300)]
package_rpm.bbclass: handle pre/post remove scriptlets

Currently the scriptlet_wrapper is designed to handle only pre/post
install scriptlets. This patch will slightly change the wrapper script
to handle also pre/post remove scriptlets when we want to remove
packages from the final image.

(From OE-Core rev: aea47c77d69407b2e62f151cabba35293d179f0c)

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 agorootfs_rpm.bbclass: switch to using run-postinsts
Laurentiu Palcu [Thu, 23 May 2013 08:18:42 +0000 (11:18 +0300)]
rootfs_rpm.bbclass: switch to using run-postinsts

Since run-postinsts was made generic, use it for RPM too.

(From OE-Core rev: 1ba44302f522a42535c9ad7d2fcccc06ba4c20b3)

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 agorun-postinsts: make it generic
Laurentiu Palcu [Thu, 23 May 2013 08:03:56 +0000 (11:03 +0300)]
run-postinsts: make it generic

This recipe is used only when the package manager is not deployed on
target and there still are delayed postinstalls that need to be run on
target. At the moment, run-postinsts is targeted to dpkg/opkg. RPM uses another
recipe, called rpm-postinsts which, in turn, is used even when the rpm
package is deployed.

This patch intends to make run-postinsts generic and deprecate
rpm-postinsts. Here's why:
 * when opkg/dpkg are not deplyed, the meta-data files are useless.
   Hence, the awk script is not needed. The postinstall files are already
   saved in /etc/(deb|ipk)-postinsts directory and we can use the same
   procedure as in rpm's case;

Also, the recipe is moved out from meta/recipes-devel/dpkg to
meta/recipes-devel/run-postinsts.

(From OE-Core rev: 0222e6740ee4670bbf42d246ab3ecad415ffcdee)

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 agocore-image-minimal: do not remove packaging files in the rootfs postprocess
Laurentiu Palcu [Tue, 21 May 2013 11:02:01 +0000 (14:02 +0300)]
core-image-minimal: do not remove packaging files in the rootfs postprocess

Since the removal of PM's meta-data was moved in image.bbclass, after
rootfs_*_do_rootfs() runs, there's no need to remove the files in rootfs
postprocess stage. Also, if the meta-data is removed then there's no way
we can save the postinstalls to /etc/(deb|ipk)-postinsts later.

For RPM, it doesn't really matter since the postinstalls are saved to
/etc/rpm-postinsts as soon as the postinstall fails.

[YOCTO #4484]

(From OE-Core rev: aac8a59216819759d6b97bc30a7c717dbee7060a)

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 agoimage.bbclass: remove unneeded files from the image
Laurentiu Palcu [Tue, 21 May 2013 11:27:49 +0000 (14:27 +0300)]
image.bbclass: remove unneeded files from the image

This patch creates a new function, rootfs_remove_unneeded(), that will
be called after rootfs_*_do_rootfs is called and which will handle
delayed postinstalls in a generic fashion, for all backends in the same
way.

(From OE-Core rev: d3d810faf8e93ce2d3faaa70da6deeb25b1cec26)

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 agorootfs_*.bbclass: add some helper functions
Laurentiu Palcu [Tue, 21 May 2013 11:17:19 +0000 (14:17 +0300)]
rootfs_*.bbclass: add some helper functions

This patch adds the following helper functions:
 * delayed_postinsts - outputs the list of delayed postinstalls;
 * save_postinsts - this will save the delayed postinstalls for ipk/deb
   in /etc/(ipk|deb)_postinsts;
 * rootfs_remove_packages - removes packages from an image;

Additionaly, this patch will remove a piece of code in
rootfs_ipk_do_rootfs which will be moved to image.bbclass and used for
all backends;

[YOCTO #4484]

(From OE-Core rev: 928df79cd3964f775c4c6e4283ef84b8882f9328)

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 agoqt4: fix QMAKE_QT_CONFIG being overwritten with empty value
Jonathan Liu [Thu, 6 Jun 2013 03:19:23 +0000 (13:19 +1000)]
qt4: fix QMAKE_QT_CONFIG being overwritten with empty value

QMAKE_QT_CONFIG is set by the linux-oe-g++ mkspec but it is overwritten
with an empty value read from .qmake.cache. Avoid this by first checking
if the value from .qmake.cache is not empty before assigning it to
QMAKE_QT_CONFIG.

This allows variables from qconfig.pri such as QT_ARCH, QT_CONFIG,
QT_VERSION, etc. to be queried by qmake projects.

(From OE-Core rev: 5330905749828ea8befdee559c180754ac506b75)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4-native: update configure paths to match target
Jonathan Liu [Fri, 7 Jun 2013 02:21:08 +0000 (12:21 +1000)]
qt4-native: update configure paths to match target

qmake2 was being built with paths different to the target Qt.

The incorrect paths can be seen by running qmake2 -query:
QT_INSTALL_DOCS:${STAGING_DIR_NATIVE}/usr/doc
  should be /usr/share/doc/qt4
QT_INSTALL_PLUGINS:${STAGING_DIR_NATIVE}/usr/plugins
  should be /usr/lib/qt4/plugins
QT_INSTALL_IMPORTS:${STAGING_DIR_NATIVE}/usr/imports
  should be /usr/lib/qt4/imports
QT_INSTALL_TRANSLATIONS:${STAGING_DIR_NATIVE}/usr/translations
  should be /usr/share/qt4/translations
QT_INSTALL_EXAMPLES:${STAGING_DIR_NATIVE}/usr/examples
  should be /usr/bin/qt4/examples
QT_INSTALL_DEMOS:${STAGING_DIR_NATIVE}/usr/demos
  should be /usr/bin/qt4/demos
QMAKE_MKSPECS:${STAGING_DIR_NATIVE}/usr/mkspecs
  should be /usr/share/qt4/mkspecs

Use the same paths as target Qt for consistency. As the mkspecs are
installed to /usr/share/qt4/mkspecs not /usr/mkspecs, qmake2 was
unable to detect and load the webkit module (it is detected by loading
modules/qt_*.pri inside the mkspecs directory) so webkit was missing
from QT_CONFIG if a qmake project reads the QT_CONFIG variable.

(From OE-Core rev: 37b57b44ff83c718021da4f717fc66a28204c96c)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/qmake_base: update .pro hack
Jonathan Liu [Fri, 7 Jun 2013 05:15:37 +0000 (15:15 +1000)]
classes/qmake_base: update .pro hack

This adds support for lconvert and xmlpatterns tools and tweaks the
sed expressions to handle more complex assignments in .pro files like:
LRELEASE = $$targetPath($$[QT_INSTALL_BINS]/lrelease)

(From OE-Core rev: 542fefa61f0ac1dcdacac2630fd44950ac11cdd9)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/qmake2: export OE_QMAKE_LCONVERT and OE_QMAKE_XMLPATTERNS
Jonathan Liu [Fri, 7 Jun 2013 05:15:36 +0000 (15:15 +1000)]
classes/qmake2: export OE_QMAKE_LCONVERT and OE_QMAKE_XMLPATTERNS

These will be used by qmake_base.bbclass.

(From OE-Core rev: 405d1325ebbd31676d88a3e157f55d40d04cc3f4)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4-native: build lconvert and xmlpatterns
Jonathan Liu [Fri, 7 Jun 2013 05:15:35 +0000 (15:15 +1000)]
qt4-native: build lconvert and xmlpatterns

These tools are needed by some Qt projects (e.g. Qt Creator).

(From OE-Core rev: e2f3232fdc2836685549e59dc5c71363d3bbab5f)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxml2: added python dependency to nativesdk
Felipe F. Tonello [Fri, 7 Jun 2013 17:18:01 +0000 (10:18 -0700)]
libxml2: added python dependency to nativesdk

This is necessary since libxml2 has python dependency.

This patch will fix this error:
...
/path/to/build/system/4.7.2/ld: cannot find -lpython2.7
...
ERROR: Task 4152 (virtual:nativesdk:meta/recipes-core/libxml/libxml2_2.9.0.bb, do_compile) failed with exit code '1'

(From OE-Core rev: 4f2b3e3831bdc5707eacdab571ab207d8b09953e)

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/buildhistory: split SDK data by IMAGE_NAME
Paul Eggleton [Fri, 7 Jun 2013 16:35:18 +0000 (17:35 +0100)]
classes/buildhistory: split SDK data by IMAGE_NAME

Data from SDKs produced from different images or different
meta-toolchain style recipes should go into separate directories,
since SDK_NAME doesn't include anything to differentiate these by
default (only pieces for the distro name and architectures).

Note you should delete or move existing data under the buildhistory/sdk/
directory manually after this change.

Fixes [YOCTO #4622].

(From OE-Core rev: 74658b66530184b0287152397341fbe411e90c71)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosudo : upgrade to 1.8.6p8
Andrei Dinu [Fri, 7 Jun 2013 14:52:53 +0000 (17:52 +0300)]
sudo : upgrade to 1.8.6p8

upgrade from 1.8.6p7 -> 1.8.6p8

 - removed crypt.patch because it was contained upstream

(From OE-Core rev: 198e0db0e840dd3ac719d0c2ea980e08bf1f3442)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopenssh : upgrade to 6.2p2
Andrei Dinu [Fri, 7 Jun 2013 11:35:28 +0000 (14:35 +0300)]
openssh : upgrade to 6.2p2

upgrade from 6.2p1 -> 6.2p2

(From OE-Core rev: 752ad432a248befe7d7b1dd799209f7bcbe9231e)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocracklib: fix QA warning about unsafe references in binaries
Wenzong Fan [Fri, 7 Jun 2013 05:58:57 +0000 (13:58 +0800)]
cracklib: fix QA warning about unsafe references in binaries

If enable test 'unsafe-references-in-binaries', build libpam will get
following warnings:

WARNING: QA Issue: libpam: /lib/security/pam_cracklib.so, installed in \
the base_prefix, requires a shared library under exec_prefix (/usr): \
libcrack.so.2 => /usr/lib/libcrack.so.2

(From OE-Core rev: 7ffe63c4a4f6b3adfea97eed4c0452c287784663)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4-x11-free: update HOMEPAGE
Jonathan Liu [Fri, 7 Jun 2013 05:46:52 +0000 (15:46 +1000)]
qt4-x11-free: update HOMEPAGE

(From OE-Core rev: cf5c9ee6128cbec3bf7d74210bd968fba9ac87da)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4-native: update HOMEPAGE
Jonathan Liu [Fri, 7 Jun 2013 05:46:51 +0000 (15:46 +1000)]
qt4-native: update HOMEPAGE

(From OE-Core rev: b56ee1a32f047da288bc7b2435470609b70319fe)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4-embedded: update HOMEPAGE
Jonathan Liu [Fri, 7 Jun 2013 05:46:50 +0000 (15:46 +1000)]
qt4-embedded: update HOMEPAGE

(From OE-Core rev: 246d16f453466ab609861e170d0b51d7dd23e91a)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt-mobility: update HOMEPAGE
Jonathan Liu [Fri, 7 Jun 2013 05:46:49 +0000 (15:46 +1000)]
qt-mobility: update HOMEPAGE

(From OE-Core rev: 74fc4c0d17f72f5b59b8da6e03d3a50e8c66d76d)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonativesdk-qt4-tools.inc: update HOMEPAGE
Jonathan Liu [Fri, 7 Jun 2013 05:46:48 +0000 (15:46 +1000)]
nativesdk-qt4-tools.inc: update HOMEPAGE

(From OE-Core rev: dbd5c1fda3b477e861a979e98a4f879071bebc37)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotrace-cmd: backport three patches
Roy.Li [Fri, 7 Jun 2013 05:37:44 +0000 (13:37 +0800)]
trace-cmd: backport three patches

Backport three patches to fix running issues.

(From OE-Core rev: c00f67b5cd84adda7566505ec9372e11ad812ca1)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoPPP: add default configuration file and fix hard-coded CFLAGS
Roy.Li [Fri, 7 Jun 2013 02:43:48 +0000 (10:43 +0800)]
PPP: add default configuration file and fix hard-coded CFLAGS

1. Add three ppp configuration files, make "/etc/init.d/ppp start"
be able to work with little change. provider and pap are adopted from
Ubuntu. ppp_on_boot is adopted from http://www.wlug.org.nz.
2. Use build system CFLAGS when compiling

(From OE-Core rev: 6ab8adf980f90040d3a24dd9c0f12dc04d7aadeb)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agochkconfig: fix QA warning about unsafe references in binaries
Wenzong Fan [Thu, 6 Jun 2013 09:28:10 +0000 (17:28 +0800)]
chkconfig: fix QA warning about unsafe references in binaries

This test is disabled in oe-core by default, but if we enable it, we'll
get following warnings:

  + WARN_QA = "unsafe-references-in-binaries unsafe-references-in-scripts"

WARNING: QA Issue: chkconfig: /sbin/chkconfig, installed in the \
base_prefix, requires a shared library under exec_prefix (/usr): \
libpopt.so.0 => /usr/lib64/libpopt.so.0

(From OE-Core rev: 18f5e6b80e1465e00242a2513a4bd90e0a2f3ff7)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosocat: enable termios
Roy.Li [Thu, 6 Jun 2013 08:32:50 +0000 (16:32 +0800)]
socat: enable termios

fix two cross-compile issue to enable termios:
1. Define ac_cv_ispeed_offset in EXTRA_OECONF to avoid to call AC_TRY_RUN()
on cross-compile environment.
2. fix autoheader to generate *_SHIFT macros

(From OE-Core rev: fa4d1526f639d50b578ff82b4e65ac45c612bcca)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoddimage: fix incompatibility with dash
Hongxu Jia [Thu, 6 Jun 2013 06:53:29 +0000 (14:53 +0800)]
ddimage: fix incompatibility with dash

On systems with dash as /bin/sh there were failures while invoking ddimage.
Fix to let it work with both bash and dash shells.

[YOCTO #4617]

(From OE-Core rev: 4c6f7a5d8bd6ada434b91037ecd5db06f3eac814)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinit-live.sh: fix media automount failed after booting from usb-drive
Hongxu Jia [Thu, 6 Jun 2013 06:31:17 +0000 (14:31 +0800)]
init-live.sh: fix media automount failed after booting from usb-drive

1, This issue happens to BSP only.
After a BSP board is booted with Yocto linux from USB drive, "cat /proc/mounts" shows:
...
/dev/sda3 /media/sda3 ext3 rw,relatime,errors=continue,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/sda1 /media/sda1 ext3 rw,relatime,errors=continue,barrier=1,data=ordered 0 0
/dev/sda2 /media/sda2 ext3 rw,relatime,errors=continue,user_xattr,acl,barrier=1,data=ordered 0 0
...

but actually the directory /media/sda1 doesn't exist at all, "df" shows:
...
df: /media/sda3: No such file or directory
df: /media/sda1: No such file or directory
df: /media/sda2: No such file or directory
...

2, This is because the mount data comes from proc setup during early boot
before the change root, which then uses a different root filesystem, the
media is not in the new root filesystem.

3, During early boot before switch_root, use `mount --move' to move all
medias to the new root filesystem could also fix this issue.

[YOCTO #2064]
[YOCTO #3705]

(From OE-Core rev: 79bd773cc5e8b8e873cabeb2b9a91f460501dad7)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agognomebase.bbclass: add support for archive name different from BPN
Marko Lindqvist [Thu, 6 Jun 2013 21:44:36 +0000 (00:44 +0300)]
gnomebase.bbclass: add support for archive name different from BPN

Use new variable GNOMEBN, defaulting to value of BPN, instead of
BPN directly when determining URL for source archive.

(From OE-Core rev: fe297a70c7d6b36a6595534589c71d32209d6a53)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agognomebase.bbclass: implement gnome_verdir() using trim_version()
Marko Lindqvist [Thu, 6 Jun 2013 21:44:11 +0000 (00:44 +0300)]
gnomebase.bbclass: implement gnome_verdir() using trim_version()

(From OE-Core rev: 2341c0b801b62d0249567806a70d9a38f4dfe17f)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogstreamer: added GStreamer 1.0 recipes
Carlos Rafael Giani [Fri, 31 May 2013 19:15:58 +0000 (21:15 +0200)]
gstreamer: added GStreamer 1.0 recipes

Originally from the https://github.com/dv1/meta-gstreamer1.0 repository,
the patches were copied with only one change:
gstreamer1.0-plugins-package.inc was removed, since gst-plugins-package.inc
is identical except for the LIBV variable.

(From OE-Core rev: e200e61529fa5a78354cde67442e90ace4b3857c)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotar: don't mv tar for nativesdk
Saul Wold [Mon, 10 Jun 2013 17:01:51 +0000 (10:01 -0700)]
tar: don't mv tar for nativesdk

We move tar into /bin for target but it can stay in /usr/bin for nativesdk
this will also mean the paths are correct for the buildtools-tarball environment

(From OE-Core rev: b4f208f418d18f2a4e78a56bebacef481061d917)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuildtools-tarball: Add json, unittest and compression python module packages
Richard Purdie [Mon, 10 Jun 2013 15:00:31 +0000 (15:00 +0000)]
buildtools-tarball: Add json, unittest and compression python module packages

We need unittest so bitbake-selftest can work, tarfile from the compression module
for opkg-utils and json for webkit builds.

(From OE-Core rev: bbcb7329ca4340dbd3d529567dc6b605347e3368)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake-layers: fix for move of data object to cooker
Paul Eggleton [Sun, 9 Jun 2013 10:15:35 +0000 (11:15 +0100)]
bitbake: bitbake-layers: fix for move of data object to cooker

(Bitbake rev: 063ee01935767ac4c9518d7477c8c85da1c9969a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: tinfoil: fix for move of data attribute to cooker
Paul Eggleton [Sun, 9 Jun 2013 10:15:34 +0000 (11:15 +0100)]
bitbake: tinfoil: fix for move of data attribute to cooker

(Bitbake rev: c400fe36f7609d53fb413484dc03bbce307f31f9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobase/useradd/sstate: Ensure do_package setscene has correct fakeroot dependencies
Richard Purdie [Fri, 7 Jun 2013 10:11:22 +0000 (10:11 +0000)]
base/useradd/sstate: Ensure do_package setscene has correct fakeroot dependencies

The do_package_setscene task needs to depend on fakeroot in order to correctly
install its files.

We can whitelist the dependency in the sstate handling code for some
performance improvements since we only need this if we're installing the
package from sstate.

Also use an append operator in base.bbclass for clarity.

(From OE-Core rev: 0810ea2a72bdea67a3d8002c4e12fb20f45cf1d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: lib/bb/cache.py: invalidate cache when file checksum entry no longer exists
Paul Eggleton [Tue, 4 Jun 2013 08:59:37 +0000 (09:59 +0100)]
bitbake: lib/bb/cache.py: invalidate cache when file checksum entry no longer exists

Go through the cached list of file checksums and check if any of the
files no longer exist; if any are missing then invalidate the cached
recipe, which will force it to be reparsed and thus force the list of
files to be collected again. This prevents a warning when moving a file
to a different location that is still picked up by the recipe, e.g.
moving a file from a "files" subdirectory to one named with the recipe
name (${BPN}).

Fixes [YOCTO #4474].

(Bitbake rev: e1aa103593c46612c4d9000524174983b5994dc9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker: Split data from configuration
Richard Purdie [Thu, 30 May 2013 12:26:58 +0000 (12:26 +0000)]
bitbake: cooker: Split data from configuration

The reasons for combining these objects is ancient history, it makes
sense to clean things up and separate them out now. This follows on
logically from the configuration cleansups and leads well into the
bitbake-worker changes.

(Bitbake rev: 89ffd62661ebcf2a97ce0c8dfd5e4d5bfbe27de7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-external-tarball: Improve DESCRIPTION/SUMMARY
Richard Purdie [Fri, 7 Jun 2013 11:05:01 +0000 (11:05 +0000)]
python-external-tarball: Improve DESCRIPTION/SUMMARY

Improve the DESCRIPTION for the recipe and add a SUMMMARY.

(From OE-Core rev: ecdccd0c19c1d27aee43a3cca8e4467f270d7f9c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_*.bbclass: Drop fakeroot from setscene calls
Richard Purdie [Fri, 7 Jun 2013 15:15:48 +0000 (15:15 +0000)]
package_*.bbclass: Drop fakeroot from setscene calls

Back in 2010, I added these in commit: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=36f1ae42fe13dae174b7fb5eb85dc49d7d7b516b
however the package_write tasks sstate only consists of package files and no
fakeroot privileges are needed to write these out, only originally create them.

We can therefore drop these for some small performance gains and a less
convoluted depenency chain.

(From OE-Core rev: 3c760ce4dc15d85be07aafbfea896e7276e0c2c4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-external-tarball: Modernise and rename
Richard Purdie [Fri, 7 Jun 2013 11:05:01 +0000 (11:05 +0000)]
python-external-tarball: Modernise and rename

The external-python-tarball was intended to provide python for those users who
didn't have python 2.6. It has been unloved for a while so this refreshes
it a bit. Specifically:

* Include git and tar since these can have version issues on some systems
* Rename to buildtools-tarball to better reflect its purpose
* Remove the site-config file from the tarball, its pointless
* Prune down the environment file to just cover PATH and OECORE_NATIVE
  (which is needed to correctly install the tarball)
* Add missing grp module (used by do_package) from the unixadmin package

(From OE-Core rev: c8de009e96930709efe8f6aa4e65dd04a48081f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogit/tar/findutils: Add nativesdk versions
Richard Purdie [Fri, 7 Jun 2013 11:05:20 +0000 (11:05 +0000)]
git/tar/findutils: Add nativesdk versions

We need to be able to generate a standalone tarball containing tar/git so
add nativesdk versions of the appropriate recipes to allow this to be possible.

Tweak the git perl paths to avoid warnings when building the nativesdk version,
ensure the binaries are wrapped correctly and avoid update-alternatives in
nativesdk-tar.

(From OE-Core rev: c91bb8c76e3bd45690e66f3de79cd3adfe45f600)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxi: Add libxfixes as dependency
Saul Wold [Thu, 6 Jun 2013 03:30:50 +0000 (20:30 -0700)]
libxi: Add libxfixes as dependency

A clean build found libxi missing this dependency, possible build order
issue.

(From OE-Core rev: 7f5a0f98b3449d0a95fd6c12f1d6fa61b835fc2b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoself-hosted: Add libssp libraries to packagegroup/image
Saul Wold [Wed, 5 Jun 2013 22:59:46 +0000 (15:59 -0700)]
self-hosted: Add libssp libraries to packagegroup/image

These libraries are needed to ensure when the -fstack-protector flags
are used the compile will complete and not fail due to missing libraries

[YOCTO #4586]

(From OE-Core rev: 543ede707a268ca17f972be54860e455b4de9e0b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agozlib: update to upstream version 1.2.8
Marko Lindqvist [Thu, 30 May 2013 10:15:54 +0000 (13:15 +0300)]
zlib: update to upstream version 1.2.8

Only version number and release year changed in license text.

(From OE-Core rev: 776fa3e49db312bcfd71c6b0637c989ad36fc84b)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotune-cortexa5.inc: Add tune file for cortex-a5
Andy Voltz [Wed, 5 Jun 2013 15:52:30 +0000 (11:52 -0400)]
tune-cortexa5.inc: Add tune file for cortex-a5

(From OE-Core rev: 50bc63c5c377d9fbb87b3efefc8c6f5473ba642a)

Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotune-cortexa.inc: create a common include for cortex-a armv7a tuning
Andy Voltz [Wed, 5 Jun 2013 15:52:29 +0000 (11:52 -0400)]
tune-cortexa.inc: create a common include for cortex-a armv7a tuning

The tuning files for the cortex-a* processors are mostly identical for
the A7,A8,A9,A15 processors. Rework these files to use a CORTEX_ID
variable to setup the tuning for each specific processor.

(From OE-Core rev: 3e4f4a1cf07ff7cf4c71566492385f8fbf581789)

Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpcap: upgrade to 1.4.0
Cristian Iorga [Wed, 5 Jun 2013 15:09:07 +0000 (18:09 +0300)]
libpcap: upgrade to 1.4.0

0001-Fix-disable-canusb.patch,
0001-The-leading-comma-looked-weird-remove-it.patch,
0001-canusb-needs-lpthread.patch patches included in
upstream, no longer needed.

(From OE-Core rev: 329e73e56b227c5c9fb00e2201fdf1099607b473)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoiptables: upgrade to 1.4.19.1
Cristian Iorga [Wed, 5 Jun 2013 12:47:15 +0000 (15:47 +0300)]
iptables: upgrade to 1.4.19.1

fix-iptables-extensions-build-error.patch no longer needed.

(From OE-Core rev: 02971543527e993b60132ddb101a9093efa3f324)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel.bbclass: Fix link for modules-${MACHINE}.tgz
Yi Zhao [Wed, 5 Jun 2013 09:20:50 +0000 (17:20 +0800)]
kernel.bbclass: Fix link for modules-${MACHINE}.tgz

The modules-${MACHINE}.tgz should link to ${MODULE_TARBALL_BASE_NAME}.
But now it links to an invalid file ${MODULE_TARBALL_BASE_NAME}.bin.
Remove the extra .bin suffix.

[YOCTO #4595]

(From OE-Core rev: ef9fad8fff1c413bc0eab15625f051d4e2d0a201)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoimage_types.bbclass: add ubifs to IMAGE_TYPES
Andrea Adami [Tue, 4 Jun 2013 21:28:45 +0000 (23:28 +0200)]
image_types.bbclass: add ubifs to IMAGE_TYPES

* the IMAGE_TYPES variable is used exclusively by hob
* IMAGE_CMD_ubifs is already present in the class
* ubifs images can be flashed on existing ubi volumes with 'ubiupdatevol'

(From OE-Core rev: 0dc5a90b2d95ad21025769b0300390a4ff0052ac)

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython: enable IPv6 based on DISTRO_FEATURES
Dan McGregor [Mon, 3 Jun 2013 23:12:27 +0000 (17:12 -0600)]
python: enable IPv6 based on DISTRO_FEATURES

Base this on DISTRO_FEATURES, because we don't want it
unconditionally enabled.

(From OE-Core rev: 6956fb01e0c7332e4d8b59cbcb1cd997c54191fc)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomultilib.bbclass: fix the PACKAGEFUNCS_append
Robert Yang [Tue, 28 May 2013 05:46:16 +0000 (13:46 +0800)]
multilib.bbclass: fix the PACKAGEFUNCS_append

The PACKAGEFUNCS_append = "do_package_qa_multilib" lacks a "space",
which would cause unexpected errors.

[YOCTO #3190]
[YOCTO #4396]

(From OE-Core rev: acd5fc716bc3095d568bd1474b79f3a0fd616eea)

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 agoinsane/package: refactor packaging sanity tests
Robert Yang [Sat, 11 May 2013 22:46:10 +0000 (06:46 +0800)]
insane/package: refactor packaging sanity tests

Refactor packaging sanity tests from package.bbclass to insane.bbclass
so that the message can respect WARN_QA (print the warning message and
go on the task) and ERROR_QA (print the error message and fail the
task).

- For the bb.warn(), give it a message name and add it to WARN_QA, then
  use package_qa_handle_error() to handle it.

- For the bb.error(), give it a message name and add it to ERROR_QA,
  then use package_qa_handle_error() to handle it.

- All the bb.warn() and bb.error() have been replaced in
  package.bbclass.

- A few bb.warn() and bb.error() in insane.bbclass have been kept since
  they can not be replaced or doesn't have to, for example the
  bb.error() in package_qa_check_license(), it will print the error
  message and then invoke bb.fatal() to fail the task, I think that we
  don't have to replace it with package_qa_handle_error().

- Put all the WARN_QA and ERROR_QA in one line, so that they can be
  redefined by the user easily.

[YOCTO #3190]
[YOCTO #4396]

(From OE-Core rev: 2f117ee615b703db07d3274ac592e2bd653743dd)

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 agodefaultsetup.conf: remove INHERIT_INSANE
Robert Yang [Sat, 11 May 2013 22:46:10 +0000 (06:46 +0800)]
defaultsetup.conf: remove INHERIT_INSANE

The insane has been inherited by package.bbclass and becomes a
requirement, so we can remove it from defaultsetup.conf.

Note:
You can decide whether to take this patch or not.

[YOCTO #3190]
[YOCTO #4396]

(From OE-Core rev: 875f31facd02b47afb867aed76fef6b89a7b17cf)

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 agoinsane/package: let package.bbclass inherit insane.bbclass
Robert Yang [Sat, 11 May 2013 22:46:10 +0000 (06:46 +0800)]
insane/package: let package.bbclass inherit insane.bbclass

RP's comment:
"What we're trying to do is move everything to use a standard mechanism
for reporting issues of this type (do_package). With insane.bbclass, you
can elect whether a given type of error is a warning or error and fails
the task."

* The package.bbclass had used package_qa_handle_error() which is from
  insane.bbclass, and we will use it for handling other warnings and
  errors, so let package.bbclass inherit insane.bbclass, this change will
  make the insane as a requirement (always included).

* Change the "PACKAGEFUNCS ?=" to "+=", otherwise there would be an
  error like:
  Exception: variable SUMMARY references itself!

  This is because we let package.bbclass inherit insane.bbclass, and
  PACKAGEFUNCS has been set in insane.bbclass, so the "PACKAGEFUNCS ?="
  will set nothing, then the "emit_pkgdata" doesn't run which will
  cause this error.

* Add a QA_SANE variable in insane.bbclass, once the error type
  is ERROR_QA, it will fail the task and stop the build.

[YOCTO #3190]
[YOCTO #4396]

(From OE-Core rev: 852dead71387c66ec0cba7c71e3814a74e409560)

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 agoconnman: update to 1.15
Jack Mitchell [Tue, 4 Jun 2013 11:14:43 +0000 (12:14 +0100)]
connman: update to 1.15

(From OE-Core rev: b1cd1c692d7b13e6865353c9bb2f7cf331c9f774)

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoweston: update to 1.1.0
Ross Burton [Fri, 31 May 2013 14:57:35 +0000 (15:57 +0100)]
weston: update to 1.1.0

Upgrade to 1.1.0, and disable the RaspberryPi and RDP compositors.  Hopefully
the RPi community can send a patch to add a PACKAGECONFIG for them.

(From OE-Core rev: 2e8e31a6812368688138b53c0aa92982354f832f)

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 agowayland: update to 1.1.0
Ross Burton [Fri, 24 May 2013 12:00:13 +0000 (13:00 +0100)]
wayland: update to 1.1.0

(From OE-Core rev: e7856f5527368c09c78f8e093c20fefd0e9fc83e)

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 agomesa: update git recipe to 9.1.3 release
Ross Burton [Thu, 30 May 2013 14:25:34 +0000 (15:25 +0100)]
mesa: update git recipe to 9.1.3 release

It's not bleeding edge but it's better than the previous pre-9.1 commit.

(From OE-Core rev: a8b8e21afce050b677e9168e08b3f318aee72e1f)

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>