scm/bb/tizen-distro.git
11 years agov86d: compile against userspace safe kernel headers
Bruce Ashfield [Sat, 16 Feb 2013 04:17:51 +0000 (23:17 -0500)]
v86d: compile against userspace safe kernel headers

v86d was building directly against the staged kernel in the target
sysroot. This has been fine in the past, but with recent (3.7) changes
to user headers into the "uapi" include structure, there are no longer

Without the preprocesor protection, v86d fails to build against any
kernel with uapi header files.

v86d doesn't actually need the whole kernel tree, the exported headers
are enough to build a working binary. This change sets the v86d variable
to ${STAGING_DIR_HOST}/usr, and once the v86d build adds "include" to the
end of KDIR, we have a valid include path to the target sysroot headers.

This also works for pre-uapi kernel headers, so the change is safe for
most (if not all) kernel's with properly exported headers.

(From OE-Core rev: 8d4256b2c9f782368a16c1458e04ed61fa82691a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.4: remove cedartrail machine
Bruce Ashfield [Mon, 11 Feb 2013 04:56:42 +0000 (23:56 -0500)]
linux-yocto/3.4: remove cedartrail machine

The cedartrail BSP is no longer support from yocto 1.4, so we remove
it from the tree.

(From OE-Core rev: a1ce9da1feb028bbfd861d075bc3b6fbe3300147)

Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel-yocto: allow building from fetcher source dir
Bruce Ashfield [Wed, 6 Feb 2013 05:17:46 +0000 (00:17 -0500)]
kernel-yocto: allow building from fetcher source dir

The linux-yocto recipes themselves always set S="${WORKDIR}/linux" and
arrange for the fetcher default of ${WORKDIR}/git to be renamed before
building.

Part of this rename involves an assumption that the directory used by
the fetcher can be removed as part of the renaming process, or in fact
that renaming is required.

If a derived recipe uses S="${WORKDIR}/git", the checkout phase fails
since the kernel source is removed as part of the processing.

To fix this the code now detects this situation and does not clean the
source directory before renaming the fetcher default (and in fact does
not rename it at all).

(From OE-Core rev: e4ab5efea1a41297f63c96de97270136535b5f0b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel-yocto: respect SRC_URI modified branch selection
Bruce Ashfield [Mon, 28 Jan 2013 18:07:06 +0000 (13:07 -0500)]
kernel-yocto: respect SRC_URI modified branch selection

Although the setting of KBRANCH is the suggested/primary way to interact with
the yocto kern-tools and the fetcher, some users may be more comfortable
modifying the SRC_URI branch parameter directly.

If they do, the tools will not force their branch and build output will be
different then they expect, in non obvious ways.

It's easy enough to detect this scenario, but checking the SRC_URI in the
same way that the git fetcher checks for the branch (and SRCREV). If we take
the value from the SRC_URI and use it directly in the patch/validate/update
routines, we'll stay consistent with KBRANCH if it is used, and also
automatically adapt to a manually changed branch parameter on the SRC_URI.

For all other users, there are no visible or behavioural changes as a result
of this change

(From OE-Core rev: cfce8643ed166b51d7178be173677ea6f527d453)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoiproute2: don't use the kernel header tree
Saul Wold [Thu, 28 Feb 2013 01:32:24 +0000 (17:32 -0800)]
iproute2: don't use the kernel header tree

This should compile against the userspace safe kernel headers

(From OE-Core rev: e443887379fae4b4fd70d1cd6f7d0d7f064a2cb1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman: add header to define in6_addr
Saul Wold [Thu, 28 Feb 2013 01:31:08 +0000 (17:31 -0800)]
connman: add header to define in6_addr

Needed because the 3.8 if_bridge.h uses in6_addr before it's defined

(From OE-Core rev: 5c4979b93855a57334fac61455b7563e4a43f8ab)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinsane.bbclass: Merge linux-gnu entries in machine dictionary and add sh4 machine.
Kyle Farnsworth [Wed, 27 Feb 2013 18:20:30 +0000 (12:20 -0600)]
insane.bbclass: Merge linux-gnu entries in machine dictionary and add sh4 machine.

(From OE-Core rev: 6e569c1aa66b2496b18d33803a18b99508152064)

Signed-off-by: Kyle Farnsworth <kyle@farnsworthtech.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorootfs_rpm: move run-postinsts scripts to rpm recipe
Kang Kai [Mon, 25 Feb 2013 02:57:24 +0000 (10:57 +0800)]
rootfs_rpm: move run-postinsts scripts to rpm recipe

Move run-postinsts scripts from rootfs_rpm.bbclass to rpm recipe. That
is the same way for dpkg and opkg to deal the post install scripts.

(From OE-Core rev: 04607b0cd496837f10ef78cf43597ec1d2e13f2e)

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 agosystemd.bbclass: fix bb.error
Martin Jansa [Wed, 27 Feb 2013 17:46:51 +0000 (18:46 +0100)]
systemd.bbclass: fix bb.error

NOTE: recipe avahi-ui-0.6.31-r7.0: task do_package: Started
ERROR: %s does not appear in package list, please add it avahi-ui-daemon
ERROR: %s does not appear in package list, please add it avahi-ui-dnsconfd

(From OE-Core rev: 36a2bae816b1abf776d0f1a2b6b2c3d9a861a4ca)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: systemd uses libkmod instead of modprobe, remove dependencies
Ross Burton [Wed, 20 Feb 2013 14:04:41 +0000 (14:04 +0000)]
systemd: systemd uses libkmod instead of modprobe, remove dependencies

(From OE-Core rev: 7e73a8eddd93c86863e3ff886984526a2163ca56)

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 agorootfs_deb: remove run-postinsts from ROOTFS_PKGMANAGE
Kang Kai [Tue, 26 Feb 2013 05:41:01 +0000 (13:41 +0800)]
rootfs_deb: remove run-postinsts from ROOTFS_PKGMANAGE

Remove package run-postinsts from ROOTFS_PKGMANAGE. run-postinsts has
already added in ROOTFS_PKGMANAGE_BOOTSTRAP and then added to rootfs
conditionally by checking image feature "package-management".

(From OE-Core rev: 41aad841e93daaf5d174b14b2fec60b786ead4b3)

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 agosudo : upgrade to 1.8.6p6
Andrei Dinu [Tue, 26 Feb 2013 13:46:22 +0000 (15:46 +0200)]
sudo : upgrade to 1.8.6p6

(From OE-Core rev: edc4f4c04d1a853137cb3cb2638e23bdcb810833)

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 agogconf: update to 3.2.6
Saul Wold [Tue, 26 Feb 2013 00:09:36 +0000 (16:09 -0800)]
gconf: update to 3.2.6

remove automake patch as it been fixed upstream

(From OE-Core rev: e2a404f3263337e505b60acd6c7d10be2c915ac9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agominicom: upgrade to 2.6.2
Cristian Iorga [Mon, 25 Feb 2013 16:24:45 +0000 (18:24 +0200)]
minicom: upgrade to 2.6.2

- all patches removed;
- fixes already integrated in source code;
- gcc4-scope.patch removed as was not enabled;

(From OE-Core rev: b0e41a317791aae943370f4e1affcfae32797c87)

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 agolibassuan: upgrade to 2.1.0
Constantin Musca [Mon, 25 Feb 2013 16:57:14 +0000 (18:57 +0200)]
libassuan: upgrade to 2.1.0

- license checksum change due to addition of
"Copyright (C) 2001, 2002, 2012, 2013 g10 Code GmbH"

libassuan-add-pkgconfig-support.patch: adapted to the new version

(From OE-Core rev: 36c16c1037d6c319d06c78405594413d65a2821d)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
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.8
Saul Wold [Mon, 25 Feb 2013 18:41:00 +0000 (10:41 -0800)]
kconfig-frontends: Update to 3.8

Upstream changed numbering to remove '-', so
extend PV to patch.

(From OE-Core rev: a5de18a79033960a5dff441694fae5fdb5e56d7f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoresolvconf: Update to 1.70
Saul Wold [Mon, 25 Feb 2013 18:40:23 +0000 (10:40 -0800)]
resolvconf: Update to 1.70

(From OE-Core rev: 7c5bc3535b7f5b8d50004b677b6455ffbf175976)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofile: Update to 5.13
Saul Wold [Mon, 25 Feb 2013 18:39:44 +0000 (10:39 -0800)]
file: Update to 5.13

(From OE-Core rev: c865e471fc88984b8e712c0df8f45dc9a30619fb)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolsbinitscripts: Update to 9.44
Saul Wold [Mon, 25 Feb 2013 18:39:20 +0000 (10:39 -0800)]
lsbinitscripts: Update to 9.44

(From OE-Core rev: 910d37ae5a42c1a4e696cfde48ba9b209d8c3a78)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoman-pages: Update to 3.47
Saul Wold [Mon, 25 Feb 2013 18:38:55 +0000 (10:38 -0800)]
man-pages: Update to 3.47

(From OE-Core rev: 86d41fef5c506a0751058054d71bfcc7fe316862)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoboost: Update to 1.53.0
Saul Wold [Mon, 25 Feb 2013 18:38:14 +0000 (10:38 -0800)]
boost: Update to 1.53.0

(From OE-Core rev: 3c578f6da565fa7df422ffeb4d1355d3628868a7)

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.1
Saul Wold [Mon, 25 Feb 2013 18:37:50 +0000 (10:37 -0800)]
socat: Update to 1.7.2.1

Changed LIC_FILES_CHKSUM due to whitespace and GNU address difference

(From OE-Core rev: e2294db8e31aacdc27204e0b0fe5ff9221ee768a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonspr: Update to 4.9.5
Saul Wold [Mon, 25 Feb 2013 18:37:00 +0000 (10:37 -0800)]
nspr: Update to 4.9.5

Changed LIC_FILES_CHKSUM line numebrs, no license change

(From OE-Core rev: b04f64e10c4b12cf32d6633c402b519067e94e5f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4-embedded: Enable Linux Input support
Otavio Salvador [Tue, 26 Feb 2013 21:23:25 +0000 (18:23 -0300)]
qt4-embedded: Enable Linux Input support

This allow use of Linux Input directly so being able to use 'evdev'
driver for keyboard use.

(From OE-Core rev: 095a64abaf3b47d7621b2ada7221763c49b8f1ca)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobinutils: Delete recipes for 2.22
Khem Raj [Tue, 26 Feb 2013 20:55:24 +0000 (12:55 -0800)]
binutils: Delete recipes for 2.22

We have 2.23.1 as default now.

(From OE-Core rev: a2f5a228422f9807fa21de88ad589853817695f8)

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 agobinutils: Fix build with newer texinfo 5.0+
Khem Raj [Tue, 26 Feb 2013 21:39:24 +0000 (13:39 -0800)]
binutils: Fix build with newer texinfo 5.0+

[Yocto #3943]

(From OE-Core rev: 79a378a47e9a87c42337a846317b556e16e89664)

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 agopackagegroup-core-tools-testapps: connman-client added
Cristian Iorga [Tue, 26 Feb 2013 18:25:10 +0000 (20:25 +0200)]
packagegroup-core-tools-testapps: connman-client added

connman-client is now part of tools-testapps

(From OE-Core rev: 97c47c9c78d310e0714c3127e8de528f854f58cf)

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 agomini-x-session: Fix starting of x-session
Saul Wold [Thu, 21 Feb 2013 16:11:50 +0000 (08:11 -0800)]
mini-x-session: Fix starting of x-session

We need to use sudo semantics since it does not start correctly
with su. Added RDEPENDS to ensure it's present on target.

The SESSION_DIR test was constructed incorrectly, so fixed it.

(From OE-Core rev: badf3a32b9737f2ad6f9c9ff2fe623fe17295946)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosqlite: rename version to match upstream versioning change
Saul Wold [Tue, 26 Feb 2013 15:52:27 +0000 (07:52 -0800)]
sqlite: rename version to match upstream versioning change

Upstream changed to a single grouped number, change our numbering
to match thiers.

(From OE-Core rev: 0a00a4328d3fc52ece604f268b7110ef210826a9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman: enable connman client
Cristian Iorga [Tue, 26 Feb 2013 16:56:48 +0000 (18:56 +0200)]
connman: enable connman client

connmanctl is available in a new
package: connman-client

(From OE-Core rev: d926de687ba45fed993af7feba8574b76293b939)

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 agoparted: fix several integer overflows
Ming Liu [Tue, 26 Feb 2013 01:19:44 +0000 (09:19 +0800)]
parted: fix several integer overflows

Integer overflows were found in libparted/labels/dvh.c, while attemptting
to assign unsigned int values to int types in some places. These overflows
only can be observed on BE platforms like MIPS, when the "WORDS_BIGENDIAN"
macro is defined in parted.

Defined by unsigned int instead.

(From OE-Core rev: 9acaa764a4df8d589011ff597bba2afc05d6e78b)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodbus: set correct address when using --address=systemd:
Ross Burton [Tue, 26 Feb 2013 12:37:10 +0000 (12:37 +0000)]
dbus: set correct address when using --address=systemd:

Patch taken from upstream 1.7 branch.

(From OE-Core rev: d7b8ae19464a3fe87822376b541b3d6865fe6115)

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 agolsbtest: sync test suite packages version
Kang Kai [Tue, 26 Feb 2013 08:43:38 +0000 (16:43 +0800)]
lsbtest: sync test suite packages version

Update file packages_list after sync test suite packages version with
upstream.
Check date: Feb 20, 2103

Bump up PR.

(From OE-Core rev: f43ba5e41ac5c1fe9d6e66fa1a1f8a51f9cd289c)

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 agosstate-cache-management.sh: don't hardcode available sstate_suffixes
Hongxu Jia [Tue, 26 Feb 2013 07:57:16 +0000 (15:57 +0800)]
sstate-cache-management.sh: don't hardcode available sstate_suffixes

Don't hardcode available sstate_suffixes(it misses `packagedata'), find them
dynamically in $sstate_list.

[YOCTO #3635]

(From OE-Core rev: 26adfcb8c33fe62f5e15c3591efc670d70cbb5b7)

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 agosstate-cache-management.sh:fix the incorrect usage of option `-d'
Hongxu Jia [Tue, 26 Feb 2013 07:57:17 +0000 (15:57 +0800)]
sstate-cache-management.sh:fix the incorrect usage of option `-d'

The description of option `-d' is not correct in useage. It is used to
remove duplicate and debug at the same time. Use option `-D' to control
debug info output and the option `-d' to flag remove duplicate.

[YOCTO #3635]

(From OE-Core rev: fa0b40c233e757fe986aa45798b35b60b89c879f)

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 agosstate-cache-management.sh: fix remove duplicate failed when multiple archs
Hongxu Jia [Tue, 26 Feb 2013 07:57:15 +0000 (15:57 +0800)]
sstate-cache-management.sh: fix remove duplicate failed when multiple archs

The implementation of `--remove-duplicated' has been modified by the commit:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0740f82aea92da0195524e37c372f9981e7f5e6d

In above commit, sstate cache files with multiple archs are not considered
duplicate and don't need to be removed as duplicated any more.

Update the description of `--remove-duplicated' in usage to keep consistent
with implementation.

[YOCTO #3635]

(From OE-Core rev: c201fdc2f01f398060cd953a1640a685797d9e64)

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 agodistrodata: added some corner cases for svn and git repos
Emilia Ciobanu [Tue, 26 Feb 2013 13:35:14 +0000 (15:35 +0200)]
distrodata: added some corner cases for svn and git repos

distrodata.bbclass: git tags can include only one digit, therefore
the regex that matches the latest version should also include this
case. For some svn repos, using the http protocol than using the
svn protocol to get infomation about revisions works better.

(From OE-Core rev: bbf09cc0abbc81419349f2af1bc1196a868b2269)

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoAdd kernel arch variable in SDK environment variable list for supporting build extern...
Jessica Zhang [Mon, 25 Feb 2013 22:20:52 +0000 (14:20 -0800)]
Add kernel arch variable in SDK environment variable list for supporting build external kernel module using SDK

(From OE-Core rev: 7fc7e98801bd72b9662528f94b315749e6075666)

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoiproute2: upgraded to 3.8.0
Cristian Iorga [Tue, 26 Feb 2013 15:57:42 +0000 (17:57 +0200)]
iproute2: upgraded to 3.8.0

- cross-compiling patch adapted to new source code

(From OE-Core rev: 35c2d04911b84cb21ef1a4a00dee399873bee8f3)

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 agodbus-glib : upgrade to 1.100.2
Andrei Dinu [Tue, 26 Feb 2013 12:25:03 +0000 (14:25 +0200)]
dbus-glib : upgrade to 1.100.2

(From OE-Core rev: eb43cd15cc0ceffd6b7fa14919646007d6ba99c2)

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 agoe2fsprogs : upgrade to 1.42.7
Andrei Dinu [Tue, 26 Feb 2013 07:51:11 +0000 (09:51 +0200)]
e2fsprogs : upgrade to 1.42.7

(From OE-Core rev: 0662191f2e1ac2d686e2125f7f1bcb0f871c0edf)

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 agoarchive-*-source.bbclass: Handle all package classes
Muhammad Shakeel [Wed, 20 Feb 2013 13:50:57 +0000 (18:50 +0500)]
archive-*-source.bbclass: Handle all package classes

* Add archiver tasks correctly for any 'IMAGE_PKGTYPE'.

[YOCTO #3449]

(From OE-Core rev: 0783686c4dc837674a2bcf3ca1f3f4858e256195)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
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 agoarchiver class: Use tasks with sstate instead of pre/post funcs
Muhammad Shakeel [Wed, 20 Feb 2013 13:50:22 +0000 (18:50 +0500)]
archiver class: Use tasks with sstate instead of pre/post funcs

* Add tasks to move sources, script/logs and diff/env files in
  deploy directory.
* Enable SSTATE for 'do_archive_scripts_logs' task
* Enable SSTATE for 'do_dumpdata_create_diff_gz' task
* SSTATE is not used for sources/patches archiver task because source
  archive package can result into a very large file. It will be an
  unnecessary overhead to keep sources in DL_DIR and cached-binaries.
* If 'SOURCE_ARCHIVE_PACKAGE_TYPE' is 'srpm' then use pre/post functions
  because in this case we do not want to use tasks to move sources/logs
  in DEPLOY_DIR. 'do_package_write_rpm' is responsible for handling
  archiver packages.

[YOCTO #3449]

(From OE-Core rev: 959e2ae23ccbc6955a28996d4538e457cd8cfa5e)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
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 agoutil-linux: Add package for libmount
MiLo [Tue, 19 Feb 2013 17:23:15 +0000 (18:23 +0100)]
util-linux: Add package for libmount

The libmount shared library was part of util-linux. This caused
util-linux-mount to RDEPEND on util-linux, so including that would
also drag in all of util-linux and all its recommendations.

To break this circular dependency, add a libmount package that holds
the libmount.so.* files, just like the other libraries built by util-
linux.

(From OE-Core rev: 2e79110e31da940728d42411cad3d019d570fc31)

Signed-off-by: MiLo <milo-software@users.sourceforge.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoaugeas: change SRC_URI
Constantin Musca [Mon, 25 Feb 2013 15:29:15 +0000 (17:29 +0200)]
augeas: change SRC_URI

- replace http://augeas.net/download/${BP}.tar.gz with
http://download.augeas.net/${BP}.tar.gz

(From OE-Core rev: 8e69f0ea42505e8f703893e18d73658b83d3b046)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolttng-ust: cannot find -llttng-ust-tracepoint
Robert Yang [Tue, 26 Feb 2013 09:24:12 +0000 (17:24 +0800)]
lttng-ust: cannot find -llttng-ust-tracepoint

liblttng_ust.la should depend on liblttng-ust-tracepoint.la, otherwise
there maybe a parallel build issue when building liblttng_ust.la:

ld: cannot find -llttng-ust-tracepoint

[YOCTO #3934]

(From OE-Core rev: b947dbc72b3cd03901112c1bab6ac0b81f1b374f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker: now that we use a Pool, raise the exceptions
Christopher Larson [Mon, 25 Feb 2013 18:48:00 +0000 (11:48 -0700)]
bitbake: cooker: now that we use a Pool, raise the exceptions

Multiprocessing catches these and handles passing them between processes
itself, we don't need to do it ourselves anymore.

[YOCTO #3926]

(Bitbake rev: 9ca8e513dc142dd7aefadeb6db2ccdb00f38b39f)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: perforce.py: fix the perforce fetcher
Robert Yang [Mon, 4 Feb 2013 03:19:36 +0000 (03:19 +0000)]
bitbake: perforce.py: fix the perforce fetcher

The bb.process.run() will return one tuple, e.g:

p4file = ('strA\nStrB\nstrC\n'), then there will be an iteration on p4file:

for i in p4file:
[snip]

The i will be 's t r A ...', this is incorrect. use splitlines() to fix
the problem.

[YOCTO #3619]

(Bitbake rev: b7440fb36b419996046f607e66434ce34722272b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agositeinfo/insane: More n32 fixups
Peter Seebach [Thu, 21 Feb 2013 17:40:22 +0000 (11:40 -0600)]
siteinfo/insane: More n32 fixups

For perfectly sound reasons, n32 MIPS is a mips64 subset denoted by an
ABI change, thus, "mips64-vendor-linux-gnun32" rather than
"mips-vendor-linux-gnu". A previous change had fixed up insane.bbclass
to recognize these, which mostly worked, but left SITEINFO_BITS set to
64.

Since bit-32 is processed first, and there are specific checks for
linux-gnun32, modify the mips64-linux-gnun32 lines to specify "bit-32",
so things that check SITEINFO_BITS get the right answer. Also, drop
the mips{,el}-linux-gnun32 lines, because that's not a valid combination;
n32 only makes sense for mips64.

Also, the insane.bbclass change spelled "mips64el" as "mipsel64", which
no one noticed because no one's using little-endian n32, apparently.

(From OE-Core rev: 0c243a550f5a0e539823fe168bcc7b2bbb9f19e1)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-argparse: add RDEPENDS on python-textutils
Michael Thalmeier [Thu, 21 Feb 2013 09:38:59 +0000 (10:38 +0100)]
python-argparse: add RDEPENDS on python-textutils

The argparse module uses the textwrapper modules contained in
python-textutils.

(From OE-Core rev: 2e9d39834ceb8cf9d9ba94940372b549fb957028)

Signed-off-by: Michael Thalmeier <michael.thalmeier@hale.at>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobase-files: fix 'dash' expanding '\n'
Javier Viguera [Wed, 20 Feb 2013 15:09:17 +0000 (16:09 +0100)]
base-files: fix 'dash' expanding '\n'

Dash's 'echo' command expands '\n' by default, so the '\n' is not
included in the '/etc/issue' file.

Use 'printf' for portability between different shells.

(From OE-Core rev: 94c9ced84aa201e808e46e129bf14f328ff5f3e4)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotcp-wrappers: add socklen_t.patch
farrah rashid [Wed, 20 Feb 2013 21:09:48 +0000 (16:09 -0500)]
tcp-wrappers: add socklen_t.patch

Replace incorrect size_t data type with socket length data type

(From OE-Core rev: c2d456cb79f42eefd50605d72361ded823568d1b)

Signed-off-by: farrah rashid <farrah.rashid@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agometa-skeleton: Add example multilib usages
Richard Purdie [Thu, 21 Feb 2013 13:50:00 +0000 (15:50 +0200)]
meta-skeleton: Add example multilib usages

(From OE-Core rev: 514b0ab066bebd52980467e935c0e5df9e480db4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogconf: add patch to remove '+' from invalid characters list
Laurentiu Palcu [Mon, 25 Feb 2013 09:49:42 +0000 (11:49 +0200)]
gconf: add patch to remove '+' from invalid characters list

This will allow gconftool-2 to run when configuration source addresses
contain the '+' sign.

[YOCTO #3893]

(From OE-Core rev: 5ba4d947189f76692ea6cc75500d9295417a2055)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinstall: Look for grub2 files on the initramfs, not rootfs
Darren Hart [Thu, 21 Feb 2013 17:28:02 +0000 (09:28 -0800)]
install: Look for grub2 files on the initramfs, not rootfs

Fixes [YOCTO #3870] atom-pc - cannot boot image on netbook after install

The problem here is that grub2 is installed but a grub 1 menu.lst is
created at install time. At boot, grub2 doesn't find a grub.cfg file and
drops to the grub shell.

This happens because the installer is looking for 40_custom (a grub2
file) on the rootfs, but grub2 isn't installed on the rootfs. It exists
in the initramfs. Patching the installer to look on the initramfs
resolves the problem.

Note that the problem may have occurred if grub2 used to be installed on
the rootfs but was later removed. In any case, the installer is HORRIBLE
and really needs to be completely redesigned as part of the deployment
effort. For now, this should get the live image installer limping along
again.

Tested on a Toshiba NB-305.

(From OE-Core rev: 8756a19bd24045d41ad20abb581e7872d0fc9ee6)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: alexandru.c.georgescu@intel.com
Cc: sgw@linux.intel.com
Cc: ross.burton@intel.com
Cc: richard.purdie@intel.com
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorootfs_rpm.bbclass: Handle multilib configures with different OS values
Mark Hatle [Thu, 21 Feb 2013 23:18:29 +0000 (17:18 -0600)]
rootfs_rpm.bbclass: Handle multilib configures with different OS values

[ CQID: WIND00404082 ]

It is possible for the TARGET_OS to change dependending on the multilib used
for a given package build.  mips64 has two potential TARGET_OS values: linux
and linux-gnun32.  The RPM and Smart setup needs to distinguish between the
two otherwise packages of the "non-default" TARGET_OS may be ignored as
incompatible.

(From OE-Core rev: aa760ff7dee4029c30c9de9fc0b640149e4a4c77)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoexternal-python-tarball: code refactoring
Kang Kai [Wed, 20 Feb 2013 06:06:17 +0000 (14:06 +0800)]
external-python-tarball: code refactoring

external-python-tarball only can be built when inherit package_ipk now.
Update it to reuse existed populate sdk code that it could be built for
rpm and deb too.

Remove var DEPENDS, SDK_* and flags of do_populate_sdk because they are
already defined in populate_sdk bbclasses.

[Yocto 3006]

(From OE-Core rev: 57134958a2c6b74de8654600e33acdd265966638)

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 agogenext2fs.inc: Add nativesdk build capability
Jason Wessel [Wed, 20 Feb 2013 11:11:12 +0000 (05:11 -0600)]
genext2fs.inc: Add nativesdk build capability

In order to generate new disk images for ext(2,3,4) which contain root
file systems we do not want to rely on the host's genext2fs which may
have different arguments and features, so allow the nativesdk
genext2fs binary to be built.

(From OE-Core rev: b9eac9683baaeb458d70a5089cbb5e2b8149eb26)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoman: Remove wildcard from SRC_URI
Mark Hatle [Wed, 20 Feb 2013 01:27:14 +0000 (19:27 -0600)]
man: Remove wildcard from SRC_URI

[ CQID: WIND00402802 ]

Remove the wildcard from the SRC_URI.  This causes problems when you .bbappend
and add a FILESEXTRAPATHS entry.  The unpack task may be unable to find the
files to unpack leading to an error.

Avoid wildcards at all costs...

Note, remove both man-1.5m2-multiple.patch and man-1.6e-lzma+xz-support.patch,
they were not being applied in the previous version.  The later also fails to
apply when added to the SRC_URI.

(From OE-Core rev: 61b60906b2825d4f9ea1f5ae11e1f9fcc77ac4e7)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-dtc: Make KERNEL_DEVICETREE_FLAGS configurable
Anders Roxell [Wed, 20 Feb 2013 14:56:32 +0000 (15:56 +0100)]
linux-dtc: Make KERNEL_DEVICETREE_FLAGS configurable

(From OE-Core rev: f46c5714bc23a50a207c03cc20c3a6aebe8c5df0)

Signed-off-by: Anders Roxell <anders.roxell@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibtirpc: upgrade to 0.2.3
Cristian Iorga [Wed, 20 Feb 2013 16:51:47 +0000 (18:51 +0200)]
libtirpc: upgrade to 0.2.3

- libtirpc-0.2.2-rpc-des-prot.patch removed;
- remove-des-crypt.patch removed;
both included in base distribution.

(From OE-Core rev: c0ff6185e623a40a7378a01d45b2c641ca3fa79d)

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 agorootfs_rpm.bbclass: Reorder feed priority based on multilib image setting
Mark Hatle [Wed, 20 Feb 2013 19:31:11 +0000 (13:31 -0600)]
rootfs_rpm.bbclass: Reorder feed priority based on multilib image setting

[ YOCTO #3915 ]
[ CQID: WIND00404309 ]

When doing a multilib image build, such as bitbake lib32-core-image-sato, the
system needs to reorder the priority level of the feeds.  If it does not
reorder the priorities, then 64-bit items can be selected by the automatic
dependency resolution in Smart.

(From OE-Core rev: dfbb1aa184955923b85b81aabf944de8f1a1e4b5)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobase-passwd.preinst:fix creating passwd and group error
Hongxu Jia [Thu, 21 Feb 2013 06:22:16 +0000 (14:22 +0800)]
base-passwd.preinst:fix creating passwd and group error

Create files `passwd' and `group' in `$D${sysconfdir}', if `$D${sysconfdir}'
does not exist, there is an error:
...
cannot create $D${sysconfdir}/passwd: Directory nonexistent
cannot create $D${sysconfdir}/group: Directory nonexistent
...

Attampt to create dir before file creation.

[YOCTO #3917]

(From OE-Core rev: aea1d6c29e0c3f7c854045057d8bb389a1609b2b)

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 agoxserver-xf86-config: empty generic xorg.conf
Ross Burton [Tue, 5 Feb 2013 14:01:04 +0000 (14:01 +0000)]
xserver-xf86-config: empty generic xorg.conf

The idea of a generic xorg.conf is meaningless, especially when they specify the
"intel" driver.  Empty this file so that unless the BSP specifies it's own
xorg.conf, no xorg.conf file is installed.

(From OE-Core rev: 746b6e90a8403886e6957d33610bbda115de0a0c)

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 agoxserver-xf86-config: don't ship empty xorg.conf
Ross Burton [Tue, 5 Feb 2013 14:00:40 +0000 (14:00 +0000)]
xserver-xf86-config: don't ship empty xorg.conf

Many hardware platforms can autodetect their hardware and don't need a xorg.conf
at all.  Make it easy for BSPs to not ship a xorg.conf by not installing empty
xorg.conf files.

(From OE-Core rev: 4b46149df5f123c7acf4699dbc552cc0e07f709a)

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 agopackage_deb: check CONFFILES exist before adding them to metadata
Ross Burton [Fri, 15 Feb 2013 13:03:51 +0000 (13:03 +0000)]
package_deb: check CONFFILES exist before adding them to metadata

dpkg-deb verifies that conffiles exist, so verify that the specified files
actually exist before writing them to conffiles.

This mirrors the behaviour of FILES and package_rpm's CONFFILES handling.

(From OE-Core rev: 767a3d1c45f97add720174a7034df750bfb09a8e)

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 agohwclock.sh: check for the existence of /etc/default/rcS
Chen Qi [Tue, 19 Feb 2013 07:59:40 +0000 (15:59 +0800)]
hwclock.sh: check for the existence of /etc/default/rcS

/etc/default/rcS might be missing if the init manager is not sysvinit.
So we have to check for the existence of this file before sourcing it.

[YOCTO #3697]

(From OE-Core rev: 416519ec595f59ebeafb95bed2546635cad41559)

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 agoptest: Add missed .debug path
Björn Stenberg [Tue, 19 Feb 2013 13:14:04 +0000 (14:14 +0100)]
ptest: Add missed .debug path

(From OE-Core rev: f8bf3c65327c6e04c19a7dda623c7433f5d97417)

Signed-off-by: Björn Stenberg <bjst@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogst-plugins-gl: add package recipe
Jeremy Stashluk [Tue, 19 Feb 2013 12:13:42 +0000 (12:13 +0000)]
gst-plugins-gl: add package recipe

Added notes, signoff, and upstream status to internal patch.

(From OE-Core rev: 76cebb57d3ce507e3876e0a9a881eaa3e8c6fdb8)

Signed-off-by: Jeremy Stashluk <jstashluk@dekaresearch.com>
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 agogroff: upgrade to 1.22.2
Constantin Musca [Tue, 19 Feb 2013 08:11:30 +0000 (10:11 +0200)]
groff: upgrade to 1.22.2

- add code for generating the gnulib configure script
- replace /usr/bin/perl with /usr/bin/env perl

(From OE-Core rev: c205124d135935855b9b479125f5bddce96a2872)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoshared-mime-info: upgrade to 1.1
Constantin Musca [Mon, 18 Feb 2013 12:04:34 +0000 (14:04 +0200)]
shared-mime-info: upgrade to 1.1

(From OE-Core rev: eed45b5e22e5fa7b7d6ea7ccf2db36b80f90cd4e)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocairo: upgrade to 1.12.14
Constantin Musca [Mon, 18 Feb 2013 12:04:09 +0000 (14:04 +0200)]
cairo: upgrade to 1.12.14

(From OE-Core rev: b4c5a95c4c5266c4b3a26addd4ac87bc4a482604)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoaugeas: upgrade to 1.0.0
Constantin Musca [Mon, 18 Feb 2013 12:05:09 +0000 (14:05 +0200)]
augeas: upgrade to 1.0.0

0001-Add-missing-argument-to-escape.patch: removed
    - included in the new version

remove-gets.patch: not needed anymore

add-missing-argz-conditional.patch: added
    - the Makefiles assume that the argz conditional
is present in configure.ac

(From OE-Core rev: a711a8617c39b06c9a494d0ceae9f96f65b024f9)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopulseaudio: upgrade to 3.0
Cristian Iorga [Mon, 18 Feb 2013 12:50:30 +0000 (14:50 +0200)]
pulseaudio: upgrade to 3.0

ARM Neon instruction set compilation error fixed.
Build system disables Neon optimisations if
ARM target does not support it.
BT support dependent on bluez and sbc support.
sbc package added as a dependency.

(From OE-Core rev: 4e7b91b5a2613b957b08aefbee1aac28fdd19598)

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 agosbc: Fix PN -> BPN for multilib
Saul Wold [Thu, 21 Feb 2013 16:02:51 +0000 (08:02 -0800)]
sbc: Fix PN -> BPN for multilib

(From OE-Core rev: 52bc2abf77aeb0756df758ff2bdfadef170e4558)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosbc: SBC audio codec
Cristian Iorga [Mon, 18 Feb 2013 12:50:29 +0000 (14:50 +0200)]
sbc: SBC audio codec

recipe added;
needed by pulseaudio.

(From OE-Core rev: fc6375426f9450d803f01b7d4513a0c0a1325e5f)

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 agognome-common: upgrade to 3.7.4
Constantin Musca [Mon, 18 Feb 2013 13:43:35 +0000 (15:43 +0200)]
gnome-common: upgrade to 3.7.4

- gnome-common finally is GPLv2+
- omf.patch is included in the new version

(From OE-Core rev: dba2105d2f6f5788d8f827edad4e8c601a409d1f)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxvinfo: upgrade to 1.1.2
Laurentiu Palcu [Mon, 18 Feb 2013 15:20:17 +0000 (17:20 +0200)]
xvinfo: upgrade to 1.1.2

(From OE-Core rev: 4a95ac6804e1800ace722ff02b0dfc5a33381735)

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 agoxrandr: upgrade to 1.4.0
Laurentiu Palcu [Mon, 18 Feb 2013 15:20:16 +0000 (17:20 +0200)]
xrandr: upgrade to 1.4.0

(From OE-Core rev: 4116e3f3fb08acc1c0a997c65270a2f70fcb4450)

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 agocurl: update to upstream version 7.29.0
Marko Lindqvist [Sun, 17 Feb 2013 08:53:10 +0000 (10:53 +0200)]
curl: update to upstream version 7.29.0

- obsolete_automake_macros.patch removed as it's part of upstream.
- dont_override_ac_config_macro_dir.patch removed as no longer needed.
- pkgconfig_fix.patch updated to apply cleanly

(From OE-Core rev: b0c541236b4c4670ce77f55886b6ce02c562b8c2)

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 agooprofileui-server: replace obsolete automake macros with working ones
Marko Lindqvist [Sun, 17 Feb 2013 08:52:21 +0000 (10:52 +0200)]
oprofileui-server: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.
Removed AM_PROG_CC_STDC. AC_PROG_CC to replace it was already
present.

(From OE-Core rev: 254799258ead1b7a59c301ad2d3e3c7e5b9fb8db)

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 agogtk-sato-engine: update to git repository head
Marko Lindqvist [Sun, 17 Feb 2013 08:51:58 +0000 (10:51 +0200)]
gtk-sato-engine: update to git repository head

The only new commit this pulls fixes build with automake-1.13.

(From OE-Core rev: 86284e488a984ee161af75bee30440b827bd72c9)

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 agowebkit-gtk: replace obsolete automake macros with working ones
Marko Lindqvist [Sun, 17 Feb 2013 08:51:23 +0000 (10:51 +0200)]
webkit-gtk: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.
Removed AM_PROG_CC_STDC. AC_PROG_CC to replace it was already
present.

(From OE-Core rev: fd3586cfa620299ba2544ce16e140956b5171ae5)

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 agomatchbox-session-sato: start the keyboard applet if we have no keyboard
Ross Burton [Fri, 15 Feb 2013 17:02:42 +0000 (17:02 +0000)]
matchbox-session-sato: start the keyboard applet if we have no keyboard

If the formfactor says we have no physical keyboard, add the keyboard applet so
the user can force the keyboard to show/hide on demand.

(From OE-Core rev: a0bca3dc35db1a8fbc49fa4e3884c2365353b9c1)

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 agomatchbox-keyboard: add RRECOMMENDS to matchbox-keyboard-applet
Ross Burton [Thu, 14 Feb 2013 21:38:09 +0000 (21:38 +0000)]
matchbox-keyboard: add RRECOMMENDS to matchbox-keyboard-applet

The keyboard is more useful with the applet, as it means that you can hide it.

(From OE-Core rev: b6ea5818314d6de3a68df455e462f98f06cfd860)

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 agomatchbox-keyboard: general clean up
Ross Burton [Thu, 14 Feb 2013 21:36:59 +0000 (21:36 +0000)]
matchbox-keyboard: general clean up

Re-order variables, use $PN more, and merge the -dbg packages together.

(From OE-Core rev: 1dfe4f5d49bbbaf1adc28dacac92b5288021309b)

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 agopakcage.bbclass:use a better way to cut -dev/-dbg suffix
Song.Li [Fri, 22 Feb 2013 10:52:19 +0000 (18:52 +0800)]
pakcage.bbclass:use a better way to cut -dev/-dbg suffix

In pakcage.bbclass,function replace('-dev', '') is
used to cut '-dev' suffix. but it will cause the
name "lib32-device-dev" to "lib32ice",
so change it to [:-4].

(From OE-Core rev: 91a3a48798029ca88a46a528200f4c5252f245e9)

Signed-off-by: Song.Li <Song.Li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: build.py: avoid deleting taint files when writing stamps
Paul Eggleton [Thu, 21 Feb 2013 15:23:35 +0000 (15:23 +0000)]
bitbake: build.py: avoid deleting taint files when writing stamps

The stamp cleaning process that occurs before writing out new stamps for
a task was deleting taint files as well. This resulted in tasks that
were forcibly re-executed using the -f or -C command line options to
have their previous output restored from shared state when called upon a
second time, because the taint value was no longer incorporated into the
task signature and thus it was reverting to its previous value. This
also affected the kernel menuconfig command in OE-Core.

Note that the taint file *is* still deleted when doing -c clean, which
is the desired behaviour.

Fixes [YOCTO #3919].

(Bitbake rev: e6db0ee31178d4386802e720d75303ec7dc21519)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: Revert "fetch2: Adapt encode/decode url to use URI class"
Richard Purdie [Wed, 20 Feb 2013 07:05:11 +0000 (23:05 -0800)]
bitbake: Revert "fetch2: Adapt encode/decode url to use URI class"

This reverts commit 21fe2683aefde10e847e66c11c26d4f4c1e07cfd
since bitbake-selftest doesn't pass when this is applied and
we're seeing multiple build failures from this change.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorootfs_ipkg: fix BAD_RECOMMENDATIONS handling
Ross Burton [Tue, 19 Feb 2013 21:31:52 +0000 (21:31 +0000)]
rootfs_ipkg: fix BAD_RECOMMENDATIONS handling

If multiple versions of the same package are in the package feed then the
generate status file would only contains a "deinstall" status for the last one,
which meant that BAD_RECOMMENDATIONS wouldn't actually work.

Use awk instead of grep and stop reading when we reach a newline, so we only
ever output a single stanza.

(From OE-Core rev: a5362de60c0051f16b88a40bd9cb41915bee0b0f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotoolchain-scripts.bbclass: add PYTHONHOME variable to environment-setup
Laurentiu Palcu [Tue, 19 Feb 2013 14:15:03 +0000 (16:15 +0200)]
toolchain-scripts.bbclass: add PYTHONHOME variable to environment-setup

When relocating the SDK, applications using python will search for
python modules in the default location and will fail to start.
The below errors are thrown by gdb, for example:

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site

In order to overcome this, add the PYTHONHOME variable to the
environment-setup script for both standalone toolchain and
adt-installer. No need to do that for meta-ide-support environment
script since this toolchain does not get relocated.

[YOCTO #3839]

(From OE-Core rev: e7a21cd69a326ab7e2d0e410db28f24956f61208)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: utils: Improve remove funciton to handle whitespace
Richard Purdie [Tue, 19 Feb 2013 22:31:52 +0000 (14:31 -0800)]
bitbake: utils: Improve remove funciton to handle whitespace

Improve the remove function to better handle cases where path contains
special shell chars like whitespaces, '$', ';' or'\'.

Thanks to Enrico Scholz for the fix.

(Bitbake rev: 617511c9f86cc4ef52457653c8adff582d94bce3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake/fetch2: workaround urlparse in older python not support git
Matthew McClintock [Tue, 19 Feb 2013 20:20:01 +0000 (14:20 -0600)]
bitbake: bitbake/fetch2: workaround urlparse in older python not support git

(Bitbake rev: 7e479dc6a574a8f3bd9f24d2ed1c3ceef91f3828)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: wget: Improve mkdir handling
Richard Purdie [Tue, 19 Feb 2013 21:52:38 +0000 (13:52 -0800)]
bitbake: wget: Improve mkdir handling

If there there isn't a subdirectory to the downloadfilename, this was
failing. This patch avoids that issue.

(Bitbake rev: 58bfd8d88495d4cae808e23b7af40e65ad05450f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker: parse using bb.compat.Pool
Christopher Larson [Tue, 12 Feb 2013 17:28:47 +0000 (12:28 -0500)]
bitbake: cooker: parse using bb.compat.Pool

(Bitbake rev: 8af519a49a3374bd9004864ef31ca8aa328e9f34)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibsdl: Use 'virtual/nativesdk-libx11' instead of hardcoding nativesdk-libx11
Otavio Salvador [Sun, 17 Feb 2013 17:53:10 +0000 (17:53 +0000)]
libsdl: Use 'virtual/nativesdk-libx11' instead of hardcoding nativesdk-libx11

(From OE-Core rev: bb7a913e4a0da450cc85edfe0d8f80bdf4065fad)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodbus: Drop x11 support from nativesdk
Otavio Salvador [Sun, 17 Feb 2013 17:53:09 +0000 (17:53 +0000)]
dbus: Drop x11 support from nativesdk

This avoid a libx11 dependency for nativesdk as it is not intended to
be run in the toolchain. We also remove the dbus-launch as without x11
support it might case trouble for user

(From OE-Core rev: 2dcb6bf9205a5b2144ccb7f2912bf3e13211ae88)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodevshell.bbclass: Allow running devshell and fakeroot together
Richard Purdie [Mon, 18 Feb 2013 13:19:50 +0000 (13:19 +0000)]
devshell.bbclass: Allow running devshell and fakeroot together

Currently its hard to run a devshell complete with fakeroot context. This
patch allows the fakeroot flag on the task to do this, as with any other
task. Since we may need to start X terminal applications, we need to
only start the fakeroot session on the final command, hence the hoops
this code jumps through.

As always with fakeroot, you can break out and run a command without
the fake permissions with syntax like "PSEUDO_UNLOAD=1 <command>"

[YOCTO #3374]

(From OE-Core rev: 0a2662a48eaf0487db043c348e2834bb9cdd0466)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopopulate_sdk_base.bbclass: fix SDKTARGETSYSROOT value
Laurentiu Palcu [Mon, 18 Feb 2013 11:40:12 +0000 (11:40 +0000)]
populate_sdk_base.bbclass: fix SDKTARGETSYSROOT value

Currently, SDKTARGETSYSROOT points to PACKAGE_ARCH which, sometimes, can
be set to MACHINE_ARCH. When this happens, the default target sysroot
passed to the cross-canadian toolchain, which points to TUNE_PKGARCH,
will be different from the directory where the target sysroot has been
deployed.

In order to fix this, use REAL_MULTIMACH_TARGET_SYS variable instead of
MULTIMACH_TARGET_SYS.

[YOCTO #3784]

(From OE-Core rev: 41437aaac0cfc6f931d3b2974d380f20ec01f6e8)

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 agosanity: check_path_length: replace tab with 8 spaces
Martin Jansa [Mon, 18 Feb 2013 23:20:11 +0000 (23:20 +0000)]
sanity: check_path_length: replace tab with 8 spaces

(From OE-Core rev: de3f2367c46a213d07d834c7e874d2a4a0697026)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>