scm/bb/tizen-distro.git
13 years agogtk-icon-cache bbclass: don't assing to global RDEPENDS
Koen Kooi [Fri, 5 Aug 2011 17:35:57 +0000 (19:35 +0200)]
gtk-icon-cache bbclass: don't assing to global RDEPENDS

Only the package with the icons needs it

[Squashed laster RDEPENDS fix from koen into commit]
(From OE-Core rev: 34fca51d84d4629d82880aa0f47123db86de256b)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoapr-util: disable pqsql support to avoid configure error
Mei Lei [Fri, 5 Aug 2011 01:52:15 +0000 (09:52 +0800)]
apr-util: disable pqsql support to avoid configure error

The pqsql config script will check host path and add host paths to compiler and linker options:
adding "-I/usr/include/postgresql" to CPPFLAGS
adding "-L/usr/lib" to LDFLAGS

Disable pqsql support since we didn't use this feature in other recipes.

(From OE-Core rev: a0034efba2c5960ef946de318438794acb13f454)

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopython-native: Fix a compiler finding issue
Mei Lei [Thu, 28 Jul 2011 07:20:36 +0000 (15:20 +0800)]
python-native: Fix a compiler finding issue

The CC variable sometimes add option information after compiler name, but python can't get the real compiler name if those information added.
Fix this issue by dropping the option information when finding compiler name.

(From OE-Core rev: 461df79fbb655e4c6894d9a9e9ce52656b96303d)

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogst-plugins: partially sync packaging with OE .dev
Koen Kooi [Thu, 28 Jul 2011 09:44:57 +0000 (11:44 +0200)]
gst-plugins: partially sync packaging with OE .dev

Gst-plugins get 2 extra packages:

${PN}-apps: helper apps in ${bindir}
${PN}-meta: meta package that will drag in all plugins, libs and apps ${PN} generates

And all libs are split out and run through debian style renaming if enabled.

The packaging include was split out to be reused by external plugins (e.g. gst-plugin-gl, gst-fluendo-*).

The new package list looks like:

libgstapp-0.10-0_0.10.32-r1_armv7a.ipk
libgstfft-0.10-0_0.10.32-r1_armv7a.ipk
[..]
gst-plugins-base-videorate_0.10.32-r1_armv7a.ipk
gst-plugins-base-videoscale_0.10.32-r1_armv7a.ipk
[..]
gst-plugins-base-meta_0.10.32-r1_armv7a.ipk
[..]
gst-plugins-base-apps_0.10.32-r1_armv7a.ipk

(From OE-Core rev: 4bfd595934c1f6839ae848b09ecca439d92bf014)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc: use ${base_lib} to match gcc default configuration
Kumar Gala [Thu, 4 Aug 2011 18:54:59 +0000 (13:54 -0500)]
gcc: use ${base_lib} to match gcc default configuration

Rather than tweaking MULTILIB_DIRNAMES & MULTILIB_OSDIRNAMES like is
done for x86-64 via 64bithack.patch.  We can just go with gcc defaults
and utilize ${base_lib} for where to find gcc libs.

(From OE-Core rev: cfcc282efef30ea1988ccbe14835254a999584ea)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf/powerpc64: Set baselib to 'lib64' for ppc64
Kumar Gala [Thu, 4 Aug 2011 18:51:26 +0000 (13:51 -0500)]
bitbake.conf/powerpc64: Set baselib to 'lib64' for ppc64

(From OE-Core rev: 7a278238d9b08e0315e92d386282cb488cc0c7b4)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/cooker: mark parsed conf files as potential cache invalidators
Joshua Lock [Thu, 4 Aug 2011 22:40:51 +0000 (15:40 -0700)]
bb/cooker: mark parsed conf files as potential cache invalidators

The include parameter to _parse() tells the parser whether to include the
file in __base_depends, the contents of which have their mtime tested to
invalidate the cache when they have changed.

As I understand it we would want all of the configuration files that are
currently handled with the _parse() method to invalidate the cache to set the
default value of the include parameter to True.

(Bitbake rev: 5cacdc4f1641eda1b5707c96f7c40924a9db6174)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/hob: reset event handler once build complete
Joshua Lock [Thu, 4 Aug 2011 22:38:19 +0000 (15:38 -0700)]
bb/ui/hob: reset event handler once build complete

The HobEventHandler passes events on to RunningBuild when a build is in
progress. This patch resets the HobEventHandler to handle events when the
build is complete.

(Bitbake rev: 3d66d4e64a6352c01662a24ee957eddcd3fde7fc)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotask-core-boot.bb: Add PACKAGE definition to facilitate multilib
Dongxiao Xu [Fri, 5 Aug 2011 05:48:25 +0000 (13:48 +0800)]
task-core-boot.bb: Add PACKAGE definition to facilitate multilib

If there is no PACKAGES defined in bb file, its default definition would
be "${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-staticdev ${PN}-locale".
In multilib case, ${PN} is extended with ${MLPREFIX}, so there is no
rename occurred for the PACKAGES. Therefore for task-core-boot,
RDEPENDS_lib32-task-core-boot will be empty, resulting busybox,
tinylogin, etc. are not bulit out.

This fixed the issue that /bin/sh is not provided while do_rootfs.

(From OE-Core rev: f3d8fd28d779ff841410e5bd22289680f04022a2)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc-locale: Added ${MLPREFIX} for task dependency.
Lianhao Lu [Fri, 5 Aug 2011 03:42:51 +0000 (11:42 +0800)]
eglibc-locale: Added ${MLPREFIX} for task dependency.

