]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agoshadow-sysroot: new recipe for useradd.bbclass support
Scott Garman [Tue, 21 Jun 2011 00:11:34 +0000 (17:11 -0700)]
shadow-sysroot: new recipe for useradd.bbclass support

Packaging login.defs with base-passwd causes problems due to the
file being included in target package installs. Instead, this
shadow-sysroot recipe can be used by useradd.bbclass to put
login.defs into the target sysroot without disturbing packages
intended for target devices.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agogcc: Fix file ownership
Mark Hatle [Fri, 24 Jun 2011 18:26:11 +0000 (13:26 -0500)]
gcc: Fix file ownership

Most of the files that end up in the gcc include dir and other
misc files scattered throughout the install get the build users
uid and gid.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agobase/glib-2.0: Simplify USE_NLS handling for glib-2.0
Richard Purdie [Thu, 23 Jun 2011 10:32:19 +0000 (11:32 +0100)]
base/glib-2.0: Simplify USE_NLS handling for glib-2.0

Currently the only way to get anything to build is to set USE_NLS="yes"
for glib-2.0. We might as well do this in the recipe by default for
now and simpllify the code.

The magic handling of USE_NLS_<recipename> is also removed since this
can be done in the form USE_NLS_pn-<recipename> using overrides these
days.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclasses/conf: Drop MULTIMACH_ARCH variable, it adds unused complexity and serves...
Richard Purdie [Wed, 22 Jun 2011 15:10:16 +0000 (16:10 +0100)]
classes/conf: Drop MULTIMACH_ARCH variable, it adds unused complexity and serves no useful purpose

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: Since we require python 2.6 which always contains hashlib we can drop...
Richard Purdie [Wed, 22 Jun 2011 15:08:29 +0000 (16:08 +0100)]
base.bbclass: Since we require python 2.6 which always contains hashlib we can drop this fallback code

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: Drop old style SRCDATE handling, we have pn- overrides now
Richard Purdie [Wed, 22 Jun 2011 15:07:43 +0000 (16:07 +0100)]
base.bbclass: Drop old style SRCDATE handling, we have pn- overrides now

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoglibc/eglibc: Add missing PR bump
Richard Purdie [Tue, 28 Jun 2011 12:44:09 +0000 (13:44 +0100)]
glibc/eglibc: Add missing PR bump

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc: Fix version 2.12 after locale changes
Richard Purdie [Tue, 28 Jun 2011 12:30:47 +0000 (13:30 +0100)]
eglibc: Fix version 2.12 after locale changes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake wrapper: exit if python v3 is detected
Scott Garman [Wed, 15 Jun 2011 01:16:29 +0000 (18:16 -0700)]
bitbake wrapper: exit if python v3 is detected

Make sure we're not using python v3.x. This check can't go into
sanity.bbclass because bitbake's source code doesn't even pass
parsing stage when used with python v3, so we catch it here so we
can offer a meaningful error message.

