]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
13 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.

(From OE-Core rev: b3bffb0d34f99f31b65ddb886d80f71786120bbf)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 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.

(From OE-Core rev: f1f9d08ea8b32b0a51a1e3f7bcf488ba7e9dc21e)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 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

(From OE-Core rev: ec4553832251615cee65e01e3fd261f5c7863b2e)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 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.

(From OE-Core rev: 2e4b2d2b8d6f2aeb37654f305bcf6c1c2ffc04f9)

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>
13 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

(From OE-Core rev: 0195a08f77fe0e01b2d7548ccffeaf89d2d780e1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoyocto-bsp: Fix git url parsing, allowing for local mirrors
Darren Hart [Thu, 18 Oct 2012 14:23:23 +0000 (14:23 +0000)] 
yocto-bsp: Fix git url parsing, allowing for local mirrors

The git URLs used in bitbake recipes are not compatible directly with git.  In
bitbake-speak, all git URLs start with git:// and the protocol is optionally
specified in the SRC_URI. Local git mirrors are specified like so:

    git:///path/to/local/mirror.git;protocol=file

The URL that git requires would be:

    file:///path/to/local/mirror.git

Update the yocto-bsp kernel.py to make the necessary adjustment when parsing
the SRC_URI to extract the git URL.

(From meta-yocto rev: 30506f51cc95f0994cf54144295832e931d15f61)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: evadeflow@gmail.com
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibical: remove
Ross Burton [Mon, 22 Oct 2012 10:53:06 +0000 (11:53 +0100)] 
libical: remove

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

(From OE-Core rev: 754ddbf1c57e6b9d0650498538840effebe4f7a2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoevolution-data-server: remove
Ross Burton [Mon, 22 Oct 2012 10:53:05 +0000 (11:53 +0100)] 
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: a7cf593d351e678c6c6f3429ab4bbd37c032b9cb)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogmae: remove Evolution Data Server
Ross Burton [Mon, 22 Oct 2012 10:53:04 +0000 (11:53 +0100)] 
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: d443a09c6e2f960fb8c4705bb36625c05b18e384)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agouClibc: Resolve conflicting options when building for mips32
Aristov Maxim [Sat, 20 Oct 2012 02:57:07 +0000 (06:57 +0400)] 
uClibc: Resolve conflicting options when building for mips32

(From OE-Core rev: c096d57d7c55f97897956c192c9ccef2c9cbbe44)

Signed-off-by: Aristov Maxim <m@ximilian.ru>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibsdl: fix inconditional alsa disabling.
Denis 'GNUtoo' Carikli [Sat, 20 Oct 2012 17:21:54 +0000 (19:21 +0200)] 
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: b635e47a2b8b711d5ddae3b3e5a5656402aee845)

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>
13 years agorootfs_ipk.bbclass: Some extra spaces / tabs were removed / formated
Andrei Gherzan [Sun, 21 Oct 2012 15:40:43 +0000 (18:40 +0300)] 
rootfs_ipk.bbclass: Some extra spaces / tabs were removed / formated

(From OE-Core rev: 414822d2caec720319c026324edd59234d0134ff)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorootfs_ipk.bbclass: Don't duplicate remove_packaging_data_files code
Andrei Gherzan [Sun, 21 Oct 2012 15:40:42 +0000 (18:40 +0300)] 
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: 1f3300766b827ed73daaa01572017775305105b2)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopkg: Don't print empty PROVIDES
Andrei Gherzan [Sun, 21 Oct 2012 15:40:41 +0000 (18:40 +0300)] 
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: 19af022c73ebc53f7008a016c1e7c584fb7b0054)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopkg: Add patch to fix removing packages with recommends
Andrei Gherzan [Sun, 21 Oct 2012 15:40:40 +0000 (18:40 +0300)] 
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: 08a5ef44c7aa58ffcad0457e8dda3504f2c3192b)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinsane: add a check for Xorg driver ABI dependencies
Ross Burton [Mon, 22 Oct 2012 09:37:26 +0000 (10:37 +0100)] 
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: 800b256390b22c3d3d8d6a69f6fb668376a5030b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxserver-xorg: add runtime provides for the driver ABI version
Ross Burton [Mon, 22 Oct 2012 09:37:24 +0000 (10:37 +0100)] 
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: 8ef5f205aec04140198d5ba0f5c405ae6e977dbe)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomtdev: New recipe for mtdev
Damien Lespiau [Mon, 22 Oct 2012 09:30:28 +0000 (10:30 +0100)] 
mtdev: New recipe for mtdev

(From OE-Core rev: 5ae7825ed7b8221d1c37e3d053404a3f2f7d27f2)

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>
13 years agocpan-base: Add more debug paths to FILES
Phil Blundell [Thu, 18 Oct 2012 22:19:27 +0000 (23:19 +0100)] 
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: ed7690bf5cc964b5cee55f5ef13c10c75d8e3463)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoatk: Update to 2.6.0
Daniel Stone [Mon, 22 Oct 2012 09:30:29 +0000 (10:30 +0100)] 
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: 01ecc9fbf59712d0f8e8a9b212171efc9d28ac57)

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>
13 years agopackage: Hardlink debug source to improve performance
Richard Purdie [Mon, 22 Oct 2012 10:39:33 +0000 (10:39 +0000)] 
package: Hardlink debug source to improve performance

When copying the source files needed for the -dbg package, use hardlinks
where possible. This saves some disk space and hence helps performance
of the builds.

