]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agopython-smartpm: Add basic knowledge of RPMSENSE_MISSINGOK
Mark Hatle [Wed, 31 Oct 2012 19:43:48 +0000 (14:43 -0500)]
python-smartpm: Add basic knowledge of RPMSENSE_MISSINGOK

Currently smart does not support recommend dependencies.  Add the first set
of 'support' for RPMSENSE_MISSINGOK (the flag that makes something a
recommend).  This initial support ends up ignoring the recommendation, but is
written in a way that it will be the basis of eventual support.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
12 years agorpm: Add additional RPMSENSE values to python module
Mark Hatle [Wed, 31 Oct 2012 19:42:03 +0000 (14:42 -0500)]
rpm: Add additional RPMSENSE values to python module

We add a number of additional RPMSENSE values to the python module to better
support the dependency calculations in SMART.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
12 years agopython-smartpm: Add smartpm recipe
Mark Hatle [Thu, 4 Oct 2012 18:57:00 +0000 (13:57 -0500)]
python-smartpm: Add smartpm recipe

This is the initial integration, basic functionality such as 'smart query'
has been tested.  Active use of remote feeds and such has not yet been
verified.

Thanks to Paul Eggleton for corrections and bug fixes for the initial
integration.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
12 years agorpm: Slightly change the way python-rpm is constructed
Mark Hatle [Thu, 4 Oct 2012 18:54:13 +0000 (13:54 -0500)]
rpm: Slightly change the way python-rpm is constructed

If python support is enabled we want to make sure that the RPM python support
is packaged properly.

Move the components into the site-packages directory, move the .la files to a
new -dev package.

Add "rpm" as a dependency of python-rpm, otherwise rpm and the associated
libraries won't be available.

Fixup python wrapper to handle automatic relocation, as supported by the
vendor WINDRIVER configuration.  (Based on a patch from Paul Eggleton)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
12 years agosstate: Bump version number to deal with layout fixes
Richard Purdie [Wed, 14 Nov 2012 23:32:56 +0000 (23:32 +0000)]
sstate: Bump version number to deal with layout fixes

The recent preveeding sstate directory layout fixes made the code do what it
was originally intended to do, as can be clearly seen from the code.
Unfortunately this changed the contents and layout of the sstate files
themselves since the bug was leading to a directory prefix being missing.

This is now resulting in chaotic messages on the console since things
are getting confused with the two different layouts. The simplest way to
resolve this is to bump the version number, hence moving the new layout
into its own new namespace.

Its worth noting that whilst the failure messages are scary, the failure
mode is relatively harmless since it will just fall back to building the
data rather than installing from sstate.

Usually I'd give more notice of a change like this but under the
circumstances, I'm just going to push this in to resolve the failures
people are seeing. Initially I thought the problem was limited to
some of the -cross packages and therefore of low impact but that is
clearly not the case.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobash: fix mkbuiltins build failure
Christopher Larson [Wed, 14 Nov 2012 14:55:09 +0000 (07:55 -0700)]
bash: fix mkbuiltins build failure

On hosts with FORTIFY_SOURCES, stringize support is required, as it's used by
the macros to wrap functions (e.g. read and open in unistd.h). Those wrappers
use the STRING() macro from unistd.h. A header in the bash sources overrides
the unistd.h macro to 'x' when HAVE_STRINGIZE is not defined, causing the
wrappers to generate calls to 'xread' and 'xopen', which do not exist,
resulting in a failure to link.

Assume we have stringize support when cross-compiling, which works around the
issue.

It may be best for upstream to either give up on supporting compilers without
stringize support, or to not define STRING() at all when FORTIFY_SOURCES is
defined, letting the unistd.h one be used, instead.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate: Fix various path manipulation issues
Richard Purdie [Wed, 14 Nov 2012 15:52:45 +0000 (15:52 +0000)]
sstate: Fix various path manipulation issues

Fix missing parameter to endswith and pass paths through normpath to remove
any duplicate "/" characters which would corrupt other calls like basename.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutils.bbclass: Fix documentation of create_cmdline_wrapper
Richard Purdie [Fri, 9 Nov 2012 11:02:04 +0000 (12:02 +0100)]
utils.bbclass: Fix documentation of create_cmdline_wrapper

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses: Be consistent about sstate-inputdirs/outputdirs ending with '/'
Richard Purdie [Sat, 3 Nov 2012 17:01:32 +0000 (17:01 +0000)]
classes: Be consistent about sstate-inputdirs/outputdirs ending with '/'

If sstate-inputdirs and sstate-outputdirs don't match with ending '/'
characters, the manifest file can end up corrupted. This change
ensures the metadata is consistent in ending do_populate_root tasks
with this character to avoid manifest file corruption.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate: Be consistent about sstate-inputdirs/outputdirs ending with '/'
Richard Purdie [Sat, 3 Nov 2012 17:03:14 +0000 (17:03 +0000)]
sstate: Be consistent about sstate-inputdirs/outputdirs ending with '/'

