scm/bb/tizen-distro.git
12 years agoinsane: Promote most warnings into QA errors by default
Richard Purdie [Thu, 29 Sep 2011 22:35:16 +0000 (23:35 +0100)]
insane: Promote most warnings into QA errors by default

We agreed a while back that we'd start ERRORing on QA issues, not just
WARNING about them. This patch changes the default QA levels to error
on everything except ldflag and useless rpath issues.

It also stops giving out QA warnings about desktop files since it
adds noise to the build and until someone plans to seriously tackle
that problem, its pointless.

We can promote the ldflag and rpath warnings too, when the issues in
OE-Core are resolved (they're mostly there now, just a few more to go).

(From OE-Core rev: f9305dac1926207c0ed580168708a18ce2581891)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: Ensure perl scripts reference the correct perl
Richard Purdie [Mon, 26 Sep 2011 14:34:18 +0000 (15:34 +0100)]
util-linux: Ensure perl scripts reference the correct perl

Without this change the perl path from the build system is used.

(From OE-Core rev: 18ad3a84dacc0d6c107b56874bb23d2a3c0a429f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomc: Ensure perl scripts reference the correct perl
Richard Purdie [Mon, 26 Sep 2011 14:34:49 +0000 (15:34 +0100)]
mc: Ensure perl scripts reference the correct perl

Without this change the perl path from the build system is used.

(From OE-Core rev: feff6030091d519a0738e2a5db47654dcd13ef13)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssl: Ensure perl scripts reference the correct perl
Richard Purdie [Mon, 26 Sep 2011 14:33:15 +0000 (15:33 +0100)]
openssl: Ensure perl scripts reference the correct perl

Without this change the perl path from the build system is used.

(From OE-Core rev: 1ed8fb66c51ce584c13e592176a69a61bae01f2e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-4.6: Update to tip of FSF gcc-4_6-branch
Khem Raj [Tue, 27 Sep 2011 03:39:54 +0000 (20:39 -0700)]
gcc-4.6: Update to tip of FSF gcc-4_6-branch

(From OE-Core rev: ed7deecb9503420fbf8071445e077c32beda8dc4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomultilib: add MLPREFIX to deploy folder
Dongxiao Xu [Wed, 28 Sep 2011 11:44:28 +0000 (19:44 +0800)]
multilib: add MLPREFIX to deploy folder

Add MLPREFIX to multilib deploy forlder to avoid the confliction between
multilib and normal package deploy directory.

(From OE-Core rev: 18b8d1f7769b63725c3b6883298a841806cd06ab)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotune-i586: fix hardcoded TUNE_PKGARCH
Dongxiao Xu [Wed, 28 Sep 2011 11:44:29 +0000 (19:44 +0800)]
tune-i586: fix hardcoded TUNE_PKGARCH

Use TUNE_FEATURES to determine the setting to TUNE_PKGARCH, which fixes
the wrong setting of PACKAGE_ARCH in multilib case.

(From OE-Core rev: 0762e1ff5e29487f5b25a069e31257275415a3e6)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoapmd: use ${HOST_SYS}-libtool
Andrew Gabbasov [Wed, 28 Sep 2011 12:07:58 +0000 (16:07 +0400)]
apmd: use ${HOST_SYS}-libtool

libtool-cross uses ${HOST_SYS}- prefix while building and installing.
In some cases that may be different from ${TARGET_PREFIX}, that is currently
used in apmd recipe. It's better to have them consistent.

(From OE-Core rev: 5f1fac618fa099f6fc78cbc98f18d1c0ab792abf)

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoapr: use ${HOST_SYS}-libtool
Andrew Gabbasov [Wed, 28 Sep 2011 12:09:52 +0000 (16:09 +0400)]
apr: use ${HOST_SYS}-libtool

libtool-cross uses ${HOST_SYS}- prefix while building and installing.
In some cases that may be different from ${TARGET_PREFIX}, that is currently
used in apr recipe. It's better to have them consistent.

(From OE-Core rev: 61cedb87446a27ddaaa880a5f3296399def441df)

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpam: add flex-native to DEPENDS
Andrew Gabbasov [Wed, 28 Sep 2011 12:10:30 +0000 (16:10 +0400)]
libpam: add flex-native to DEPENDS

flex-native is required for building libpam. Although this dependency
is now fulfilled indirectly through bison recipe, having an explicit one
would be preferable.

(From OE-Core rev: 14018608277fe62e2a662711ff6177c93e9bc153)

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocmake.bbclass: adding extendable extra variable to root path
Andrew Gabbasov [Wed, 28 Sep 2011 12:10:12 +0000 (16:10 +0400)]
cmake.bbclass: adding extendable extra variable to root path

Introducing a hook variable for various .conf files to add
extra path elements to cmake. For example, it can be used
in external toolchain conf file to add ${TOOLCHAIN_PATH}
to cmake root path search.

(From OE-Core rev: 23be60dad6a705f151520e3eda2da5e02230f5fd)

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/oe-setup-rpmrepo: use setup_tmpdir from runqemu
Paul Eggleton [Wed, 28 Sep 2011 15:28:26 +0000 (16:28 +0100)]
scripts/oe-setup-rpmrepo: use setup_tmpdir from runqemu

Update the internal copy of setup_tmpdir in the oe-setup-rpmrepo script
to be the same as the one in the runqemu script.

(From OE-Core rev: 4a23c4dd5ab31d9642e5e49569d5c7ab77e97adf)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts: use OE_TMPDIR instead of TMPDIR external variable
Paul Eggleton [Wed, 28 Sep 2011 15:28:25 +0000 (16:28 +0100)]
scripts: use OE_TMPDIR instead of TMPDIR external variable

On OpenSUSE within an X session, TMPDIR is set to the system temporary
directory (/tmp) which is incorrect for these scripts. Thus, change
runqemu and oe-setup-rpmrepo to use OE_TMPDIR from the external
environment rather than TMPDIR.

Fixes [YOCTO #1530]

(From OE-Core rev: 4e24c10952c7a52af7f2447595fd484692d35534)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotune-cortexa9.inc: add tunefile for cortexa9 socs
Henning Heinold [Sun, 25 Sep 2011 19:37:45 +0000 (21:37 +0200)]
tune-cortexa9.inc: add tunefile for cortexa9 socs

(From OE-Core rev: 05a46d74ca1a1d9256d454d6ba022a76f287e21c)

Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Fix reversed linker hash style logic
Richard Purdie [Wed, 28 Sep 2011 20:00:41 +0000 (21:00 +0100)]
bitbake.conf: Fix reversed linker hash style logic

The logic in the linker hash patch was reversed, only setting the
linker style in the non-gnu cases.

(From OE-Core rev: 5839702da70cec32f01e58280629f6bcf74d0034)

Signed-off-by: Richard Purdie <richard.purdie@linux-foundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoFixed a typo for setting up OECORE_ACLOCAL_OPTS for adt-installer case
Jessica Zhang [Wed, 28 Sep 2011 20:38:06 +0000 (13:38 -0700)]
Fixed a typo for setting up OECORE_ACLOCAL_OPTS for adt-installer case

(From OE-Core rev: 8ecfa53a3f2e604dd1a0b91c9dd39a488861ab51)

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: remove unshipped files in do_install
Dmitry Eremin-Solenikov [Sat, 17 Sep 2011 22:18:17 +0000 (02:18 +0400)]
kernel.bbclass: remove unshipped files in do_install

Drop two unsed files (modules.order and modules.builtin) in do_install
to stop the "unshipped files" warning.

(From OE-Core rev: 73a1101044465d74bb5bb1a449f757d5c50ff67e)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: handle .cis firmware
Dmitry Eremin-Solenikov [Sat, 17 Sep 2011 22:18:16 +0000 (02:18 +0400)]
kernel.bbclass: handle .cis firmware

.cis firmware files are used by kernel to patch incorrect CIS fir PCMCIA
cards. Create respective packages.

(From OE-Core rev: 843093658c528d7e5297dd5fb7c90e1a64540ba5)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: blacklist 'perf-dbg' as well for the modules metapackage
Dmitry Eremin-Solenikov [Sat, 17 Sep 2011 22:18:13 +0000 (02:18 +0400)]
kernel.bbclass: blacklist 'perf-dbg' as well for the modules metapackage

(From OE-Core rev: 98c38d942376c0cf0b90f6fa077c22544039bf02)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotables: remove it as obsolete recipe
Zhai Edwin [Wed, 28 Sep 2011 01:15:15 +0000 (09:15 +0800)]
tables: remove it as obsolete recipe

tables depends on obsolete gnome-vfs, and is not maintained in clutter git repo

(From OE-Core rev: e0908b7b080c0d861a1b3ccb2185b9281b10fa1a)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgsf: remove dependence on gnome-vfs
Zhai Edwin [Wed, 28 Sep 2011 01:13:35 +0000 (09:13 +0800)]
libgsf: remove dependence on gnome-vfs

(From OE-Core rev: ae5f454d5975466d75fac29efc5a44773d56f660)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agooprofileui: remove dependence on gnome-vfs
Zhai Edwin [Wed, 28 Sep 2011 01:12:04 +0000 (09:12 +0800)]
oprofileui: remove dependence on gnome-vfs

(From OE-Core rev: 3175191a5d489234f3d1019595b5813dcf5b30a2)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibc-package.bbclass: add MLPREFIX when set values to PACKAGES
Dongxiao Xu [Wed, 28 Sep 2011 06:16:45 +0000 (14:16 +0800)]
libc-package.bbclass: add MLPREFIX when set values to PACKAGES

There are some places that PACKAGES are dynamically set. To support
multilib, we need to add MLPREFIX before the package name in those
settings.

(From OE-Core rev: 693a4c31c9c071e5af21570107698ec79f709246)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm: combine normal and multilib solution manifest together
Dongxiao Xu [Wed, 28 Sep 2011 02:24:13 +0000 (10:24 +0800)]
package_rpm: combine normal and multilib solution manifest together

When RPM does the real install, if the first manifest file is empty, the
installation will stop without handling the second manifest file.

Merge the two manifest files together to fix this issue.

(From OE-Core rev: e0ffab2321b22b40333a0e857d42c16ae599cc0c)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomultilib: remove the multilib handling to allarch
Dongxiao Xu [Tue, 27 Sep 2011 11:08:47 +0000 (19:08 +0800)]
multilib: remove the multilib handling to allarch

currently we have allarch type of recipes, which may still have
architecture dependency, like x11-common. So we need to drop the
handling to allarch in multilib case.

Also remove the PV postfix in python-pygobject DEPENDS, since multilib
code will treat a native package multilib capable.

[YOCTO #1497]
[YOCTO #1498]

(From OE-Core rev: 64c0279e6b0d2325a326058476228360898550f3)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomultilib.bbclass: map RDEPENDS and LINGUAS_INSTALL for image recipes
Dongxiao Xu [Tue, 27 Sep 2011 07:28:02 +0000 (15:28 +0800)]
multilib.bbclass: map RDEPENDS and LINGUAS_INSTALL for image recipes

RDEPENDS of image type recipe needs to be mapped to make sure that the
packages included in the image should be multilib version.

Also add LINGUAS_INSTALL into MULTILIB_PACKAGE_INSTALL list.

[YOCTO #1496]
[YOCTO #1527]

(From OE-Core rev: 93984bb1c9440294a694986831d7a4114c55a282)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_tracking: Update Manual Upgrade Checks
Saul Wold [Wed, 28 Sep 2011 06:53:19 +0000 (23:53 -0700)]
distro_tracking: Update Manual Upgrade Checks

(From OE-Core rev: c91fb898039ac5ee0101fd652704d32ea9a5e75d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoghostscript: disable check for time.h
Joshua Lock [Tue, 27 Sep 2011 19:53:34 +0000 (12:53 -0700)]
ghostscript: disable check for time.h

ghostscript has it's own hacky check for time.h which hard-codes paths, this
means in the native case it fails on systems such as Ubuntu 11.10 where the
location of time.h has changed. Further it means the target build has had a
host-intrusion issue.

This patch disables the check for time.h, future releases of ghostscript
use standard autotools checks for time.h's location.

(From OE-Core rev: 737daaf83b3c2b4382dc518fda8c2d38085bb1bb)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm: fix QA Warning on installed but not shipped staticdev filesw
Saul Wold [Tue, 27 Sep 2011 20:19:14 +0000 (13:19 -0700)]
rpm: fix QA Warning on installed but not shipped staticdev filesw

(From OE-Core rev: 62ce8f96626e061e03ca49896716bbb133721ee0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agozypper & sat-solver: needs RDEPENDS on rpm-lib
Saul Wold [Tue, 27 Sep 2011 20:14:16 +0000 (13:14 -0700)]
zypper & sat-solver: needs RDEPENDS on rpm-lib

(From OE-Core rev: 8fd05f0515c2bc8dc87cad9008f808639561f4a5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm: ensure that magic file is relocatable
Saul Wold [Tue, 27 Sep 2011 20:13:43 +0000 (13:13 -0700)]
rpm: ensure that magic file is relocatable

rpm-native was reading from /usr/share/misc/magic which is wrong
it needs to be set to read from the sysroot.  This also adds wrappers
to the rpm-build tools to ensure they know were to find the macros that
point to the right directories.

Fixes [YOCTO #1532]

(From OE-Core rev: e94d1e7ac1b7952690c37554e618f84b84e561a0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: Add recipes for 2.14
Khem Raj [Fri, 16 Sep 2011 01:33:12 +0000 (18:33 -0700)]
eglibc: Add recipes for 2.14

Backport Fedora patch to enable sunrpc as it was in 2.13
Fix cross-localedef-native to be able to build from eglibc 2.14 branch

Tested builds/boot of angstrom/console-image on qemu for arm,mips,ppc,i386,x86_64

(From OE-Core rev: bee3699510a31158f9e2095fe8b6e4cb75ed3651)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-4.6: Use --with-linker-hash-style configure option
Khem Raj [Tue, 16 Aug 2011 22:20:15 +0000 (15:20 -0700)]
gcc-4.6: Use --with-linker-hash-style configure option

Depending upon what hash style is in use this uses
the right flag for setting the hash style type. This
fixes the QA errors about missing GNU hash style reported
in gcc-runtime build particularly libgcc

(From OE-Core rev: f8edd9b872bcf14da037bd0b501ccc8c6fcc79bf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconf,recipes: Add new variable LINKER_HASH_STYLE
Khem Raj [Tue, 16 Aug 2011 22:17:33 +0000 (15:17 -0700)]
conf,recipes: Add new variable LINKER_HASH_STYLE

LINKER_HASH_STYLE in OE is set to either 'sysv' or 'gnu'
depending upon processor architecture e.g. mips does not support
gnu hash style so is uses sysv

besides 'sysv' and 'gnu' third option is to set it to 'both' we do
not do that by default but user can still set it

(From OE-Core rev: 17322dba8434e592d3922496f89f8d1d5598247e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4-embedded: move qte.sh profile script into own package
Simon Busch [Sun, 25 Sep 2011 12:57:44 +0000 (14:57 +0200)]
qt4-embedded: move qte.sh profile script into own package

We don't want to pull the whole qt suite in our images when only installing a tiny setup
which needs the profile script for several configuration issues. This moves the qte.sh
profile script into a qt4-embedded-conf package which is automatically installed when an
image depends on qt4-embedded.

(From OE-Core rev: bed68b561056e0f454c0bf527997f82b63122773)

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa: qt4: fix postprocessing of pkg-config files
Simon Busch [Sun, 25 Sep 2011 12:57:43 +0000 (14:57 +0200)]
meta: qt4: fix postprocessing of pkg-config files

When building qt4-embedded the generated and cleaned pkg-config files for qt are wrong.
The Cflags variable contains something like ${includedir}/qtopia/QtCore where
${includedir} is already /usr/include/qtopia/QtCore.

This patch reverts the fix up of the Cflags variable implemented in do_install.

(From OE-Core rev: b40b9c024be5e1ec81a31961158b3e6b529acfe0)

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo: Fix QA warnings
Richard Purdie [Mon, 26 Sep 2011 20:12:25 +0000 (21:12 +0100)]
pseudo: Fix QA warnings

This fixes two QA warnings:

a) Debug files being contained in the main package (by adding
   an appropriate FILES expression)
b) Stop hardcoding the RPATH in the nativesdk case since our
   path is on the loaders default search path

(From OE-Core rev: 1577975202437f8f89ef24a5e4d3f6c6c8a88c5c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosqlite3: Fix nativesdk packaging/QA warnings
Richard Purdie [Mon, 26 Sep 2011 20:10:45 +0000 (21:10 +0100)]
sqlite3: Fix nativesdk packaging/QA warnings

When building sqlite3-nativesdk, there was a warning about debug files in the
main package. This was due to the order of items in PACKAGES with -dbg after
the main package which breaks an assumption native.bbclass makes. Changing
the order fixes the packaging problem with no change to the normal target
packaging.

(From OE-Core rev: 4f5fdc4dc14d287d301069024ddec9cb65d68f7f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrub: Fix insane/QA architecture warning
Richard Purdie [Mon, 26 Sep 2011 20:11:29 +0000 (21:11 +0100)]
grub: Fix insane/QA architecture warning

There is QA warning about this package for an architecture mismatch but
this is inappropriate in this case since the bootloader needs 32 and 64
bit code. We therefore flag the QA check to be skipped.

(From OE-Core rev: 43723e19eb5a6119c7546dc812428e792999a928)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Fix two QA issues
Richard Purdie [Mon, 26 Sep 2011 20:13:21 +0000 (21:13 +0100)]
gcc: Fix two QA issues

a) There is a QA warning from a .so being present in a main package.
   In the case of the plugin library for gcc, this is allowed.
b) Remove the unwanted libiberty.a file with the strange path. We
   don't need/want this and this removes an unpackaged file warning.

(From OE-Core rev: ca36a3edf9cede9fa0d73ba1a9538ab467cb5e3c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/meta: eg20t and live boot config changes
Bruce Ashfield [Mon, 26 Sep 2011 15:55:56 +0000 (11:55 -0400)]
linux-yocto/meta: eg20t and live boot config changes

Merging the following configuration changes:

 67a46a6 meta/common-pc-64: enable live booting for common-pc-64
 1010905 meta/common-pc: enable live booting for common-pc
 b3c5fa7 meta/atom-pc: enable live booting for atom-pc
 41c090e meta: update boot live config and move it to cfg/
 d51b0e7 eg20t: update config options

The first 4 make the live-boot configuration shared and then reuse
them for the boards that currently are live bootable. The eg20t
is a cleanup of obselete kernel options and is part of the cleanup
of options for the 3.0 kernel.

[YOCTO: #940]
[YOCTO: #686]

(From OE-Core rev: da496bb570d05d0906a7310697bdd636c254540c)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoavahi: fix avahi-systemd dependencies
Koen Kooi [Thu, 22 Sep 2011 06:31:18 +0000 (08:31 +0200)]
avahi: fix avahi-systemd dependencies

During the avahi-ui split the RDEPENDS line got dropped leading to: http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/testlab/commit/?h=yocto&id=ae0db0eb51bde42f09b9513842c3b745c37c60d5

(From OE-Core rev: b447c07168405b748d4db0641468590c10a7ad52)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoblktrace: update to version 1.0.3
Tom Zanussi [Mon, 19 Sep 2011 03:35:12 +0000 (22:35 -0500)]
blktrace: update to version 1.0.3

This also removes dso_linking_change_build_fix.patch since the same
change has been made upstream.

Also removes unused SRC_URI checksums.

(From OE-Core rev: 776942858cad072facc9b5fea618ee88ff56a3a8)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosysprof: update to version 1.1.8
Tom Zanussi [Mon, 19 Sep 2011 03:35:17 +0000 (22:35 -0500)]
sysprof: update to version 1.1.8

Also removes unused SCR_URI checksums.

(From OE-Core rev: 78d4a8d095faa3915e0a53ee2fb4afe6429928c2)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibffi: really populate -dev package
Dmitry Eremin-Solenikov [Fri, 23 Sep 2011 19:46:41 +0000 (23:46 +0400)]
libffi: really populate -dev package

As per gcc PR 11147, libffi installs headers into a target dependent
place (/usr/lib/....). Include a rule to include those files into
libffi-dev package.

Reference: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11147

(From OE-Core rev: 684a4b517d13884c315688967fadd5e6a4845b71)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogconf-dbus: packaging fixup
Dmitry Eremin-Solenikov [Fri, 23 Sep 2011 19:46:40 +0000 (23:46 +0400)]
gconf-dbus: packaging fixup

Behave more like plain gconf: include a dtd and .la files into -dev
package.

(From OE-Core rev: 9e962c1b4c8e5a3352f5e2b7dc162aeac1335b3a)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: include libgcov.a into libgcc-dev package
lumag [Fri, 23 Sep 2011 19:46:39 +0000 (23:46 +0400)]
gcc: include libgcov.a into libgcc-dev package

First, this lib is usefull for coverage analysis-enabled building.
Second, this fixes the warning about unpackaged files in libgcc recipe.

(From OE-Core rev: 2a807a98d8be3f486e703321773db32657c71d9e)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: fix possible problems with nscd compilation during eglibc-nativesdk build
Dmitry Eremin-Solenikov [Fri, 23 Sep 2011 19:46:38 +0000 (23:46 +0400)]
gcc: fix possible problems with nscd compilation during eglibc-nativesdk build

Long time ago a066e7ca90a28d5681c5fa895a29e999ed7c88b was committed to
address possible problems with compilation of nscd during
eglibc-nativesdk build. Problems were related to the way gcc searches
for headers to check if it should enable it's own stack smash protection
bits or it can relay on eglibc for it.

However after 934d38530c9a67562e53d4034aee5531f0f26750 things got
broken, as for gcc-crosssdk-intermediate packages:
1) EXTRA_OECONF is ignored
2) headers are installed in a different location than expected by that
patch.

This results in eglibc-nativesdk build broken on some systems (e.g. mine
Debian x86_64 squeeze). Fix that by providing with-headers options to
crosssdk-intermediate gcc configuration.

(From OE-Core rev: 63494d638b7a9b88a5b7d7a02d2afcb3aa0fa064)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoicecc-create-env-native: provide the script right in the tree
Dmitry Eremin-Solenikov [Fri, 23 Sep 2011 19:46:37 +0000 (23:46 +0400)]
icecc-create-env-native: provide the script right in the tree

There is no point in downloading a tarball with no clear upstream (other than
icecc itself) and then patching it. Rather put new script in the source tree.

(From OE-Core rev: 409fa8ca4d37ad407faaa2a8935e9d2bb89776c9)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: change ccache path to use MULTIMACH_HOST_SYS
Dmitry Eremin-Solenikov [Fri, 23 Sep 2011 19:46:33 +0000 (23:46 +0400)]
bitbake.conf: change ccache path to use MULTIMACH_HOST_SYS

Currently if I build packages for several targets (e.g. for armv5te tosa
and for armv7a beagleboard) oe will use single ccache dir for both of
those targets: build/ccache/arm-oe-linux-gnueabi. However those targets
use different opcodes, different features and binaries created for one
of those targets wont't run on the lower one. So use MULTIMACH_HOST_SYS
for ccache dir, so that it uses something like
build/ccache/armv5te-oe-linux-gnueabi dir.

(From OE-Core rev: 982373006a98cf2303514badd1cfb692108408c0)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognome-doc-utils: Prepend PKG_CONFIG_SYSROOT_DIR to the path returned from PKG_CONFIG
Khem Raj [Sat, 24 Sep 2011 05:54:25 +0000 (22:54 -0700)]
gnome-doc-utils: Prepend PKG_CONFIG_SYSROOT_DIR to the path returned from PKG_CONFIG

If we build say gnome based image on a build system which does not have
gnome e.g. kubuntu then packages like gedit do not build since it uses
gnome files from host system which are non existent on kubuntu

(From OE-Core rev: 7b18b3c96634e40abf690a7ec72562389b0e6c23)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibtool: Fix an issue where unnecessary rpaths were being injected
Richard Purdie [Fri, 23 Sep 2011 08:00:36 +0000 (09:00 +0100)]
libtool: Fix an issue where unnecessary rpaths were being injected

libtool was being to aggressive in adding rpath to binaries. This
change stops it adding them if that path the default search path.

(From OE-Core rev: 99d1e3ee56c326b3ab68913e68d133a63f334696)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate: No need to spew out a debug message per file, summarise instead
Richard Purdie [Fri, 23 Sep 2011 17:44:34 +0000 (18:44 +0100)]
sstate: No need to spew out a debug message per file, summarise instead

(From OE-Core rev: c7b02c6e80819e30a0818282ab8d960243a2d0e8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase.bbclass: Drop legacy code that is no longer useful/used
Richard Purdie [Fri, 23 Sep 2011 14:02:58 +0000 (15:02 +0100)]
base.bbclass: Drop legacy code that is no longer useful/used

The code displaying console events has been handled by the bitbake
UI since 1.8 so the legacy code path can be removed. If a log event
is wanted, there are much better (and more complete) ways to do this
so remove the EVENTLOG code too.

(From OE-Core rev: aa60484384385a8b0f07e8062d58056a3670e399)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautotools.bbclass: Set the dynamic linker search path for libtool correctly
Richard Purdie [Fri, 23 Sep 2011 07:57:31 +0000 (08:57 +0100)]
autotools.bbclass: Set the dynamic linker search path for libtool correctly

libtool obtains the search path from /etc/ld.so.conf and hardcodes /usr/lib
and /lib. This results in host contamination and variable sets of RPATH
values ending up in binaries.

By exporting the correct values for all autotools recipes we avoid this.

(From OE-Core rev: 93e595d5c89ebacdb8d1e6fcfe6f58fe2d30de28)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomatchbox: Upgrade SRCREV to reflect recent accpeted patches by upstream
Zhai Edwin [Mon, 26 Sep 2011 11:55:47 +0000 (19:55 +0800)]
matchbox: Upgrade SRCREV to reflect recent accpeted patches by upstream

(From OE-Core rev: 33a1a05ef988c69f8ff8e38c6723922082e5d1aa)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcp-wrappers: Bump PR to make meta-oe merge
Khem Raj [Mon, 26 Sep 2011 16:01:54 +0000 (09:01 -0700)]
tcp-wrappers: Bump PR to make meta-oe merge

meta-oe has a version of tcp-wrappers 7.6 recipe
which has virtually no differences with the one from
oe-core. So with this patch we can remove the recipe
from meta-oe

(From OE-Core rev: 7c503d056d15e376243928ffb815296e9c711658)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoneon: Add libproxy to DEPENDS to ensure determinstic builds
Richard Purdie [Sun, 25 Sep 2011 14:54:55 +0000 (15:54 +0100)]
neon: Add libproxy to DEPENDS to ensure determinstic builds

(From OE-Core rev: ed2a606909b9490ac57a3ad3db7a15e83a8664f9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibsndfile1: Disable external codec librbaries since we don't list in DEPENDS
Richard Purdie [Sun, 25 Sep 2011 14:54:02 +0000 (15:54 +0100)]
libsndfile1: Disable external codec librbaries since we don't list in DEPENDS

(From OE-Core rev: 34a14ce3ea78be299175e1a803f92519aa02355b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocairo: Disable bfd symbol loopup since we don't list it in DEPENDS
Richard Purdie [Sun, 25 Sep 2011 14:42:00 +0000 (15:42 +0100)]
cairo: Disable bfd symbol loopup since we don't list it in DEPENDS

(From OE-Core rev: ac8b7e275a8789b6605ef84a3b128aea2518b596)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk+: Explicitly disable xinerama since we don't have it as a DEPENDS
Richard Purdie [Sun, 25 Sep 2011 14:40:41 +0000 (15:40 +0100)]
gtk+: Explicitly disable xinerama since we don't have it as a DEPENDS

(From OE-Core rev: dbc25ca76d482f30186562fc51f5b3bdf48c0a7b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognome-desktop: Ensure we're deterministic about startup-notification dependency
Richard Purdie [Sun, 25 Sep 2011 14:32:59 +0000 (15:32 +0100)]
gnome-desktop: Ensure we're deterministic about startup-notification dependency

Without this change we may or may not include startup-notification support.

We therefore explictly include it in the dependency list.

(From OE-Core rev: 8ad24306d8bc9c2fd73f4b814eb1a64c04707da5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/lib/bb/msg.py: fix setting debug and verbosity levels
Paul Eggleton [Fri, 23 Sep 2011 16:05:00 +0000 (17:05 +0100)]
bitbake/lib/bb/msg.py: fix setting debug and verbosity levels

The debug and verbosity levels (as set by the -D and -v command line
options respectively)  were not being passed through within msg.py since
bitbake revision 45aad2f9647df14bcfa5e755b57e1ddab377939a due to
incorrect variable names.

Fixes [YOCTO #1513].

(Bitbake rev: c6e88b7c0e61f9586a275df53f48b90687c5f92f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agohob: store recipe path at load time
Joshua Lock [Fri, 23 Sep 2011 23:32:52 +0000 (16:32 -0700)]
hob: store recipe path at load time

This fixes the internal dirtiness tracking such that if the Save menu item
is selected after loading a recipe the existing file is updated rather than
the user being prompted for the path to create a recipe at.

(Bitbake rev: 00fc1d7249b5e217cc7c36ac71b63ddad1c5b769)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agohob: fix building with current selections after reparse
Joshua Lock [Fri, 23 Sep 2011 20:19:16 +0000 (13:19 -0700)]
hob: fix building with current selections after reparse

After the reparse we were setting the model to reflect the values before
the reparse was triggered but clearing the internal variables used to test
whether these values are set, leading to the UI erroneously reporting that
selections had not been made.

(Bitbake rev: 656eafe0f2c9ec7730d33e15705b8c720f787c49)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/hobeventhandler: fix variable name typo
Joshua Lock [Fri, 23 Sep 2011 20:14:02 +0000 (13:14 -0700)]
ui/crumbs/hobeventhandler: fix variable name typo

(Bitbake rev: f7d0560307707fe10bf80820f1e6ae300864f915)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/hobeventhandler: move remaining getVariable calls to init
Joshua Lock [Fri, 23 Sep 2011 20:13:17 +0000 (13:13 -0700)]
ui/crumbs/hobeventhandler: move remaining getVariable calls to init

Instead of calling getVariable commands each time the BBPATH and BBFILES
entries need testing cache the results as a member variable at object
instantiation.

Fixes [YOCTO #1521]

(Bitbake rev: 109e1597671dfb7222672e268190aabc727960ca)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoattr/acl: add SSTATEPOSTINSTFUNC
Saul Wold [Sat, 24 Sep 2011 18:56:47 +0000 (11:56 -0700)]
attr/acl: add SSTATEPOSTINSTFUNC

Added a native sstate post install function to fix the links
created between /lib and /usr/lib for the library files. These
links could point to an invalid build area when using shared state.

(From OE-Core rev: 8ab7b681cdb43c6c21c187b8cd01faa39727824a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_rpm: add pkgconfig(pkg-config) to the list
Richard Purdie [Fri, 23 Sep 2011 18:55:43 +0000 (19:55 +0100)]
populate_sdk_rpm: add pkgconfig(pkg-config) to the list

(From OE-Core rev: 368b150416688654e35229a63b87177b52e83d02)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_rpm: add items to the INSTALL_PROVIDESNAME_RPM list
Saul Wold [Thu, 22 Sep 2011 19:51:21 +0000 (19:51 +0000)]
populate_sdk_rpm: add items to the INSTALL_PROVIDESNAME_RPM list

This fixes a problem when building meta-toolchain-gmae, by adding items that
will be provided by the host system, such as /bin/bash, /usr/bin/env and
libGL.so

(From OE-Core rev: 01361f9d25b0a0027bbbe713b93051a4663b14fc)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
RP: libGL.so() -> libGL.so
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agointltool: add libxml-parser-perl-native dependency to -native version
Darren Hart [Thu, 22 Sep 2011 21:14:09 +0000 (14:14 -0700)]
intltool: add libxml-parser-perl-native dependency to -native version

Fixes [YOCTO #1514]

Without a native dependency on libxml-parser-perl-native,
shared-mime-info-native can fail its do_configure task.

checking for XML::Parser... configure: error: XML::Parser perl module is
required for intltool

Testing: Successfully built shared-mime-info and shared-mime-info-native for
qemuppc.

(From OE-Core rev: 51b1df89828e677232e125181209b26d3c5ec928)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Joshua Lock <josh@linux.intel.com>
CC: Richard Purdie <richard.purdie@linuxfoundation.org>
CC: Koen Kooi <koen@dominion.thruhere.net>
CC: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomultilib.bbclass: Partially fix multlib image targets
Richard Purdie [Thu, 22 Sep 2011 21:15:58 +0000 (22:15 +0100)]
multilib.bbclass: Partially fix multlib image targets

This patch partially fixes problems when building multilib extended
images such as libXX-core-image-minimal. Its not a perfect/complete
solution but works much better than any previous code did.

[YOCTO #1496] (partial)
[YOCTO #1497] (partial)
[YOCTO #1498] (partial)

(From OE-Core rev: 00c38774ef0232cc2be924ed8e59220e7c452096)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu-config: use pkg_postinst to generate the proper shutdown.desktop
Dexuan Cui [Thu, 22 Sep 2011 08:38:35 +0000 (16:38 +0800)]
qemu-config: use pkg_postinst to generate the proper shutdown.desktop

[YOCTO #1507]

We need to remove the file qemuarm/shutdown.desktop, or else, on qemuarm,
due to the PACKAGE_ARCH overriding from all to qemuarm in base.bbclass,
the generated deb file will be stored at
tmp/deploy/deb/qemuarm/qemu-config_1.0-r21_allarch.deb rather than
tmp/deploy/deb/all/qemu-config_1.0-r21_all.deb, and the package qemu-config
won't be installable -- task-base finally rdepends on qemu-config, so we get
the do_rootfs failure:

The following packages have unmet dependencies:
|   task-base-extended: Depends: task-base but it is not going to be installed
| E: Broken packages

There is also a generic shutdown.desktop, we can keep it and use a proper
pkg_postinst to cope with the case of qemuarm.

(From OE-Core rev: 751212d5effdceab91d95705e647cf07e6820940)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobluez4: split gstreamer plugin into a seperate recipe
Koen Kooi [Thu, 22 Sep 2011 06:42:13 +0000 (08:42 +0200)]
bluez4: split gstreamer plugin into a seperate recipe

This eliminates a good chunk of buildtime when building console-only image.

The bluez4 and this recipe share a .inc file since the source is the same.

(From OE-Core rev: 5eaed4bba35e8188855acb93344adf48201748a2)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodiffstat: Add missing file from previous commit
Richard Purdie [Thu, 22 Sep 2011 20:27:56 +0000 (21:27 +0100)]
diffstat: Add missing file from previous commit

(From OE-Core rev: 6f4e6d6d41f874844b186b9e5b63a1b851becb52)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodiffstat: Fix a build failure when using libdir=/usr/lib64
Richard Purdie [Thu, 22 Sep 2011 20:08:50 +0000 (21:08 +0100)]
diffstat: Fix a build failure when using libdir=/usr/lib64

(From OE-Core rev: 9a846d83a39339de6d7cc0da050a50d7f4e093c7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognome-desktop: Fix python path in scripts to use target path
Saul Wold [Thu, 22 Sep 2011 19:05:33 +0000 (12:05 -0700)]
gnome-desktop: Fix python path in scripts to use target path

(From OE-Core rev: 22fd67f854f70f79ea94af11c61ef63939d54ac2)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofoomatic-filters: Disable filter checking
Mark Hatle [Thu, 22 Sep 2011 17:12:10 +0000 (12:12 -0500)]
foomatic-filters: Disable filter checking

Disable a few checks, and hard code the values for a few other items
to work around potential host contamination issues.  We also default
to the cups configuration for items.

(From OE-Core rev: ef7ad7a7c6b5f5a6c9d0d9e35e07b5a0dabe5be9)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocups: Fix recipe to use the correct cups directories
Mark Hatle [Thu, 22 Sep 2011 17:12:09 +0000 (12:12 -0500)]
cups: Fix recipe to use the correct cups directories

${libdir} is not used, instead they use a common ${exec_prefix}/lib
directory structure for helpers, filters, renderers, etc.

(From OE-Core rev: 24ae432b1a3906956381d83c1984687e45c5a1d1)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc-2.12: Fix build on powerpc/603e
Khem Raj [Thu, 22 Sep 2011 15:57:26 +0000 (08:57 -0700)]
eglibc-2.12: Fix build on powerpc/603e

We pass --with-cpu to eglibc now. Which breaks
the configure for cpus that it does not support
We add support for ppc603e which gets 2.12
building for qemuppc.

(From OE-Core rev: 465a988e2370ec377875b599045f2a7bad913ac6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoRevert "eglibc: fix packaging of some of nativesdk packages"
Richard Purdie [Thu, 22 Sep 2011 19:50:35 +0000 (20:50 +0100)]
Revert "eglibc: fix packaging of some of nativesdk packages"

This reverts commit 974cdb88680359aac5aefd11b84c4a374ab3a753.

See the mailing list for details, this broke things for too
many people such as where PKGSUFFIX is used in PREFERRED_PROVIDER.

odified:   meta/recipes-core/eglibc/eglibc-locale.inc

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib-2.0: Drop old 2.27.5 development version
Richard Purdie [Thu, 22 Sep 2011 06:49:39 +0000 (07:49 +0100)]
glib-2.0: Drop old 2.27.5 development version

(From OE-Core rev: 468e4a2f0e63e9d33e88b98a7d075b186ef481b2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemugl: Use local variable rather than "push" to save register
Zhai Edwin [Thu, 22 Sep 2011 05:51:24 +0000 (13:51 +0800)]
qemugl: Use local variable rather than "push" to save register

New gcc uses "%esp" rather than "%ebp" to index local variable in stack, and
push between save-to/restore-from stack decrease "%esp", which leads wrong
index. Saving registers via local variables to make gcc aware of this and avoid
stack disorder.

[YOCTO #1442] got fixed

(From OE-Core rev: afc9edc27e77e80fdd24b4c8c538f91672940e75)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: fix packaging of some of nativesdk packages
Dmitry Eremin-Solenikov [Wed, 21 Sep 2011 18:39:58 +0000 (22:39 +0400)]
eglibc: fix packaging of some of nativesdk packages

eglibc.inc contains packaging rules that depend on PKGSUFFIX expansion.
However that variable wasn't expanded properly in some case. E.g.

PACKAGES = " ... nscd${PKGSUFFIX} ..."
FILES_nscd${PKGSUFFIX} = "${sbindir}/nscd*"

would be expanded to

PACKAGES = " ... nscd-nativesdk ..."
FILES_nscd = "${sbindir}/nscd*"

Thus leading to empty -nativesdk packages and missing files. To overcome
that use python code blob to properly define PKGSUFFIX variable.

(From OE-Core rev: 974cdb88680359aac5aefd11b84c4a374ab3a753)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: include plugin-related headers into packaged SDK
Dmitry Eremin-Solenikov [Wed, 21 Sep 2011 18:40:02 +0000 (22:40 +0400)]
gcc: include plugin-related headers into packaged SDK

Include headers necessary to compile gcc plugins into cross-canadian gcc
packages.

(From OE-Core rev: d12aa92b3dac1109d510e7b6f74055d1ab927817)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoe2fsprogs: include devtools scripts
Dmitry Eremin-Solenikov [Wed, 21 Sep 2011 18:40:01 +0000 (22:40 +0400)]
e2fsprogs: include devtools scripts

Some scripts are necessary to develop programs with libcom_err and
libss. Include those into e2fsprogs-dev package.

(From OE-Core rev: 46332c2313abb273f6fc889fac4daa91cf43faa3)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib-2.0: include glib-gettextize stuff
Dmitry Eremin-Solenikov [Wed, 21 Sep 2011 18:39:59 +0000 (22:39 +0400)]
glib-2.0: include glib-gettextize stuff

glib-utils already includes glib-gettextize program. Include some files
necessary for glib-gettextize to work.

(From OE-Core rev: c98356e9c46cd28b7ca8e84fe0ea56dc6d812a8d)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoalsa-lib: Don't use versioned symbols on uclibc builds as it causes strange hangs
Daniel Lazzari [Thu, 22 Sep 2011 00:29:27 +0000 (00:29 +0000)]
alsa-lib: Don't use versioned symbols on uclibc builds as it causes strange hangs

alsa-lib: Don't use versioned symbols on uclibc builds as it causes strange hangs. Taken from oe-classic.

(From OE-Core rev: b354eb957ce08ac7814ce46c13ca3a8449b4063a)

Signed-off-by: Daniel Lazzari Jr <dlazzari@leapfrog.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxml2: reinclude a -staticdev package
Dmitry Eremin-Solenikov [Wed, 21 Sep 2011 18:40:00 +0000 (22:40 +0400)]
libxml2: reinclude a -staticdev package

libxml2 provides a libxml2.a library, which wasn't included in any of
the packages. Usually static libs are included into a -staticdev
package, but this package wasn't generated for libxml2, due to
libxml2.inc redeclaring PACKAGES variable (to include libxml2-utils).
Replace PACKAGES setting with expansion to include all default packages
(and so -staticdev package with libxml2.a).

(From OE-Core rev: 76052861cc95fd4ad4c4b9eb6ce4cd1065ad4dc9)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogettext: shut up unshipped files warning
Dmitry Eremin-Solenikov [Wed, 21 Sep 2011 18:39:57 +0000 (22:39 +0400)]
gettext: shut up unshipped files warning

It seems nobody uses preloadable_libintl.so in OE world. It's not
included in any package. To stop oe-core from emiting a unshipped files
warning, remove that file in the end of do_install.

(From OE-Core rev: 9d33b6973438f514f1ca609c3a936b45af921e2f)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopolkit: fixup packaging
Dmitry Eremin-Solenikov [Wed, 21 Sep 2011 18:39:55 +0000 (22:39 +0400)]
polkit: fixup packaging

1) Drop static versions of extensions, as there is no point in them
2) For completeness include .la files for extensions into polkit-dev

(From OE-Core rev: e1a9f9e7f823330ab5140735b80988541e86e2d4)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk+: packaging fixups
Dmitry Eremin-Solenikov [Wed, 21 Sep 2011 18:39:54 +0000 (22:39 +0400)]
gtk+: packaging fixups

1) Package gail modules into libgail package. .la files go into main
gtk+-dev package, debug symbols to gtk+-dbg.

2) For completeness add printerbackends .la files to gtk+-dev

(From OE-Core rev: a797c4ff1246566b545dc6cab2713a04f24fea6e)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgpg-error: drop common-lisp files
Dmitry Eremin-Solenikov [Wed, 21 Sep 2011 18:39:53 +0000 (22:39 +0400)]
libgpg-error: drop common-lisp files

OE doesn't have common-lisp neither in oe-core, nor in org.oe.dev. Stop
this package from installing clisp-related files.

(From OE-Core rev: 894254c18fe19b6321c790d9a5d93b24868ba6f2)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoavahi: include dbus interfaces definitions into daemon package
Dmitry Eremin-Solenikov [Wed, 21 Sep 2011 18:39:51 +0000 (22:39 +0400)]
avahi: include dbus interfaces definitions into daemon package

(From OE-Core rev: 8b7cd9a2e3a38fb5ed8207b2a6395855e1482ae3)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane.bbclass: don't warn on .so files in -nativesdk packages
Dmitry Eremin-Solenikov [Wed, 21 Sep 2011 18:39:50 +0000 (22:39 +0400)]
insane.bbclass: don't warn on .so files in -nativesdk packages

There is no point in warning against .so symlinks in -nativesdk
packages. They have to contain such links, so shut up the warning.

(From OE-Core rev: 287d02a731e45ce5d843db1fd4d78ba17e9ed487)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoicecc.bbclass: fix handling of nativesdk and cross-canadian packages
Dmitry Eremin-Solenikov [Wed, 21 Sep 2011 18:39:49 +0000 (22:39 +0400)]
icecc.bbclass: fix handling of nativesdk and cross-canadian packages

icecc.bbclass assumed that nativesdk and cross-canadian packages should
use local icecc version. Instead those packages should use target-like
scheme for toolchain tarball generation.

(From OE-Core rev: 394c7c8cf262efeaafce40dc5eb480a1e041ac50)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoicecc-create-env: rename to -native
Dmitry Eremin-Solenikov [Wed, 21 Sep 2011 18:39:48 +0000 (22:39 +0400)]
icecc-create-env: rename to -native

icecc-create-env(-native) is a native package. But if it doesn't have
the -native suffix, some dependency tracking stuff in oe-core (in
nativesdk.bbclass) get's crazy about it, trying to generate dependencies
to icecc-create-env-native packages. To fix that simply add -native
suffix to this package.

(From OE-Core rev: 83f9ebe9afb8bec4531899f8001a585c974e1db4)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Fix cgi.py runtime issue
Mark Hatle [Thu, 22 Sep 2011 01:55:33 +0000 (20:55 -0500)]
python: Fix cgi.py runtime issue

By default cgi.py attempts to use /usr/local/bin/python as its
interpreter.  However, on my Linux systems, including OE-Core,
python is installed into {bindir}.  Adjust this one file based on
the comment at the top of the upstream file.

This resolves an issue where a runtime dependency discovered during
RPM packaging breaks the rootfs construction.

(From OE-Core rev: 1da01664963b9c6a6df171dcd0fbb1406544035b)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotask-core-lsb: Remove perl-dev
Mark Hatle [Thu, 22 Sep 2011 01:47:05 +0000 (20:47 -0500)]
task-core-lsb: Remove perl-dev

Remove the perl-dev recipe from the required packages.  When this
recipe is included, libc6-dev is automatically added as are a large
number of other -dev packages.  Eventually this creates a system
where the dependencies may not be able to be satisfied.

The perl-dev package should not be required in order to pass the LSB
testing.

(From OE-Core rev: 3f24b0f82458bcf15eabc74b9f370d9e774d0f63)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosudo: Fix PAM dependencies
Mark Hatle [Thu, 22 Sep 2011 01:47:04 +0000 (20:47 -0500)]
sudo: Fix PAM dependencies

When PAM is enabled for the distribution we need to be sure to have a
build dependency of libpam, and runtime dependencies on the pam modules
used by the sudo package.

(From OE-Core rev: 79db5ccc7ee9b360451074dd42f7676e138cf384)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>