[YOCTO #1338] Added ${MLPREFIX} to the task dependency between
eglibc-locale:do_install and the corresponding virtual/libc's
do_populate_sysroot.

(From OE-Core rev: c96bf9197e1e6566ec7a4cd6b92499fb82c9c697)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoghostscript: Fixed the incorrect DEPENDS.
Lianhao Lu [Fri, 5 Aug 2011 03:33:59 +0000 (11:33 +0800)]
ghostscript: Fixed the incorrect DEPENDS.

[YOCTO #1337]
Using ghostscript-native instead of ${PN}-native in DEPENDS to correct
the invalid DEPENDS in multilib cases.

(From OE-Core rev: d8d412ff1beee4c820cc6e7b6124280db920cccd)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoMisc: Corrected the dependency on non-native for -native package.
Lianhao Lu [Fri, 5 Aug 2011 03:28:36 +0000 (11:28 +0800)]
Misc: Corrected the dependency on non-native for -native package.

[YOCTO #1336] Corrected the wrong dependency on non-native for -native
packages for the following recipes:

- util-macros
- intltool

(From OE-Core rev: e33bd6024c5f4cdd5c16d51e9b5c75ec4e1f1fb8)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt4x11.bbclass: Using BPN instead of PN.
Lianhao Lu [Fri, 5 Aug 2011 02:57:55 +0000 (10:57 +0800)]
qt4x11.bbclass: Using BPN instead of PN.

[YOCTO #1335] Using BPN instead of BP to decide the DEPENDS content for
multilib cases.

(From OE-Core rev: 32faad3b901345a31978664fd1743c9a1729c67d)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotcp-wrappers: Using ${PN} in PACKAGES.
Lianhao Lu [Fri, 5 Aug 2011 01:56:42 +0000 (09:56 +0800)]
tcp-wrappers: Using ${PN} in PACKAGES.

[YOCTO #1334]
Using ${PN} instead of tcp-wrappers in PACKAGES and FILES_*, since the
FILES_tcp-wrappers would be overwritten by FILES_${PN} when the variable
name gets expansioned.

(From OE-Core rev: 497c3d0ce55de72d2872968851ea34427214e7a0)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoSRC_URI: Using BPN instaed of PN.
Lianhao Lu [Fri, 5 Aug 2011 01:53:37 +0000 (09:53 +0800)]
SRC_URI: Using BPN instaed of PN.

[YOCTO #1333]
In multilib cases, PN has the prefix of MLPREFIX. It is not correct to
use PN in SRC_URI. We should use the pruned BPN instead.

(From OE-Core rev: ce94fa29b81bebaaee8058f0600e111832d638f2)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogtk-icon-cache: add hicolor-icon-theme to DEPENDS
Koen Kooi [Fri, 5 Aug 2011 14:18:57 +0000 (16:18 +0200)]
gtk-icon-cache: add hicolor-icon-theme to DEPENDS

This fixes do_rootfs breaking because OE didn't resolve the RDEPENDS added with python

(From OE-Core rev: fbb7ecaf9b49d2d7570e6440fe84b4046ec08fd2)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomachine/include/arm/feature-arm-thumb: Allow thumb to be disabled
Richard Purdie [Fri, 5 Aug 2011 16:22:16 +0000 (17:22 +0100)]
machine/include/arm/feature-arm-thumb: Allow thumb to be disabled

The previous commit to this file meant thumb was always being turned on
even when TUNE_FEATURES did not contain "thumb". This is clearly wrong
and this patch corrects this so thumb options are no longer specified
in that case.

(From OE-Core rev: 4b5e8074f8aca59b09421db464ce652e84f898f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel,module-base.bbclass: Improve KERNEL_LD & KERNEL_AR variables
Nitin A Kamble [Tue, 2 Aug 2011 20:44:44 +0000 (13:44 -0700)]
kernel,module-base.bbclass: Improve KERNEL_LD & KERNEL_AR variables

KERNEL_LD was using ${LD} in it's definition, which is not correct for
different ABIs such as x32 or i386 on x86_64 machine. This brings it
into sync with the corresponding gcc settings, likewise the same with
the KERNEL_AR variable.

[RP: Updated commit message]
(From OE-Core rev: 9c525241c564a458db8ecd9ba325edeb13ec1c58)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibzypp: Increase the size of the arch compat table
Mark Hatle [Thu, 4 Aug 2011 16:33:23 +0000 (11:33 -0500)]
libzypp: Increase the size of the arch compat table

Fix [YOCTO #1313]

Increase the size of the arch compat table to 30 entries.

Also cleanup a few things related to Poky -> OE name changing.

(From OE-Core rev: 8899c51127fc9df3a054bd38b0b33082fa372fa2)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Fixed up arm patch

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto_3.0: Fix SRC_URI to use yoctoproject.org
Saul Wold [Fri, 5 Aug 2011 00:16:36 +0000 (17:16 -0700)]
linux-yocto_3.0: Fix SRC_URI to use yoctoproject.org

(From OE-Core rev: f0c821ff4efeca36b196370e33ee4ec71730819b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodpkg: Update to use perlnative
Saul Wold [Fri, 5 Aug 2011 01:07:08 +0000 (18:07 -0700)]
dpkg: Update to use perlnative

[YOCTO #1298]

(From OE-Core rev: 333a3d34da0dc821f4d37921ac8444e2c3f3e1e6)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage-mklibs.bbclass: Utilize ${base_libdir} instead of static /lib
Kumar Gala [Thu, 4 Aug 2011 04:03:23 +0000 (23:03 -0500)]
image-mklibs.bbclass: Utilize ${base_libdir} instead of static /lib

We might redefine ${base_libdir} from being set to just /lib.

(From OE-Core rev: 7615f81f86bb5ccfe52b84b38eb9ae80a852d214)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage-mklibs.bbclass: Add powerpc64 arch support
Kumar Gala [Thu, 4 Aug 2011 04:03:14 +0000 (23:03 -0500)]
image-mklibs.bbclass: Add powerpc64 arch support

powerp64 dynamic loader is 'ld64.so.1'.

(From OE-Core rev: ef6007cf129a6eec71e1cbb1c65efc8bfd3991e0)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-4.6: Add support for the e5500 PowerPC core
Kumar Gala [Thu, 4 Aug 2011 07:57:47 +0000 (02:57 -0500)]
gcc-4.6: Add support for the e5500 PowerPC core

Implements basic e5500 enablement in gcc, with a scheduler, -mcpu
flag, etc...

(From OE-Core rev: b4f6fb7033d3798cae32d42bce5a0f8402ad57c1)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotune/arch-powerpc64: include arch-powerpc.inc to keep things in sync
Kumar Gala [Thu, 4 Aug 2011 07:23:47 +0000 (02:23 -0500)]
tune/arch-powerpc64: include arch-powerpc.inc to keep things in sync

Added a DEFAULTTUNE setting and included arch-powerpc.inc.  This way we
pick up the changes to TUNE_PKGARCH and things should be kept more in
sync going forward.

(From OE-Core rev: 2c9bd779b008be266072f3c6d79430f63ec02241)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoprelink: Add lib64 dirs to prelink.conf
Kumar Gala [Thu, 4 Aug 2011 06:05:38 +0000 (01:05 -0500)]
prelink: Add lib64 dirs to prelink.conf

Handle multlib or cases that baselib is lib64.

(From OE-Core rev: 82db6bda2b60f0a4756f1d604a5dd1369fcc8a19)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibproxy: utilize libdir when configured
Kumar Gala [Thu, 4 Aug 2011 03:55:31 +0000 (22:55 -0500)]
libproxy: utilize libdir when configured

Pass $libdir through when we configure to support a location other
than /lib.

(From OE-Core rev: 720e8b75eaeffa6ac902e29ffd7914a69d93e5fa)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibmusicbrainz: utilize base_libdir when configured
Kumar Gala [Thu, 4 Aug 2011 03:54:05 +0000 (22:54 -0500)]
libmusicbrainz: utilize base_libdir when configured

Pass $libdir through when we configure to support a location
other than /lib.  We also have to tweak the cmake files to allow $libdir
to even be set.

(From OE-Core rev: a91c417aff129623c49549394810e1a018f92011)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocoreutils: Fix build on uclibc
Khem Raj [Wed, 3 Aug 2011 21:12:30 +0000 (14:12 -0700)]
coreutils: Fix build on uclibc

coreutils has getloadavg.m4 of its own. So we need
to make sure that we remove the portions which look
into hardcoded /usr/local/lib paths. These tests are
only for AIX so we dont lose much

(From OE-Core rev: e9a49ebe3a1c83aa022eb07f3ca87b3d71c742f9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoautoconf: Remove code checking for hardcoded /usr/local
Khem Raj [Wed, 3 Aug 2011 21:12:29 +0000 (14:12 -0700)]
autoconf: Remove code checking for hardcoded /usr/local

This code is only relevant for AIX and causes
problems with OE QA sniffer which detects -L/usr/local/lib
on linker commandline during cross compile and rightly barfs

This only happens when getloadavg() is not found in libc
so we do not reach that code with eglibc but only with uclibc

(From OE-Core rev: f235366c8a39679aa5beadf54a5e0ab7ece90d16)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoautoconf: Remove patch=1 from SRC_URI
Khem Raj [Wed, 3 Aug 2011 21:12:28 +0000 (14:12 -0700)]
autoconf: Remove patch=1 from SRC_URI

Edit summary field s/produced/produce/

Fix the license related warning

WARNING: autoconf-native: No generic license file exists for:
GPLv2|GPLv3 at /b/openembedded-core/meta/files/common-licenses
WARNING: autoconf-native: There is also no SPDXLICENSEMAP for this
license type: GPLv2|GPLv3 at
/b/openembedded-core/meta/files/common-licenses

(From OE-Core rev: b4cc493d5666ea82312b03e7ae7efb2d7099974b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobuildstats.bbclass: Adding disk io measurement
Beth Flanagan [Wed, 3 Aug 2011 19:31:08 +0000 (12:31 -0700)]
buildstats.bbclass: Adding disk io measurement

This commit adds disk-io statistics functionality on a build
and per-task basis.

It pulls measurements for whatever partition TMPDIR exists on.
This data could be off if SSTATE_DIR and DL_DIR exist on
a different partition/volume.

Notes on what this pulls:

ReadsComp: Total number of reads complete
ReadsMerged: Total number of adjacent reads merged
SectRead: Total number of sectors read
TimeReads: Total number of m/s spent reading
WritesComp: Total number of writes completed
SectWrite: Total number of sectors written
TimeWrite: Total number of m/s spent writing
IOinProgress: Total amount of IO in progress at the time of
              we look at /proc/diskstats.
TimeIO: Total number of m/s spent doing IO
WTimeIO: Weighted time doing I/O. From iostats.txt:

"This field is incremented at each I/O start, I/O completion, I/O
 merge, or read of these stats by the number of I/Os in progress
 (field 9) times the number of milliseconds spent doing I/O since the
 last update of this field.  This can provide an easy measure of both
 I/O completion time and the backlog that may be accumulating."

(From OE-Core rev: eeebcebf0d695358e72f3aed753f66cddd5e0e61)

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotoolchain-scripts & other classes: add TARGET_LD_ARCH & TARGET_AS_ARCH vars
Nitin A Kamble [Wed, 27 Jul 2011 22:31:28 +0000 (15:31 -0700)]
toolchain-scripts & other classes: add TARGET_LD_ARCH & TARGET_AS_ARCH vars

This is comming from x32 need to pass special parameters to ld & as.

(From OE-Core rev: 96931af89f9cc3056e413cff437a85eca85b3b75)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc: Fix patch merge breakage
Richard Purdie [Thu, 4 Aug 2011 14:41:08 +0000 (15:41 +0100)]
eglibc: Fix patch merge breakage

(From OE-Core rev: 8a731122e7811275f20065ba27645b97fadf362d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/hob: be clear that the image contents are an estimate
Joshua Lock [Thu, 4 Aug 2011 01:12:32 +0000 (18:12 -0700)]
bb/ui/hob: be clear that the image contents are an estimate

Partially addresses [YOCTO #1263]

(Bitbake rev: 5f079f11ca626a4a11ad728c56bde21009ddd7c8)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/hob: only connect to the changed signal of image_combo once
Joshua Lock [Wed, 3 Aug 2011 19:38:41 +0000 (12:38 -0700)]
bb/ui/hob: only connect to the changed signal of image_combo once

(Bitbake rev: bb2609ba00db11b445e0af1921744b725fe96065)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/crumbs/hobeventhandler: use generic loading message once cache loaded
Joshua Lock [Wed, 3 Aug 2011 19:15:42 +0000 (12:15 -0700)]
bb/ui/crumbs/hobeventhandler: use generic loading message once cache loaded

(Bitbake rev: 110d507c69c756657393809f57443b88841ad091)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/hob: prevent label on progress bar from changing rapidly when loading
Joshua Lock [Wed, 3 Aug 2011 19:14:30 +0000 (12:14 -0700)]
bb/ui/hob: prevent label on progress bar from changing rapidly when loading

Fixes [YOCTO #1240]

(Bitbake rev: 2cb561de9b34d0c23939a492c475230f21d87d99)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/crumbs/tasklistmodel: fix regex used for loading image recipes
Joshua Lock [Wed, 3 Aug 2011 18:35:57 +0000 (11:35 -0700)]
bb/ui/crumbs/tasklistmodel: fix regex used for loading image recipes

Fixes [YOCTO #1321]

(Bitbake rev: a0fb6583222f2d981a69f0dae81b40db6caaa0d5)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/hob: fix detection of whether GPLv3 is disabled
Joshua Lock [Wed, 3 Aug 2011 17:39:00 +0000 (10:39 -0700)]
bb/ui/hob: fix detection of whether GPLv3 is disabled

Find returns -1 if the substring isn't found, so checking for the
Truthiness of the return value is insufficient. An INCOMPATIBLE_LICENSE
value which only includes GPLv3 will cause find to return 0, for example.

Fixes [YOCTO #1320]

(Bitbake rev: 28c71e63355ca94402a9049b8a07046e7b460026)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoVarious siteinfo: Drop rp-pppoe variables
Tom Rini [Wed, 27 Jul 2011 18:43:45 +0000 (11:43 -0700)]
Various siteinfo: Drop rp-pppoe variables

These variables were wrong on big-endian machines and this recipe is now
handled in meta-oe (along with the siteinfo files).

(From OE-Core rev: 6129df9588c96ca710c585f5ed400ac551b61055)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agositeinfo: Add posix_getpwuid_r posix_getgrgid_r posix_getpwnam_r to uclibc
Tom Rini [Wed, 27 Jul 2011 18:33:38 +0000 (11:33 -0700)]
siteinfo: Add posix_getpwuid_r posix_getgrgid_r posix_getpwnam_r to uclibc

This comes from oe.dev and while at this, drop from powerpc-linux as the
common-libc files set them.

(From OE-Core rev: 372795274267cff164ccdc9b8d44e5dc580ae5ad)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosite/common-linux: Add ac_cv_file__dev_zero=yes
Tom Rini [Wed, 27 Jul 2011 18:31:34 +0000 (11:31 -0700)]
site/common-linux: Add ac_cv_file__dev_zero=yes

(From OE-Core rev: 08a89c956ba4f89e66453e9a4ea70fd9421c1a91)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoVarious siteinfo files: Consolidate va_copy/__va_copy/va_val_copy
Tom Rini [Wed, 27 Jul 2011 18:08:15 +0000 (11:08 -0700)]
Various siteinfo files: Consolidate va_copy/__va_copy/va_val_copy

Providing va_copy / __va_copy come down to the libc.  va_val_copy
comes down to the architecture.  Unfortunately it's assumed true
if not set, so we need to make sure to set this to false for
x86_64 where it is not true.

(From OE-Core rev: a54a803ed89969c2416bfa9d911fe4cf558e2391)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoVarious siteinfo files: Drop enca section
Tom Rini [Tue, 26 Jul 2011 23:27:33 +0000 (16:27 -0700)]
Various siteinfo files: Drop enca section

As part of re-syncing with oe.dev, these tests aren't needed with the
oe.dev recipe of enca now.

(From OE-Core rev: d4c835e085d273a19483fc95f768c1fa23cf626f)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoVarious siteinfo files: Consolidate ac_cv_func_getaddrinfo
Tom Rini [Tue, 26 Jul 2011 23:23:01 +0000 (16:23 -0700)]
Various siteinfo files: Consolidate ac_cv_func_getaddrinfo

This is a libc feature, move there.  Drop the ipsec-tools specific
test as ipsec-tools (a) assumes fine on cross-compile and (b) doesn't
support buggy getaddrinfo now.

(From OE-Core rev: bca50524921a870bf774e23973a834f20701f146)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoVarious site files: Drop monotone/mono
Tom Rini [Tue, 26 Jul 2011 22:46:32 +0000 (15:46 -0700)]
Various site files: Drop monotone/mono

Not in oe-core nor meta-oe and based on oe.dev, possibly incomplete.

(From OE-Core rev: dc678e674ba9c56feb150bf06829a44fbe4e2b5a)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotcl: Add tcl_cv_api_serial to siteinfo
Tom Rini [Tue, 26 Jul 2011 22:40:03 +0000 (15:40 -0700)]
tcl: Add tcl_cv_api_serial to siteinfo

This comes from oe.dev which had this set for arm-linux only.

(From OE-Core rev: 8aaa02e9eb0a4455a30766055e482c77a94af1a4)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosudo: Drop sudo_cv_uid_t_len from site files
Tom Rini [Tue, 26 Jul 2011 21:35:37 +0000 (14:35 -0700)]
sudo: Drop sudo_cv_uid_t_len from site files

We were just setting this to the assumed default.  If anything, this
belongs in the libc files if we must set it.

(From OE-Core rev: ae054a823909c5ebf03fec962844a213dc3fb8e1)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc_2.13: Add support for handling sqrt & sqrtf on powerpc
Kumar Gala [Mon, 1 Aug 2011 14:26:22 +0000 (09:26 -0500)]
eglibc_2.13: Add support for handling sqrt & sqrtf on powerpc

Some of powerpc's dont support the fsqrt[s] instructions so we need an
implementation of the library functions for those processors.

(From OE-Core rev: bae126b9b3a993dcd572eaf438c7ea5db843f6f5)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc: fix build for armv4 machines
Dmitry Eremin-Solenikov [Wed, 3 Aug 2011 12:12:37 +0000 (16:12 +0400)]
eglibc: fix build for armv4 machines

eglibc builds for arm-eabi unconditionally enables the libc-do-syscall.S
file, which contains thumb assembly. It's unused in arm-eabi-nothumb case,
so just ifdef the actual code.

V2: use the patch from oe.dev.

The patch is submitted to sourceware bugzilla by Khem Raj back in October
of 2010, but the status is still UNCONFIRMED and the patch isn't commited.

(From OE-Core rev: d557b18845d2ddc035d7f3949713ba1961a8cce1)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibxt: Add depends for util-linux and libxcb
Saul Wold [Tue, 2 Aug 2011 21:22:07 +0000 (14:22 -0700)]
libxt: Add depends for util-linux and libxcb

(From OE-Core rev: 972d805ae3d67c5d762fd18f76f2e0465d98f7d9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoglibc: Remove unused version
Saul Wold [Thu, 28 Jul 2011 06:40:27 +0000 (23:40 -0700)]
glibc: Remove unused version

(From OE-Core rev: b894202c6f7f64102372aaea58ccb18a51545cf1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconnman_test.sh: Rework for busybox 'ps'
Tom Rini [Wed, 27 Jul 2011 22:01:35 +0000 (15:01 -0700)]
connman_test.sh: Rework for busybox 'ps'

This script has two problems today.  First, it does 'ps -ef cmd'
in failure which real ps doesn't grok and busybox ps just ignores
the argument on.  Switch that to 'ps -ef'.  Second, busybox ps -o
doesn't understand cmd but does understand comm.  Using comm lets
us simplify the test logic as well, so switch to that.

(From OE-Core rev: cb34ce6833f298d487eeb35cf8297f286ef624d4)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbcalss: Added do_savedefconfig task.
Noor, Ahsan [Tue, 2 Aug 2011 12:30:18 +0000 (17:30 +0500)]
kernel.bbcalss: Added do_savedefconfig task.

* Added do_savedefconfig task to kernel.bbclass.

(From OE-Core rev: 5bbc3533710d82da0b35c70410b1a9019ab70336)

Signed-off-by: Noor, Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxserver-nodm-init: Fix X start failure on some platform
Zhai Edwin [Tue, 2 Aug 2011 07:24:00 +0000 (15:24 +0800)]
xserver-nodm-init: Fix X start failure on some platform

sudo is used to run rootless X in xserver-nodm, and start to fail with
"xf86OpenConsole: Cannot open /dev/tty0" error after upgrade to 1.8.1. sudo
seems wait for some resource that is unavailable in early phase of booting.
This patch swith to "su" for rootless X starting as a fix.

[YOCTO #1211] got fixed

(From OE-Core rev: cb935833a128d67e6c1fbe745cf68a58df6470d1)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoapr-util: Upgrade to 1.3.12
Zhai Edwin [Thu, 28 Jul 2011 06:42:47 +0000 (14:42 +0800)]
apr-util: Upgrade to 1.3.12

(From OE-Core rev: 51a6c43f6658032d67ddea349f66ddcaafe6bbce)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Merged with ${BPN} change

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoapr: Upgrade to 1.4.5
Zhai Edwin [Thu, 28 Jul 2011 06:33:35 +0000 (14:33 +0800)]
apr: Upgrade to 1.4.5

Remove buildconf_fix.patch as already in upstream.

(From OE-Core rev: e66e0886412b2f1a564babbaa83095c86e5ec65c)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Merged with ${BPN} change

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoparted: Upgrade to 3.0
Zhai Edwin [Thu, 28 Jul 2011 08:33:20 +0000 (16:33 +0800)]
parted: Upgrade to 3.0

(From OE-Core rev: deeebb52fd31c6100c140d340ca338d2b62f3ce2)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogpgme: Upgrade to 1.3.1
Zhai Edwin [Thu, 28 Jul 2011 07:27:22 +0000 (15:27 +0800)]
gpgme: Upgrade to 1.3.1

(From OE-Core rev: 55be2b0f882dfa7ae1885ff0223d60606c02aad4)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibassuan: Upgrade to 2.0.2
Zhai Edwin [Thu, 28 Jul 2011 07:34:44 +0000 (15:34 +0800)]
libassuan: Upgrade to 2.0.2

(From OE-Core rev: ff8e4cfd7c081381c8cc3f7820fbc63e177f0b32)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibsoup-2.4: Upgrade to 2.34.2
Zhai Edwin [Thu, 28 Jul 2011 05:48:52 +0000 (13:48 +0800)]
libsoup-2.4: Upgrade to 2.34.2

(From OE-Core rev: fb0a930bde00ee6b1b93bdef44568008a1ac2264)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolighttpd: Upgrade to 1.4.29
Zhai Edwin [Wed, 27 Jul 2011 08:11:19 +0000 (16:11 +0800)]
lighttpd: Upgrade to 1.4.29

(From OE-Core rev: 765714d2b4dc2b1f6c73c4a8e5fcd0a0c475ad39)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel,cml1.bbclass: Move menuconfig to cml1
Noor, Ahsan [Fri, 29 Jul 2011 12:24:50 +0000 (17:24 +0500)]
kernel,cml1.bbclass: Move menuconfig to cml1

* The menuconfig target exists in places other than the kernel that use kernel style config.

(From OE-Core rev: 1ceaf45f634d11b65aab0f591a86865df49c8c90)

Signed-off-by: Noor, Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoenvironment files: Added and unified version related variables.
Lianhao Lu [Mon, 1 Aug 2011 07:50:02 +0000 (15:50 +0800)]
environment files: Added and unified version related variables.

[YOCTO #1306] Fixing.

Added and unified version related variables in all environment files
generated by package meta-toolchain, meta-ide-support,
meta-environment-xxx.

(From OE-Core rev: 5fbea0f2614d5bc9aec0819a337cdec9b5331f71)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobinutils: Add support for powerpc e5500 core
Kumar Gala [Mon, 1 Aug 2011 14:30:34 +0000 (09:30 -0500)]
binutils: Add support for powerpc e5500 core

Add powerpc e5500 core support to binutils so its recognized by
assember, etc.  The e5500 is a 64-bit core from Freescale utilized in
the P5020 SoC.

(From OE-Core rev: 3952db3f254e5c57a13e3a8244c76405aa3db00d)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogtk-icon-cache bbclass: only add runtime dependencies on hicolor-icon-theme when...
Koen Kooi [Mon, 1 Aug 2011 11:08:42 +0000 (13:08 +0200)]
gtk-icon-cache bbclass: only add runtime dependencies on hicolor-icon-theme when installing icons

Tested with gnome-icon-theme and libsoup recipes on angstrom.

(From OE-Core rev: 229ba02322ce49d13e2d64eff6bb637f23f1f16b)

Signed-off-by: Koen Kooi <koen@openembedded.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobison: Add dependency on flex-native
Noor, Ahsan [Mon, 1 Aug 2011 10:16:18 +0000 (15:16 +0500)]
bison: Add dependency on flex-native

* This is 0479b70418ef553859029911c57c63a7aaebe299 from OE. flex-native is needed to build bison. The dependency was being satisfied indirectly but we need to add it explicitly.

(From OE-Core rev: 344d5789e688bcbc566ae336f1f821110a2e4feb)

Signed-off-by: Noor, Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoaspell: upgrade from 0.60.6 to 0.60.6.1
Mei Lei [Sun, 31 Jul 2011 23:38:47 +0000 (07:38 +0800)]
aspell: upgrade from 0.60.6 to 0.60.6.1

(From OE-Core rev: ac9c5ba82bd7524b849ac8df4a46ae35c6c60f27)

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoSRC_URI, S: use BPN instead of PN for multilib case
Yu Ke [Thu, 28 Jul 2011 13:28:20 +0000 (21:28 +0800)]
SRC_URI, S: use BPN instead of PN for multilib case

in multilibcase, PN has multilib prefix, so it is not
correct to use PN in SRC_URI and S. instead,  we've
dedicately pruned multilib prefix in BPN, so BPN is
the right alternative for PN.

(From OE-Core rev: d6dca85028640034b1a5356920aad3268bd4f1c2)

Signed-off-by: Yu Ke <ke.y@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibfm: depend on intltool-native instead of intltool
Martin Jansa [Fri, 29 Jul 2011 06:43:36 +0000 (08:43 +0200)]
libfm: depend on intltool-native instead of intltool

(From OE-Core rev: 243ee5509995403c131114aef1a75c5d2af2e0cc)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopolkit: depend on intltool-native instead of intltool
Martin Jansa [Fri, 29 Jul 2011 06:43:19 +0000 (08:43 +0200)]
polkit: depend on intltool-native instead of intltool

(From OE-Core rev: 1e75e78098bcbac92db0d9e45b3a78af0864250d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibnewt: update to 0.52.13
Kang Kai [Thu, 28 Jul 2011 09:28:42 +0000 (17:28 +0800)]
libnewt: update to 0.52.13

Update libnewt to 0.52.13, and remove include-without-python.patch
because it has been merged.
Update SRC_URI and add SRC_URI checksum.

(From OE-Core rev: b83284d2be47019e1ca122ce4a2b1a077e7c3174)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agofont-util: The recipe produces binaries so don't mark as 'all' architecture
Richard Purdie [Thu, 4 Aug 2011 12:59:14 +0000 (13:59 +0100)]
font-util: The recipe produces binaries so don't mark as 'all' architecture

Since font-util produces binaries it shouldn't be marked as "all"
package architecture. To achieve this we need to move the settings
out the common include file.

This fixes errors like:

ERROR: runstrip: ''mips-poky-linux-strip' --remove-section=.comment --remove-section=.note '/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/work/all-poky-linux/font-util-1.2.0-r2.1/package/usr/bin/bdftruncate'' strip command failed
ERROR: runstrip: ''mips-poky-linux-strip' --remove-section=.comment --remove-section=.note '/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/work/all-poky-linux/font-util-1.2.0-r2.1/package/usr/bin/ucs2any'' strip command failed

(From OE-Core rev: 7aefddc57e9da02298af1aa98abedbe99435e15a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc-package.inc: Fixed error in referencing PKGSUFFIX
Lianhao Lu [Thu, 4 Aug 2011 10:36:23 +0000 (18:36 +0800)]
eglibc-package.inc: Fixed error in referencing PKGSUFFIX

[YOCTO #1329] Added the missing $ when referencing PKGSUFFIX in FILES_*
variables set.

[RP: Added PR bumps]
(From OE-Core rev: cd5440f6fa4b1d470c722039b4d2ea6f9b4bfd88)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib: Use BPN instead of PN for style like lib${PN}
Dongxiao Xu [Wed, 3 Aug 2011 15:19:36 +0000 (23:19 +0800)]
multilib: Use BPN instead of PN for style like lib${PN}

When supporting multilib, ${PN} will be extended with MLPREFIX. However
if a package name contains ${PN} with styles like lib${PN}, such
extension will cause error. Use BPN in this case.

(From OE-Core rev: fbb734e5753655de30c82c0a036c9043820e02cb)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopenjade-native: Change RDEPENDS of sgml-common-native
Dongxiao Xu [Wed, 3 Aug 2011 15:19:35 +0000 (23:19 +0800)]
openjade-native: Change RDEPENDS of sgml-common-native

openjade-native should RDEPENDS on sgml-common-native but not
sgml-common

(From OE-Core rev: 3f7809ba54bc4941c42071728cee1b286c1e87f6)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibxml-simple-perl: Use BBCLASSEXTEND insteand of *-native recipe
Dongxiao Xu [Wed, 3 Aug 2011 15:19:34 +0000 (23:19 +0800)]
libxml-simple-perl: Use BBCLASSEXTEND insteand of *-native recipe

It's not appropriate to require xxx.bb in xxx-native.bb, causing that
xxx-native depends on target recipe.

Use BBCLASSEXTEND to solve this issue.

(From OE-Core rev: aa8f6b64055c6576bcdb63d3bbf9ab47b87c0d59)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc-locale: Specially handle FILES_eglibc-gconv for multilib
Dongxiao Xu [Wed, 3 Aug 2011 15:19:33 +0000 (23:19 +0800)]
eglibc-locale: Specially handle FILES_eglibc-gconv for multilib

In multilib support, it iterate values in PACKAGES and then extend name
for variables like "FILES_xxx", "SUMMARY_xxx", etc.

However eglibc-gconv is dynamically put in PACKAGES by
package_do_split_gconv function. Therefore the name will not be
extended automatically.

Specially handle the FILES variable for eglibc-gconv to fix the issue
of missing "lib32-eglibc-gconv" issue in doing multilib do_rootfs.

Also when set PACKAGES, add the MLPREFIX.

(From OE-Core rev: 4a5cc82218fa730b898c553875accfeb6800f9a4)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotcl: Fix packaging of platform independent files
Kumar Gala [Wed, 3 Aug 2011 15:43:56 +0000 (10:43 -0500)]
tcl: Fix packaging of platform independent files

Tcl's doesn't utilize ${baselib} for platform independent files but
defines it as follows:

TCL_LIBRARY             = $(prefix)/lib/tcl$(VERSION)

Match that so if ${baselib} is not just /lib things work properly.

(From OE-Core rev: df4ed0bfc6396a0d6df0b5bfd1b3114edab90dc0)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibnss-mdns: dont use hard coded /lib path
Kumar Gala [Wed, 3 Aug 2011 15:28:48 +0000 (10:28 -0500)]
libnss-mdns: dont use hard coded /lib path

As libdir might not be /lib (could be /lib64) use ${base_libdir} instead of
hard coded "/lib" in configure options set in EXTRA_OECONF.

(From OE-Core rev: 130d16d18e8bf7cfe87a1fa128f182f7fe728708)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/crumbs/runningbuild: emit signal when command fails with exit signal
Joshua Lock [Wed, 3 Aug 2011 01:12:33 +0000 (18:12 -0700)]
bb/ui/crumbs/runningbuild: emit signal when command fails with exit signal

Emit the generic build-complete signal when a command fails with an exit
signal enabling the UI to update itself accordingly.

Addresses [YOCTO #1265]

(Bitbake rev: 25ec13075855f7e321a9763682a8cd4ca09203cd)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/hob: disable editing in the build messages tree view
Joshua Lock [Wed, 3 Aug 2011 00:25:38 +0000 (17:25 -0700)]
bb/ui/hob: disable editing in the build messages tree view

Addresses the second part of [YOCTO #1311]

(Bitbake rev: d790386112b0beb444713a12d766bd4bd3441f56)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/runningbuild: add optional readonly mode, default off
Joshua Lock [Wed, 3 Aug 2011 00:24:35 +0000 (17:24 -0700)]
ui/crumbs/runningbuild: add optional readonly mode, default off

In b947e7aa405966262c0614cae02e7978ec637095 Bob started to introduce code
for a right-click menu, whilst most of the code is non-invasive it does
enable the editable property of the gtk.TreeView which can be confusing.

This change adds a readonly parameter, defaulting to False, to the
RunningBuildTreeView which if True will prevent the editable property from
being set.

CC: Bob Foerster <robert@erafx.com>
(Bitbake rev: d1d6bfab1789d8c0a4faa109bcc06b3cefe62620)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/hob: show build messages are displayed in the order they're received
Joshua Lock [Wed, 3 Aug 2011 00:00:19 +0000 (17:00 -0700)]
bb/ui/hob: show build messages are displayed in the order they're received

Use the new sequential option of RunningBuild to ensure this.

Fixes the first part of [YOCTO #1311]

(Bitbake rev: 972769e6362ea3cf35c8fb7cdfbb147758d0a2f2)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/crumbs/runningbuild: optionally create list entries sequentially
Joshua Lock [Tue, 2 Aug 2011 23:59:01 +0000 (16:59 -0700)]
bb/ui/crumbs/runningbuild: optionally create list entries sequentially

In b947e7aa405966262c0614cae02e7978ec637095 Bob changed the behaviour of
the RunningBuildModel such that the items are added to the model in a
non-sequential order.

The messages in the view being listed out of order from how they are
received is undesirable for users of the hob UI, therefore this patch adds
an optional sequential parameter to the RunningBuild initialiser which,
when set to True, will always append new messages so that the order shown
in the view is that the messages are received in. The parameter defaults to
to False such that the behaviour added by Bob is preserved.

Partially addresses [YOCTO #1311]

CC: Bob Foerster <robert@erafx.com>
(Bitbake rev: b16663e1919fddbf63d0ca7f9ad3ffdc7d1121fd)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/hob: save changes to bblayers.conf when using Add Layer menu item
Joshua Lock [Tue, 2 Aug 2011 21:15:18 +0000 (14:15 -0700)]
bb/ui/hob: save changes to bblayers.conf when using Add Layer menu item

Fixes [YOCTO #1283]

(Bitbake rev: d1f1ebbe504f5567783461946c0eb45b1e923dd8)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc: Fix setting of GLIBC_DYNAMIC_LINKER
Kumar Gala [Tue, 2 Aug 2011 22:33:17 +0000 (17:33 -0500)]
gcc: Fix setting of GLIBC_DYNAMIC_LINKER

The sed regex in do_configure_prepend was producing the following result:

 #define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR "/lib64/ld-linux-x86-64.so.2"

instead of removing the leading "/lib" or "/lib64".

Now we have it do:

 #define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR "ld-linux-x86-64.so.2"

Additionally, with the regex fixed the manipulation of SYSTEMLIBS_DIR
needs to be removed.

(From OE-Core rev: b343436d03fa5690b16ee8ef5d4a738c5194b301)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoautomake: Fix issue with tar configure failing with large UID/GIDs
Kumar Gala [Tue, 2 Aug 2011 21:20:56 +0000 (16:20 -0500)]
automake: Fix issue with tar configure failing with large UID/GIDs

Add a fixup for trying to create ustar archives when the users
UID or GID is larger than the format allows.

(From OE-Core rev: 7a092818f901c5c860e82f573534cd505d9fb959)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage_rpm: Ensure alternatives links are reflected in rpm package dependencies
Richard Purdie [Wed, 3 Aug 2011 15:32:03 +0000 (16:32 +0100)]
package_rpm: Ensure alternatives links are reflected in rpm package dependencies

Currently, if a file is provided as an alternative link within the package, rpm
doesn't see the dependency. This works out badly for dependencies such as /bin/sh
which scripts might require.

Since rpm detects and adds these dependencies we do need to ensure the dependency
information in the packages is correct. This patch does so for the rpm backend
ensuring internal consistency whilst the approach for addressing this problem in
the other package backends is considered.

(From OE-Core rev: 102fc29b9c9eae8435b29edb41b5090ace2373c5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoautotools.bbclass: Fix m4 file race
Richard Purdie [Wed, 3 Aug 2011 15:06:43 +0000 (16:06 +0100)]
autotools.bbclass: Fix m4 file race

If something removes .m4 files from the aclocal directory whilst aclocal is
running it gets upset. To avoid this we need to take a copy of the aclocal
directory and build against this instead.

[YOCTO #861]

(From OE-Core rev: 6a4778e21341f031569f561e7699d2c616b60af0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf/qemux86-64: Automate TRANSLATED_TARGET_ARCH
Richard Purdie [Wed, 3 Aug 2011 14:52:41 +0000 (15:52 +0100)]
bitbake.conf/qemux86-64: Automate TRANSLATED_TARGET_ARCH

(From OE-Core rev: 6def7129cf7580a935c05cc05b7f803812d5bb18)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibzypp: Correctly handle - in package architecture names
Richard Purdie [Tue, 2 Aug 2011 21:20:24 +0000 (22:20 +0100)]
libzypp: Correctly handle - in package architecture names

If package architectures contain - characters this needs to be mapped
to something else in (_) since its illegal in C variable names.

[YOCTO #1313 partially]

(From OE-Core rev: 4806a459880d0860b563d30d3fa8d7cde3461cc6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: remove temporary directory on program shutdown
Joshua Lock [Sat, 30 Jul 2011 19:19:15 +0000 (12:19 -0700)]
hob: remove temporary directory on program shutdown

Move temp directory handling into the HobEventHandler and clean up the
temporary files on program close.

Fixes [YOCTO #1307]

(Bitbake rev: 1009ca570a750a00b0e60afcc30ead070c7b310a)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/layereditor: if layer adding fails show an explanatory dialog
Joshua Lock [Fri, 29 Jul 2011 00:28:00 +0000 (17:28 -0700)]
ui/crumbs/layereditor: if layer adding fails show an explanatory dialog

When adding a layer fails try to explain why to the user.

(Bitbake rev: 2f7eadfdd710f84a299d6fc7be67ddb089f03ecc)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/configurator: tweak addLayerConf return values
Joshua Lock [Fri, 29 Jul 2011 00:27:03 +0000 (17:27 -0700)]
ui/crumbs/configurator: tweak addLayerConf return values

Use different return types when adding failed versus when the layer is
already enabled.

(Bitbake rev: 906854d75a12c8752efb1e4065eaf1a10b191612)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/hobeventhandler: emit a signal when a command fails
Joshua Lock [Thu, 28 Jul 2011 22:25:10 +0000 (15:25 -0700)]
ui/crumbs/hobeventhandler: emit a signal when a command fails

If a CommandFailed event is seen emit a signal with the error message.

(Bitbake rev: 15cc4fe5051dcb6ac5915e10228b5f3d3ed845bd)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/hob: show error and exit if we receive the fatal-error signal
Joshua Lock [Thu, 28 Jul 2011 22:24:03 +0000 (15:24 -0700)]
ui/hob: show error and exit if we receive the fatal-error signal

If we receive the fatal-error signal from the handler display a dialog
informing the user of an error and displaying the error message. Dismissing
the dialog quits the application.

Fixes [YOCTO #1279]

(Bitbake rev: 04dbd80bbc9ffe2a566b8cc488f0feebadcdde60)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/hobeventhandler: emit a signal when there's a fatal-error
Joshua Lock [Thu, 28 Jul 2011 22:21:14 +0000 (15:21 -0700)]
ui/crumbs/hobeventhandler: emit a signal when there's a fatal-error

If the cooker encounters an error we're unable to proceed so emit a signal
so that UI's can notify the user and exit.

(Bitbake rev: b6f6edd5090e933ac97a65f93ea9d1b255fca811)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: unset busy cursor on exit
Joshua Lock [Thu, 28 Jul 2011 21:15:35 +0000 (14:15 -0700)]
hob: unset busy cursor on exit

Prevent the busy cursor being shown after hob exits if quit is called
whilst the busy cursor is set.

(Bitbake rev: 7b977ff222d4a318efabd0ca5f37fa03b9acb996)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>