]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agolibc-package.bbclass: merge glibc & eglibc class files
Nitin A Kamble [Fri, 6 Aug 2010 02:38:06 +0000 (19:38 -0700)]
libc-package.bbclass: merge glibc & eglibc class files

Other enhancements:
 print qemu's stdio & error on failure
 glibc: enable locale generation for all arches
 eglibc: enable binary locale generation for mips

And cleanup of code based on the code review.

[e]glibc: move common definition in the common file

bitbake was complaining about duplicate definition of
get_libc_fpu_setting in eglibc.inc & glibc.inc
files.

And bump PRs

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoopenssh: new recipe addition
Scott Garman [Tue, 31 Aug 2010 18:33:01 +0000 (11:33 -0700)]
openssh: new recipe addition

OpenSSH v5.6p1, derived from OpenEmbedded's recipe.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agotask-poky-lsb: add sysklogd, libaio, mdadm, screen, watchdog
Saul Wold [Tue, 31 Aug 2010 21:56:45 +0000 (14:56 -0700)]
task-poky-lsb: add sysklogd, libaio, mdadm, screen, watchdog

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agotcl: fix from missing sys/fpu.h and undefined mipsCR
Saul Wold [Wed, 1 Sep 2010 20:55:36 +0000 (13:55 -0700)]
tcl: fix from missing sys/fpu.h and undefined mipsCR

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agodistro_tracking: add alias for bluez4, libgsmd, and zeroconf
Dongxiao Xu [Wed, 1 Sep 2010 08:49:28 +0000 (16:49 +0800)]
distro_tracking: add alias for bluez4, libgsmd, and zeroconf

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agodistro_tracking: sed, rpcbind, libtirpc
Dongxiao Xu [Wed, 1 Sep 2010 08:21:20 +0000 (16:21 +0800)]
distro_tracking: sed, rpcbind, libtirpc

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agorpcbind: add new recipe version 0.2.0
Dongxiao Xu [Wed, 1 Sep 2010 07:59:08 +0000 (15:59 +0800)]
rpcbind: add new recipe version 0.2.0

Introduce rpcbind utility into poky which is a server that converts
RPC program numbers into universal addresses.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agolibtirpc: add new recipe version 0.2.1
Dongxiao Xu [Wed, 1 Sep 2010 07:47:37 +0000 (15:47 +0800)]
libtirpc: add new recipe version 0.2.1

libtirpc is depended by rpcbind, so introduce it into poky.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agowhich (GPLv3): inherit update-alternatives to handle install priority
Dongxiao Xu [Wed, 1 Sep 2010 04:56:24 +0000 (12:56 +0800)]
which (GPLv3): inherit update-alternatives to handle install priority

inherit the update-alternatives class to handle install priority issue,
which is recommended by poky.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agosed: Upgraded to the latest version 4.2.1
Dongxiao Xu [Wed, 1 Sep 2010 03:18:15 +0000 (11:18 +0800)]
sed: Upgraded to the latest version 4.2.1

sed version 4.2.1 is under GPLv3 license
inherit update-altenatives to handle the install priority issue

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agosed: Inherit update-altenatives to handle the install priority
Dongxiao Xu [Wed, 1 Sep 2010 03:16:05 +0000 (11:16 +0800)]
sed: Inherit update-altenatives to handle the install priority

This method is simple and preferred by poky

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agodpkg: fix powerpc and mips build failure
Dongxiao Xu [Wed, 1 Sep 2010 02:23:19 +0000 (10:23 +0800)]
dpkg: fix powerpc and mips build failure