The manifest file can become corrupted if sstate-inputdirs and sstate-outputdirs
don't have matching endings. This patch ensures that even if set incorrectly,
the code functions as intended, thereby handling manifest corruption safely.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython.inc: make lsb override more concise
Richard Purdie [Sat, 3 Nov 2012 17:19:01 +0000 (17:19 +0000)]
python.inc: make lsb override more concise

No functionality change, just a readability improvement

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibc-common: Ensure sysconfdir exists before installing files to it
Richard Purdie [Tue, 13 Nov 2012 13:31:55 +0000 (13:31 +0000)]
libc-common: Ensure sysconfdir exists before installing files to it

Depending on the eglibc configuaration, the directory may or may not exist.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoboost: Activate zlib and bzip2 because they now work.
Denis 'GNUtoo' Carikli [Sat, 20 Oct 2012 15:50:13 +0000 (17:50 +0200)]
boost: Activate zlib and bzip2 because they now work.

This patch is needed for making wesnoth(will be sumbited
  in meta-games) work.

[RP: Add missing bzip2 dependency]
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa-demos: fix --with-glut check
Ross Burton [Mon, 12 Nov 2012 15:03:28 +0000 (15:03 +0000)]
mesa-demos: fix --with-glut check

The GLUT check was automatic and couldn't be disabled, so mesa-demos would gain
a GLUT dependency if it was present when built.

So, fix configure.ac so that --without-glut works as expected.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitrdscripts: fix udevd in the live boot init scripts
Ross Burton [Mon, 12 Nov 2012 16:18:35 +0000 (16:18 +0000)]
initrdscripts: fix udevd in the live boot init scripts

udevd moved location and isn't in $PATH anymore, so use an absolute path to
start it.

The control socket path moved too, so mkdir the directory it's in.

Mounts the new devtmpfs on /dev device tree.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexandru Damian <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibunique: fix compilation with GLib 2.34
Ross Burton [Mon, 12 Nov 2012 17:52:36 +0000 (17:52 +0000)]
libunique: fix compilation with GLib 2.34

The new GLib has deprecated some functions, and libunique was building with
-Werror.  Take a patch from upstream to update the build system and rationalise
the warning flags.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane: detect and warn about relocations in .text
Phil Blundell [Wed, 3 Oct 2012 10:24:12 +0000 (11:24 +0100)]
insane: detect and warn about relocations in .text

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxslt: upgrade to 1.1.27
Constantin Musca [Fri, 9 Nov 2012 10:00:41 +0000 (12:00 +0200)]
libxslt: upgrade to 1.1.27

pkgconfig_fix.patch: adapted to the new version

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopuzzles: upgrade to r9660
Constantin Musca [Fri, 9 Nov 2012 10:00:42 +0000 (12:00 +0200)]
puzzles: upgrade to r9660

License checksum change due to diff:
4,5c4,5
< K�lker, Dariusz Olszewski, Michael Schierl, Lambros Lambrou and
< Bernd Schmidt.
> K�lker, Dariusz Olszewski, Michael Schierl, Lambros Lambrou, Bernd
> Schmidt and Steffen Bauer.

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: remove python2 detection hack
Ross Burton [Thu, 8 Nov 2012 11:31:31 +0000 (11:31 +0000)]
mesa: remove python2 detection hack

Our python-native is 2.7.3 which ships python2, and we've been patching it in to
earlier versions since September 2011.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_base.bbclass: use SDK_ARCH instead of SDKMACHINE
Laurentiu Palcu [Mon, 5 Nov 2012 13:06:59 +0000 (15:06 +0200)]
populate_sdk_base.bbclass: use SDK_ARCH instead of SDKMACHINE

If SDKMACHINE is not set, the toolchain will be built but the tarball
installer will not run. A better choice is to use SDK_ARCH because, even
if SDKMACHINE is not set, SDK_ARCH is set, by default, to BUILD_HOST.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib-2.0: upgrade to latest stable, 2.34.1.
Ross Burton [Mon, 5 Nov 2012 16:22:48 +0000 (16:22 +0000)]
glib-2.0: upgrade to latest stable, 2.34.1.

