]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agolibpam: Setting suid bit for unix_chkpwd
Wenzong Fan [Sat, 20 Aug 2011 07:30:32 +0000 (15:30 +0800)]
libpam: Setting suid bit for unix_chkpwd

[YOCTO #1252]

While pam_unix.so required by an application on lsb image, it will need to
call the unix_chkpwd to get userinfo from shadow file. This fix get a normal
user could read shadow file via unix_chkpwd.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13 years agocronie: Updates to cronie
Wenzong Fan [Sat, 20 Aug 2011 09:15:50 +0000 (17:15 +0800)]
cronie: Updates to cronie

1) Add required pam plugins to RDEPENDS list;
2) Correct configure option that used for enable pam support;
3) Create empty crond config file cron.deny;
4) Don't set readonly variable UID in crond init script.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13 years agomips32: add mips32el tuning
Phil Blundell [Fri, 19 Aug 2011 16:55:08 +0000 (17:55 +0100)]
mips32: add mips32el tuning

This makes building for little-endian mips32 slightly more convenient.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agoprocps: Fix lib path to support multilib
Dongxiao Xu [Tue, 23 Aug 2011 14:18:12 +0000 (22:18 +0800)]
procps: Fix lib path to support multilib

Revise the install.patch which hardcode the lib paths.
Change ${PN} to ${BPN} in file names.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agolibtasn1: update SRC_URI
Joshua Lock [Tue, 23 Aug 2011 22:33:55 +0000 (15:33 -0700)]
libtasn1: update SRC_URI

libtasn is no longer hosted as a sub-project of gnutls, it has its ftp
directory.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agoimage.bbclass, kernel.bbclass: remove non-standard -n option from cp command
Paul Eggleton [Tue, 23 Aug 2011 15:22:14 +0000 (16:22 +0100)]
image.bbclass, kernel.bbclass: remove non-standard -n option from cp command

-n is not a POSIX option and does not work on some systems (e.g. Debian
Lenny); in any case it is not strictly necessary here, so remove it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/combo-layer: fix overzealous regex in default hook script
Paul Eggleton [Tue, 23 Aug 2011 18:56:28 +0000 (19:56 +0100)]
scripts/combo-layer: fix overzealous regex in default hook script

combo-layer's hook scripts are intended to modify patches as they pass
through; the default one adds a prefix with the component name and
a line with the component repo revision before the Signed-off-by;
however the script was also unintentionally modifying the contents of
patches *within* the patches passing through it, which resulted in
unexpected failures when the combo-layer script attempted to use
"git am" to apply them.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agobase.bbclass: clarify COMMERCIAL_LICENSE skip reason
Paul Eggleton [Tue, 23 Aug 2011 15:51:07 +0000 (16:51 +0100)]
base.bbclass: clarify COMMERCIAL_LICENSE skip reason

Change to a proper sentence and add a reference to the
COMMERCIAL_LICENSE variable so that the user knows where this can be
controlled.

Addresses remainder of [YOCTO #846]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoutils.bbclass: skip empty paths when handling FILESEXTRAPATHS
Martin Jansa [Fri, 19 Aug 2011 12:16:28 +0000 (14:16 +0200)]
utils.bbclass: skip empty paths when handling FILESEXTRAPATHS

* if there is multiple .bbappend files with FILESEXTRAPATHS_prepend := "/:"
  then the one parsed last is causing trailing ':' and that's causing empty element in
  path = extrapaths.split(:) + path
* it's hard to keep all .bbappends from foreign layers to follow this rule, so it's better
  to be able to handle trailing ':'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agotask-core-x11-sato: add libsdl into sato image
Jiajun Xu [Mon, 22 Aug 2011 15:30:18 +0000 (23:30 +0800)]
task-core-x11-sato: add libsdl into sato image

We add libsdl into sato image since some 3D graphics testing needs it.

Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
13 years agolibsdl: do not inherit nativesdk
Jiajun Xu [Mon, 22 Aug 2011 15:29:07 +0000 (23:29 +0800)]
libsdl: do not inherit nativesdk

We already enable target version for libsdl and use BBCLASSEXTEND
to enable nativesdk. No need to inherit nativesdk then.

Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
13 years agoscripts/combo-layer: fix configuration file handling
Otavio Salvador [Fri, 19 Aug 2011 15:07:05 +0000 (15:07 +0000)]
scripts/combo-layer: fix configuration file handling

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agoscripts/runqemu: add support to pass bootparams to kernel
Otavio Salvador [Fri, 19 Aug 2011 13:37:26 +0000 (13:37 +0000)]
scripts/runqemu: add support to pass bootparams to kernel

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agokernel.bbclass: save kernel image name into $kerneldir
Otavio Salvador [Fri, 22 Jul 2011 01:23:59 +0000 (01:23 +0000)]
kernel.bbclass: save kernel image name into $kerneldir

Save the kernel image name into sysroot so it can be used during image
build if need. This is used by O.S. Systems products and probably
useful to others.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agoUse OECORE_DISTRO_VERSION instead of POKY_DISTRO_VERSION
Otavio Salvador [Fri, 15 Jul 2011 14:53:34 +0000 (14:53 +0000)]
Use OECORE_DISTRO_VERSION instead of POKY_DISTRO_VERSION

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agobitbake meta-toolchain with gcc 4.5.1 failed
Robert Yang [Sun, 21 Aug 2011 09:52:55 +0000 (17:52 +0800)]
bitbake meta-toolchain with gcc 4.5.1 failed

Fixes bug [YOCTO #1386]

1) Add the following lines to conf/local.conf:

SDKGCCVERSION="4.5.1"
GCCVERSION="4.5.1"

2) bitbake meta-toolchain