(From OE-Core rev: 6775feb9fe935ab01fd9cae2b2d3fce5824a9a72)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: yocto-project-qs - Final changes before the 1.3 lockdown
Scott Rifenbark [Mon, 22 Oct 2012 21:22:09 +0000 (14:22 -0700)] 
documentation: yocto-project-qs - Final changes before the 1.3 lockdown

Fixed used of "Source Directory" and Build Directory.

(From yocto-docs rev: a4d79c5a7e73003fc99c274d876fbea453a80d20)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: poky-ref-manual - Final changes before the 1.3 lockdown.
Scott Rifenbark [Mon, 22 Oct 2012 21:16:22 +0000 (14:16 -0700)] 
documentation: poky-ref-manual - Final changes before the 1.3 lockdown.

various changes as required.

(From yocto-docs rev: 7f166508337c9d4aadad23997470a8871c5e42a4)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: dev-manual - Final changes before 1.3 lockdown.
Scott Rifenbark [Mon, 22 Oct 2012 20:16:49 +0000 (13:16 -0700)] 
documentation: dev-manual - Final changes before 1.3 lockdown.

Made minor changes as needed due to some new sections, links,
and capitalization standards.

(From yocto-docs rev: bc966e5a78dadd14ecf1896a36e40a9b256bae77)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: bsp-guide - Final edits before 1.3 lockdown
Scott Rifenbark [Mon, 22 Oct 2012 18:06:54 +0000 (11:06 -0700)] 
documentation: bsp-guide - Final edits before 1.3 lockdown

Updated some example text based on the latest source
repositories for crown bay.  Replaced fishriver example with
fri2. Updated some capitalization usage for source directory
and build directory.

(From yocto-docs rev: 65973f7b30699fbb82b4d7f1b907e947489ba7d0)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: adt-manual - final edits before 1.3 lockdown.
Scott Rifenbark [Mon, 22 Oct 2012 17:28:05 +0000 (10:28 -0700)] 
documentation: adt-manual - final edits before 1.3 lockdown.

Made some minor edits to the book before locking down the
files for 1.3.

(From yocto-docs rev: 2b941103585a31b5dbcb65b784cc3381467ed697)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: dev-manual - fixed capitalization on Source Directory.
Scott Rifenbark [Mon, 22 Oct 2012 16:59:12 +0000 (09:59 -0700)] 
documentation: dev-manual - fixed capitalization on Source Directory.

(From yocto-docs rev: 8cfbd4eb519b2b966626c9a1ffd8515c198c2abd)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: kernel-manual - minor edits before lockdown
Scott Rifenbark [Mon, 22 Oct 2012 16:54:38 +0000 (09:54 -0700)] 
documentation: kernel-manual - minor edits before lockdown

Fixed a few references and links.  Also standardized on the
capitalization for the term "Source Directory" where it
refers to the YP poky structure on the development machine.

(From yocto-docs rev: 1a20418d8791d754ad66c5a059e65bd68a4c6b32)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: dev-manual - Updates to Git workflow and kernel patch
Scott Rifenbark [Mon, 22 Oct 2012 16:02:52 +0000 (09:02 -0700)] 
documentation: dev-manual - Updates to Git workflow and kernel patch

I updated the sections on the "Git Workflow" in Chapter 4 and
the "Patching the Kernel" section in Chapter 5 per Tom
Zanussi's review comments.  Minor technical changes.

(From yocto-docs rev: fd8a291349c06328adebd37f8a9bbeaa49adb44c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: poky-ref-manual - new variable and edited variable
Scott Rifenbark [Mon, 22 Oct 2012 16:01:00 +0000 (09:01 -0700)] 
documentation: poky-ref-manual - new variable and edited variable

Added the DISTRO_EXTRAS_RDEPENDS variable to the glossary and
updated the DISTRO_EXTRAS_RRECOMMENDS variable per Paul
Eggleton's review.

(From yocto-docs rev: bb27fcb3b990bb335176d5da9fec420fdc31bf22)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxorg: remove XF86 BigFont extension
Ross Burton [Mon, 22 Oct 2012 08:31:43 +0000 (09:31 +0100)] 
xorg: remove XF86 BigFont extension

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

(From OE-Core rev: 06d27cf0fbcc4004e6f456880eca49893c9290bf)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: Do not chdir to /boot before running update-alternatives
Holger Hans Peter Freyther [Fri, 12 Oct 2012 18:01:16 +0000 (20:01 +0200)] 
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: c77ca9ee901468c93570b5264b226f7d17a41c16)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc-2.16: Use tar ball instead of svn SRC_URI
Khem Raj [Wed, 17 Oct 2012 21:59:43 +0000 (14:59 -0700)] 
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: 77ee4d7d88976c7bb2bb25b57e06b83edaacbd4c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc: Move perl- and bash-using scripts to separate recipes
Phil Blundell [Tue, 25 Sep 2012 12:56:41 +0000 (13:56 +0100)] 
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: 74b5f8943b2b29c7b3b62be7d81fb2b3a86b9584)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage.bbclass: Exclude the PKGTRIPLETS variable
Richard Purdie [Mon, 22 Oct 2012 13:54:01 +0000 (13:54 +0000)] 
package.bbclass: Exclude the PKGTRIPLETS variable

Without this, we'd rerun packaging for every machine since this variable contains
a machine specific component.