Also explicitly disable the test suite (as we can't run it), subsequently
dropping 60_wait-longer-for-threads-to-die.patch and nodbus.patch.

nolibelf.patch has been merged upstream, drop.

Upstream has dropped the pre-generated man pages, to generate them again we'd
need libxslt and the DocBook infrastructure.  We can live without the man pages
as those build-dependencies are non-trivial.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib-2.0: remove zip build dependency
Ross Burton [Mon, 5 Nov 2012 16:22:47 +0000 (16:22 +0000)]
glib-2.0: remove zip build dependency

This dependency mysteriously appeared a long time ago for no good reason, remove
it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4: remove -lGLU from QMAKE_LIBS_OPENGL in our linux.conf
Martin Jansa [Mon, 5 Nov 2012 23:36:47 +0000 (00:36 +0100)]
qt4: remove -lGLU from QMAKE_LIBS_OPENGL in our linux.conf

upstream does not need GLU since:
commit e7eed096a0c33607a7a37baaf06e5952dc9d556b
Author: Bj<C3><B8>rn Erik Nilsen <bjorn.nilsen@nokia.com>
Date:   Mon Aug 9 14:07:01 2010 +0200

    Remove dependency of OpenGL Utility Library (GLU).

    GLU is not part of standard OpenGL and is not used internally in Qt,
    so we should not depend on it.

    Task-number: QT-12227
Reviewed-by: kim
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxorg-driver-common: remove AC_CHECK_FILE workaround
Ross Burton [Tue, 6 Nov 2012 12:32:35 +0000 (12:32 +0000)]
xorg-driver-common: remove AC_CHECK_FILE workaround

The drivers don't generally use AC_CHECK_FILE anymore, so remove this
brute-force kludge. Any subsequent breakage can be worked-around in the recipe
and fixes submitted upstream.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa: remove redundant _FOR_BUILD variables
Ross Burton [Fri, 9 Nov 2012 10:09:29 +0000 (10:09 +0000)]
meta: remove redundant _FOR_BUILD variables

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautotools: set _FOR_BUILD variables here
Ross Burton [Fri, 9 Nov 2012 10:09:28 +0000 (10:09 +0000)]
autotools: set _FOR_BUILD variables here

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/oe/classextend: Ensure we don't extend expressions more than once
Richard Purdie [Tue, 6 Nov 2012 08:29:00 +0000 (09:29 +0100)]
lib/oe/classextend: Ensure we don't extend expressions more than once

We could end up with MLPREFIX being prepended to variables like
PACKAGE_DYNAMIC. This patch avoids the problem and unbreaks builds.

[YOCTO #3389]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognome-desktop: Now we depend on gnome-common-native, use the correct sysroot
Richard Purdie [Fri, 2 Nov 2012 16:17:07 +0000 (16:17 +0000)]
gnome-desktop: Now we depend on gnome-common-native, use the correct sysroot

This fixes the build after gnomebase was changed to depend on
gnome-common-native.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognomebase: depend on gnome-common-native
Ross Burton [Tue, 30 Oct 2012 11:30:26 +0000 (11:30 +0000)]
gnomebase: depend on gnome-common-native

gnome-common is a build-only dependency so we should depend on the native
variant.  This also resolves an (incorrect) GPLv3 license issue in gnome-common
at build-time.

This will also remove the pointless gnome-common-dev RRECOMMENDS in any -dev
package that uses gnomebase.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopopulate_sdk_base.bbclass: check installation machine before installing SDK
Laurentiu Palcu [Thu, 1 Nov 2012 13:23:02 +0000 (15:23 +0200)]
populate_sdk_base.bbclass: check installation machine before installing SDK

Do not allow installer to continue if the installation machine architecture
does not match the intended SDK machine architecture.

[YOCTO: #3269]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agognome-common: Fix license
Ross Burton [Tue, 30 Oct 2012 12:02:45 +0000 (12:02 +0000)]
gnome-common: Fix license

gnome-common 2.28 is GPLv2+.  From Christian Persch, upstream:

  The licence is presumed GPL2+, although it's not there explicitly.  GPL2+
  because as far as I could figure out when I tried to, gnome-autogen started in
  gnome-core which had a GPL2 COPYING file.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobitbake.conf: Add udev rules into ${PN} files by default
Khem Raj [Wed, 31 Oct 2012 06:45:47 +0000 (23:45 -0700)]
bitbake.conf: Add udev rules into ${PN} files by default

As we move to systemd, udev is not provided by systemd where the arch
independent files are stored in /lib and /usr/lib and not in
${base_libdir} and ${libdir} which means the files like udev rules
go into /lib/udev or /usr/lib/udev. This patch adds these paths
to be packaged into default ${PN} output package from a recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocreate-recipe: update re pattern and output
Kang Kai [Thu, 1 Nov 2012 02:44:56 +0000 (10:44 +0800)]
create-recipe: update re pattern and output

In the URL, there may be more than just digits in the version section,
something like xz 5.1.2alpha. Update RE pattern to catch all the string
after package name and before '.tar' in URL as package version.

And error message which has been sent to /dev/null still shows on Ubuntu
12.10 with perl 5.14. Update the way to find source tar file to eraser
the error message.

configure files may rewrite the version section, and that is not necessary.
Test when version section has been set, omit the version value from
configure files.

And tweak for output to bb file.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agohwclock.sh: improve hwclock.sh script to use UTC variable
Chen Qi [Thu, 1 Nov 2012 06:47:46 +0000 (14:47 +0800)]
hwclock.sh: improve hwclock.sh script to use UTC variable

Make UTC variable in /etc/default/rcS has effect on hwclock.sh.
This variable declares whether the Hardware Clock is kept in UTC
or local time. Default its value to "yes" and change the comment.

[YOCTO #3341]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorecipes-devtools: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
recipes-devtools: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorecipes-extended: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
recipes-extended: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorecipes-graphics: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
recipes-graphics: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorecipes-support: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
recipes-support: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

NOTE:
There were 2 errors in libcap.inc, the BUILD_LDFLAGS_virtclass_native
should be BUILD_LDFLAGS_virtclass-native (the "_" should be "-"),
otherwise it doesn't work, and the value was: "-Wl,rpath=...", this is
incorrect, it shoudl be: "-Wl,-rpath=..." (lacked a - ), but we don't
need this line, since it is already in the default BUILD_LDFLAGS. Remove
it and we don't need to bump the PR since we just removed a unused line.

[YOCTO #3297]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorecipes-gnome: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
recipes-gnome: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorecipes-kernel: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
recipes-kernel: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorecipes-connectivity: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
recipes-connectivity: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclasses: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
classes: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoconf: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
conf: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorecipes-core: replace virtclass-native(sdk) with class-native(sdk)
Robert Yang [Sat, 27 Oct 2012 08:48:17 +0000 (16:48 +0800)]
recipes-core: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobabeltrace: fix depends
Jack Mitchell [Mon, 29 Oct 2012 09:28:50 +0000 (09:28 +0000)]
babeltrace: fix depends

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackagegroup-core-tools-profile: include sysprof only if x11 is distro feature
Jack Mitchell [Mon, 29 Oct 2012 09:28:49 +0000 (09:28 +0000)]
packagegroup-core-tools-profile: include sysprof only if x11 is distro feature

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolatencytop: disable GTK and remove gtk+ dependacy
Jack Mitchell [Mon, 29 Oct 2012 09:28:48 +0000 (09:28 +0000)]
latencytop: disable GTK and remove gtk+ dependacy

When DISTRO_FEATURES does not contain x11, disable GTK GUI and
also don't add gtk+ to the DEPENDS

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: Build separate GLU library
Daniel Stone [Fri, 26 Oct 2012 15:00:09 +0000 (16:00 +0100)]
mesa: Build separate GLU library

Mesa has removed GLU from the core tree upstream, so remove it from the
Mesa build and add the separate tarball as a new recipe.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoterminal: Ensure existing environment exports are preserved in devshell
Richard Purdie [Fri, 2 Nov 2012 11:23:33 +0000 (11:23 +0000)]
terminal: Ensure existing environment exports are preserved in devshell

After recent changes to terminal.bbclass, variables like PATH were no longer
preserved within the devshell. This change ensures they are inherited into
the environment of devshell and PATH for example has the correct values.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoterminal.bbclass: Ensure parent environment is set
Richard Purdie [Tue, 30 Oct 2012 16:36:50 +0000 (16:36 +0000)]
terminal.bbclass: Ensure parent environment is set

If this isn't done, various terminals fail to launch correctly
with "No such file or directory" errors. This adds back the environment
manipulation removed in the addition of "custom" terminal command
support but shouldn't regress that additional functionality

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssl: Use ${CFLAGS} not ${FULL_OPTIMIZATION}
Phil Blundell [Mon, 29 Oct 2012 15:20:19 +0000 (15:20 +0000)]
openssl: Use ${CFLAGS} not ${FULL_OPTIMIZATION}

The latter variable is only applicable for target builds and could
result in passing incompatible options (and/or failing to pass
required options) to ${BUILD_CC} for a virtclass-native build.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoudev: Ensure tmpfs are mounted and volatile/run exists
Richard Purdie [Mon, 29 Oct 2012 15:16:17 +0000 (15:16 +0000)]
udev: Ensure tmpfs are mounted and volatile/run exists

There is a race with udev where eiher the run directory can get replaced
during bootup leading to ude errors, or if the tmpfs was mounted and
populate-volatiles hasn't run, udev won't start at all.

This ensures that any tmpfs get mounted before udev starts and that the
default volatiles/run directory at least exists, fixing the races
and boot time errors caused after the recent udev upgrade.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoudev: Use correct variable in udev.conf for run_path
Richard Purdie [Mon, 29 Oct 2012 10:58:56 +0000 (10:58 +0000)]
udev: Use correct variable in udev.conf for run_path

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopolkit: remove license.html from LIC_FILES_CHKSUM
Phil Blundell [Mon, 29 Oct 2012 17:36:37 +0000 (17:36 +0000)]
polkit: remove license.html from LIC_FILES_CHKSUM

This is a generated file and gets removed by "make clean" which then
causes subsequent rebuilds to fail.  Also, the content in this file
is taken verbatim from COPYING (which is already in LIC_FILES_CHKSUM)
so checking it for a second time doesn't accomplish much.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoudev-extraconf: Don't mount root filesystem under /media
Andy Ross [Tue, 18 Sep 2012 21:38:45 +0000 (14:38 -0700)]
udev-extraconf: Don't mount root filesystem under /media

The mount.sh handler attempts to prevent already-mounted filesystems
from being mounted as dynamic/removable "/media".  But it misses the
case where the kernel has mounted the root filesystem (e.g. with
"root=/dev/sda1").  In that situation, /proc/mounts has a device name
of "/dev/root" instead of the proper $DEVNAME string exposed by udev.
So we must also test the root filesystem device number vs. the
$MAJOR/$MINOR udev tells us.

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobusybox: add /usr/bin/stat applet
Andy Ross [Tue, 18 Sep 2012 21:38:44 +0000 (14:38 -0700)]
busybox: add /usr/bin/stat applet

The busybox defconfig lacks a stat tool, the functionality of which
cannot be reproduced in a way accessible to a shell script running in
a minimal configuration.  Enable, and modify the installation path to
/usr/bin/stat to match the coreutils tool for proper alternatives
handling.

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolttng-modules: remove unused lttng-syscalls patch
Tom Zanussi [Fri, 26 Oct 2012 16:21:16 +0000 (11:21 -0500)]
lttng-modules: remove unused lttng-syscalls patch

commit b7e184508 (lttng-2.0: fix srcrev/pv to match the recipe
filenames) removed the
lttng-sycalls-protect-is_compat_task-from-redefiniti.patch from the
SRC_URI but forgot to remove the patch itself.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Change systemd_unitdir definition
Khem Raj [Fri, 26 Oct 2012 07:03:49 +0000 (00:03 -0700)]
bitbake.conf: Change systemd_unitdir definition

systemd_unitdir indicates the arch independent
files which are basically scripts and unit files
and systemd wants then to be in /lib always even
when base_libdir is  /lib64, hence we have to reflect
that and not use base_libdir to define it. Otherwise
on architectures where base_libdir is lib64 e.g. ppc64
or multilibbed x86_64 this wont work

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_identifier: replace slash with hyphen
Mihai Lindner [Fri, 26 Oct 2012 14:37:18 +0000 (17:37 +0300)]
distro_identifier: replace slash with hyphen

Use "-" instead of "/" in "n/a" strings ("Distributor ID" and/or
"Release"), provided by `lsb_release`.
This leads to directories and subdirectories created in ./sstate-cache/
e.g. Distro-n/a/ where "Distro-n" is dir and "a" is subdir.

Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_base: allow SDK path of various level
Fabien Proriol [Tue, 16 Oct 2012 14:32:30 +0000 (14:32 +0000)]
populate_sdk_base: allow SDK path of various level

In the previous version, tar extraction use the --strip-component
option with "4" hard coded value.
If we set another SDKPATH, with a different depth, the sdk installation
fails.

This patch computes the level from the SDKPATH value.

Signed-off-by: Fabien Proriol <fabien.proriol@jdsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoltp: add perl to RDEPENDS
Saul Wold [Thu, 25 Oct 2012 20:00:38 +0000 (13:00 -0700)]
ltp: add perl to RDEPENDS

Some of the ltp scripts are perl, this was not seen in the
past because ltp is normally installed in an -sdk build with
perl already there.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosstate: add manifest info for shared file matches
Saul Wold [Thu, 18 Oct 2012 19:25:05 +0000 (12:25 -0700)]
sstate: add manifest info for shared file matches

Present the manifest file that contains the matches for
files being installed to a location that already contains
that file. This will help to determine which is the correct
recipe to fix when this occurs.

[YOCTO #3191]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogst-meta-base: include ximagesink plugin when x11 is a feature
Saul Wold [Wed, 24 Oct 2012 20:52:17 +0000 (13:52 -0700)]
gst-meta-base: include ximagesink plugin when x11 is a feature

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopulseaudio: remove libpulse-browse, removed upstream in 2011
Ross Burton [Wed, 24 Oct 2012 16:37:36 +0000 (17:37 +0100)]
pulseaudio: remove libpulse-browse, removed upstream in 2011

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopulseaudio: fix library packaging
Ross Burton [Wed, 24 Oct 2012 16:37:35 +0000 (17:37 +0100)]
pulseaudio: fix library packaging

libpulsecommon has moved into libdir/pulse.

libpulsedsp is an internal library for padsp so put that into pulseaudio-misc
along with padsp.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopulseaudio: move helper binaries into the relevant module packages
Ross Burton [Wed, 24 Oct 2012 16:37:34 +0000 (17:37 +0100)]
pulseaudio: move helper binaries into the relevant module packages

proximity-helper is only used by the bluetooth-proximity module, and
gconf-helper is only used by the gconf module.  Clarify the packaging and clean
up dependencies by shipping the helper binaries with the modules that spawn
them.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopulseaudio: add GConf dependency
Ross Burton [Wed, 24 Oct 2012 16:37:33 +0000 (17:37 +0100)]
pulseaudio: add GConf dependency

Add explicit build-dependency on GConf as currently it's an implicit dependency
and so vunerable to races at build time.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoinsane.bbclass and friends: Fix sanity checks and multlib headers for n32
Peter Seebach [Tue, 23 Oct 2012 22:56:00 +0000 (17:56 -0500)]
insane.bbclass and friends: Fix sanity checks and multlib headers for n32

The n32 architecture is odd, in that it's a mips64 ABI which happens
to be 32-bit. To handle this, we need something in the environment
which can be used to distinguish it. The obvious place to stash this
is the ABI suffix, so we use "n32" as an ABI suffix. This allows
a couple of improved checks:

1. In insane.bbclass, we can use "linux-gnun32" to discern that it's
okay for a mips64 binary to be a 32-bit binary in some cases.
2. In multilib_header, we can check for the n32 ABI, and use a distinct
value.
3. In siteinfo, add linux-gnun32 as a synonym for linux, similar to
what's done for linux-gnux32, and tell the mips*-linux-gnun32 variants
to pick up the corresponding mips-linux site configs.

Note that the multilib header wrapper already has n32 hooks in it, there
was just nothing creating -n32 header variants.

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopopulate_sdk_base: Ensure that the multilib cross-canadian tools are used
Mark Hatle [Mon, 22 Oct 2012 14:55:47 +0000 (09:55 -0500)]
populate_sdk_base: Ensure that the multilib cross-canadian tools are used

Update the host toolchain list, for cross-canadian toolchains, to ensure
that all of the supported multilibs are built and installed.  This
dynamically generates the dependnecy set based on the current multilib
configuration.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopopulate_sdk_base: Update extraction script for multilibs
Mark Hatle [Wed, 26 Sep 2012 23:02:06 +0000 (18:02 -0500)]
populate_sdk_base: Update extraction script for multilibs

When multilibs are enabled, there will be more then one environment
file created.  We need to be sure to process each environment file.
The next function can simply use the last environment file processed
to get the magic value(s) that it requires.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomultilib - crosssdk: Stop building multilib for crosssdk packages
Mark Hatle [Wed, 26 Sep 2012 23:01:04 +0000 (18:01 -0500)]
multilib - crosssdk: Stop building multilib for crosssdk packages

Crosssdk packages are not actually multilib packages, so treat them
the same as other nativesdk packages in the multilib, base, and
classextend components.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomultilib: Add support for cross-canadian multilib packages
Mark Hatle [Mon, 24 Sep 2012 21:25:37 +0000 (16:25 -0500)]
multilib: Add support for cross-canadian multilib packages

Add support for the generation of cross-canadian packages.

Each cross-canadian package has:
 PN = "pkg-cross-canadian-${TRANSLATED_TARGET_ARCH}"

in order for that to be evaluated properly with multilibs enabled, it was
necessary to detect both the presence of the cross-canadian packages and
then update the vars using the OVERRIDE for the multilib.  Additional checks
were made to ensure that any dependency that sais "cross-canadian" did not
get prefixed with the MLPREFIX.

Also, make sure that even when building multilib cross-canadian packages,
we only use the single SDK PACKAGE_ARCH, we don't want or need variants.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agozeroconf: remove
Paul Eggleton [Wed, 22 Aug 2012 15:50:27 +0000 (15:50 +0000)]
zeroconf: remove

We already have avahi in OE-Core and some cursory research suggests that
avahi is preferred over this package, which has apparently not seen a
release since 2006. Nothing in OE-Core actually refers to it, so let's just
remove it.

CC: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoudev: upgrade to 182
Alexandru DAMIAN [Fri, 21 Sep 2012 20:57:21 +0000 (13:57 -0700)]
udev: upgrade to 182

This is the final upgrade of udev. Futher upgrades will only
come in conjunction with systemd.

The v4l1 removal patch is deprecated as the bug is fixed inside udev.
There is a new patch fixing the path for default sh interpreter.
New debug binaries are generated, and udev.inc is modified to package
those correctly.
The install locations changed for udevd and udevadm, so the scripts
are updated accordingly.

(From OE-Core rev: 3cbe52b94c4d559a037347ac419fafee5af84fe6)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Conflicts:

meta/recipes-core/udev/udev_164.bb

sgw - Fixed up DEPENDS += and added some OECONF options that where in the
meta-oe version and make sense to be included.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodiffutils: fix rebuilds
Ross Burton [Thu, 25 Oct 2012 14:07:04 +0000 (14:07 +0000)]
diffutils: fix rebuilds

If diffutils rebuilds it tries to remove with "rm" files that don't exist
anymore, resulting in an error.

Use rm -f so the removal always succeeds.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl: update dependencies
Kang Kai [Thu, 25 Oct 2012 09:50:58 +0000 (09:50 +0000)]
perl: update dependencies

Update dependencies for perl modules again. When only install
perl-module-file-glob, run perl script with "require File::Glob;" will
fail. Update dependencies to fix that.

[Yocto 3069]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocogl/clutter: Explicitly depend on libdrm for GLX
Richard Purdie [Thu, 25 Oct 2012 11:19:06 +0000 (11:19 +0000)]
cogl/clutter: Explicitly depend on libdrm for GLX

cogl and clutter explicitly rely on libdrm being present when using the glx
backend. If its not listed in DEPENDS and an alternative to mesa is used, it
may not actually be present. This patch ensures it is and fixes a build
race condition which could see dependencies like clutter-box2d failing to
compile due to missing pkgconfig dependencies.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautomake: update dependencies
Kang Kai [Wed, 24 Oct 2012 06:09:53 +0000 (14:09 +0800)]
automake: update dependencies

Remove the RDEPENDS for nativesdk because the nativesdk-automake also
needs perl modules.

Add dependencies perl-module-thread-queue and perl-module-threads.

Remove redundant dependencies that they are already required by autoconf
and autoconf is required by automake.

In this removed list, "-->" present "required by":

  perl-module-cwd --> perl-module-file-path --> autoconf
  perl-module-dynaloader --> perl-module-xsloader --> perl-module-fcntl
     --> perl-module-file-stat --> autoconf
  perl-module-exporter-heavy --> perl-module-exporter --> autoconf
  perl-module-constant --> autoconf
  perl-module-errno --> autoconf
  perl-module-file-basename --> autoconf
  perl-module-file-compare --> autoconf
  perl-module-file-copy --> autoconf
  perl-module-file-glob --> autoconf
  perl-module-file-spec-unix --> perl-module-file-spec
         --> perl-module-io-file --> autoconf
  perl-module-file-stat --> autoconf
  perl-module-getopt-long --> autoconf
  perl-module-io --> perl-module-IO-handle --> perl-module-IO-seekable
     --> perl-module-io-file --> autoconf
  perl-module-io-file --> autoconf
  perl-module-posix --> autoconf

Bump up PR.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautoconf: update runtime dependencies
Kang Kai [Wed, 24 Oct 2012 06:09:52 +0000 (14:09 +0800)]
autoconf: update runtime dependencies

Update autoconf runtime dependencies on perl and perl modules. And
remove RDEPENDS for nativesdk because the nativesdk-autoconf has same
dependencies with autoconf.

Then fixes autoreconf runs failed both on target and toolchain.

Bump up PR.

[Yocto 3100]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl: update dependencies among modules
Kang Kai [Wed, 24 Oct 2012 06:09:51 +0000 (14:09 +0800)]
perl: update dependencies among modules

Run autoreconf fails because it uses several perl modules and they
requires other perl modules. So update these dependencies for:
  perl-module-exporter
  perl-module-file-glob
  perl-module-file-path
  perl-module-file-spec
  perl-module-file-stat
  perl-module-io-file
  perl-module-io-handle
  perl-module-io-seekable
  perl-module-posix

And RDEPENDS rules in file perl-rdepends_5.14.2.inc don't work for
nativesdk perl module packages. Replace all "perl" with "${PN}" in the
file to fix that.

In nativesdk.bbclass it calls
oe.classextend.NativesdkClassExtender().map_packagevars() to map package
vars include var RDEPENDS. In map_packagevars():

  for pkg in (self.d.getVar("PACKAGES", True).split() + [""]):

the value of var "PACKAGES" may not be calculated correctly, so for
all the nativesdk packages created by

  PACKAGES_DYNAMIC_virtclass-nativesdk += "^nativesdk-perl-module-.*"

dependencies are wrong.

This is similar with 51cbb5ae76a22d465e2f6c5ef923ec2682624e3b.

Bump up PR.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosato-icon-theme: merge sato-icon-theme.inc into recipe
Andreas Müller [Wed, 24 Oct 2012 08:05:17 +0000 (10:05 +0200)]
sato-icon-theme: merge sato-icon-theme.inc into recipe

nothing else needs sato-icon-theme.inc

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosato-icon-theme: fix build
Andreas Müller [Wed, 24 Oct 2012 08:05:16 +0000 (10:05 +0200)]
sato-icon-theme: fix build

| Can't locate XML/Simple.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/lib/icon-naming-utils/icon-name-mapping line 12.
| BEGIN failed--compilation aborted at /home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/lib/icon-naming-utils/icon-name-mapping line 12.
| make[3]: *** [install-data-local] Error 2
| make[3]: Leaving directory `/home/andreas/tmp/oe-core-eglibc/work/all-angstrom-linux/sato-icon-theme-0.4.1-r5/sato-icon-theme-0.4.1/16x16/actions'
| make[2]: *** [install-am] Error 2
| make[2]: Leaving directory `/home/andreas/tmp/oe-core-eglibc/work/all-angstrom-linux/sato-icon-theme-0.4.1-r5/sato-icon-theme-0.4.1/16x16/actions'
| make[1]: *** [install-recursive] Error 1
| make[1]: Leaving directory `/home/andreas/tmp/oe-core-eglibc/work/all-angstrom-linux/sato-icon-theme-0.4.1-r5/sato-icon-theme-0.4.1/16x16'
| make: *** [install-recursive] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_install (see /home/andreas/tmp/oe-core-eglibc/work/all-angstrom-linux/sato-icon-theme-0.4.1-r5/temp/log.do_install.21502 for further information)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognome-icon-theme: remove unused configure variable
Andreas Müller [Wed, 24 Oct 2012 08:05:15 +0000 (10:05 +0200)]
gnome-icon-theme: remove unused configure variable

configure: WARNING: unrecognized options: --disable-silent-rules, --with-libtool-sysroot, --disable-hicolor-check

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognome-icon-theme: fix icon mapping
Andreas Müller [Wed, 24 Oct 2012 08:05:14 +0000 (10:05 +0200)]
gnome-icon-theme: fix icon mapping

Multiple errors in log.do_install as:
Can't locate XML/Simple.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/lib/../libexec/icon-name-mapping line 12.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg-utils: bump SRCREV to latest
Martin Jansa [Wed, 24 Oct 2012 11:37:05 +0000 (13:37 +0200)]
opkg-utils: bump SRCREV to latest

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-plugins-good: disable taglib explicitly
Ross Burton [Wed, 24 Oct 2012 09:30:18 +0000 (10:30 +0100)]
gst-plugins-good: disable taglib explicitly

This was being detected automatically so the build wasn't deterministic.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: break three very long lines
Robert Yang [Tue, 23 Oct 2012 07:52:26 +0000 (15:52 +0800)]
bitbake.conf: break three very long lines

Break the following 3 very long lines into 3 pieces, make a line under
80 characters, will modify BB_HASHBASE_WHITELIST and
BB_HASHCONFIG_WHITELIST in the next patch:

BB_HASHBASE_WHITELIST
BB_HASHCONFIG_WHITELIST
BB_SIGNATURE_EXCLUDE_FLAGS

[YOCTO #3299]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxorg-driver: add xserver driver ABI dependencies
Ross Burton [Mon, 22 Oct 2012 09:37:25 +0000 (10:37 +0100)]
xorg-driver: add xserver driver ABI dependencies

At build time extract the xserver driver ABI versions that we're building
against and add RDEPENDs on them, so the driver isn't used against an xserver
with a different ABI (which won't work).

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorootfs_rpm.bbclass: maybe no rpm postinst script
Robert Yang [Wed, 26 Sep 2012 09:22:16 +0000 (17:22 +0800)]
rootfs_rpm.bbclass: maybe no rpm postinst script

There maybe no rpm postinst script (e.g., core-image-minimal), then the
"*" is not expanded, and there would be error:

head: cannot open `rpm-postinsts/*' for reading: No such file or directory

Check whether it exists or not will fix the problem.

[YOCTO #3172]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoterminal: Add support for running custom terminals.
Morten Minde Neergaard [Fri, 19 Oct 2012 10:37:07 +0000 (12:37 +0200)]
terminal: Add support for running custom terminals.

Example config:
OE_TERMINAL = "custom"
OE_TERMINAL_CUSTOMCMD = "mysuperterm"

Signed-off-by: Morten Minde Neergaard <mneergaa@cisco.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoshadow-securetty: add ARM AMBA serial ports
Marcin Juszkiewicz [Wed, 17 Oct 2012 12:54:01 +0000 (14:54 +0200)]
shadow-securetty: add ARM AMBA serial ports

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-firmare: upgrade to latest commit
Ross Burton [Thu, 18 Oct 2012 14:03:41 +0000 (15:03 +0100)]
linux-firmare: upgrade to latest commit

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogtk-immodules-cache: Add initial class to update gtk inputmethod module cache
Samuel Stirtzel [Thu, 18 Oct 2012 07:32:47 +0000 (09:32 +0200)]
gtk-immodules-cache: Add initial class to update gtk inputmethod module cache

This is used by:
openembedded-core/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb
meta-openembedded/meta-oe/recipes-support/maliit/maliit-framework_git.bb

Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agonativesdk-ncurses 5.9: files were installed but not shipped
Robert Yang [Tue, 23 Oct 2012 13:12:45 +0000 (21:12 +0800)]
nativesdk-ncurses 5.9: files were installed but not shipped

There is an warning:

$ bitbake nativesdk-ncurses

WARNING: QA Issue: nativesdk-ncurses: Files/directories were installed
but not shipped
  /opt/poky/1.3+snapshot/sysroots/i686-pokysdk-linux/usr/bin/clear.ncurses
  /opt/poky/1.3+snapshot/sysroots/i686-pokysdk-linux/usr/bin/reset.ncurses
NOTE: Tasks Summary: Attempted 533 tasks of which 521 didn't need to be
rerun and all succeeded.

And there is no clear or reset tool in the SDK.

This is caused by:
ALTERNATIVE_ncurses-tools = "clear reset"

It creates clear.ncurses and reset.ncurses which are used for avoiding
the conflicts with the target busybox, but SDK doesn't need them since
there is no nativesdk-busybox (then no conflicts), so:

ALTERNATIVE_ncurses-tools_class-target = "clear reset"

will fix the problem.

[YOCTO #3325]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolttng-2.0: fix srcrev/pv to match the recipe filenames
Christopher Larson [Mon, 22 Oct 2012 15:23:12 +0000 (08:23 -0700)]
lttng-2.0: fix srcrev/pv to match the recipe filenames

Somehow the recipe names got bumped, but the SRCREV and PVs in the recipes
didn't get updated, so they were still building old versions.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackagegroup-core-tools-profile: replace 'legacy' lttng with lttng 2.0
Tom Zanussi [Tue, 16 Oct 2012 04:59:08 +0000 (23:59 -0500)]
packagegroup-core-tools-profile: replace 'legacy' lttng with lttng 2.0

packagegroup-core-tools-profile currently pulls in the 'legacy' lttng
packages, which are useless without legacy lttng support in the kernel.

This makes packagegroup-core-tools-profile pull in the lttng 2.0
packages instead, which don't need any kernel modifications to work.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoopkg-utils: Add needed python modules as RDEPENDS
Andrei Gherzan [Sun, 21 Oct 2012 15:40:39 +0000 (18:40 +0300)]
opkg-utils: Add needed python modules as RDEPENDS

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibxkbcommon: new window system-independent XKB library
Ross Burton [Tue, 23 Oct 2012 19:57:37 +0000 (20:57 +0100)]
libxkbcommon: new window system-independent XKB library

Used by Wayland, Clutter, and more.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemugl: Remove since support for it was removed from qemu
Richard Purdie [Wed, 24 Oct 2012 11:30:53 +0000 (12:30 +0100)]
qemugl: Remove since support for it was removed from qemu

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>