set dpkg va_copy value in corresponding site files for powerpc and mips
Fixes [BUGID #219]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agoat: gplv2 recipe at version 3.1.12
Nitin A Kamble [Wed, 1 Sep 2010 04:12:31 +0000 (21:12 -0700)]
at: gplv2 recipe at version 3.1.12

Took the 3.1.10.2 version of the gplv2 recipe from the master branch,
and upgraded it to 3.1.12 version and then replaced the gplv3 files
viz posixtm.[ch] by gplv2 files to make the recipe gplv2.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agoat: remove GPLv3 version
Saul Wold [Tue, 31 Aug 2010 23:48:22 +0000 (16:48 -0700)]
at: remove GPLv3 version

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agomdadm: add patch to fix passing linker options to cc
Saul Wold [Tue, 31 Aug 2010 21:55:34 +0000 (14:55 -0700)]
mdadm: add patch to fix passing linker options to cc

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agolibaio: add new recipe
Qing He [Fri, 27 Aug 2010 02:15:31 +0000 (10:15 +0800)]
libaio: add new recipe

version 0.3.107
from open embedded

changes:
  - use $(AR) and $(RANLIB) instead of ar and ranlib

Signed-off-by: Qing He <qing.he@intel.com>
14 years agovalgrind: fix perl scripts
Qing He [Tue, 31 Aug 2010 14:51:58 +0000 (22:51 +0800)]
valgrind: fix perl scripts

svn version of valgrind uses #! @PERL@ for several perl
scripts. However, PERL in autoconf doesn't distinguish
host perl and target perl, causing STAGING_DIR_NATIVE be
written in the output scripts.

This causes unrunnable scripts, and fails FILERDEPENDS
mechanism (thus also do_rootfs_rpm).

Uses /usr/bin/perl instead to fix it.

Signed-off-by: Qing He <qing.he@intel.com>
14 years agodistro-tracking: update powertop, lttng-ust, lttng-viewer, liberation-fonts
Dexuan Cui [Fri, 27 Aug 2010 13:30:49 +0000 (21:30 +0800)]
distro-tracking: update powertop, lttng-ust, lttng-viewer, liberation-fonts

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agopowertop: fix segfault in dump mode
Dexuan Cui [Fri, 27 Aug 2010 13:02:34 +0000 (21:02 +0800)]
powertop: fix segfault in dump mode

The cause is: in dump mode, setup_windows() is not invoked so the
*_window variables, like cstate_window, are still NULL; later in
main() -> show_cstates(), the functions, like wrefresh(), will trigger
segfault.

After discussing in PowerTop mailling list, I think the right solution is
we should stub out the ncurses calls in dump mode.

(The patch was also sent to upstream PowerTop mailling list.)

This fixes [BUGID #195]:
Bug 195 - [sdk] powertop segfault when running with dump option

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agopowertop: upgrade from 1.11 to the latest version 1.13
Dexuan Cui [Fri, 27 Aug 2010 09:11:02 +0000 (17:11 +0800)]
powertop: upgrade from 1.11 to the latest version 1.13

update HOMEPAGE;
add RRECOMMENDS_${PN} = "pciutils" as powertop 1.13 needs lspci;
add EXTRA_OEMAKE = "VERSION=\"${PV}\" to make the build succeed;
fix coding style: 4 SPACEs --> 1 TAB.

fix RRECOMMENDS to RDEPENDS

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agosysklogd: add sysklogd 1.5
Yu Ke [Fri, 27 Aug 2010 02:10:52 +0000 (10:10 +0800)]
sysklogd: add sysklogd 1.5

sysklogd implements two system log daemons: syslogd, klogd.
this commit adds sysklogd 1.5. it is ported from OE with some cleanup.

sysklogd: move to recipes-extended

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agorunqemu: add poky-image-basic and poky-image-lsb to recognized images
Saul Wold [Tue, 31 Aug 2010 17:16:14 +0000 (10:16 -0700)]
runqemu: add poky-image-basic and poky-image-lsb to recognized images

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agodistro-tracking: add mdadm and screen
Dexuan Cui [Tue, 31 Aug 2010 14:24:20 +0000 (22:24 +0800)]
distro-tracking: add mdadm and screen

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoscreen: add the latest version 4.0.3
Dexuan Cui [Tue, 31 Aug 2010 14:20:43 +0000 (22:20 +0800)]
screen: add the latest version 4.0.3

The recipe is borrowed from OE, with the following changes:
- upgrade the version from 4.0.2 to 4.0.3
- add HOMEPAGE, BUGTRACKER, LICENSE and LIC_FILES_CHKSUM
- reset PR to "r0"
- update the patch name: screen_4.0.2-4.1sarge1.diff --> screen_4.0.3-11+lenny1.diff.gz
- rebase the original configure.patch against screen-4.0.3's configure.in

screen: move to recipes-extended

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agomdadm: add the latest version 3.1.4
Dexuan Cui [Tue, 31 Aug 2010 14:19:37 +0000 (22:19 +0800)]
mdadm: add the latest version 3.1.4

The recipe is borrowed from OE, with the following changes:
- upgrade the version from 2.5 to 3.1.4
- simplify DESCRIPTION
- add HOMEPAGE, BUGTRACKER, LICENSE and LIC_FILES_CHKSUM, PR
- remove INHIBIT_AUTO_STAGE
- fixing coding style issue: 4 SPACES --> 1 TAB

mdadm: move to recipes-extended

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agodistro tracking: Add info for libuser and xz
Zhai Edwin [Wed, 1 Sep 2010 11:56:55 +0000 (19:56 +0800)]
distro tracking: Add info for libuser and xz

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agoDistro tracking: Add package alias for xf86-video-intel
Zhai Edwin [Wed, 1 Sep 2010 11:56:55 +0000 (19:56 +0800)]
Distro tracking: Add package alias for xf86-video-intel

On behalf of Yu Ke

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agoDistro tracking: Add package alias for puzzles, eds-dbus...
Zhai Edwin [Wed, 1 Sep 2010 11:56:55 +0000 (19:56 +0800)]
Distro tracking: Add package alias for puzzles, eds-dbus...

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agodistro-track: add ownership for 4 recipes
Kevin Tian [Wed, 1 Sep 2010 03:50:23 +0000 (11:50 +0800)]
distro-track: add ownership for 4 recipes

  modutils
  cdrtools-native
  shasum-native
  tzcode-native

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agoxset: move DISTRO_PN_ALIAS to distro .inc file
Kevin Tian [Wed, 1 Sep 2010 01:17:37 +0000 (09:17 +0800)]
xset: move DISTRO_PN_ALIAS to distro .inc file

also use space as the delimiter instead of semicolon. fix handbook accordingly

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agodistro_check: fix for natives, cross, and initial recipe types
Saul Wold [Fri, 27 Aug 2010 02:46:40 +0000 (19:46 -0700)]
distro_check: fix for natives, cross, and initial recipe types

datetime checking is changed to be once per day

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
distro_check: fix for natives, cross, and initial recipe types

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agodistro_check: use space as the delimiter for aliases
Kevin Tian [Tue, 31 Aug 2010 10:15:14 +0000 (18:15 +0800)]
distro_check: use space as the delimiter for aliases

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agodistro-track: add alias name for 89 recipes
Kevin Tian [Tue, 31 Aug 2010 09:31:59 +0000 (17:31 +0800)]
distro-track: add alias name for 89 recipes

some recipe names in Poky are different from other distros (Ubuntu,
Meego, Debian, ...). Here totally 89 recipes are added with specific
alias name in major distros. Then they could be found in match with
other distros.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agoDistroData: add eventhandler to correctly setup log file
Saul Wold [Fri, 27 Aug 2010 02:48:26 +0000 (19:48 -0700)]
DistroData: add eventhandler to correctly setup log file

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agopackages: Separate out most of the remaining packages into recipes
Richard Purdie [Wed, 1 Sep 2010 18:09:11 +0000 (19:09 +0100)]
packages: Separate out most of the remaining packages into recipes

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoDrop chroot usage as its not well used, tested and is broken
Richard Purdie [Wed, 1 Sep 2010 14:08:09 +0000 (15:08 +0100)]
Drop chroot usage as its not well used, tested and is broken

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/fetch: ensure the mirrored repository is updated as required
Joshua Lock [Fri, 27 Aug 2010 14:52:08 +0000 (15:52 +0100)]
bitbake/fetch: ensure the mirrored repository is updated as required

If we fetch a tarball from a mirror it's entirely possible that the
mirror will have been from before the required tag/branch/etc was included
in the repository. To that end use forcefetch() as a way of testing whether
the repository is up to date and if not fetch updates.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agobitbake/git: define a forcefetch method
Joshua Lock [Fri, 27 Aug 2010 13:06:18 +0000 (14:06 +0100)]
bitbake/git: define a forcefetch method

The git fetcher should force a fetch if the required tag is not present in
the local clone, or if the fullclone parameter is set.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agobitbake/fetch: Respect forcefetch even when pulling from a mirror
Joshua Lock [Fri, 27 Aug 2010 13:04:33 +0000 (14:04 +0100)]
bitbake/fetch: Respect forcefetch even when pulling from a mirror

When pulling from a premirror we would prefer a local tarball even when the
caller had specified the forcefetch parameter.
Add an extra parameter 'force' to try_mirrors, defaulting to False. If set
the mirrors will be tested even if the file exists locally.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopowerpc-common: add working_getline to gettext
Saul Wold [Tue, 31 Aug 2010 15:50:56 +0000 (08:50 -0700)]
powerpc-common: add working_getline to gettext

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agowhich (GPLv2): inherit update-alternatives
Dexuan Cui [Fri, 27 Aug 2010 08:36:58 +0000 (16:36 +0800)]
which (GPLv2): inherit update-alternatives

by this, we can avoid the pkg_postinst/postrm in the recipe file.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agolttng-viewer: upgrade from 0.8.84 to 0.10.0
Dexuan Cui [Fri, 27 Aug 2010 07:37:48 +0000 (15:37 +0800)]
lttng-viewer: upgrade from 0.8.84 to 0.10.0

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agotask-poky-basic.bb: add at and watchdog
Saul Wold [Fri, 27 Aug 2010 20:31:44 +0000 (13:31 -0700)]
task-poky-basic.bb: add at and watchdog

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agoat: run daemon as root user
Scott Garman [Fri, 27 Aug 2010 04:01:06 +0000 (21:01 -0700)]
at: run daemon as root user

Permission problems are encountered when running atd as the default
(daemon) user, so run it as root instead. These options are also
used in the OpenEmbedded recipe for at.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agosqlite3: fix multiple provider warning
Dongxiao Xu [Fri, 27 Aug 2010 08:32:58 +0000 (16:32 +0800)]
sqlite3: fix multiple provider warning

Use ${PN} to replace the original hardcode name in recipe PACKAGES line
This fixes multiple provider warning of sqlite3 (sqlite3 and
sqlite3-nativesdk)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agogawk: add gawk 3.1.8, GPLv3 version
Yu Ke [Fri, 27 Aug 2010 07:05:33 +0000 (15:05 +0800)]
gawk: add gawk 3.1.8, GPLv3 version
move to meta/recipes

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agogst-meta-base: Enable some video and audio codec
Dongxiao Xu [Fri, 27 Aug 2010 03:05:49 +0000 (11:05 +0800)]
gst-meta-base: Enable some video and audio codec

Enable mpeg-1 mpeg-2 video format
Enable wav, flac audio format
Fix [BUGID #151]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agocmake.bbclass: sync from openembedded
Qing He [Fri, 20 Aug 2010 02:57:48 +0000 (10:57 +0800)]
cmake.bbclass: sync from openembedded

this fixes:
  - toolchain detection error (e.g. ar and ranlib)

changes from openembedded:
  - reformatting
  - cmake modules search path
  - use 'cat <<EOF' instead of echos for clarity

Signed-off-by: Qing He <qing.he@intel.com>
14 years agorpm: compatiblity and header fix
Qing He [Thu, 26 Aug 2010 00:41:03 +0000 (08:41 +0800)]
rpm: compatiblity and header fix

changes:
  - add headerAddOrAppendEntry in lib/rpm4compat.h for compatibility
  - fix rpmbag.h introduced in rpm 5.1.10

Signed-off-by: Qing He <qing.he@intel.com>
14 years agoboost: upgrade to 1.44.0
Qing He [Thu, 19 Aug 2010 05:32:07 +0000 (13:32 +0800)]
boost: upgrade to 1.44.0

from version 1.36.0
which won't compile with gcc 4.5.0

also moved to meta form meta-moblin

changes:
  - .so files should go to -dev instead of sub packages
  - create libboostX-mt.{so,a} symlinks for compatibility
  - meta package 'boost' should set ALLOW_EMPTY
  - fix a bug that caused boost-dev being automatically renamed to
    libboost_prg_exec_monitor-dev, packages boost, boost-dev and
    boost-test now work as intended
  - rebased patch arm-intrinsic

Signed-off-by: Qing He <qing.he@intel.com>
14 years agolibcheck: upgrade to version 0.9.8
Qing He [Fri, 20 Aug 2010 03:08:22 +0000 (11:08 +0800)]
libcheck: upgrade to version 0.9.8

from 0.9.5
moved from meta-moblin to meta
renamed to libcheck for clarity

changes:
  - --enable-plain-docdir is obsolete
  - remove the unnessary patch

Signed-off-by: Saul Wold <saul.wold@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
14 years agoAdd qemu-i386 in qemu-native, required by eglibc
Zhai Edwin [Tue, 31 Aug 2010 08:34:09 +0000 (16:34 +0800)]
Add qemu-i386 in qemu-native, required by eglibc

Adding i386-linux-user in target-list is enough in theory, but our gl stuff is
not friendly to linux-user code. So disable it when compiling linux-user.

[BUGID #218] fixed by this.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agosed: Fix ppc build failure
Dongxiao Xu [Tue, 31 Aug 2010 03:42:01 +0000 (11:42 +0800)]
sed: Fix ppc build failure

sed will firstly check whether there is a working getline function
in system, if not (ppc), it use its self-defined getline().
However in 4.1.2, this function definition is not match with its
declaration. Fixes [BUGID #243]

Also fixes metadata.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agodistro_tracking_fields.inc: add distro_commands.inc
Saul Wold [Fri, 27 Aug 2010 15:59:11 +0000 (08:59 -0700)]
distro_tracking_fields.inc: add distro_commands.inc

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agotoolchain-scripts.bbclass: inherit siteinfo
Kevin Tian [Tue, 31 Aug 2010 10:40:08 +0000 (18:40 +0800)]
toolchain-scripts.bbclass: inherit siteinfo

or else 'siteinfo_get_files undefined' error occurs

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agosstate: fix dir name in manifest
Kevin Tian [Mon, 30 Aug 2010 08:13:49 +0000 (16:13 +0800)]
sstate: fix dir name in manifest

dir name in manifest is incorrect:

/media/disk/builds/master-arm/tmp/sysroots/usr/
/media/disk/builds/master-arm/tmp/sysroots/lib/
/media/disk/builds/master-arm/tmp/sysroots/include/

Also add one debug note when removing manifest entries

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agosstate: make do_cleanup really working
Kevin Tian [Mon, 30 Aug 2010 06:27:24 +0000 (14:27 +0800)]
sstate: make do_cleanup really working

there's a bug in creating manifest_pattern, which means actually with
new sstate do_cleanup hasn't worked yet

We can use PSTAGE2_MANFILEPREFIX easily for this purpose.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agopseudo: Update to latest version
Mark Hatle [Tue, 31 Aug 2010 14:29:38 +0000 (09:29 -0500)]
pseudo: Update to latest version

From the changelog:

2010-08-27:
  * (seebs) fix a bug caused by memcmp with wrong length
  * (seebs) stop hand-coding lengths of memcmp (torek was right...)

14 years agobitbake/codeparser: Implement persistent cache
Richard Purdie [Tue, 31 Aug 2010 13:19:22 +0000 (14:19 +0100)]
bitbake/codeparser: Implement persistent cache

For a given input to this code, the output doesn't change to implement a persistent
cache of the data to speed up parsing.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/data.py: Add emit_func() and generate_dependencies() functions
Richard Purdie [Tue, 3 Aug 2010 13:30:20 +0000 (14:30 +0100)]
bitbake/data.py: Add emit_func() and generate_dependencies() functions

These functions allow generation of dependency data between funcitons and
variables allowing moves to be made towards generating checksums and allowing
use of the dependency information in other parts of bitbake.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake: Add codeparser for parsing shell and python functions
Richard Purdie [Mon, 2 Aug 2010 09:20:20 +0000 (10:20 +0100)]
bitbake: Add codeparser for parsing shell and python functions

This commit is derived from Chris Larson's checksum work, turned into a
standalone piece of code for parsing python and shell functions.

The deindent code has been replaced with code to work around indentation
for speed. The original NodeVisitor in the ast was replaced with a faster
class walk call.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/BBHandler: Save python functions into the dictonary
Richard Purdie [Thu, 26 Aug 2010 17:06:30 +0000 (18:06 +0100)]
bitbake/BBHandler: Save python functions into the dictonary

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/data_smart.py: Allow the data expand function to keep track of references...
Richard Purdie [Wed, 25 Aug 2010 13:26:37 +0000 (14:26 +0100)]
bitbake/data_smart.py: Allow the data expand function to keep track of references (including those from python code)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agometa/classes: Fix whitespace mismatch and broken functions
Richard Purdie [Wed, 25 Aug 2010 14:40:34 +0000 (15:40 +0100)]
meta/classes: Fix whitespace mismatch and broken functions

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agolibproxy: disable perl bindings
Qing He [Fri, 27 Aug 2010 01:17:33 +0000 (09:17 +0800)]
libproxy: disable perl bindings

cmake findperl and findperllibs use execution based approach to
locate perl executable and others like module paths and -lperl,
which does not work properly under cross compilation. Disable it
with -DWITH_PERL=no until cmake is fixed.

Signed-off-by: Qing He <qing.he@intel.com>
14 years agodistro_tracking: connman, connman-gnome, wpa-supplicant, etc.
Dongxiao Xu [Thu, 26 Aug 2010 05:38:13 +0000 (13:38 +0800)]
distro_tracking: connman, connman-gnome, wpa-supplicant, etc.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agoconnman: Use connman as default network management tool
Dongxiao Xu [Thu, 26 Aug 2010 05:37:52 +0000 (13:37 +0800)]
connman: Use connman as default network management tool

Upgrade connman to version 0.56
Modify connman-gnome to match the recent version of connman
Deprecate networkmanager

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agowpa-supplicant: Add latest stable version 0.6.10
Dongxiao Xu [Thu, 26 Aug 2010 05:34:50 +0000 (13:34 +0800)]
wpa-supplicant: Add latest stable version 0.6.10

Connman doesn't work well with wpa-supplicant development
version 0.7.2, thus import its latest stable version.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agoMajor layout change to the packages directory
Richard Purdie [Fri, 27 Aug 2010 14:14:24 +0000 (15:14 +0100)]
Major layout change to the packages directory

Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.

The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.

Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoquicky: add QT app quicky, a simple note-taking application
Yu Ke [Wed, 25 Aug 2010 03:13:00 +0000 (11:13 +0800)]
quicky: add QT app quicky, a simple note-taking application

Add quicky from qt-apps.org to validate and demo qt library. quicky is a simple note-taking application with Wiki-style syntax and behaviour.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoqmmp: add QT app qmmp, an QT audio-player
Yu Ke [Wed, 25 Aug 2010 03:13:00 +0000 (11:13 +0800)]
qmmp: add QT app qmmp, an QT audio-player

Add qmmp from qt-apps.org to validate and demo qt library. qmmp is an audio-player, written with help of Qt library

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agofotowall: add QT app fotowall, an QT photo tool
Yu Ke [Wed, 25 Aug 2010 03:12:59 +0000 (11:12 +0800)]
fotowall: add QT app fotowall, an QT photo tool

Add fotowall from qt-apps.org to validate and demo qt library. fotowall is a creative tool that allows you to layout your photos or pictures.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoqt4 core lib: add qt4 core library x11 version.
Yu Ke [Wed, 25 Aug 2010 03:12:59 +0000 (11:12 +0800)]
qt4 core lib: add qt4 core library x11 version.

QT is a comprehensive cross-platform C++ application framework. this commit add QT4 library compiled with X11 options.

The code is ported from OE version, with following changes:
   - remove the obsolate configure options, e.g. -embedded, -qdbus, etc
   - remove the poky unsupported configuree option, e.g. mysql, postgresql etc
   - revise the arch detection func, to support powerpc, x86_64
   - other format cleanup

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoqmake2.bbclass: update for QT4
Yu Ke [Wed, 25 Aug 2010 03:12:59 +0000 (11:12 +0800)]
qmake2.bbclass: update for QT4

qmake2 bbclass is a class to make QT appplication. This commit update qmake2 bbclass for QT4. The code is from OE with minor cleanup.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoqt-tools-native: add QT4 tool to build qt application
Yu Ke [Wed, 25 Aug 2010 03:12:58 +0000 (11:12 +0800)]
qt-tools-native: add QT4 tool to build qt application

QT4 provides tools like moc (meta object compiler), uic (user interface compiler) etc.. to build qt application. This commit add the qt4 tools. The recipe is from OE with minor cleanup.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agogrep: new recipe v2.5.1a
Scott Garman [Wed, 18 Aug 2010 15:26:26 +0000 (08:26 -0700)]
grep: new recipe v2.5.1a

This is the last GPLv2 version of grep. This recipe was dervied from
OpenEmbedded's version.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agodistro_commands.inc: Add maintainer information
Scott Garman [Mon, 16 Aug 2010 21:30:11 +0000 (14:30 -0700)]
distro_commands.inc: Add maintainer information

Also removed mailx package tracking, as this recipe was recently
removed from our requirements.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agoreadline: Split GPLv2 version from shared inc file
Dongxiao Xu [Thu, 26 Aug 2010 02:43:15 +0000 (10:43 +0800)]
readline: Split GPLv2 version from shared inc file

Do not share common inc file with GPLv3 version of recipe
Fix the issue of multiple provider warning

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agocoreutils (GPLv3): add latest version (8.5)
Kevin Tian [Thu, 26 Aug 2010 08:14:29 +0000 (16:14 +0800)]
coreutils (GPLv3): add latest version (8.5)

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agosysstat: add sysstat 9.1.4
Yu Ke [Thu, 26 Aug 2010 03:40:08 +0000 (11:40 +0800)]
sysstat: add sysstat 9.1.4

sysstat is a collection of performance monitoring tools. this commit adds sysstat 9.1.4.
the recipe is ported from OE, with following changes:

- upgrade to 9.1.4
- use populate-volatile to populate /var/log/sa

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agocmake.bbclass: sync from openembedded
Qing He [Fri, 20 Aug 2010 02:57:48 +0000 (10:57 +0800)]
cmake.bbclass: sync from openembedded

this fixes:
  - toolchain detection error (e.g. ar and ranlib)
  - cmake modules search path

Signed-off-by: Qing He <qing.he@intel.com>
14 years agogawk: add 3.1.5 (GPLv2 version)
Yu Ke [Wed, 25 Aug 2010 09:15:48 +0000 (17:15 +0800)]
gawk: add 3.1.5 (GPLv2 version)

this commit add GNU Awk 3.1.5, the most recent GPLv2 version.
the recipe is from OE, and upgrade to 3.1.5

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agocpio: new recipe v2.8
Scott Garman [Tue, 17 Aug 2010 01:55:33 +0000 (18:55 -0700)]
cpio: new recipe v2.8

This is the last GPLv2 version of cpio. The recipe was derived from
OE's v2.5 one.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agoat.inc: remove unneeded LIBS setting
Scott Garman [Mon, 16 Aug 2010 22:00:38 +0000 (15:00 -0700)]
at.inc: remove unneeded LIBS setting

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agotar_1.17: eliminate a patch by setting CFLAGS instead
Scott Garman [Mon, 16 Aug 2010 21:45:29 +0000 (14:45 -0700)]
tar_1.17: eliminate a patch by setting CFLAGS instead

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agofile: reinstate 5.04 upgrades with modifications
Qing He [Tue, 17 Aug 2010 02:58:15 +0000 (10:58 +0800)]
file: reinstate 5.04 upgrades with modifications

reinstate the patch since rpm recipe has been upgraded

> commit 21d586b47c8c5338913c5e8ca2ee604409cc57a0
> Author: Qing He <qing.he@intel.com>
> Date:   Tue Jul 6 13:19:10 2010 +0800
>
>     file: upgrade to version 5.04
>
>     from 4.18
>
>     changes:
>       - remove native-fix.patch and sed line in do_configure_prepend,
>         AM_CONDITIONAL(IS_CROSS_COMPILE, ...) works well
>       - fix the bug of not packaging ${datadir}/misc/magic.mgc,
>         without this file, this utility isn't very useful
>       - add zlib as explicit build dependency
>
>     Signed-off-by: Qing He <qing.he@intel.com>

new changes:
  - string/B is not supported in file 5.04, add an alias to string/W
  - '>=' and '<=' was not supported, add an extension for existing
    usage

Signed-off-by: Qing He <qing.he@intel.com>
14 years agolibuser: add 0.56.16 as new recipe
Zhai Edwin [Wed, 25 Aug 2010 08:05:35 +0000 (16:05 +0800)]
libuser: add 0.56.16 as new recipe

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agobase.bbclass: Add xz-native as depends when finding *.xz in SRCURI
Zhai Edwin [Wed, 25 Aug 2010 08:05:13 +0000 (16:05 +0800)]
base.bbclass: Add xz-native as depends when finding *.xz in SRCURI

Just adding xz-native as DEPENDS in one bb file could not make its unpack run
after xz-native build done.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agoxz: add 4.999.9beta as new recipe
Zhai Edwin [Sun, 22 Aug 2010 03:00:42 +0000 (11:00 +0800)]
xz: add 4.999.9beta as new recipe

Requies xz-native to unpack the tarball of libuser

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agobash (GPLv2): remove metadata sharing from GPLv3 recipe
Kevin Tian [Tue, 24 Aug 2010 07:34:35 +0000 (15:34 +0800)]
bash (GPLv2): remove metadata sharing from GPLv3 recipe

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agofindutils (GPLv2): remove metadata sharing from GPLv3 recipe
Kevin Tian [Tue, 24 Aug 2010 07:17:20 +0000 (15:17 +0800)]
findutils (GPLv2): remove metadata sharing from GPLv3 recipe

to avoid inadvertent contamination in the future, GPLv2 recipe is
fully split its v3 buddy. This way we can enforce strong isolation
for GPLv2 code.

also remove one unnecessary patch

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agorsync: split GPLv2 version from GPLv3 by fixing the GPLv2 recipe
Dexuan Cui [Tue, 24 Aug 2010 03:34:29 +0000 (11:34 +0800)]
rsync: split GPLv2 version from GPLv3 by fixing the GPLv2 recipe

remove the "require rsync.inc", and copy the .inc file into the GPLv2 recipe,
and adjust it properly;

mkdir rsync-2.6.9 and copy files/rsyncd.conf into rsync-2.6.9/rsyncd.conf.
BTW: the .conf file originated from OE in 2006:

commit c2a4b021eb04924f8c8b0e0af1fac337a04cbcae
Author: Raymond Danks <raymond@edanks.com>
Date:   Tue Apr 18 01:43:08 2006 +0000

    rsync: Add rsyncd.conf

http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=c2a4b021eb04924f8c8b0e0af1fac337a04cbcae

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agowhich: add GPLv2 version 2.18
Dexuan Cui [Fri, 20 Aug 2010 12:40:23 +0000 (20:40 +0800)]
which: add GPLv2 version 2.18

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agocoreutils: upgrade to latest GPLv2 version (6.9)
Kevin Tian [Wed, 18 Aug 2010 04:55:21 +0000 (12:55 +0800)]
coreutils: upgrade to latest GPLv2 version (6.9)

Before adding latest coreutils GPLv3 version, first we upgrade existing
recipe to latest GPLv2 version here.

To ensure a clean process, all bits are coded from scratch including
patches and recipe, except that in recipe lines about update-alternative
are reused from previous 5.3.0. All new patches are licensed under
GPLv2.

Tested simple features with most coreutils commands

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agotest: Add scenario file for each target and support single case running
Jiajun Xu [Wed, 18 Aug 2010 14:02:08 +0000 (22:02 +0800)]
test: Add scenario file for each target and support single case running

Different test cases are needed for different targets. A folder "scenario"
is created under scripts/qemuimage-tests to hold scenario files for different
targets.

Single case running is supported now. User can run single case together with
a whole test suite by setting variable TEST_SCEN in local.conf.

By default test cases in sanity suite will be ran. If you want to run other
test suite or specific test case(e.g. bat or boot test case under sanity suite),
list them like following.
TEST_SCEN = "sanity bat sanity:boot"

Signed-off-by Jiajun Xu <jiajun.xu@intel.com>

14 years agotask-poky-basic: added new packages to basic task for LSB
Saul Wold [Mon, 16 Aug 2010 20:44:21 +0000 (13:44 -0700)]
task-poky-basic: added new packages to basic task for LSB

further tweaked by Kevin Tian, with simple boot test. 'at' is disabled
as it depends on mail of build system which needs to be fixed

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agoftrace: add trace-cmd for ftrace control and config
Bruce Ashfield [Fri, 20 Aug 2010 16:24:43 +0000 (12:24 -0400)]
ftrace: add trace-cmd for ftrace control and config

Rather than manually configuring ftrace, trace-cmd was created
to provide a more user friendly interface to the tracer.

Some examples are:

 # ./trace-cmd record -e all ls /bin

Then to see the information:

 # ./trace-cmd report

To see just a subsystem:

 # ./trace-cmd record -e irq ls /bin

To list the available trace events:

 # ./trace-cmd list -e

You can also trace a single trace point with one of two methods:

 # ./trace-cmd record -e sched:sched_wakeup ls /bin

Or simply:

 # ./trace-cmd record -e sched_wakeup ls /bin

This tool also works with tracers (plugins) as well as events

 # ./trace-cmd list -p

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux-wrs: update to 2.6.34.5
Bruce Ashfield [Thu, 26 Aug 2010 18:09:10 +0000 (14:09 -0400)]
linux-wrs: update to 2.6.34.5

edd8801 Linux 2.6.34.5
4070f43 vmware: fix build error in vmware.c
57cbde5 mm: fix up some user-visible effects of the stack guard page
4def7ce mm: fix page table unmap for stack guard page properly

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agosstate/utility-tasks: Ensure do_clean functions correctly and removes shared state
Richard Purdie [Fri, 27 Aug 2010 11:33:58 +0000 (12:33 +0100)]
sstate/utility-tasks: Ensure do_clean functions correctly and removes shared state

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosstate: Run sstate_cleanall() as part of do_setscene()
Richard Purdie [Fri, 27 Aug 2010 11:29:01 +0000 (12:29 +0100)]
sstate: Run sstate_cleanall() as part of do_setscene()

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>