This fixes bug [YOCTO #1128]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agolibc-package.bbclass: Replace hard coded libdir.
Lianhao Lu [Thu, 23 Jun 2011 10:59:39 +0000 (18:59 +0800)]
libc-package.bbclass: Replace hard coded libdir.

Replace the hard coded libdir for locale generating to meet the multilib
requirement.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agolibc-locale: split locale handling from libc recipe.
Dongxiao Xu [Tue, 28 Jun 2011 06:58:15 +0000 (14:58 +0800)]
libc-locale: split locale handling from libc recipe.

*libc's do_package will cost a lot of time due to the locale handing,
which may delay the other recipe's do_package task and affect the build
performance.

This commit moves locale handling into a separate recipe *libc-locale.

[RP: Add fixup with recent eglibc commit conflict for FILES_pn-dbg and PACKAGES]
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqemuimagetest: update cvs and iptables to newer version for toolchain test
Jiajun Xu [Fri, 24 Jun 2011 07:53:45 +0000 (15:53 +0800)]
qemuimagetest: update cvs and iptables to newer version for toolchain test

The old versions of cvs and iptables may meet compile error under some architecture
- cvs 1.11.23 fails on x86-64 host and iptables 1.4.9 fails on arm host. Update them
to latest version could solve these build error.
Meanwhile, 240s timeout is set for sudoku becasue 120s is not enough to finish
compile.

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

13 years agocommon-licenses: Additions and corrections
Beth Flanagan [Wed, 15 Jun 2011 20:52:23 +0000 (13:52 -0700)]
common-licenses: Additions and corrections

I've added more licenses from SPDX and corrected the gcc license
so that it is a. parsable and b. accurate to the SPDX standard.

I've also done some cleanup of license text and gdb's LICENSE
field.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
13 years agopython: Add python to the dependency to pygobject
Mark Hatle [Tue, 21 Jun 2011 00:04:13 +0000 (19:04 -0500)]
python: Add python to the dependency to pygobject

pygobject requires both python and pygobject-native for compilation.  Without
python pygobject may fail to compile.. and items that depend on pygobject will
fail to compile.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agodb: Fix file ownership
Mark Hatle [Tue, 21 Jun 2011 21:02:58 +0000 (16:02 -0500)]
db: Fix file ownership

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agognome-doc-utils: Fix the owner/group on select files
Mark Hatle [Mon, 20 Jun 2011 18:24:19 +0000 (13:24 -0500)]
gnome-doc-utils: Fix the owner/group on select files

All of the files in ${datadir}/xml/gnome/xslt were being given the uid/gid
of the build user.  Fix this for the target case, avoid it in the native.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agotzdata: Ensure all files are owned by root:root
Mark Hatle [Mon, 20 Jun 2011 18:23:21 +0000 (13:23 -0500)]
tzdata: Ensure all files are owned by root:root

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agolibtirpc: Fix owner/group of /etc/netconfig
Mark Hatle [Mon, 20 Jun 2011 18:19:36 +0000 (13:19 -0500)]
libtirpc: Fix owner/group of /etc/netconfig

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoghostscript: Fix owner/group of /etc/cups
Mark Hatle [Mon, 20 Jun 2011 18:18:19 +0000 (13:18 -0500)]
ghostscript: Fix owner/group of /etc/cups

/etc/cups is owned by root:lp from the cups package, the associated
ghostscript was creating the /etc/cups directory as root:root.  /etc/cups
is the authoritative source.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agobase-passwd: Fix owners/groups
Mark Hatle [Mon, 20 Jun 2011 18:03:47 +0000 (13:03 -0500)]
base-passwd: Fix owners/groups

Fix the owners and groups of specific files copied from the developmen tree.
This resolves an issue where those files gain the user/group id of the build
user.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoresolveconf: Fix file owners
Mark Hatle [Mon, 20 Jun 2011 18:00:03 +0000 (13:00 -0500)]
resolveconf: Fix file owners

The file ownership of various configuration files needs to be set to root:root
otherwise it inherits the user id of the build.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agonative.bbclass: Add a simple chown intercept command
Mark Hatle [Thu, 23 Jun 2011 16:58:26 +0000 (11:58 -0500)]
native.bbclass: Add a simple chown intercept command

During native recipe processing we want to intercept any calls to chown
and do nothing.  This prevents errors and allows the same recipes to be
used for both native and target recipes.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agokernel.bbclass: Stop do_install poking directly into the sysroot and evading sstate
Richard Purdie [Thu, 23 Jun 2011 19:45:28 +0000 (20:45 +0100)]
kernel.bbclass: Stop do_install poking directly into the sysroot and evading sstate

do_install was putting files directly into the sysroot which means sstate
had no knowledge of them. This meant they didn't get cleaned along with the
other files from the task amongst other issues.

This patch puts them in ${D} where they were supposted to be.

Tested-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackagedata.py: Fix read_subpkgdata_dict()
Richard Purdie [Thu, 23 Jun 2011 15:01:18 +0000 (16:01 +0100)]
packagedata.py: Fix read_subpkgdata_dict()

If both VAR and VAR_foo are in subd, we need to ensure VAR_foo gets
returned. Currently the code would work randomly. The only current
user is the rpm packaging backend.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclasses/package_rpm.bbclass: Change the way the PV is transformed
Mark Hatle [Tue, 21 Jun 2011 00:08:19 +0000 (19:08 -0500)]
classes/package_rpm.bbclass: Change the way the PV is transformed

There were some odd instances where the PKGV could not be loaded in the old
way.  Change to verify that PKGV exists before attempting to retrieve the
value from the key.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agokernel.bbclass: Stage System.map with KERNEL_VERSION suffix
Tom Rini [Wed, 22 Jun 2011 23:48:41 +0000 (16:48 -0700)]
kernel.bbclass: Stage System.map with KERNEL_VERSION suffix

Without this, images will fail now that kernel-abiversion is back.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agoclutter: Use new git repo
Zhai Edwin [Thu, 23 Jun 2011 07:35:49 +0000 (15:35 +0800)]
clutter: Use new git repo

clutter move its git server from clutter-project.org to gnome.org

[YOCTO #1040] got fixed

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agokernel.bbclass: restore kernel-abiversion file
Koen Kooi [Wed, 22 Jun 2011 15:41:34 +0000 (17:41 +0200)]
kernel.bbclass: restore kernel-abiversion file

This fixes external module recipes that need $KERNEL_VERSION. It got removed by

    commit a9d41062e24a6b99661b3a5256f369b557433607
    Author: Darren Hart <dvhart@linux.intel.com>
    Date:   Tue Mar 8 17:09:10 2011 -0800

        kernel/bbclass: rework kernel and module classes to allow for building out-of-tree modules

seemingly as an oversight.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Acked-by: Darren Hart <dvhart@linux.intel.com>
13 years agoperf: Fix linux-tools to ensure perf is installed under "fakeroot"
Mark Hatle [Mon, 20 Jun 2011 18:26:06 +0000 (13:26 -0500)]
perf: Fix linux-tools to ensure perf is installed under "fakeroot"

If perf isn't installed under "fakeroot" (pseudo) control, all of the files
are given the build user's uid/gid.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agokernel.bbclass: Add support for perf-dbg package
Mark Hatle [Mon, 20 Jun 2011 17:58:45 +0000 (12:58 -0500)]
kernel.bbclass: Add support for perf-dbg package

The perf component is built with the kernel, so ensure that it gets the
debug information associated with it.

Also bump the PR in the linux-yocto-* to ensure they get rebuilt.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agosysfsutils: Fall back to default -dbg package
Mark Hatle [Mon, 20 Jun 2011 18:08:46 +0000 (13:08 -0500)]
sysfsutils: Fall back to default -dbg package

The overriden -dbg package wasn't including all of the associated sources,
fall back to the default -dbg package instead.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoclasses/package_rpm.bbclass: Enhance diagnostic messages
Mark Hatle [Mon, 20 Jun 2011 15:59:58 +0000 (10:59 -0500)]
classes/package_rpm.bbclass: Enhance diagnostic messages

We clearly state now if we are:
  * Skipping an empty package
  * Creating a (full) package
  * Creating an empty package

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agopython: Switch to using the default -dbg package
Mark Hatle [Mon, 20 Jun 2011 18:14:21 +0000 (13:14 -0500)]
python: Switch to using the default -dbg package

Python was missing a lot of debug information.  Switch to use the default
-dbg package.  Also add some additional debug information to the -dbg package.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agopython-pyobject: Remove unnecessary -dbg setting
Mark Hatle [Mon, 20 Jun 2011 18:16:27 +0000 (13:16 -0500)]
python-pyobject: Remove unnecessary -dbg setting

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agolibxml-parser-perl: Fix debug package
Mark Hatle [Mon, 20 Jun 2011 18:12:07 +0000 (13:12 -0500)]
libxml-parser-perl: Fix debug package

Certain files were being missed in the -dbg package, fix this.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agotexinfo: Change to use the standard -dbg file
Mark Hatle [Mon, 20 Jun 2011 18:21:25 +0000 (13:21 -0500)]
texinfo: Change to use the standard -dbg file

Remove the custom -dbg package and replace it the standard configuration.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agopsmisc: Remove custom -dbg packages, use default
Mark Hatle [Tue, 21 Jun 2011 00:05:56 +0000 (19:05 -0500)]
psmisc: Remove custom -dbg packages, use default

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agomodutils: Add in missing -dbg package
Mark Hatle [Tue, 21 Jun 2011 00:06:58 +0000 (19:06 -0500)]
modutils: Add in missing -dbg package

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoliba52: Remove custom -dbg, fall back to default
Mark Hatle [Tue, 21 Jun 2011 00:07:32 +0000 (19:07 -0500)]
liba52: Remove custom -dbg, fall back to default

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agopython-gst: Add missing files to the -dbg package
Mark Hatle [Mon, 20 Jun 2011 18:15:22 +0000 (13:15 -0500)]
python-gst: Add missing files to the -dbg package

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agomc: Add missing debug files to -dbg
Mark Hatle [Mon, 20 Jun 2011 18:20:09 +0000 (13:20 -0500)]
mc: Add missing debug files to -dbg

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agogamin: Add missing debug files to -dbg
Mark Hatle [Mon, 20 Jun 2011 18:16:57 +0000 (13:16 -0500)]
gamin: Add missing debug files to -dbg

Add the missing files to the base -dbg package, remove the libPN-dbg as it is
non-standard.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agogthumb: Add missing debug files
Mark Hatle [Mon, 20 Jun 2011 18:25:15 +0000 (13:25 -0500)]
gthumb: Add missing debug files

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agosystemtamp: Add missing debug files
Mark Hatle [Mon, 20 Jun 2011 18:27:26 +0000 (13:27 -0500)]
systemtamp: Add missing debug files

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agotrace-cmd: Add missing debug files
Mark Hatle [Mon, 20 Jun 2011 18:27:52 +0000 (13:27 -0500)]
trace-cmd: Add missing debug files

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agogstreamer: Add missing debug files.
Mark Hatle [Mon, 20 Jun 2011 18:28:29 +0000 (13:28 -0500)]
gstreamer: Add missing debug files.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agogtk-sato-engine: Add missing debug files
Mark Hatle [Mon, 20 Jun 2011 18:29:10 +0000 (13:29 -0500)]
gtk-sato-engine: Add missing debug files

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agolibproxy: Add missing debug files
Mark Hatle [Mon, 20 Jun 2011 18:30:21 +0000 (13:30 -0500)]
libproxy: Add missing debug files

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agowireless-tools: Avoid stripping binaries
Mark Hatle [Mon, 20 Jun 2011 18:01:22 +0000 (13:01 -0500)]
wireless-tools: Avoid stripping binaries

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agobusybox: Avoid stripping binaries
Mark Hatle [Mon, 20 Jun 2011 18:05:30 +0000 (13:05 -0500)]
busybox: Avoid stripping binaries

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoquota: Avoid stripping binaries
Mark Hatle [Mon, 20 Jun 2011 18:20:36 +0000 (13:20 -0500)]
quota: Avoid stripping binaries

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agosysstat: Avoid stripping binaries
Mark Hatle [Mon, 20 Jun 2011 18:21:00 +0000 (13:21 -0500)]
sysstat: Avoid stripping binaries

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agodb: Avoid stripping binaries
Mark Hatle [Mon, 20 Jun 2011 18:29:41 +0000 (13:29 -0500)]
db: Avoid stripping binaries

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agounzip: Avoid stripping binaries
Mark Hatle [Mon, 20 Jun 2011 18:23:49 +0000 (13:23 -0500)]
unzip: Avoid stripping binaries

Not only do we have to override things on the make line, but we
need to hack on configure as well to avoid certain behavior.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agodropbear: Don't patch in configure
Mark Hatle [Tue, 21 Jun 2011 00:01:13 +0000 (19:01 -0500)]
dropbear: Don't patch in configure

We need to avoid applying a patch in configure, because a rebuild could
trigger this, without triggering do_patch.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agonasm: Fix aclocal
Mark Hatle [Tue, 21 Jun 2011 00:02:40 +0000 (19:02 -0500)]
nasm: Fix aclocal

The mv of aclocal.m4 can only occur once, or it will fail.  On a re-run of
configure this will fail.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoboost: Move the do_configure_prepend to a seperate task
Mark Hatle [Tue, 21 Jun 2011 00:17:29 +0000 (19:17 -0500)]
boost: Move the do_configure_prepend to a seperate task

We need to perform those actions after patch, and before configure.

Otherwise a rebuild starting with configure will fail.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agotinylogin: Avoid stripped binaries
Mark Hatle [Mon, 20 Jun 2011 18:08:18 +0000 (13:08 -0500)]
tinylogin: Avoid stripped binaries

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agotcmode-default.inc: use 4.6 for GCCVERSION and SDKGCCVERSION
Khem Raj [Sat, 18 Jun 2011 00:13:57 +0000 (17:13 -0700)]
tcmode-default.inc: use 4.6 for GCCVERSION and SDKGCCVERSION

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agogcc-4.6: Switch to using svn SRC_URI for recipe
Khem Raj [Sat, 18 Jun 2011 00:11:43 +0000 (17:11 -0700)]
gcc-4.6: Switch to using svn SRC_URI for recipe

We call the recipes 4.6
Remove the backport patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoRevert "eglibc: Upgrade recipes from 2.13 -> 2.14"
Richard Purdie [Wed, 22 Jun 2011 22:48:01 +0000 (23:48 +0100)]
Revert "eglibc: Upgrade recipes from 2.13 -> 2.14"

This reverts commit 2a68cf4d315cdd18766de0c75928ff17846a6cd7.

2.14 isn't ready for prime time :(

(A load of files no longer seem to get installed for example)

13 years agoRevert "tcmode-default.inc: Bump EGLIBCVERSION to 2.14"
Richard Purdie [Wed, 22 Jun 2011 22:47:18 +0000 (23:47 +0100)]
Revert "tcmode-default.inc: Bump EGLIBCVERSION to 2.14"

This reverts commit 0250ece17e50fde0f87833f0f1a7d203fcfb4343.

2.14 isn't ready for prime time use :(

13 years agolinux-yocto: update meta and yocto/standard SRCREVs
Bruce Ashfield [Wed, 22 Jun 2011 19:46:20 +0000 (15:46 -0400)]
linux-yocto: update meta and yocto/standard SRCREVs

As part of sync'ing the in-tree beagleboard support, the
following commit has been pushed to all branches, and hence
the SRCREV update:

  bb8e31f USB: ehci: remove structure packing from ehci_def

The meta SRCREV update is to capture the new and sync'd BSP configuration.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: update meta SRCREV for new config groups
Bruce Ashfield [Tue, 21 Jun 2011 20:36:22 +0000 (16:36 -0400)]
linux-yocto: update meta SRCREV for new config groups

Updating the SRCREV for the kernel repo's meta branch to capture
the following commits:

  94fa015 meta: add taskstats experimental feature group
  4fb2ed5 meta: enable freezer support
  88d619e meta: enable fuse and cuse as modules
  f465827 meta: add namespaces + experimental configs
  fbdd376 meta: add devtmpfs config group
  b04f6d9 meta: re-enable cgroups options in the standard kernel

There's also a change to the recipe itself to trigger the taskstats
optional config items by default. This is to allow the introduction
of these changes gradually, since other recipes inheriting the kernel
can add or ignore these options at their convenience.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: update SRCREVs for utrace merge
Bruce Ashfield [Fri, 17 Jun 2011 04:22:30 +0000 (00:22 -0400)]
linux-yocto: update SRCREVs for utrace merge

Updating the SRCREVs to account for the merge of utrace to support
systemtap.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agoqt4-tools-nativesdk: fix compile failure in src/dbus
Paul Eggleton [Sat, 18 Jun 2011 18:24:07 +0000 (19:24 +0100)]
qt4-tools-nativesdk: fix compile failure in src/dbus

[Qt #17962]   -- http://bugreports.qt.nokia.com/browse/QTBUG-17962
[YOCTO #1168] -- http://bugzilla.pokylinux.org/show_bug.cgi?id=1168

Fix "invalid conversion from 'const void*' to 'void*'" error compiling
src/dbus/qdbusintegrator.cpp. It is assumed that the use of "const" here
is incorrect as no other usage of Q_GLOBAL_STATIC_WITH_ARGS uses const
prefix on the first (TYPE) argument.

Patch was imported from the Qt bug tracker (see above reference); the
patch was rejected but for procedural rather than validity reasons.

Fixes [YOCTO #1168]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoqt4-tools-nativesdk: drop freetype include as we build with -no-freetype
Paul Eggleton [Wed, 15 Jun 2011 15:32:43 +0000 (16:32 +0100)]
qt4-tools-nativesdk: drop freetype include as we build with -no-freetype

Freetype support is disabled so there's no need to point to the freetype
headers.

Prompted by OE commit 4931b37c8faf1eef7322cc82bf979885c770f4e0 from
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoqt4-tools-nativesdk: fix unpack failure due to missing g++.conf
Paul Eggleton [Wed, 15 Jun 2011 14:56:16 +0000 (15:56 +0100)]
qt4-tools-nativesdk: fix unpack failure due to missing g++.conf

FILESPATHPKG was being used to in order to bring in linux.conf and
g++.conf in this recipe, however this probably never worked since
FILESPATHPKG always has the MACHINE appended to it and these are not
machine-specific files. The only reason it built was that these two files
could be found within the "files" subdir until we removed Qt 4.6.3.
Using FILESEXTRAPATHS (as qt4-tools-native does) solves this.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agotask-core-lsb: Add absent libraries and commands to task-core-lsb.bb
Xiaofeng Yan [Wed, 22 Jun 2011 05:18:59 +0000 (13:18 +0800)]
task-core-lsb: Add absent libraries and commands to task-core-lsb.bb

Due to "tools-profile" and  "tools-testapps" were removed from variable \
"EXTRA_IMAGE_FEATURES" in meta-yocto/conf/local.conf.sample, some libraries \
needed by LSB Test Suite were absent in an lsb image. I add these absent \
libraries to task-core-lsb.bb.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agotcmode-default.inc: Bump EGLIBCVERSION to 2.14
Khem Raj [Tue, 21 Jun 2011 22:54:51 +0000 (15:54 -0700)]
tcmode-default.inc: Bump EGLIBCVERSION to 2.14

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoeglibc: Upgrade recipes from 2.13 -> 2.14
Khem Raj [Tue, 21 Jun 2011 22:53:38 +0000 (15:53 -0700)]
eglibc: Upgrade recipes from 2.13 -> 2.14

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoeglibc-package.inc: Package newly added sotruss and supporting libraries
Khem Raj [Wed, 22 Jun 2011 00:55:33 +0000 (17:55 -0700)]
eglibc-package.inc: Package newly added sotruss and supporting libraries

2.14 has a new utility which can trace through PLTs of shared libraries
We package the library separately and the script is already packaged in
eglibc-utils so we create a RDEPEND so that the library is pulled in
if someone isntalls eglibc-utils

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agobinutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64
Khem Raj [Wed, 22 Jun 2011 00:58:06 +0000 (17:58 -0700)]
binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agouclibc.inc: libsegfault is only RPROVIDED by uclibc
Khem Raj [Sat, 11 Jun 2011 08:47:33 +0000 (01:47 -0700)]
uclibc.inc: libsegfault is only RPROVIDED by uclibc

Using ${PN} also means that uclibc-initial gets to provide it
which we do not want

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agouclibc: Add support for $ORIGIN
Khem Raj [Tue, 21 Jun 2011 23:01:15 +0000 (16:01 -0700)]
uclibc: Add support for $ORIGIN

This is required by systemd

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agouclibc/x86_64/uClibc.machine: Enable ARCH_USE_MMU
Khem Raj [Mon, 20 Jun 2011 17:20:10 +0000 (10:20 -0700)]
uclibc/x86_64/uClibc.machine: Enable ARCH_USE_MMU

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agogettext-0.18.1.1: Remove unused patches
Khem Raj [Mon, 13 Jun 2011 18:09:13 +0000 (11:09 -0700)]
gettext-0.18.1.1: Remove unused patches

gettext-error_print_progname.patch is already applied upstream
others are unapplied.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agognome-vfs: remove gnome-vfs as it is deprecated in favour of GVFS and GIO
Zhai Edwin [Fri, 3 Jun 2011 02:09:27 +0000 (10:09 +0800)]
gnome-vfs: remove gnome-vfs as it is deprecated in favour of GVFS and GIO

Remove unnecessary dependency via configure option and make oprofileui use GIO

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agoalsa-utils 1.0.24.2: fix packaging
Koen Kooi [Wed, 22 Jun 2011 08:42:56 +0000 (10:42 +0200)]
alsa-utils 1.0.24.2: fix packaging

Put the rules and scripts associated with alsactl in the alsactl subpackage

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoglib-2.0 2.28.x: update to 2.28.8
Koen Kooi [Mon, 20 Jun 2011 08:24:57 +0000 (10:24 +0200)]
glib-2.0 2.28.x: update to 2.28.8

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognome-keyring 2.32.1: fix packaging
Koen Kooi [Sun, 19 Jun 2011 12:26:29 +0000 (14:26 +0200)]
gnome-keyring 2.32.1: fix packaging

NOTE: package gnome-keyring-2.32.1-r1: task do_package: Started
WARNING: the following files were installed but not shipped in any package:

WARNING:   /usr/share/gcr/ui/gcr-import-dialog.ui
WARNING:   /usr/share/gcr/ui/gcr-certificate-basics-widget.ui
WARNING:   /usr/share/gcr/ui/gcr-unlock-options-widget.ui
WARNING:   /usr/lib/security/pam_gnome_keyring.so

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agou-boot: set SRCREV to a git revision instead of a tag reference
Paul Eggleton [Tue, 21 Jun 2011 17:13:28 +0000 (18:13 +0100)]
u-boot: set SRCREV to a git revision instead of a tag reference

If we use a tag here then bitbake has to connect to the repository to find
out the corresponding revision (so it can expand SRCPV which is part of PV,
which amongst other things is needed to determine whether or not the
package has to be rebuilt.) This occurs at parse time; on machines behind a
firewall or with no network access this can be a problem.

We wish to avoid unnecessary network accesses and network access in our
default configuration during parse time is even worse. Substituting the
git revision corresponding to the tag prevents bitbake from having to
contact the remote repository in order to expand PV.

Addresses [YOCTO #1186]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agosystemtap: remove non-core COMPATIBLE_MACHINES
Tom Zanussi [Tue, 14 Jun 2011 22:51:32 +0000 (17:51 -0500)]
systemtap: remove non-core COMPATIBLE_MACHINES

Systemtap only supports x86, x86-64 and powerpc at this point.

v2: updated to reflect comments from Koen Kooi and Phil Blundell to use
    COMPATIBLE_HOST instead.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobind: adjust hardcoded install path references
Phil Blundell [Wed, 15 Jun 2011 14:26:06 +0000 (15:26 +0100)]
bind: adjust hardcoded install path references

Fixes do_install() on micro, which otherwise fails for obvious reasons.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agoeglibc: bump PR for SRCREV changes
Koen Kooi [Tue, 14 Jun 2011 19:23:02 +0000 (21:23 +0200)]
eglibc: bump PR for SRCREV changes

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agoeglibc_2.12.bb: Remove already upstreamed fix-for-make-3.82.diff
Khem Raj [Tue, 14 Jun 2011 18:53:58 +0000 (11:53 -0700)]
eglibc_2.12.bb: Remove already upstreamed fix-for-make-3.82.diff

This patch is already applied to eglibc 2.12 branch as seen here
http://www.eglibc.org/cgi-bin/viewcvs.cgi/branches/eglibc-2_12/libc/manual/Makefile?rev=12230&sortby=date&r2=12230&r1=10495

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agodri2proto: Revert "dri2proto: make DRI2 swap event match GLX spec"
Dexuan Cui [Wed, 15 Jun 2011 06:58:28 +0000 (14:58 +0800)]
dri2proto: Revert "dri2proto: make DRI2 swap event match GLX spec"

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoglproto: Revert "glxproto: make GLX swap event struct match spec"
Dexuan Cui [Wed, 15 Jun 2011 06:52:08 +0000 (14:52 +0800)]
glproto: Revert "glxproto: make GLX swap event struct match spec"

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agolinux-yocto: update meta branch SRCREV
Bruce Ashfield [Wed, 15 Jun 2011 03:56:32 +0000 (23:56 -0400)]
linux-yocto: update meta branch SRCREV

Updating the meta SRCREV to fix a bad commit which resulted in the
tree being dirty after checkpoint, and hence a failure during the
patch phase. The meta commits never modify code outside the 'meta'
directory tree, a rule that was broken with this bad commit.

Without this fix, you may see an error like:

| [INFO] doing kernel configme
| [INFO] Finding user(s) of branch "yocto/standard/fsl-mpc8315e-rdb"
| [INFO] Branch meta-temp used by fsl-mpc8315e-rdb-standard.scc
| [INFO] collecting configs in ./meta/meta-series
| [INFO] checking out yocto/standard/fsl-mpc8315e-rdb
| error: Your local changes to the following files would be overwritten by checkout:
|  arch/powerpc/boot/dts/mpc8315erdb.dts
| Please, commit your changes or stash them before you can switch branches.
| Aborting
| [ERROR] Checkout of yocto/standard/fsl-mpc8315e-rdb failed
| Error running the meta series for collecting config data
| config of meta-temp (fsl-mpc8315e-rdb-standard.scc) failed

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agobusybox: backport distro-features handling from oe master
Phil Blundell [Thu, 9 Jun 2011 15:59:21 +0000 (16:59 +0100)]
busybox: backport distro-features handling from oe master

This is a backport from oe master of the code which adjusts the busybox
config according to DISTRO_FEATURES etc.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agojsib-glib: Fix SRC_URI Checksum
Saul Wold [Sun, 12 Jun 2011 21:48:49 +0000 (14:48 -0700)]
jsib-glib: Fix SRC_URI Checksum

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoalsa-tools: fix Checksums
Saul Wold [Sun, 12 Jun 2011 21:50:07 +0000 (14:50 -0700)]
alsa-tools: fix Checksums

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogcc-4.6.0: Bring in patches from FSF 4.6 branch
Khem Raj [Mon, 13 Jun 2011 03:56:57 +0000 (20:56 -0700)]
gcc-4.6.0: Bring in patches from FSF 4.6 branch

This brings in new patches from 4.6 release branch
updates the comment section of existing branch to not
contain patch numbers.

Tested build on qemu for arm ppc mips x86 and x86_64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoeglibc: migrate configurability from oe
Kang Kai [Tue, 7 Jun 2011 08:16:43 +0000 (16:16 +0800)]
eglibc: migrate configurability from oe

Migrate configurability from oe, try to shrink minimal image size

All eglibc configuration options are included in conf/distro/include/default-distrovars.inc.
Define DISTRO_FEATURES_LIBC and DISTRO_FEATURES in local.conf with the same way
in local.conf.sample.extended to enable those options.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agonative.bbclass: allow a native package to be populated into its own dir
Dexuan Cui [Tue, 31 May 2011 07:07:35 +0000 (15:07 +0800)]
native.bbclass: allow a native package to be populated into its own dir

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoperl-native: populate into its own dir
Dexuan Cui [Tue, 31 May 2011 07:07:56 +0000 (15:07 +0800)]
perl-native: populate into its own dir

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoperlnative.bbclass: add the file
Dexuan Cui [Tue, 31 May 2011 07:08:47 +0000 (15:08 +0800)]
perlnative.bbclass: add the file

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agognu-config-native: should depend on perl-native-runtime rather than perl-native
Dexuan Cui [Tue, 31 May 2011 07:09:21 +0000 (15:09 +0800)]
gnu-config-native: should depend on perl-native-runtime rather than perl-native

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agolibcap: should depend on perl-native-runtime rather than perl-native
Dexuan Cui [Tue, 31 May 2011 07:12:18 +0000 (15:12 +0800)]
libcap: should depend on perl-native-runtime rather than perl-native

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoopenssl: should depend on perl-native-runtime rather than perl-native
Dexuan Cui [Tue, 31 May 2011 07:12:52 +0000 (15:12 +0800)]
openssl: should depend on perl-native-runtime rather than perl-native

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>