(From OE-Core rev: 61131828c59178c923b3d5b5fcacf0dbcba275a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib/clsextend: Improve handling of regexps in PACKAGES_DYNAMIC
Richard Purdie [Mon, 22 Oct 2012 12:20:04 +0000 (12:20 +0000)] 
multilib/clsextend: Improve handling of regexps in PACKAGES_DYNAMIC

Now that PACKAGES_DYNAMIC is more standardised, starting with ^ anchors,
the variable manipulations performed by clsextend for multilib don't work.

This patch at least improves it to hack around the problem and enable
mulitlib builds to work again. If this code doesn't do the right thing, the
recipe is free to override the variable with the correct multilib case.

(From OE-Core rev: 593faec6e0155bdd7a43ee84c24de8ee20287681)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoyocto-bsp: set branches_base for list_property_values()
Tom Zanussi [Fri, 19 Oct 2012 17:22:13 +0000 (12:22 -0500)] 
yocto-bsp: set branches_base for list_property_values()

yocto_bsp_list_property_values() is missing the context it needs to
properly filter choicelists, so add it to the context object.

Fixes [YOCTO #3233]

(From meta-yocto rev: 064b15f76c5b52899f4c3fdef06412c3063062a5)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: dev-manual - removed the wip.png figure
Scott Rifenbark [Fri, 19 Oct 2012 21:24:22 +0000 (14:24 -0700)] 
documentation: dev-manual - removed the wip.png figure

this figure used to be at the end of the development manual.
I have removed it from both figures directories and taken
it out of the TARFILE list in the Makefile.

(From yocto-docs rev: ad8fcfc4bddb6bcee0e1a4ece78cd87ab0d51b6c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: poky-ref-manual - Updates to DEPENDS and RDEPENDS
Scott Rifenbark [Fri, 19 Oct 2012 17:06:39 +0000 (10:06 -0700)] 
documentation: poky-ref-manual - Updates to DEPENDS and RDEPENDS

Suggested changes to help clear up what the list of items
in each of these variables should be and how automatic
handling of libraries is dealt with.

Richard Purdie reviewed the changes.

(From yocto-docs rev: 53865f904d5d4675286419a57bbb9282edfc1d0b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosstate: Improve handling of machine specific manifests
Richard Purdie [Fri, 19 Oct 2012 12:37:39 +0000 (12:37 +0000)] 
sstate: Improve handling of machine specific manifests

Now do_package isn't machine specific, we're only left with do_populate_sysroot as a
machine specific task. This change marks only the machine specific manifests as machine
specific, defaulting to PACKAGE_ARCH for everything else.

This means we do less work where there are multiple machines using the same
core package architecture and we can start to clean up the sstate duplicate files
whitelist.

(From OE-Core rev: febeaf3d1b8917b660c7279b008d8b03337568e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage.bbclass: Switch shlibs to pkgdata directory and make package non-machine...
Richard Purdie [Thu, 18 Oct 2012 23:08:53 +0000 (23:08 +0000)] 
package.bbclass: Switch shlibs to pkgdata directory and make package non-machine specific

Currently, do_package is machine specific since the shlibs data is installed
into each machine specific sysroot. This change moves the shlibs data to the
pkgdata structure, at the expense of having to iterate over a set of shlibs
directories instead of a single one.

It turns out this isn't any particular hardship for the code and as a result,
do_package stops being machine specific leading to optimisations for builds
that use a common PACKAGE_ARCH.

(From OE-Core rev: cc088489d70fb27d460c3dbe35d6ea382123c134)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolib/oe/packagedata: Use the PKGMLTRIPLETS variable
Richard Purdie [Thu, 18 Oct 2012 23:08:21 +0000 (23:08 +0000)] 
lib/oe/packagedata: Use the PKGMLTRIPLETS variable

(From OE-Core rev: 26e16a5e5ee1059fb8e55ab915ae9cb8e2b54dcd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: Add PKGTRIPLETS and PKGMLTRIPLETS variables
Richard Purdie [Thu, 18 Oct 2012 23:06:31 +0000 (23:06 +0000)] 
base.bbclass: Add PKGTRIPLETS and PKGMLTRIPLETS variables

These variables correspond to the PACKAGE_ARCH list combined with the TARGET_VENDOR
and TARGET_OS values. These can be used to traverse the pkgdata structure.

Setting these once in base.bbclass stops pkgdata needing to recalculate the values
and is also useful for the reworked shlibs code in a patch that will follow this.

(From OE-Core rev: f91322edc8b9f2a5906f3908bde2508ae97f2816)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoperl: Fix perl module dependency issues
Richard Purdie [Mon, 22 Oct 2012 08:43:19 +0000 (08:43 +0000)] 
perl: Fix perl module dependency issues

With the move of the strict/vars/config/warnings modules to the main perl
recipe, we need to RPROVIDE those modules to ensure that package dependencies
on those modules continue to work correctly.

(From OE-Core rev: fe88ae8605f22d9075e4200159aa66605ec36587)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: add kernel-modules to PACKAGES
Martin Jansa [Tue, 16 Oct 2012 22:34:28 +0000 (00:34 +0200)] 
kernel.bbclass: add kernel-modules to PACKAGES

* kernel-modules is always added to PACKAGES later in python code and
  needed to be defined as PACKAGES_DYNAMIC
* add it to PACKAGES directly and set
  ALLOW_EMPTY_kernel-modules
  FILES_kernel-modules
  DESCRIPTION_kernel-modules
  outside populate_packages_prepend like for other packages and set only
  RDEPENDS_kernel-modules from python code

(From OE-Core rev: 0884bdbbf39f2b3a8a342918812f29ddcd3b1e6f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoPACKAGES_DYNAMIC: use += instead of = in most cases
Martin Jansa [Fri, 12 Oct 2012 10:46:39 +0000 (12:46 +0200)] 
PACKAGES_DYNAMIC: use += instead of = in most cases

* to keep ${PN}-locale from
  bitbake.conf:PACKAGES_DYNAMIC = "^${PN}-locale-.*"

(From OE-Core rev: 73252b16b501c0986b0ca0895e4534895a9ba3db)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoPACKAGES_DYNAMIC: use regexp not glob
Martin Jansa [Fri, 12 Oct 2012 10:46:38 +0000 (12:46 +0200)] 
PACKAGES_DYNAMIC: use regexp not glob

* bitbake uses PACKAGES_DYNAMIC as regexp
  ^ could make matching faster (and it will be more clear that we're expecting regexp not glob)
  * made all those last '-' optional, use .* (or nothing)

(From OE-Core rev: 2f3ebdfa5f42dae51063b043cc4b0fbe20b40064)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: poky-ref-manual - edits to SUMMARY and DESCRIPTION
Scott Rifenbark [Fri, 19 Oct 2012 16:18:51 +0000 (09:18 -0700)] 
documentation: poky-ref-manual - edits to SUMMARY and DESCRIPTION

Some final edits to these two variable descriptions from
Paul Eggleton.

(From yocto-docs rev: b606eed0f6a326ef572cd831b642312bb827a8c5)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumenation: poky-ref-manual - updates to the LICENSE variable.
Scott Rifenbark [Fri, 19 Oct 2012 15:51:07 +0000 (08:51 -0700)] 
documenation: poky-ref-manual - updates to the LICENSE variable.

(From yocto-docs rev: 68bb94ccb879401d65e652746f138a139eaa0ca4)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: poky-ref-manual - updated the DESCRIPTION variable.
Scott Rifenbark [Fri, 19 Oct 2012 14:57:23 +0000 (07:57 -0700)] 
documentation: poky-ref-manual - updated the DESCRIPTION variable.

(From yocto-docs rev: 170ed775df6d22b9570806367cbc17e6050d1493)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: poky-ref-manual - Updated SUMMARY variable description.
Scott Rifenbark [Fri, 19 Oct 2012 14:53:22 +0000 (07:53 -0700)] 
documentation: poky-ref-manual - Updated SUMMARY variable description.

(From yocto-docs rev: 13e38a7cd887f03ce6fde688c89ac989587123ef)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: dev-manual - Updated compliance section.
Scott Rifenbark [Fri, 19 Oct 2012 14:34:33 +0000 (07:34 -0700)] 
documentation: dev-manual - Updated compliance section.

Applied legal changes per Karen Copenhaver's suggestions.

(From yocto-docs rev: 73b68aa349530f6604c7edc87b503f1b614b2c46)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: poky-ref-manual - Edits to feature backfill
Scott Rifenbark [Fri, 19 Oct 2012 13:28:12 +0000 (06:28 -0700)] 
documentation: poky-ref-manual - Edits to feature backfill

Final edits (I think) to this section from Paul Eggleton.

(From yocto-docs rev: 95fd830ffb668109631205df4538454ccf023b20)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: poky-ref-manual - Backfill variables updated.
Scott Rifenbark [Thu, 18 Oct 2012 21:31:03 +0000 (14:31 -0700)] 
documentation: poky-ref-manual - Backfill variables updated.

Updated the MACHINE_FEATURES_BACKFILL,
MACHINE_FEATURES_BACKFILL_CONSIDERED,
DISTRO_FEATURES_BACKFILL, and
DISTRO_FEATURES_BACKFILL_CONSIDERED variables to have
more comprehensive information.

(From yocto-docs rev: 355eb3ebe02fbe4a340adaf83bf29a46f7c8230f)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumenation: poky-ref-manual - updates to variables.
Scott Rifenbark [Thu, 18 Oct 2012 21:20:50 +0000 (14:20 -0700)] 
documenation: poky-ref-manual - updates to variables.

Did some re-wording on the WiFi example in both the
MACHINE_EXTRA_RDEPENDS and MACHINE_EXTRA_RRECOMMENDS
variables.  Clunkiness fixed.

(From yocto-docs rev: 0c76ae0ee14cce62ff02b728b1c9ac21f4f3b385)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: poky-ref-manual - updates to distros and machines
Scott Rifenbark [Thu, 18 Oct 2012 20:56:47 +0000 (13:56 -0700)] 
documentation: poky-ref-manual - updates to distros and machines

The sections that list the features you can provide with the
MACHINE_FEATURES and DISTR_FEATURES variables implied that
the set was finite.  It is not.  I added wording to that
effect.

(From yocto-docs rev: d8e79fdf909ba5586dc45320b7cca03de639f49b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: poky-ref-manual - edits to the features backfill section.
Scott Rifenbark [Thu, 18 Oct 2012 20:26:39 +0000 (13:26 -0700)] 
documentation: poky-ref-manual - edits to the features backfill section.

(From yocto-docs rev: 7507d73501830896602bb18677eb7b0710794f55)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: poky-ref-manual - edits to *_FEATURES glossary
Scott Rifenbark [Thu, 18 Oct 2012 17:46:40 +0000 (10:46 -0700)] 
documentation: poky-ref-manual - edits to *_FEATURES glossary

Changed wording so that the lists of features do not seem
to be finite.  But rather, the set shipped with YP.

(From yocto-docs rev: 68e1eba075819863d8137be0b4c70935b88cb1a3)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: poky-ref-manual - updates to feature backfill section.
Scott Rifenbark [Thu, 18 Oct 2012 17:12:10 +0000 (10:12 -0700)] 
documentation: poky-ref-manual - updates to feature backfill section.

(From yocto-docs rev: aaf1156398033d50add5ac3944aa575917c7f7de)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: poky-ref-manual - Updates to MACHINE glossary entry.
Scott Rifenbark [Thu, 18 Oct 2012 13:33:17 +0000 (06:33 -0700)] 
documentation: poky-ref-manual - Updates to MACHINE glossary entry.

(From yocto-docs rev: 666562a428f5db2b2fc18c7cd21d17247479b24c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconsole-tools: Fix build issues with make 3.82
Richard Purdie [Fri, 19 Oct 2012 16:34:41 +0000 (16:34 +0000)] 
console-tools: Fix build issues with make 3.82

The intl directory is part of older gettext and has macros which no
longer get expanded with recent gettext versions. This simply removes
the intl directory from the equation since we'd never need it.

(From OE-Core rev: 199298b6b114db09fd8ff100642ae101050a2e9a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: remove explicit version.h target
Bruce Ashfield [Thu, 18 Oct 2012 14:47:05 +0000 (10:47 -0400)] 
kernel.bbclass: remove explicit version.h target

The compilation routine for the kernel has an explicit call to
build version.h, which works fine for most kernels, but the
location of it has recently changes.

commit d183e6f5 [UAPI: Move linux/version.h]
commit 10b63956 [UAPI: Plumb the UAPI Kbuilds into the user
                 header installation and checking]

moves the file to include/generated/linux/version.h and then to
include/generated/uapi/linux/version.h.

As a result kernel builds of 3.7 or bisection builds of intermediate
kernel commits will fail with:

  make[2]: *** No rule to make target `include/linux/version.h'.  Stop.

Making the explicit version.h build conditional on the version, or
via a file test would fix the problem, but it introduces some complexity
to the build.

Even without an explicit call to build version.h, it is always produced
by the kernel build, so it can simply be removed.

This extra make line was originally so that the kernel version could be
determined, so that then different instructions could be executed depending
on whether it was a 2.4 or 2.6 kernel. Since we no longer support 2.4, this
code is no longer needed.

[YOCTO: #3293]

(From OE-Core rev: 4cb20fa89e571ffbc448c579a758db0b9074acf4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoperl: fix dependecies
Robert Yang [Fri, 19 Oct 2012 11:22:04 +0000 (19:22 +0800)] 
perl: fix dependecies

This patch fixes 2 problems.

The first one is that when run "perl -V" on target, it fails with lack
of some .pm files. So add these perl module files to package perl itself
to fix this failure.

The second problem is that package nativesdk-perl-modules doesn't depends
on the single perl modules.

In the .bb file, dependencies of perl-modules are set by:

RRECOMMENDS_perl-modules = "${@d.getVar('PACKAGES', True)...}"

The PACKAGES would be reset by do_split_packages since:

PACKAGES_DYNAMIC = "perl-module-*"
PACKAGES_DYNAMIC_virtclass-nativesdk = "nativesdk-perl-module-*"

Then:
1) The target perl-modules RRECOMMENDS on perl-module-*, this is what
   we expect.

2) But the nativesdk-perl-modules doesn't RRECOMMENDS on
   nativesdk-perl-module-*, this is not what we expect.

The value of PACKAGES after do_split_packages has been set correctly (it
contains the nativesdk-perl-module-* packages)

But the:

RRECOMMENDS_perl-modules = "${@d.getVar('PACKAGES', True)...}"

doesn't work correctly for nativesdk, the

d.getVar('RRECOMMENDS_perl-modules', True)

doesn't get the new value of the PACKAGES, it gets the value of PACKAGES
before the do_split_packages.

This patch will fix the problem.

(From OE-Core rev: d50be1876f7a41822ef7e73207fdf8cccd39e400)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobison: Fix gplv2 version to work with recent gettext
Richard Purdie [Fri, 19 Oct 2012 13:03:32 +0000 (13:03 +0000)] 
bison: Fix gplv2 version to work with recent gettext

(From OE-Core rev: 4b132d440ed97053dbef5a4deeb39e37e1167def)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodiffutils: Fix gplv2 version to work with recent gettext
Richard Purdie [Fri, 19 Oct 2012 13:03:10 +0000 (13:03 +0000)] 
diffutils: Fix gplv2 version to work with recent gettext

(From OE-Core rev: c3e086805649bbe782ac76670acf5858536d8801)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosed: Fix gplv2 version to work with recent gettext
Richard Purdie [Fri, 19 Oct 2012 13:02:58 +0000 (13:02 +0000)] 
sed: Fix gplv2 version to work with recent gettext

(From OE-Core rev: 3c32d9c53f1789bdb072a5957ddd83e5c4e16914)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogrep: Fix gplv2 version to work with recent gettext
Richard Purdie [Fri, 19 Oct 2012 13:02:49 +0000 (13:02 +0000)] 
grep: Fix gplv2 version to work with recent gettext

(From OE-Core rev: 2433846255767d5a22fb2c7b2b723f290ac12fbf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoautotools: Use STAGING_DATADIR_NATIVE for config.rpath
Richard Purdie [Thu, 18 Oct 2012 15:58:25 +0000 (15:58 +0000)] 
autotools: Use STAGING_DATADIR_NATIVE for config.rpath

For builds that don't use gettext, config.rpath may not exist in the target
datadir. This change uses the native directory where it will always
be present due to gettext-minimal-native (which allows us to autoreconf
recipes using gettext even if we don't have gettext built).

(From OE-Core rev: 0ea24447842e6b76ccfee0881f557e1a82e89ef1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: poky-ref-manual - edits to MACHINE type variables.
Scott Rifenbark [Wed, 17 Oct 2012 21:22:01 +0000 (14:22 -0700)] 
documentation: poky-ref-manual - edits to MACHINE type variables.

Did some editing that helps clarify variables that deal with
the MACHINE.

(From yocto-docs rev: f1f63acffc952cc7d755fc6dd555379572fddaf0)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: poky-ref-manual - quoted section reference
Scott Rifenbark [Wed, 17 Oct 2012 15:41:03 +0000 (08:41 -0700)] 
documentation: poky-ref-manual - quoted section reference

For consistency.

(From yocto-docs rev: 7b51db2d3409d6a9c74a7a9b0b2cc39cf6622033)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: poky-ref-manual - Updated build/conf/local.conf
Scott Rifenbark [Wed, 17 Oct 2012 15:20:35 +0000 (08:20 -0700)] 
documentation: poky-ref-manual - Updated build/conf/local.conf

I added the BB_NUMBER_THREAD and PARALLEL_MAKE variables into
the description for suggested variables to set if you edit
local.conf.

(From yocto-docs rev: 7345bbf6c10b823e6364e85a4e75a7ec60a29aef)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocumentation: poky-ref-manual - updated the STAMP glossary description.
Scott Rifenbark [Wed, 17 Oct 2012 14:59:12 +0000 (07:59 -0700)] 
documentation: poky-ref-manual - updated the STAMP glossary description.

(From yocto-docs rev: 63720ee98bc9dd4eaa574784e7aa1ccd20822e80)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosstate: when warnings about sysroot overwrites, say what the recipe was
Ross Burton [Thu, 18 Oct 2012 09:49:59 +0000 (10:49 +0100)] 
sstate: when warnings about sysroot overwrites, say what the recipe was

(From OE-Core rev: 936e2868bb9973213630477ab9c880dbdf4aac09)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogconf: Avoid error when trying to delete files that don't exist
Phil Blundell [Wed, 17 Oct 2012 22:25:17 +0000 (23:25 +0100)] 
gconf: Avoid error when trying to delete files that don't exist

Use "rm -f" in do_install_append() so we don't fail if the files we're
trying to delete have already been removed.  This can happen if the
distro policy suppresses both static libs and .la files.

(From OE-Core rev: 2ee9601ae590b2964d1c44b131188a80cc5198a9)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolib/oe/qa: Trap exceptions when running objdump
Phil Blundell [Wed, 17 Oct 2012 20:34:58 +0000 (20:34 +0000)] 
lib/oe/qa: Trap exceptions when running objdump

This avoids propagating a failure if we encounter an ELF file
that objdump can't parse for any reason.  Some versions and/or
configurations of objdump will refuse to read files for "the
wrong" architecture.

(From OE-Core rev: 11f5998e539f7b884ae1387252f8995b2dc7437f)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinsane: Don't try to run objdump on symlinks
Phil Blundell [Mon, 15 Oct 2012 10:28:00 +0000 (11:28 +0100)] 
insane: Don't try to run objdump on symlinks

If the link is absolute then we might end up reading from a host binary
or a nonexistent path, neither of which will produce useful results and
may result in objdump failure and python backtrace spew.  If the link
does point to a binary within the installation root then we will scan the
pointed-to file at some point anyway so there is no need to do it again.

(From OE-Core rev: 91769af1c1175ac9bb43d16d05fb1c8736dd9287)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinsane: Rationalise phdrs-based QA checks
Phil Blundell [Mon, 1 Oct 2012 17:29:23 +0000 (18:29 +0100)] 
insane: Rationalise phdrs-based QA checks

Various different QA checks are based on essentially the same data from
the ELF program headers.  Calling objdump to extract it repeatedly is
inefficient, particularly if the shell is involved.  Instead, let's
cache the output from objdump inside the qa.elf object and allow it to
be reused by multiple tests.

Also, using objdump instead of scanelf to check for bad RPATHs (in the
same way that the useless-rpaths check was doing already) allows the
dependency on pax-utils-native to be dropped.

(From OE-Core rev: bf19eeb9f65e91bf2b5d89e7c0b099c55d7c15ff)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognome-icon-theme: update mapping program location
Saul Wold [Wed, 17 Oct 2012 16:36:42 +0000 (09:36 -0700)] 
gnome-icon-theme: update mapping program location

When we changed the /usr/libexec default to be /usr/lib/<pn>,
the icon name mapping needed to be updated also.

(From OE-Core rev: d05e63c6c936a9ff209efd1341401ef7cd2ec0c1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosato-icon-theme: update mapping program location
Saul Wold [Mon, 15 Oct 2012 22:19:11 +0000 (22:19 +0000)] 
sato-icon-theme: update mapping program location

When we changed the /usr/libexec default to be
/usr/lib/<pn>, the icon name mapping needed to
be updated also.

(From OE-Core rev: 58b20de32f4b6ca684120d1b87a7aece2df6f0a6)

(From OE-Core rev: b3ff57c7a15c8509397d4b8e84410aab08ea4d1c)

(From OE-Core rev: 49d8f5d2257f00f02437b95e624960ba4aadd9d4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqemu: don't ignore libexecdir in configure
Saul Wold [Wed, 17 Oct 2012 16:51:15 +0000 (09:51 -0700)] 
qemu: don't ignore libexecdir in configure

This allow the relocation of libexecdir to be done correctly
for the qemu-brigde-helper.

(From OE-Core rev: 945c8f5c687ec61c312209e075edc402f6272186)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoperf: set the perfexecdir
Saul Wold [Wed, 17 Oct 2012 16:47:51 +0000 (09:47 -0700)] 
perf: set the perfexecdir

This allows the files installed into /usr/libexec to be
relocated to ${libexecdir}. removed unneded prefix=/usr,
which would prevent ${prefix} relocation.

(From OE-Core rev: 10d28438c1e7d793bc398a0ad484782e5baa4877)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoia32-base.inc: don't depend on mesa-dri
Ross Burton [Wed, 17 Oct 2012 11:23:32 +0000 (12:23 +0100)] 
ia32-base.inc: don't depend on mesa-dri

mesa-dri is an empty package, so depending on it doesn't achieve anything.

(From OE-Core rev: a41f8341971a958cf55c07f3c91e1742570053cd)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosysklogd: fix update-rc.d handling
Andy Ross [Thu, 11 Oct 2012 16:22:55 +0000 (09:22 -0700)] 
sysklogd: fix update-rc.d handling

The sysklogd recipe had a cut-n-paste version of the
update-rc.d.bbclass code which didn't work, but this was hidden
because all images contain the busybox version which does.  Building a
busybox-free image unmasked the issue and syslogd wouldn't start on
first boot.

The comments seem to be wrong/stale.  AFAICT update-rc.d and
update-alternatives work fine with each other, though there is an
ordering constraint (alternatives must be specified last, so it
"wraps" update-rc.d).  This version builds and works both with and
without busybox.

(From OE-Core rev: 644673631bf57bd8d0e152b5fe7621344b5ad24f)

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopulseaudio: add missing switch-on-port-available dependency to the server
Ross Burton [Thu, 11 Oct 2012 15:18:50 +0000 (16:18 +0100)] 
pulseaudio: add missing switch-on-port-available dependency to the server

The PulseAudio server recently added a dependency by default on the
switch-if-port-available module, but this was not enforced by the package
dependencies so the server won't start.

(From OE-Core rev: b0fd984dd132e332056863dcc11b312141d443fd)

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>
13 years agolttng: support more compatible hosts
Vladimir Zapolskiy [Thu, 11 Oct 2012 14:12:34 +0000 (17:12 +0300)] 
lttng: support more compatible hosts

THis change extends COMAPTIBLE_HOST matchings, which allows to include more
hosts with TARGET_OS like linux-gnuspe or linux-gnueabi etc.

(From OE-Core rev: 76138d4b183eff28c678ab13cb1a6da358be2340)

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt4: use extra variable for more QT_CONFIG_FLAGS fragments
Martin Jansa [Fri, 12 Oct 2012 10:48:10 +0000 (12:48 +0200)] 
qt4: use extra variable for more QT_CONFIG_FLAGS fragments

* qt4-embedded was forcing -DQT_KEYPAD_NAVIGATION which depends on feature-completer
* separate variable makes it easier to not enable QT_KEYPAD_NAVIGATION in some upper layer where we have disabled feature-completer

(From OE-Core rev: 0479242a18661cb7fc3d76d208c82fe6ae4378ce)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogtk-doc.bbclass: Run gtkdocize in ${S} not ${B}
Phil Blundell [Thu, 11 Oct 2012 21:30:29 +0000 (22:30 +0100)] 
gtk-doc.bbclass: Run gtkdocize in ${S} not ${B}

Otherwise it will fail if these two directories are not the same.

(From OE-Core rev: 491823fdc65d124093f1fed5a56173917443e1d6)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobuild-appliance: ensure zip file is linked locally
Saul Wold [Thu, 11 Oct 2012 18:40:26 +0000 (11:40 -0700)] 
build-appliance: ensure zip file is linked locally

This makes the symbolic link portable with the dated zip file, otherwise
the link still points to the original deploy directory.

(From OE-Core rev: 0fc83102eeb48b85027c5b1202d8a584f51679a7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobuildhistory.bbclass: Fix hostname print for 'No changes' case
Otavio Salvador [Thu, 11 Oct 2012 21:46:41 +0000 (21:46 +0000)] 
buildhistory.bbclass: Fix hostname print for 'No changes' case

(From OE-Core rev: f9e3745d8eeef0df7e6dba3ba17d0b00645c92fa)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoautotools.bbclass: Fix gettext macro versions issues
Richard Purdie [Thu, 11 Oct 2012 08:43:01 +0000 (08:43 +0000)] 
autotools.bbclass: Fix gettext macro versions issues

gettext m4 macros don't use the usual versioning/serial mechanism used by
aclocal. It therefore won't update them over and above any local version of
the macro. Equally, we don't run gettextize due to it doing slightly crazy
things to the build.

When we put the aclocal directory as a -I option to aclocal, if this was
found first compared to any recipe provided macros, the correct version
of the gettext macro would still "win". With the switch so correctly override
the system directory, older recipe provided macros may get used.

This patch manually removes the problematic m4 macros in the case we're using
gettext and need to use the correct m4 macros.

This patch also always ensures the gettext manipulations happen, even in the
-native case since missing or stale gettext files could cause build failures.

(From OE-Core rev: e9645d2bbeabaa5251d49edd659ab320fd66d0ee)

(From OE-Core rev: 841ea3c1c18e50e77fccbd5f44d6a79a50913b67)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoautotools: Fix race over aclocal macro directory
Richard Purdie [Fri, 5 Oct 2012 14:17:23 +0000 (14:17 +0000)] 
autotools: Fix race over aclocal macro directory

The previous steps taken to address races over the aclocal macro directory and the removal
of files hasn't been sufficient since aclocal still looks at that directory as part of its
default search path. This patch passes the aclocal-copy directory into aclocal as its system
directory, removing any chance of it accessing the original aclocal directory.

Hopefully this should therefore fix the race issues once and for all.

In order to do this, cp-noerror needs to not error if the directory already exists.

Its also been noticed that aclocal defaults to using STAGING_DATADIR_NATIVE even when
building for the target. Only using the target directory would cause errors such as
missing pkgconfig macros (since we only depend on pkgconfig-native, not pkgconfig).
This patch processes both sets of macros maintaining existing behaviour. At a future
date we could look into potentially optimsing this.

[YOCTO #3216]

(From OE-Core rev: ad29b331e0d61708e68ef772cdb19154956fa67e)

(From OE-Core rev: f362cc419e5a480acd16c71c802636dbedc932d9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/cp-noerror: Try and use hardlinks if possible
Richard Purdie [Thu, 11 Oct 2012 12:36:53 +0000 (13:36 +0100)] 
scripts/cp-noerror: Try and use hardlinks if possible

Since we generally have lots of copies of the directories created using this tool, use
hardlinks where possible. This should save a little disk space and improve performance
slightly.

(From OE-Core rev: bfa11c028c2da093f7b4e6b7b1d611da90ae052f)

(From OE-Core rev: 8c5544c2311b080bb212efb7f6b804db63e125f5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/cp-noerror: Copy the code from shutils.copytree, update not to error if the...
Richard Purdie [Fri, 5 Oct 2012 15:09:02 +0000 (15:09 +0000)] 
scripts/cp-noerror: Copy the code from shutils.copytree, update not to error if the mkdir fails

(From OE-Core rev: 08542718504d2b53d140a9e6be73c84cc0e047e0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotexi2html: Add check for directory existence
Richard Purdie [Wed, 17 Oct 2012 13:54:01 +0000 (13:54 +0000)] 
texi2html: Add check for directory existence

Without this, if configure fails, it won't be able to run again as the directory
already exists.

(From OE-Core rev: 71a3ba536d022eea3a199cf4d6c5c791d91603a0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodiffutils: Remove rather bizzare gettext macros
Richard Purdie [Wed, 17 Oct 2012 13:52:21 +0000 (13:52 +0000)] 
diffutils: Remove rather bizzare gettext macros

diffutils has a rather confused set of getext macros with different names and
strange conflicting version requirements. This patch removes the problematic
macros allowing it to 'gettextize' to the latest standard gettext code without
issue.

(From OE-Core rev: a40b89333652ca22a6e6957ab8a2a4e41b87b4c0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokexec-tools: Add dependency on xz
Richard Purdie [Wed, 17 Oct 2012 13:50:19 +0000 (13:50 +0000)] 
kexec-tools: Add dependency on xz

kexec-tools optionally looks for the lzma code provided by xz. Since this
is generally useful for lzma compressed kernels, add the dependency and
make builds determinstic.

(From OE-Core rev: accea64234124f25345a9288c0739c433de671f8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogettext: Add config.rpath and Makefile.in.in to gettext-minimal-native
Richard Purdie [Wed, 17 Oct 2012 13:47:38 +0000 (13:47 +0000)] 
gettext: Add config.rpath and Makefile.in.in to gettext-minimal-native

We need gettext-minimal-native to be able to install config.rpath and
Makefile.in.in so that we don't get version mismatch errors when subsequently
using the reconfigured software.

This patch moves the two files to be provided by minimal-native so
that we can better 'gettextize' software without needing the full
gettext-native when using --disable-nls.

(From OE-Core rev: 6b12d4cd39bacb087654b59e25f5052a4e839b26)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconsole-tools: Clean up recipe
Richard Purdie [Wed, 17 Oct 2012 12:18:12 +0000 (12:18 +0000)] 
console-tools: Clean up recipe

This cleans up various bits of nastiness in this recipe:
  * Drop unneeded m4 macros
  * Update to a recent version of gettext (needs addition of Makevars file)
  * Drop split do_compile and SUBDIRS hacks, just patch out the docs
  * Remove some of the configure.in hacks since they seem unneeded now
    and break gettext (the AC_OUTPUT change).
  * Wipe out acinclude.m4 since it has corrisive contents

(From OE-Core rev: 87a9a3b3b2603516704a38fccc8c396e547ac101)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqemu: Explicitly disable bluez, its not in DEPENDS
Richard Purdie [Wed, 17 Oct 2012 10:43:38 +0000 (10:43 +0000)] 
qemu: Explicitly disable bluez, its not in DEPENDS

(From OE-Core rev: d5745cdc01f7d21999c5983bae5983072e3e8f30)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: change libexecdir to ${libdir}/${BPN}
Saul Wold [Mon, 15 Oct 2012 22:19:10 +0000 (15:19 -0700)] 
bitbake.conf: change libexecdir to ${libdir}/${BPN}

In order to be more compliant with the Filesystem Hierarchs
Standard (FHS), this change removes the /usr/libexec default
in favor of ${libdir}/${BPN} (which is typically /usr/lib).

http://www.pathname.com/fhs/pub/fhs-2.3.html

This also address the native and STAGING variations

[YOCTO #2915]

(From OE-Core rev: 68c31b095a1cb20bd297df596024fc568614f5e8)

(From OE-Core rev: 406bd38b4232f9f399ef5ffe0b4fac72ed605a23)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>