The we will notice the error that sed can't find the directory:

${TMPDIR}/work-shared/gcc-${PV}/gcc-${PV}-${PR}

we had changed the name of S from gcc-${PV} to gcc-${PV}-${PR}, but didn't
update meta/recipes-devtools/gcc/gcc-common.inc, so fix S in gcc-common.inc
would make it work.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
13 years agolinux-yocto: update SRCREVs for 3.0.3
Bruce Ashfield [Fri, 19 Aug 2011 04:57:26 +0000 (00:57 -0400)]
linux-yocto: update SRCREVs for 3.0.3

Updating the SRCREVs to pickup the kernel.org -stable update for
3.0.3

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: move more default values into linux-yocto.inc
Bruce Ashfield [Fri, 19 Aug 2011 04:42:38 +0000 (00:42 -0400)]
linux-yocto: move more default values into linux-yocto.inc

During the preparation of some linux-yocto extension documentation it
was clear that some variables are being defined in each recipe, when
they don't have to be. Moving the defaults into linux-yocto.in and
allowing them to be overidden in recipes simpifies the reuse of the
base infrastructure.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agoat: fix RDEPENDS -> RDEPENDS_${PN}
Saul Wold [Sun, 21 Aug 2011 19:56:56 +0000 (12:56 -0700)]
at: fix RDEPENDS -> RDEPENDS_${PN}

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoadt-installer: Removed the hard coded repo url.
Lianhao Lu [Fri, 19 Aug 2011 05:14:27 +0000 (13:14 +0800)]
adt-installer: Removed the hard coded repo url.

