eglibc: Move perl- and bash-using scripts to separate recipes

This removes the dependency of eglibc.bb itself on perl and bash
which, in turn, eliminates the need to build those two recipes if the
scripts which need them are not going to be installed.

Also provide dummy do_evacuate_scripts() for all variants of eglibc-initial
otherwise the nativesdk and multilib variants might crash trying to
copy a non-existent mtrace script.

(From OE-Core rev: 734fabacdb36402808817ee5d72136c8ccbd08cc)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
eglibc-2.16: Use tar ball instead of svn SRC_URI

Adapt the recipes to fetch a tarball.
Tarball is generated from latest 2.16 branch
which has e500-math_private.patch already applied
hence we remove that patch.

(From OE-Core rev: 71dd4f3ff61a39e98f155407d2219d2938bc61d5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kernel.bbclass: Do not chdir to /boot before running update-alternatives

The symlink from uImage-3... to uImage is not created at image creation
time and not properly update on kernel upgrades. This is fixed by removing
the chdir. The other users of update-alternative do not change the directory
before calling it.

(From OE-Core rev: e73150ed8cf760de0db34a128de1c03986fb4450)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xorg: remove XF86 BigFont extension

This has been disabled by default upstream since 2007, nothing uses it.

(From OE-Core rev: 81141ea6a4a09b413ab1a54cd8260b57b0ce8c93)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
atk: Update to 2.6.0

Newer Clutter releases want 2.5.3+, so upgrade to the stable 2.6.0.

(From OE-Core rev: 51907da0a77ddbe8f193007594ca7a31d1ec6092)

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>
cpan-base: Add more debug paths to FILES

We seem to be mostly installing modules into vendor_perl nowadays.
Make sure that the .debug data from there is captured appropriately.

Also, expand ${PERLLIBDIRS} at the point of assignment so we don't
call the python again and again.

[RP: Fixup to whitespace]
(From OE-Core rev: a7ede3e75244cc2ac221afecc5305daec0ec6322)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libxkbcommon: New window system-independent xkb library

Needed for weston and wayland clients to compile key maps.

(From OE-Core rev: d1afda9b7baca63180063fe8f2c975d3a63b28ab)

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mtdev: New recipe for mtdev

(From OE-Core rev: f436e77fe95436c71adc4a8e2a85c6c828449316)

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xserver-xorg: add runtime provides for the driver ABI version

The xserver driver ABIs can and do change in a way that is unrelated to the
version of xserver, so it's entirely possible to build an image that has a
mismatch between the server ABI version and the version that the drivers were
built against.  xserver detects this and refuses to load the modules.

By adding RPROVIDEs to the xserver package that describe the ABI versions it has
(such as xorg-abi-video-13, xorg-abi-input-11), drivers can RDEPEND on the
version that they were built against.  This means that when the ABIs change,
there will be package dependency errors at image time instead of images that
build fine but don't work.

(From OE-Core rev: a55fa5c9c7c0b5068ded4f4f9012fc866d795b17)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
insane: add a check for Xorg driver ABI dependencies

Now that xserver provides driver ABI names, all drivers should depend on the ABI
version that they have been built against.

All drivers that include xorg-driver-input.inc or xorg-driver-video.inc will get
these automatically, so this should only impact binary drivers.

(From OE-Core rev: 7abcc232f09190195e0b60e2dc03dbab76237707)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
opkg: Add patch to fix removing packages with recommends

While removing a package with opkg, the process shouldn't be blocked if
another package RECOMMENDS the package wanted to be removed. This is
because, while generating the dependencies, opkg adds dependencies to
depended_upon_by even if dependency's type is RECOMMEND. The fix is to
skip dependencies of type RECOMMEND while constructing depended_upon_by.

[YOCTO: #2431]

(From OE-Core rev: 326c1a869580457413f22a19c9456b180e186957)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
opkg: Don't print empty PROVIDES

Every package provides itself. While printing package information all
fields are printed only if there is any relevant info for them. For
example: a package with no "Replaces" won't get this printed at all.
Packages which provide only themselves, were printing this field but with
no values. This patch skips this field if the package provides only
itself.

(From OE-Core rev: 811879f0c9fef2682c0bd0e6be40dfa9881914f2)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rootfs_ipk.bbclass: Don't duplicate remove_packaging_data_files code

While removing packaging data files in rootfs_ipk_do_rootfs use the
remove_packaging_data_files function. By using this function we ensure
that /var/lib/opkg directory is created. opkg needs this directory to
create lock files.

(From OE-Core rev: 601ce8b13dab017f1f749f8969c64b9687d96cbd)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rootfs_ipk.bbclass: Some extra spaces / tabs were removed / formated

(From OE-Core rev: fd9f12983d17eec0b2be8abd8fdc1f6ec9593ab1)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libsdl: fix inconditional alsa disabling.

Without that fix ALSA is inconditionally disabled,
  reguardless of the fact that alsa is in the distribution
  feature or not.

This patch has been tested on the om-gta04 target with both
  alsa distribution feature enabled(libsdl can then play sound),
  and disabled(it fails to play some sound trough alsa).

(From OE-Core rev: eb4e8e8d8cd2132c59dd39cdea662551139e3aae)

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
boost: Activate zlib and bzip2 because they now work.

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

(From OE-Core rev: 893952cff6ad15ea852e5f73059ab7edfe020575)

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
uClibc: Resolve conflicting options when building for mips32

(From OE-Core rev: 1418292f51054d6779cb9b8176f44f40db263c98)

Signed-off-by: Aristov Maxim <m@ximilian.ru>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gmae: remove Evolution Data Server

Evolution Data Server is now maintained in meta-oe/meta-gnome and GMAE is dead,
so continue pruning the sdk-gmae package group until we can remove it entirely.

(From OE-Core rev: aecdc384c1a57f35828c62f04f6270f2e21ccac9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
evolution-data-server: remove

Remove evolution-data-server, this is now maintained in meta-oe/meta-gnome and
is not needed by the GMAE SDK anymore.

(From OE-Core rev: 63001807158af0c9923cf46f96fb4b5d8e69f3e5)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libical: remove

This was only used by evolution-data-server and is now maintained in
meta-oe/meta-gnome.

(From OE-Core rev: 9faad0a3cc66db2b5a1ff5faba475c58a080c340)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>