[YOCTO #1380] Removed the hard coded repo url in opkg configuration
files.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agoimage_types_uboot: add uboot mkimage fs types
Chris Larson [Fri, 19 Aug 2011 21:56:25 +0000 (14:56 -0700)]
image_types_uboot: add uboot mkimage fs types

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agorpm: be certain we don't prefix our binaries
Chris Larson [Fri, 19 Aug 2011 21:56:24 +0000 (14:56 -0700)]
rpm: be certain we don't prefix our binaries

In certain combinations of build/host/target, they can end up
inadvertently prefixed, breaking the assumptions in the recipe.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agolibpcre: the generated libtool uses HOST_SYS
Chris Larson [Fri, 19 Aug 2011 21:56:23 +0000 (14:56 -0700)]
libpcre: the generated libtool uses HOST_SYS

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agorecipes: Delete patch=1, its default and replace pnum with striplevel
Khem Raj [Thu, 18 Aug 2011 00:17:52 +0000 (00:17 +0000)]
recipes: Delete patch=1, its default and replace pnum with striplevel

Some place pnum=1 is used which is removed as well since
striplevel=1 is default

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agotune: Add hard floating point variants of cortexa8 tunes
Darren Hart [Thu, 18 Aug 2011 16:39:32 +0000 (09:39 -0700)]
tune: Add hard floating point variants of cortexa8 tunes

Enable machines or distros to select the hard floating point abi for cortexa8
machines. I left out the arm7a thumb+neon combinations as they were not
present in the original non-hf set.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Jason Kridner <jkridner@beagleboard.org>
CC: Koen Kooi <koen@dominion.thruhere.net>
13 years agotune: add missing closing quote to arch-armv7a.inc for AVAILTUNES
Darren Hart [Thu, 18 Aug 2011 16:19:40 +0000 (09:19 -0700)]
tune: add missing closing quote to arch-armv7a.inc for AVAILTUNES

A closing quote was missing for an AVAILTUNES append operation, add it.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Jason Kridner <jkridner@beagleboard.org>
CC: Koen Kooi <koen@dominion.thruhere.net>
13 years agoxcb/libpthreads: Add BBCLASSEXTEND to resolve missing providers in world builds
Richard Purdie [Fri, 19 Aug 2011 23:27:29 +0000 (16:27 -0700)]
xcb/libpthreads: Add BBCLASSEXTEND to resolve missing providers in world builds

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobluez4: drop usbpath from DEPENDS
Joshua Lock [Fri, 19 Aug 2011 22:30:33 +0000 (15:30 -0700)]
bluez4: drop usbpath from DEPENDS

We don't (currently) have usbpath in oe-core, so drop it from the DEPENDS to
make BlueZ buildable again.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
CC: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibgcc: Remove fetch/unpack/patch noexec stamps
Richard Purdie [Fri, 19 Aug 2011 22:08:32 +0000 (15:08 -0700)]
libgcc: Remove fetch/unpack/patch noexec stamps

libgcc now uses shared work directories so we cannot mark
these tasks as noexec. If we do, the tasks may not run
and hence gcc may not get patched for example which
results in failures.

This patch simple removes the flags since they're unneeded.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agonewt: update distro tracking fields
Kang Kai [Thu, 18 Aug 2011 02:49:02 +0000 (10:49 +0800)]
newt: update distro tracking fields

Update newt distro tracking fields

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agoalsa-tools: update license and add distro tracking fields
Kang Kai [Thu, 18 Aug 2011 02:44:40 +0000 (10:44 +0800)]
alsa-tools: update license and add distro tracking fields

Update license and other informations, then bump up PR.
Update distro tracking fields.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agoslang: add homepage and update distro tracking fields
Kang Kai [Thu, 18 Aug 2011 02:38:47 +0000 (10:38 +0800)]
slang: add homepage and update distro tracking fields

Add slang homepage and bump up PR.
Update distro tracking fields.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agomailx: update license and distro tracking fileds
Kang Kai [Thu, 18 Aug 2011 02:33:55 +0000 (10:33 +0800)]
mailx: update license and distro tracking fileds

update mailx license and bump up PR, and update distro tracking fields.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agoeglibc: check dependencies among eglibc options
Kang Kai [Thu, 18 Aug 2011 02:04:57 +0000 (10:04 +0800)]
eglibc: check dependencies among eglibc options

Fixes [Yocto #1212]

'libc-inet' and 'ipv4' are the same thing, so remove 'libc-inet'
from the default DISTRO_FEATURES_LIBC in file default-distrovars.inc.

Check the dependencies among eglibc configurable options, make sure
that eglibc could be compile successfully only with part of the options.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agoacl: Use BPN instead of PN for style like lib${PN}
Dongxiao Xu [Thu, 18 Aug 2011 06:55:33 +0000 (14:55 +0800)]
acl: Use BPN instead of PN for style like lib${PN}

When supporting multilib, ${PN} will be extended with MLPREFIX. However
if a package name contains ${PN} with styles like lib${PN}, such
extension will cause error. Use BPN in this case.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoattr: Use BPN instead of PN for style like lib${PN}
Dongxiao Xu [Thu, 18 Aug 2011 06:54:55 +0000 (14:54 +0800)]
attr: Use BPN instead of PN for style like lib${PN}

When supporting multilib, ${PN} will be extended with MLPREFIX. However
if a package name contains ${PN} with styles like lib${PN}, such
extension will cause error. Use BPN in this case.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoea-acl: Use BPN instead of PN for style like lib${PN}
Dongxiao Xu [Thu, 18 Aug 2011 06:53:02 +0000 (14:53 +0800)]
ea-acl: Use BPN instead of PN for style like lib${PN}

When supporting multilib, ${PN} will be extended with MLPREFIX. However
if a package name contains ${PN} with styles like lib${PN}, such
extension will cause error. Use BPN in this case.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agocurl: Use BPN instead of PN for style like lib${PN}
Dongxiao Xu [Thu, 18 Aug 2011 06:51:32 +0000 (14:51 +0800)]
curl: Use BPN instead of PN for style like lib${PN}

When supporting multilib, ${PN} will be extended with MLPREFIX. However
if a package name contains ${PN} with styles like lib${PN}, such
extension will cause error. Use BPN in this case.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoinitrdscripts: fix init-live.sh
Jingdong Lu [Thu, 18 Aug 2011 07:59:58 +0000 (15:59 +0800)]
initrdscripts: fix init-live.sh

Fix bug: [YOCTO #686]
Because the variable "ROOT_IMAGE" in init-live.sh is not correct, it fails to
run when using liveCD. Modify value of "ROOT_IMAGE" to "isolinux/rootfs.img".
If we want to use liveCD, we also need to add some kernel options related to
CDROM support when compling kernel.

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
13 years agobluez4: update recipe from meta-oe
Martin Jansa [Wed, 17 Aug 2011 14:29:54 +0000 (16:29 +0200)]
bluez4: update recipe from meta-oe

* fix DEPENDS
* fix typo in --enable-pandd option
* remove unsupported options
* update packaging
* remove distro override which doesn't belong to oe-core

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agotask-core-boot: allow distribution to override default dev_manager provider with...
Martin Jansa [Tue, 26 Jul 2011 22:23:31 +0000 (00:23 +0200)]
task-core-boot: allow distribution to override default dev_manager provider with VIRTUAL-RUNTIME_dev_manager

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agogdb: Add lttng-ust to DEPENDS only for eglibc
Khem Raj [Tue, 16 Aug 2011 22:23:21 +0000 (15:23 -0700)]
gdb: Add lttng-ust to DEPENDS only for eglibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agotask-core-tools: Use LTTNGUST variable instead of hardcoding lttng-ust
Khem Raj [Tue, 16 Aug 2011 22:22:24 +0000 (15:22 -0700)]
task-core-tools: Use LTTNGUST variable instead of hardcoding lttng-ust

This helps build on uclibc where lttng-ust is not included

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoat: make at usable for common user
Kang Kai [Tue, 16 Aug 2011 08:32:27 +0000 (16:32 +0800)]
at: make at usable for common user

Fixes [Yocto #1297]

The pkg_postinst was added to fix Yocto #675. But it seems not needed
any more. Remove it then unprivilege user could use at.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agolibxslt: fix packaging of static libraries
Phil Blundell [Wed, 17 Aug 2011 13:56:53 +0000 (14:56 +0100)]
libxslt: fix packaging of static libraries

This prevents warnings about .a files being installed but not shipped.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agoscripts/runqemu: modify search paths for libgl
Anders Darander [Wed, 17 Aug 2011 13:19:46 +0000 (15:19 +0200)]
scripts/runqemu: modify search paths for libgl

On e.g. Debian libql is found under /usr/lib/x86_64-linux-gnu/libGL.so.
Use a wildcard to match different locations, as uname -i only return unknown on Debian.

Signed-off-by: Anders Darander <anders@chargestorm.se>
13 years agoqemu: modify search paths for libgl
Anders Darander [Wed, 17 Aug 2011 13:18:58 +0000 (15:18 +0200)]
qemu: modify search paths for libgl

On e.g. Debian libql is found under /usr/lib/x86_64-linux-gnu/libGL.so.
Use a wildcard to match different locations, as uname -i only return unknown on Debian.

Signed-off-by: Anders Darander <anders@chargestorm.se>
13 years agosysvinit: Change ${PN} to ${BPN} in file names
Dongxiao Xu [Wed, 17 Aug 2011 08:53:40 +0000 (16:53 +0800)]
sysvinit: Change ${PN} to ${BPN} in file names

Some files in sysvinit are named with ${PN}. In multilib case, ${PN}
will be prefixed with "lib32-" or "lib64-". Use ${BPN} instead.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agobusybox: Change ${PN} to ${BPN} in file names
Dongxiao Xu [Wed, 17 Aug 2011 08:51:52 +0000 (16:51 +0800)]
busybox: Change ${PN} to ${BPN} in file names

Some files in busybox are named with ${PN}. In multilib case, ${PN}
will be prefixed with "lib32-" or "lib64-". Use ${BPN} instead.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoperl-native: Update find_perl to find the perl wrapper
Wenzong Fan [Tue, 16 Aug 2011 06:53:59 +0000 (14:53 +0800)]
perl-native: Update find_perl to find the perl wrapper

[YOCTO #1157] [YOCTO #829]

This is a common issue to the packages which using 'MakeMaker.pm' to
generate their Makefiles. The function 'find_perl()' in 'MM_Unix.pm'
will be used to figure out the path/link of 'PERL/FULLPERL', but it
always find the 'perl.real' instead of perl wrapper.

Just update it to find the perl wrapper correctly.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13 years agoglib-2.0: explicitly disable dtrace and systemtap for native varaint
Joshua Lock [Wed, 17 Aug 2011 16:17:49 +0000 (09:17 -0700)]
glib-2.0: explicitly disable dtrace and systemtap for native varaint

This prevents systemtap and dtrace being picked up from the host as
reported on the Yocto mailing list by Andre Haupt <andre@bitwigglers.org>

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agoqt4: allow a reduction in build time
Anders Darander [Wed, 17 Aug 2011 17:47:51 +0000 (19:47 +0200)]
qt4: allow a reduction in build time

When reducing build time by adding QT_DISTRO_FLAGS from the set '-no-gui -nomake tools
-nomake examples -nomake demos -nomake docs', build failure can occur, due to not building
all tools.

* Make rm not error out when removing one of the, possibly, non-existing tools.
* Only try to rename qtdemo, if qtdemo exists.
* Check if the phrasebook path exists, and only then call do_split_packages()

Signed-off-by: Anders Darander <anders@chargestorm.se>
13 years agosanity.bbclass: add optional untested host distro warning
Paul Eggleton [Wed, 17 Aug 2011 17:48:15 +0000 (18:48 +0100)]
sanity.bbclass: add optional untested host distro warning

SANITY_TESTED_DISTROS, if specified, is expected to be a
newline-delimited list of distro identifier strings, e.g.

SANITY_TESTED_DISTROS = " \
        Ubuntu 11.04 \
        Fedora release 14 (Laughlin) \
        "

(spaces, tabs etc. are trimmed)

If SANITY_TESTED_DISTROS is defined, we will attempt to detect the host
distribution. If the distribution is not in SANITY_TESTED_DISTROS or we
could not detect the distribution then we show a warning during sanity
checking.

Provides the mechanism for fixing [YOCTO #1096].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoimage.bbclass, kernel.bbclass: create warning file about deleting deploydir files
Paul Eggleton [Tue, 16 Aug 2011 17:13:04 +0000 (18:13 +0100)]
image.bbclass, kernel.bbclass: create warning file about deleting deploydir files

New users sometimes delete files in tmp/deploy/images assuming they will
be re-created just by re-running the build, and then are confused when
this doesn't work. To discourage people from doing this, create a file
called README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt in
tmp/deploy/images containing an explanation of what needs to be done to
re-create files there.

Fixes [YOCTO #1315] and [YOCTO #1346].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agokernel: restore crtsavres.o to enable building external modules on powerpc
Darren Hart [Wed, 17 Aug 2011 04:16:53 +0000 (21:16 -0700)]
kernel: restore crtsavres.o to enable building external modules on powerpc

Fixes [YOCTO #1276]

As of Linux kernel version 3.0.1, and much earlier, the make clean target
removes arch/powerpc/lib/crtsavres.o. As this object is present in
KBUILD_LDFLAGS_MODULE, it is required to build external modules, and should
therefor not be removed by make clean.

While I do not advocate fixing buggy kernels in the generic kernel classes,
we should probably account for this one in kernel.bbclass as it affects
such a long list of kernel versions.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoshadow: switch to a fetchable SRC_URI
Joshua Lock [Wed, 17 Aug 2011 00:02:49 +0000 (17:02 -0700)]
shadow: switch to a fetchable SRC_URI

Swith the SRC_URI to the one referenced on the sources section of the
utilities download page (http://pkg-shadow.alioth.debian.org/download.php).

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobuildstats.bbclass: Fixing task endtime
Beth Flanagan [Wed, 17 Aug 2011 11:38:54 +0000 (04:38 -0700)]
buildstats.bbclass: Fixing task endtime

Task endtime got left out of recent changes. Adding it back in.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoofono: conditionally enable bluetooth
Anders Darander [Wed, 17 Aug 2011 06:41:28 +0000 (08:41 +0200)]
ofono: conditionally enable bluetooth

Use DISTRO_FEATURE to conditionally depend on bluez4, as well as enabling bluetooth.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocreate-pull-request: increase likelihood of detecting a rename
Anders Darander [Tue, 16 Aug 2011 13:41:34 +0000 (15:41 +0200)]
create-pull-request: increase likelihood of detecting a rename

Decrease the similarity percentage needed to recognize a delete/add-pair followed by an edit,
as a rename.
This make reviewing patches easier.

Signed-off-by: Anders Darander <anders@chargestorm.se>
13 years agoconnman: use DISTRO_FEATURES to enable wifi and bluetooth
Anders Darander [Mon, 15 Aug 2011 10:58:51 +0000 (12:58 +0200)]
connman: use DISTRO_FEATURES to enable wifi and bluetooth

As wifi and bluetooth is set in DISTRO_FEATURES, connman should respect this during configuring.

Signed-off-by: Anders Darander <anders@chargestorm.se>
13 years agoqmake_base: add uclibceabi
Anders Darander [Tue, 16 Aug 2011 08:36:34 +0000 (10:36 +0200)]
qmake_base: add uclibceabi

Partial sync of qmake_base from meta-oe.
* Add a matching rule for *linux-uclibceabi-oe-g++, to make qmake_base.bbclase more
similar to the version in meta-oe.

Signed-off-by: Anders Darander <anders@chargestorm.se>
13 years agodistro_tracking_fields.inc: update the info for the following recipes
Dexuan Cui [Tue, 16 Aug 2011 06:56:53 +0000 (14:56 +0800)]
distro_tracking_fields.inc: update the info for the following recipes

cronie
mdadm
freetype
xproto
glproto
dri2proto
util-macros

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agodri2proto: upgrade from 2.4 to 2.6
Dexuan Cui [Tue, 16 Aug 2011 08:49:54 +0000 (16:49 +0800)]
dri2proto: upgrade from 2.4 to 2.6

The patch has been integrated into 1.4.14 so let's remove it.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoglproto: upgrade from 1.4.13 to 1.4.14
Dexuan Cui [Tue, 16 Aug 2011 08:43:43 +0000 (16:43 +0800)]
glproto: upgrade from 1.4.13 to 1.4.14

The patch has been integrated into 1.4.14 so let's remove it.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoxproto: upgrade from 7.0.21 to 7.0.22
Dexuan Cui [Tue, 16 Aug 2011 08:31:02 +0000 (16:31 +0800)]
xproto: upgrade from 7.0.21 to 7.0.22

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agofreetype: upgrade from 2.4.4 to 2.4.6
Dexuan Cui [Tue, 16 Aug 2011 08:17:28 +0000 (16:17 +0800)]
freetype: upgrade from 2.4.4 to 2.4.6

freetype-2.4.6/docs/LICENSE.TXT changed a little to describe more clearly
the compatibility about FreeTypeLicense and GPLv2+, but the actual license
remains unchanged: it's still  LICENSE = "FreeTypeLicense | GPLv2+".

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoutil-macros: upgrade from 1.14.0 to the latest version 0.15.0
Dexuan Cui [Tue, 16 Aug 2011 07:57:36 +0000 (15:57 +0800)]
util-macros: upgrade from 1.14.0 to the latest version 0.15.0

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agomdadm: upgrade mdadm from 3.2.1 to 3.2.2
Dexuan Cui [Tue, 16 Aug 2011 07:41:54 +0000 (15:41 +0800)]
mdadm: upgrade mdadm from 3.2.1 to 3.2.2

Remove the patch since 3.2.2 has integrated it.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agocronie: upgrade from 1.4.7 to 1.4.8
Dexuan Cui [Tue, 16 Aug 2011 06:51:42 +0000 (14:51 +0800)]
cronie: upgrade from 1.4.7 to 1.4.8

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agotcf-agent: add openssl into DEPENDS
Dexuan Cui [Tue, 16 Aug 2011 06:37:14 +0000 (14:37 +0800)]
tcf-agent: add openssl into DEPENDS

[YOCTO #1330]

If tcf-agent's do_compile happens before openssl does populate_root, we'll
get such a compilation failure:
framework/channel_tcp.c:34:27: fatal error: openssl/ssl.h: No such file or directory

Thanks Kumar Gala for reporting this!

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Cc: Kumar Gala <galak@kernel.crashing.org>
13 years agobluez-hcidump: upgrade from 2.0 to 2.1
Dexuan Cui [Tue, 16 Aug 2011 03:11:12 +0000 (11:11 +0800)]
bluez-hcidump: upgrade from 2.0 to 2.1

[YOCTO #1371]

Recently bluez4 was updated from 4.82 to 4.96 and bluez-hcidump can't build:
src/hcidump.c:54:24: error: redefinition of 'ntoh64'.

In 2.1 the duplicated definition of ntoh64 was removed.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agopackage(_ipk).bbclass: opkg using ALL_MULTILIB_PACKAGE_ARCHS
Lianhao Lu [Tue, 16 Aug 2011 08:26:49 +0000 (16:26 +0800)]
package(_ipk).bbclass: opkg using ALL_MULTILIB_PACKAGE_ARCHS

[YOCTO #1345]
The new variable ALL_MULTILIB_PACKAGE_ARCHS contains all the values of
PACKAGE_ARCHS for each multilib variants. The opkg backend now uses this
new value insteald of the PACKAGE_ARCHS to update the opkg indexes and
to generate the opkg configuration files. This allows the normal
packages and multilib packages may be installed into the same rootfs.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agolinux-yocto: meta SRCREV bump
Bruce Ashfield [Mon, 15 Aug 2011 17:39:12 +0000 (13:39 -0400)]
linux-yocto: meta SRCREV bump

Bumping the linux-yocto meta SRCREV to pickup new target
configurations and features.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agoqemu: change default kernel to 3.0.x
Bruce Ashfield [Mon, 15 Aug 2011 17:33:21 +0000 (13:33 -0400)]
qemu: change default kernel to 3.0.x

The explicit setting of version preference to 2.6.37 is
no longer required. All of the qemu targets have been built
and boot tested on 3.0.1 for core-image-minimal and core-image-sato
and are safe for wider build/boot testing.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: bump version string to 3.0.1
Bruce Ashfield [Mon, 15 Aug 2011 17:31:44 +0000 (13:31 -0400)]
linux-yocto: bump version string to 3.0.1

There was some confusion around the 3.0 version string in the
linux-yocto recipe when the merged version was 3.0.1. Bumping
the version string should clarify what version will be fetched.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agogtk-icon-cache: Adding MLPREFIX when dynamically set RDEPENDS
Dongxiao Xu [Tue, 16 Aug 2011 07:17:35 +0000 (15:17 +0800)]
gtk-icon-cache: Adding MLPREFIX when dynamically set RDEPENDS

When dynamically setting RDEPENDS, we need to add MLPREFIX to adapt
multilib case.

[YOCTO #1368]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agopackage_rpm: Fix package rename issue in multilib case
Dongxiao Xu [Wed, 3 Aug 2011 14:53:15 +0000 (22:53 +0800)]
package_rpm: Fix package rename issue in multilib case

do_package task will write information into pkgdata and
do_package_write_rpm will read them out. Take lib32-dates as an example,
one of its RDEPENDS is li32-gtk+, and PKG_lib32-gtk+ = "libgtk-2.0",
these info is stored at:
tmp/pkgdata/x86_64-pokymllib32-linux/runtime/lib32-dates.

Function "mapping_rename_hook" in do_package_write_rpm is to handle
those renamed packages. However before it executes, translate_vers
has stripped the multilib prefix out, making it failed to find PKG_gtk+
value in pkgdata.

This commit moves the strip_multilib out of translate_vers and call it
after "mapping_rename_hook".

[YOCTO #1368]

CC: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agopackage_rpm: enhance strip_multilib function
Dongxiao Xu [Wed, 3 Aug 2011 14:52:48 +0000 (22:52 +0800)]
package_rpm: enhance strip_multilib function

The previous logic could only strip MLPREFIX from the first element in
an array, take an example, strip_multilib the [lib32-a lib32-b lib32-c]
will result in [a lib32-b lib32-c]. We need to strip prefix one by one.

This commit change the logic to strip all elements' multilib prefix.

[YOCTO #1368]

CC: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agorootfs_rpm: Fix DEFAULTTUNE setting in multilib case
Dongxiao Xu [Tue, 16 Aug 2011 06:57:37 +0000 (14:57 +0800)]
rootfs_rpm: Fix DEFAULTTUNE setting in multilib case

"virtclass-multilib" is set to OVERRIDES in multilib.bbclass, remove the
duplicated settings here.

Besides, DEFAULTTUNE has overrided and it can be directly used.

[YOCTO #1368]

CC: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoqemu: Make qemu buildable inside qemux86/qemuppc target
Zhai Edwin [Thu, 11 Aug 2011 07:13:32 +0000 (15:13 +0800)]
qemu: Make qemu buildable inside qemux86/qemuppc target

It requires libx11 and libGL(if enabled GL) for building, which introduce extra
dependence in qemuppc target. Futhermore, qemu's GL code is x86-oriented, thus
some hacks needed for building in qemupcc. For simplicity, just make qemu GL's
code for native only, so that qemu building is okay in world build.

[YOCTO #1011] got fixed.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agolibxcb: enable native/nativesdk builds as was done previously in meta-oe
Dmitry Eremin-Solenikov [Mon, 15 Aug 2011 15:48:43 +0000 (19:48 +0400)]
libxcb: enable native/nativesdk builds as was done previously in meta-oe

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
13 years agolibproxy: remove dependency on X libs
Phil Blundell [Mon, 15 Aug 2011 15:21:27 +0000 (16:21 +0100)]
libproxy: remove dependency on X libs

Nothing in the source refers to libX11 or libXmu so there would appear to be
no good reason for them to be in DEPENDS.  It looks as though these are perhaps
a relic from an earlier version which did need those libraries.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agocmake.bbclass, perlnative.bbclass: arrange for cmake to find perl-native
Phil Blundell [Mon, 15 Aug 2011 16:16:31 +0000 (17:16 +0100)]
cmake.bbclass, perlnative.bbclass: arrange for cmake to find perl-native

When CMake is looking for perl, it only searches in the specific directories
that it's told about and ignores ${PATH}.  If perlnative is in use, ensure
that the appropriate installation path is added to the list of places that
cmake will look for perl, otherwise it won't ever be found.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agodistro-tracking: Update info for gpgme, libassuan, apr... after last upgrade.
Zhai Edwin [Thu, 28 Jul 2011 08:22:44 +0000 (16:22 +0800)]
distro-tracking: Update info for gpgme, libassuan, apr... after last upgrade.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agolibx11-diet: Fix bug 1050
Xiaofeng Yan [Mon, 15 Aug 2011 06:44:26 +0000 (14:44 +0800)]
libx11-diet: Fix bug 1050

[YOCTO #1050]
I got do_compile failure during building qemux86 image
| ../../../doltlibtool: line 17:
/distro/dcui/0704/pc1/build/tmp/work/i586-poky-linux/libx11-diet-1.3-r2/libX11-1.3/modules/im/ximcp/../../../libtool:
No such file or directory

This is due to not found libtool, but i586-poky-linux-libtool in libX11-1.3
So I disable dolt for solving this problem.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agoThe Skeleton initscript doesn't work on minimal image
Robert Yang [Mon, 15 Aug 2011 08:26:55 +0000 (16:26 +0800)]
The Skeleton initscript doesn't work on minimal image

Fixes bug [YOCTO #1165]

The /etc/init.d/skeleton doesn't work on minimal image, this is
because of the pidofproc doesn't return "$?" correctly, so store
$? in the variable status would fix it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
13 years agoqt4.inc: expand the package name for multilib case
Yu Ke [Mon, 15 Aug 2011 10:39:16 +0000 (18:39 +0800)]
qt4.inc: expand the package name for multilib case

in the qt4.inc python annomyous code, there is case where package name
is set to "${QT_BASE_LIB}-tool", and  FILE_${QT_BASE_LIB}-tool is set to xxx.
here QT_BASE_NAME=qt4. multilib.bbclass will try to rename the FILE_qt4_tool to
FILE_lib64_qt4_tool. unfortunately, there is only FILE_${QT_BASE}-tool, no
FILE_qt4-tool, so FILE_lib64_qt4_tool will not be defined.

to fix this issue, this patch expand the QT_BASE_LIB when assigning the package
name.

FIX [YOCTO #1344]

Signed-off-by: Yu Ke <ke.yu@intel.com>
13 years agoqt4.inc: revise RRECOMMENDS
Yu Ke [Mon, 15 Aug 2011 10:37:29 +0000 (18:37 +0800)]
qt4.inc: revise RRECOMMENDS

using ${QT_BASE_NAME}-dbg as RRECOMMENDS is not correct in qt4-x11-free
case, because ${QT_BASE_NAME}-dbg i.e. qt4-dbg does not exist

this patch fix it by using ${PN}

Signed-off-by: Yu Ke <ke.yu@intel.com>
13 years agolibsdl: enable opengl for libsdl
Jiajun Xu [Mon, 15 Aug 2011 12:58:42 +0000 (20:58 +0800)]
libsdl: enable opengl for libsdl

To enable opengl for libsdl, we need DEPENDS on virtual/libgl. Add a check for
"opengl" in DISTRO_FEATURES and when it's set, "--enable-video-opengl"
and "virtual/libgl" will be added into EXTRA_CONF and DEPENDS.

Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
Acked-by: Phil Blundell <philb@gnu.org>
13 years agolibsdl: add target version
Jiajun Xu [Mon, 15 Aug 2011 12:57:21 +0000 (20:57 +0800)]
libsdl: add target version

Rename libsdl-nativesdk to libsdl to enable target version. libsdl
is needed in some graphics testing.

Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
Acked-by: Phil Blundell <philb@gnu.org>
13 years agodefault-distrovars: add x11 to default DISTRO_FEATURES
Phil Blundell [Fri, 12 Aug 2011 16:00:50 +0000 (17:00 +0100)]
default-distrovars: add x11 to default DISTRO_FEATURES

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agodbus: only use x11 if DISTRO_FEATURES has selected it
Phil Blundell [Fri, 12 Aug 2011 15:59:43 +0000 (16:59 +0100)]
dbus: only use x11 if DISTRO_FEATURES has selected it

This makes it possible to include dbus in a non-X11-equipped DISTRO.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agocairo: only use x11 if selected in DISTRO_FEATURES
Phil Blundell [Fri, 12 Aug 2011 15:58:32 +0000 (16:58 +0100)]
cairo: only use x11 if selected in DISTRO_FEATURES

This makes it possible to build cairo-using apps without X11.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agolibx11: skip self if x11 not in DISTRO_FEATURES
Phil Blundell [Fri, 12 Aug 2011 15:57:38 +0000 (16:57 +0100)]
libx11: skip self if x11 not in DISTRO_FEATURES

This stops (most) x11 packages leaking into a non-x11 distro by mistake.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agopixman: remove spurious dependency on libx11
Phil Blundell [Fri, 12 Aug 2011 15:56:47 +0000 (16:56 +0100)]
pixman: remove spurious dependency on libx11

Nothing in pixman actually uses libx11, so no need to DEPEND on it.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agointltool: Use nativeperl binary for PERL instead of 'perl'
Khem Raj [Fri, 12 Aug 2011 15:31:42 +0000 (08:31 -0700)]
intltool: Use nativeperl binary for PERL instead of 'perl'

License is GPLv2 change it.
Defining PERL for native intltool is not needed anymore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoqt4: delete unpackaged uic3 to avoid unpackaged file warning
Paul Eggleton [Thu, 11 Aug 2011 22:31:32 +0000 (23:31 +0100)]
qt4: delete unpackaged uic3 to avoid unpackaged file warning

All the other utilities get deleted as they should not be packaged,
delete this one as well.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoqt4: package QML plugins and correct their install directory
Paul Eggleton [Thu, 11 Aug 2011 22:25:27 +0000 (23:25 +0100)]
qt4: package QML plugins and correct their install directory

QML components from Qt were installed to ${prefix} before and never got
packaged. This is now fixed and QML components are now installed into
${libdir}/${QT_DIR_NAME}/imports and packaged into qt4-*-qml-plugins
package.

Additionally qmlviewer and the examples/demos are now dependent upon
these plugins as needed.

Originally based on OE commit 4adf97be8c5b5f71ad92095a19968af534baa9e2
by Simon Busch <morphis@gravedo.de>

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoqt4-native: restore build of uic3, qdbuscpp2xml and qdbusxml2cpp
Paul Eggleton [Wed, 10 Aug 2011 11:40:20 +0000 (12:40 +0100)]
qt4-native: restore build of uic3, qdbuscpp2xml and qdbusxml2cpp

These tools are required to build some external utilities (such as those
found in KDE). We avoid building qdbus and qdbusviewer as these are
not required.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoqt4: replace qt4-tools-native with qt4-native
Paul Eggleton [Wed, 10 Aug 2011 11:38:55 +0000 (12:38 +0100)]
qt4: replace qt4-tools-native with qt4-native

Installs native versions of the Qt libraries in addition to the tools,
allowing compilation of external native tools that require Qt libs.
PROVIDES qt4-tools-native so it should be a drop-in replacement.

Developed with reference to the corresponding qt4-native changes in OE.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>