]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agogetVar/setVar cleanups
Richard Purdie [Fri, 25 Nov 2011 14:25:16 +0000 (14:25 +0000)]
getVar/setVar cleanups

Complete the bb.data.getVar/setVar replacements with accesses
directly to the data store object.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoghostscript: Ensure we run reautoconf
Richard Purdie [Fri, 25 Nov 2011 13:15:04 +0000 (13:15 +0000)]
ghostscript: Ensure we run reautoconf

Avoding the autoreconf with a hardcoded do_configure is bad practise
since it can hide various errors. This patch ensures we do use the
standard do_configure.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoghostscript-native: Ensure the sys/time/h fix is applied for native builds
Richard Purdie [Fri, 25 Nov 2011 13:13:30 +0000 (13:13 +0000)]
ghostscript-native: Ensure the sys/time/h fix is applied for native builds

On my system, the sys/time.h header is in a subdir off /usr/include
which causes a build failure. Apply the target CFLAGS fix to native
builds as well to address this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoghostscript: Really fix parallel make race
Richard Purdie [Fri, 25 Nov 2011 13:10:41 +0000 (13:10 +0000)]
ghostscript: Really fix parallel make race

There continue to be parallel make race issues showing up on the autobuilder.
This patch removes some potential sources of these. The rm is unrequired
since we're using cp -f. The || true ensures that if we did race against
someone it becomes harmless.

[YOCTO #1202]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoofono: Fix missing python dependency and package tests separately
Richard Purdie [Thu, 24 Nov 2011 23:04:13 +0000 (23:04 +0000)]
ofono: Fix missing python dependency and package tests separately

We need to ensure there is a python dependency for the ofono python
test scripts. To do this without introducing the dependency
unnecessarily for the core ofono functionality, this patch splits
the tests into a separate package too.

[YOCTO #1705]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoNothing uses USERNAME, remove it - can cause sstate-cache conflicts
Matthew McClintock [Thu, 24 Nov 2011 01:12:31 +0000 (19:12 -0600)]
Nothing uses USERNAME, remove it - can cause sstate-cache conflicts

USER is the correct variable to use, also this can affect sstate
cache as well.

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-package-target.inc: add the symbol link /lib/cpp
Dexuan Cui [Wed, 16 Nov 2011 09:49:44 +0000 (17:49 +0800)]
gcc-package-target.inc: add the symbol link /lib/cpp

When I was trying self-hosted-image, eglibc's do_install failed in the target:
ERROR: cannot stat bootparam_prot.h:
the cause is: rpcgen doesn't work properly: rpcgen can't exec /lib/cpp since
it doesn't exist.

According to http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/lib.html:
"if a C preprocessor is installed, /lib/cpp must be a reference to it, for
historical reasons. The usual placement of this binary is /usr/bin/cpp".

Typical distros, like Ubuntu, openSuSE, Fedora and RHEL, all comply with
the rule.

Actually in meta/recipes-devtools/gcc/gcc-package-target.inc, we do try to
package ${base_libdir}/cpp:
 FILES_cpp = "\
  ${bindir}/${TARGET_PREFIX}cpp \
  ${base_libdir}/cpp \
  ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1"
But unluckily we didn't create a symbol link in do_install.
This patch adds the symbol link.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agosite/x86_64-linux: add cvs config variables
Nitin A Kamble [Wed, 23 Nov 2011 05:55:51 +0000 (21:55 -0800)]
site/x86_64-linux: add cvs config variables

configure of cvs packages was failing on the meta-toolchain for a x86_64 target.

Configure error reported:
checking whether printf supports %p... configure: error: cannot run test program while cross compiling

This fixes [YOCTO #1781]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: We only care about the absolute value of baselib
Richard Purdie [Thu, 24 Nov 2011 17:46:46 +0000 (17:46 +0000)]
bitbake.conf: We only care about the absolute value of baselib

The value of baselib can be constructed in several different ways
and from a sstate perspective we don't care how it was made up,
we only care what the final value is. This uses the new functionality
in bitbake to ensure we only include the value of baselib and not
any intermediate dependencies.

[YOCTO #1583]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoavahi-ui: Fix packaging and conflict with the avahi recipe
Richard Purdie [Thu, 24 Nov 2011 15:17:58 +0000 (15:17 +0000)]
avahi-ui: Fix packaging and conflict with the avahi recipe

We need to remove the files from avahi-ui which conflict with the avahi recipe.
If we don't do this they trigger packaging warnings and can also overwrite
files in the sysroot unexpectedly causing build failures (if X depends on
avahi, it expects avahi's files to stay there, not disappear as avahi-ui
build/stages).

This patch cleans up the packaging although I wish there were an alterantive
to the do_install which makes my eyes bleed.

[YOCTO #1770]
[YOCTO #1722]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc.inc: Remove EGLIBPARALLELISM from deps for EXTRA_OEMAKE
Matthew McClintock [Thu, 17 Nov 2011 22:28:20 +0000 (16:28 -0600)]
eglibc.inc: Remove EGLIBPARALLELISM from deps for EXTRA_OEMAKE

Without this simply changing the number of threads via
PARALLEL_MAKE can invalidate sstate-cache

Signed-off-by: Matthew McClintock <msm@freescale.com>
13 years agopatch.bbclass: Add PATCHRESOLVE to excluded vars for generating sstate-cache
Matthew McClintock [Thu, 17 Nov 2011 22:42:47 +0000 (16:42 -0600)]
patch.bbclass: Add PATCHRESOLVE to excluded vars for generating sstate-cache

The method of resolving the patch should not effect the sstate-cache
signature.

Signed-off-by: Matthew McClintock <msm@freescale.com>
13 years agogtk+: Have gtk+ pick up ${NM} from the environment
Xiaofeng Yan [Thu, 17 Nov 2011 10:36:50 +0000 (18:36 +0800)]
gtk+: Have gtk+ pick up ${NM} from the environment

when gtk+ configures, it should pick up ${NM} from the environment \
if it is defined, instead of just looking for "nm".

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agotslib: Set open mode for ts_calibate.c
Xiaofeng Yan [Thu, 17 Nov 2011 11:03:21 +0000 (19:03 +0800)]
tslib: Set open mode for ts_calibate.c

Get patch from: http://permalink.gmane.org/gmane.comp.lib.uclibc.buildroot/27614

There is a potentially "unsafe" use of open(). Ubuntu 8.10+, for instance,
by default enables the compiler flag -D_FORTIFY_SOURCE=2 \
which throws an error of ts_calibrate.c. To fix this, \
set a mode in the open() call, patch patched ts_calibrate.c \
to set 0644 (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) and it compiles fine

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agorpm: Flush old logs by change the DB_CONFIG
Mei Lei [Thu, 17 Nov 2011 06:57:56 +0000 (14:57 +0800)]
rpm: Flush old logs by change the DB_CONFIG

Fixes [YOCTO #1174]

Rpm logs will grow indefinitely, so change the config to flush those old logs.

Signed-off-by: Mei Lei <lei.mei@intel.com>
13 years agoeglibc_2.13: update SRCREV
Kang Kai [Wed, 16 Nov 2011 07:50:23 +0000 (15:50 +0800)]
eglibc_2.13: update SRCREV

Update eglibc 2.13 SRCREV to 15508, just to sync with upstream
Remove glibc_bug_fix_12454.patch, because it is already merged.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agobase-passwd: add Upstream-Status to patches, remove unused patch
Scott Garman [Tue, 15 Nov 2011 01:11:49 +0000 (17:11 -0800)]
base-passwd: add Upstream-Status to patches, remove unused patch

mysql.patch is not used by the recipe anymore, so delete it.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agodosfstools: add Upstream-Status to patches
Scott Garman [Tue, 15 Nov 2011 01:03:41 +0000 (17:03 -0800)]
dosfstools: add Upstream-Status to patches

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agobitbake.conf: Set BB_CONSOLELOG so we log console messages by default
Richard Purdie [Thu, 24 Nov 2011 14:50:37 +0000 (14:50 +0000)]
bitbake.conf: Set BB_CONSOLELOG so we log console messages by default

The console log is often helpful for debugging issues. Difficult to
reproduce bugs would benefit from a log being generated by default as it
may be difficult to come by after the fact.

Log to ${TMPDIR}/cooker.log.${DATETIME} by default.

[YOCTO #1771]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: Use bb.plain to print the build header
Richard Purdie [Thu, 24 Nov 2011 14:48:58 +0000 (14:48 +0000)]
base.bbclass: Use bb.plain to print the build header

If we just use print, the bitbake logging functions don't see the message
and it can get lost if bitbake is for example logging messages to disk.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibtool: Avoid relinking when cross compiling, its pointless
Richard Purdie [Wed, 16 Nov 2011 16:58:34 +0000 (16:58 +0000)]
libtool: Avoid relinking when cross compiling, its pointless

There is no point in having "executable" binaries in the .libs
directory linked with different rpaths to the target which
could concivably be run on the build system when cross compiling.

This patch removes the extra rpaths ($compile_rpath) so that the
output from the "link" stage can be used on the target. We can then
avoid having to "relink" during the install stage.

This saves some build time (do_install is over 2 minutes faster for
pulseaudio).

This patch also removes an annoying "seems to be moved" warning
which is totally bogus in the sysroot case.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoapt: Fix locale header and hardcoded libname issues
Richard Purdie [Wed, 23 Nov 2011 23:24:20 +0000 (23:24 +0000)]
apt: Fix locale header and hardcoded libname issues

apt wasn't building on modern libc/compiler combinations due to missing
header includes.

The libcpp version was also being hardcoded, this patch generates it
dynamically to work on different host systems which no longer have
this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodirectfb: change check sum
Xiaofeng Yan [Wed, 23 Nov 2011 07:05:24 +0000 (15:05 +0800)]
directfb: change check sum

Change check sum of directfb. The previous checksum was incorrect when it
was added due to a corrupted download on the submitter's system.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking_fields: Update after Manual Check
Saul Wold [Tue, 22 Nov 2011 21:18:54 +0000 (13:18 -0800)]
distro_tracking_fields: Update after Manual Check

Checked upstream for updates of the following packages:
 - libiconv
 - libxml2
 - sysstat
 - tcp_wrapper
 - texinfo

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agodistro_tracking: update manual checks for recipes
Shane Wang [Tue, 22 Nov 2011 12:45:36 +0000 (20:45 +0800)]
distro_tracking: update manual checks for recipes

Updating manual checks for jpeg, tinylogin, eggdbus, setserial, acpid, menu-cache, x11vnc, etc.

Signed-off-by: Shane Wang <shane.wang@intel.com>
13 years agodistro_tracking: update manual checks for recipes
Shane Wang [Tue, 22 Nov 2011 07:48:21 +0000 (15:48 +0800)]
distro_tracking: update manual checks for recipes

Updating manual checks for minicom, libtirpc, opkg, which, quota, rpcbind, strace, wireless-tool, irda-utils, libical, flac, libomxil, libsamplerate0, etc.

Signed-off-by: Shane Wang <shane.wang@intel.com>
13 years agodistro_tracking: update manual checks for recipes
Shane Wang [Fri, 18 Nov 2011 07:23:57 +0000 (15:23 +0800)]
distro_tracking: update manual checks for recipes

Updating manual checks for hdparm, screen, watchdog, freetype, oprofile, and tcf-agent.

Signed-off-by: Shane Wang <shane.wang@intel.com>
13 years agoat: update the upstream-status of patches
Nitin A Kamble [Thu, 17 Nov 2011 20:01:30 +0000 (12:01 -0800)]
at: update the upstream-status of patches

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agodistro_tracking: update manual checks for various recipes
Scott Garman [Mon, 14 Nov 2011 23:37:18 +0000 (15:37 -0800)]
distro_tracking: update manual checks for various recipes

Updating manual check dates for the following recipes: tar, libpng,
expat, dosfstools, e2fsprogs

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agodistro_tracking: Refect Recipe Updates & Status
Saul Wold [Wed, 9 Nov 2011 22:14:01 +0000 (14:14 -0800)]
distro_tracking: Refect Recipe Updates & Status

 * libnl    - NO_UPDATE_REASON due to incompatibility
 * zlib     - has wrong version in update list (121)
 * libtasn1 - Update to 2.10
 * pkgconfig - NO_UPDATE_REASON due to removal of glib-conf
 * file     - update to 5.09
 * dchp     - New version is 4.2.3, not updated yet.
 * tiff     - NO_UPDATE_REASON wait until 4.0.0
 * gobject-interopsectio - NO_UPDATE_REASON can not cross-build
 * gnu-config  - Udpate to git HEAD - requires ASSUME_PROVIDED += "git-native"

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogconf: Add note to header about patch filed upstream
Richard Purdie [Wed, 23 Nov 2011 15:46:18 +0000 (15:46 +0000)]
gconf: Add note to header about patch filed upstream

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogconf: Ensure the correct backend directory is used
Richard Purdie [Wed, 23 Nov 2011 15:05:39 +0000 (15:05 +0000)]
gconf: Ensure the correct backend directory is used

Without these changes, gconf will use the hardcoded backend directory meaning
we can see errors when building if the binary was relocated.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogconf: Ensure that GCONF_SCHEMA_INSTALL_SOURCE uses correct paths
Richard Purdie [Wed, 23 Nov 2011 08:48:31 +0000 (08:48 +0000)]
gconf: Ensure that GCONF_SCHEMA_INSTALL_SOURCE uses correct paths

The gconf .m4 files use the path encoded into the gconf-native tools
by default to populate this variable. This doesn't work if we're
relocating the gconf-native binaries. By setting this variable we
ensure that the m4 files always pick up the correct path.

This fixes errors seen on the yocto autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomatchbox-stroke: Update to latest git revision to add missing Xrender dependency
Richard Purdie [Wed, 23 Nov 2011 08:47:07 +0000 (08:47 +0000)]
matchbox-stroke: Update to latest git revision to add missing Xrender dependency

Without this, linking can fail due to missing libraries since the
code depends on Xrender. The fix was already upstream, we just need
to use a revision that includes it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomatchbox-wm: Fix variable type in _NET_WORKAREA setting
Zhai Edwin [Tue, 22 Nov 2011 06:15:08 +0000 (14:15 +0800)]
matchbox-wm: Fix variable type in _NET_WORKAREA setting

According to XChangeProperty doc, array of "long" should be used when format is
32. Wrong _NET_WORKAREA parameter caused blank screen in matchbox-desktop on 64
bit platform.

[YOCTO #1689] got fixed.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agostaging: Remove debug accidently left in
Richard Purdie [Tue, 22 Nov 2011 15:00:46 +0000 (15:00 +0000)]
staging: Remove debug accidently left in

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agostaging.bbclass: Add BB_SETSCENE_VERIFY_FUNCTION function
Richard Purdie [Mon, 21 Nov 2011 14:37:10 +0000 (14:37 +0000)]
staging.bbclass: Add BB_SETSCENE_VERIFY_FUNCTION function

Since we clean out do_populate_sysroot if do_configure runs, don't
allow do_populate_sysroot_setscene functions if we're going to
run do_configure.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage.bbclass: Ensure paths to rpmmarcos and rpmpopt are set
Richard Purdie [Tue, 22 Nov 2011 13:01:42 +0000 (13:01 +0000)]
package.bbclass: Ensure paths to rpmmarcos and rpmpopt are set

If rpm-native was built in an alternative location, it may not relocate correctly
unless the rpmpopt and macros paths are explicitly specified.

This fixes errors seen on the Yocto autobuilder where pkgconfig
"provides" entries could disappear leading to image dependency failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-4.6: Fix gcc ICE on qt4-x11-free/armv7-a
Khem Raj [Sun, 20 Nov 2011 17:50:47 +0000 (09:50 -0800)]
gcc-4.6: Fix gcc ICE on qt4-x11-free/armv7-a

Backport fix for PR 47551 fixes the ICE seen on armv7-a/qt4-x11-free
Bump up SRCREV past gcc 4.6.2 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodbus: update to 1.4.16
Koen Kooi [Sun, 20 Nov 2011 09:52:45 +0000 (10:52 +0100)]
dbus: update to 1.4.16

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomime.bbclass: Add --disable-update-mimedb to EXTRA_OECONF
Andreas Müller [Sun, 20 Nov 2011 21:09:23 +0000 (22:09 +0100)]
mime.bbclass: Add --disable-update-mimedb to EXTRA_OECONF

* ensure update-mime-database is not called during build time
* this patch was included in meta-oe [1] about the same time when mime.bbclass
  was migrated from meta-oe -> oe-core so it seems it got lost.
* tests: build from scratch / run on overo / additional check: no unpacked
  files for gnome-control-center

[1] http://cgit.openembedded.org/meta-openembedded/commit/meta-oe/classes?id=6b765989a42ab314d1611f4dec78b07b562a9e7d

Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopulseaudio-0.9.23: Fix build on uclibc
Khem Raj [Sun, 20 Nov 2011 17:50:45 +0000 (09:50 -0800)]
pulseaudio-0.9.23: Fix build on uclibc

Import patch from oe.dev rev 7c33f2e906a20e139d53b4f2d8fbc2773a4725b3
to fix bluez build when using uclibc

cgit link here

http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=7c33f2e906a20e139d53b4f2d8fbc2773a4725b3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agonetbase: Update recipe 4.46 -> 4.47
Khem Raj [Sun, 20 Nov 2011 17:50:46 +0000 (09:50 -0800)]
netbase: Update recipe 4.46 -> 4.47

moreover 4.46 tar is not available on debian pools

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogettext_0.18.1.1: Fix QA Issue
Khem Raj [Sun, 20 Nov 2011 17:50:44 +0000 (09:50 -0800)]
gettext_0.18.1.1: Fix QA Issue

For uclibc builds we get the following QA error

ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so:
gettext-runtime path
'/work/armv5te-oe-linux-uclibceabi/gettext-0.18.1.1-r4/packages-split/gettext-runtime/usr/lib/libintl.so'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage.bbclass: fix path for relative links on elf files, when moved to debugdir
Henning Heinold [Sun, 20 Nov 2011 21:32:53 +0000 (22:32 +0100)]
package.bbclass: fix path for relative links on elf files, when moved to debugdir

* relative links for elf files like ../foo.so ends up in the
  debugdir with ../.debug/foo.so, this causes infinite fileaccessloops
  fix it by adding an extra "../" to the link path

Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosstate.bbclass: Ensure we expand stamp-extra-info
Richard Purdie [Mon, 21 Nov 2011 14:00:05 +0000 (14:00 +0000)]
sstate.bbclass: Ensure we expand stamp-extra-info

Without this change we can end up looking for <stamp>.${MACHINE}
instead of the expected expanded value.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibtool-cross: Unbreak and actually use more of it
Richard Purdie [Wed, 16 Nov 2011 23:59:42 +0000 (23:59 +0000)]
libtool-cross: Unbreak and actually use more of it

We should be using libtool-cross for cross compiling but
were not. This patch sets datadir so libtoolize ends up
containing correct paths. It then installs libtoolize.

The path ltmain.sh was installed to was incorrect and this is fixed.

We also now install all the libtool m4 macros and config files.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agouseradd: Ensure -native recipes don't depend on target recipes
Richard Purdie [Mon, 21 Nov 2011 13:59:19 +0000 (13:59 +0000)]
useradd: Ensure -native recipes don't depend on target recipes

Without this change, dbus-native can end up depending upon base-passwd
for example. This change mirrors the existing nativesdk code.

Based on a patch from Henning Heinold <heinold@inf.fu-berlin.de>
but with some additions from me.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomesa: fix calling host's commands
Kang Kai [Fri, 18 Nov 2011 06:36:39 +0000 (14:36 +0800)]
mesa: fix calling host's commands

mesa use its script file bin/mklib to generate libraries, and call the
host's commands "ar/ranlib/gcc/g++". Fix it to call the cross-compile
tools properly.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agoshared-mime-info: fix ordering of PACKAGES
Koen Kooi [Fri, 18 Nov 2011 14:13:33 +0000 (15:13 +0100)]
shared-mime-info: fix ordering of PACKAGES

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agobootimg: Create a valid boot sector for the iso image
Damien Lespiau [Thu, 10 Nov 2011 18:29:50 +0000 (18:29 +0000)]
bootimg: Create a valid boot sector for the iso image

It's possible to create an "hybrid" iso image that you can both burn
to a CD-Rom and dd to a USB key. isohybrid will create a valid boot
sector for the USB key case.

[YOCTO #1763]

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoglib-2.0: fix qsort_t testing for uclibc
Henning Heinold [Fri, 18 Nov 2011 11:59:48 +0000 (12:59 +0100)]
glib-2.0: fix qsort_t testing for uclibc

* instead of disabling the configure test and set it always true
  use the site files to set it true for glibc/eglibc and false
  for uclibc
* remove the patch
' tested only for uclibc
* bump PR

Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosanitytest: remove rpm/zypper tests if PACKAGE_CLASSES does not set package_rpm
Jiajun Xu [Thu, 17 Nov 2011 06:05:50 +0000 (14:05 +0800)]
sanitytest: remove rpm/zypper tests if PACKAGE_CLASSES does not set package_rpm

If PACKAGE_CLASSES does not set package_rpm as the first item, the root filesystem
will not be generated based on rpm. We need remove rpm/zypper tests against
non-rpm filesystem.

[YOCTO #1757]

Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosanitytest: use different option for command ps from busybox and procps
Jiajun Xu [Thu, 17 Nov 2011 06:05:49 +0000 (14:05 +0800)]
sanitytest: use different option for command ps from busybox and procps

Current sanitytest use option -e for ps command, which only works for ps
from procps. It fails if ps is provided by busybox. Add check to use different
option for command from busybox and procps.

[YOCTO #1756]

Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage_rpm: Set _tmppath to avoid races over tmp files
Richard Purdie [Wed, 16 Nov 2011 16:59:29 +0000 (16:59 +0000)]
package_rpm: Set _tmppath to avoid races over tmp files

Occasionally we keep seeing "unable to open temp file" messages during
do_package_write_rpm tasks. This appears to happen when multiple
processes are writing rpm files and is likely due to using the
shared system temp directory. This patch changes the tmp path
to the package work directory meaning conflicts should become
a non-issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: add a couple explicit vardeps
Chris Larson [Wed, 16 Nov 2011 21:17:21 +0000 (14:17 -0700)]
bitbake.conf: add a couple explicit vardeps

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobtrfs-tools: update to the latest git commit
Nitin A Kamble [Wed, 16 Nov 2011 01:00:50 +0000 (17:00 -0800)]
btrfs-tools: update to the latest git commit

Remove all the upstreamed and not needed patches.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agoupdate distro tracking recipe information
Nitin A Kamble [Wed, 16 Nov 2011 19:14:42 +0000 (11:14 -0800)]
update distro tracking recipe information

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinsane.bbclass: avoid errors for x32 kernel
Nitin A Kamble [Wed, 16 Nov 2011 19:14:43 +0000 (11:14 -0800)]
insane.bbclass: avoid errors for x32 kernel

x32 abi of x86_64 has 32bit userspace and the kernel is 64bit.

The qa checking code was reporting this as errors for x32 kernel
files and modules.

This commit extends the condition in the checking code to avoid
throwing the bitsize not matched error for x32 kernel files.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopython-gst: upgrade from 0.10.21 to 0.10.22
Nitin A Kamble [Wed, 16 Nov 2011 19:14:41 +0000 (11:14 -0800)]
python-gst: upgrade from 0.10.21 to 0.10.22

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotcl: upgrade from 8.5.10 to 8.5.11
Nitin A Kamble [Wed, 16 Nov 2011 19:14:40 +0000 (11:14 -0800)]
tcl: upgrade from 8.5.10 to 8.5.11

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agompfr: upgrade from 3.0.1 to 3.1.0
Nitin A Kamble [Wed, 16 Nov 2011 19:14:37 +0000 (11:14 -0800)]
mpfr: upgrade from 3.0.1 to 3.1.0

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibpcre: upgrade from 8.12 to 8.20
Nitin A Kamble [Wed, 16 Nov 2011 19:14:36 +0000 (11:14 -0800)]
libpcre: upgrade from 8.12 to 8.20

The license file has updated the copyright years, hence new checksum for license file.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibpcap: use binconfig class to deploy pcap-config
Jan Luebbe [Wed, 16 Nov 2011 22:05:30 +0000 (23:05 +0100)]
libpcap: use binconfig class to deploy pcap-config

This fixes building of tcpdump on hosts where libpcap-dev is installed.
Also introduce INC_PR.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage.bbclass: Ensure we tell rpmdeps where to find its magic file
Richard Purdie [Thu, 17 Nov 2011 12:28:13 +0000 (12:28 +0000)]
package.bbclass: Ensure we tell rpmdeps where to find its magic file

Without this, if rpmddeps came from a sstate package which was relocated
it might not find its magic file and if that happens, requires/provides
in packages could get corrupted. This leads to failures at rootfs time
during builds with messages like:

libdbus-1.so.3 is needed by libdbus-glib-1-2-0.92-r1.armv5te

since the provides would be missing in the dbus package.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoupdate-alternatives: Various fixes
Richard Purdie [Wed, 16 Nov 2011 22:01:46 +0000 (22:01 +0000)]
update-alternatives: Various fixes

dpkg-native's update-alternatives is broken for offline work so
don't install it.

Also list update-alternatives in the multiprovider whitelist to
avoid unwanted multiple provider warnings when multiple package
backends are enabled.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosanity.bbclass: No need to check for cvs any more
Richard Purdie [Wed, 16 Nov 2011 17:32:21 +0000 (17:32 +0000)]
sanity.bbclass: No need to check for cvs any more

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: Update ASSUME_PROVIDED
Saul Wold [Tue, 15 Nov 2011 20:58:43 +0000 (12:58 -0800)]
bitbake.conf: Update ASSUME_PROVIDED

* Remove an obsolete comment about mercurial
* Remove cvs-native since we have removed cvs SRC_URIs

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogobject-introspection: update frome meta-oe
Dmitry Eremin-Solenikov [Tue, 15 Nov 2011 20:58:47 +0000 (12:58 -0800)]
gobject-introspection: update frome meta-oe

OE-Core uses very old version of gobject-introspection. The recipe says
0.10.8, but in reality it's GOBJECT_INTROSPECTION_0_6_3-41-gefa7266.
That version e.g. doesn't compile with python 2.7 (default in some
versions), etc.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscreenshot: rename to sato-screenshot
Dmitry Eremin-Solenikov [Tue, 15 Nov 2011 20:58:46 +0000 (12:58 -0800)]
screenshot: rename to sato-screenshot

To remove a name conflict with e17's screenshot tool (and possibly other
screenshot tools, as screenshot is a generic term), rename screenshot
to sato-screenshot.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-4.6: fix toolchain build for SH4
Michael Brown [Tue, 15 Nov 2011 20:58:45 +0000 (12:58 -0800)]
gcc-4.6: fix toolchain build for SH4

Signed-off-by: Michael Brown <Michael_E_Brown@dell.com>
Port patch from base openembedded. Since 4.6 already has fixes for config.gcc,
the fix only requires a one line change to gcc-cross4.inc.

The patch was imported from the OpenEmbedded git server
(git://git.openembedded.org/openembedded) as of commit id
3aa8afe97e9cf1340feb9c4442a6ed88b7e32c96.

gcc-4.5: Fix toolchain builds for SH4/SH3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoboost: Update to 1.47.0 & Cleanup
Saul Wold [Tue, 15 Nov 2011 20:58:44 +0000 (12:58 -0800)]
boost: Update to 1.47.0 & Cleanup

Removed boost-jam-native since it was an older version
no incompatible with boost 1.47.
Modified boost to use BBCLASSEXTEND native for the bjam
native binary.
Removed older unused patches.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognu-config: Create 2011111 release
Saul Wold [Tue, 15 Nov 2011 20:58:42 +0000 (12:58 -0800)]
gnu-config: Create 2011111 release

Use a yoctoproject.org based tarball since gnu-config is required very
early on in the native build process, we do not want to rely on git, which
can cause a circular dependency issue.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognu-config: update to git HEAD
Saul Wold [Tue, 15 Nov 2011 20:58:41 +0000 (12:58 -0800)]
gnu-config: update to git HEAD

Licence has update timestamp and Copyright year.
This change needs a coresponding change to ASSUME_PROVIDED
to add git-native

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agofile: update to 5.09
Saul Wold [Tue, 15 Nov 2011 20:58:40 +0000 (12:58 -0800)]
file: update to 5.09

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibgpg-error: add BBCLASSEXTEND native for libgcrypts and gnutls-native
Saul Wold [Tue, 15 Nov 2011 20:58:39 +0000 (12:58 -0800)]
libgpg-error: add BBCLASSEXTEND native for libgcrypts and gnutls-native

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibgcrypt: add BBCLASSEXTEND native for gnutls-native
Saul Wold [Tue, 15 Nov 2011 20:58:38 +0000 (12:58 -0800)]
libgcrypt: add BBCLASSEXTEND native for gnutls-native

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodirectfb: update to 1.4.15
Xiaofeng Yan [Tue, 15 Nov 2011 20:58:37 +0000 (12:58 -0800)]
directfb: update to 1.4.15

The newest version for directfb is 1.5.3 but it's instruction set base on armv6.
The current qemuarm don't have some instructions for armv6 because some codes of \
the new version of directfb more than 1.5 are realized with assemble language,for example the lock. \
I update this recipe to 1.4.15 for directfb running more platform.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibx11-diet: update to 1.4.4
Xiaofeng Yan [Tue, 15 Nov 2011 20:58:36 +0000 (12:58 -0800)]
libx11-diet: update to 1.4.4

I remove patch "nodolt.patch" because it is no use in the new version \
and change patch "include_fix.patch" to "keysymdef_include.patch" from libx11-1.4.4.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoapr-util: extend sed call to fix libtool patch for case without SHELL in LIBTOOL...
Martin Jansa [Tue, 15 Nov 2011 20:58:35 +0000 (12:58 -0800)]
apr-util: extend sed call to fix libtool patch for case without SHELL in LIBTOOL variable

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibconvert-asn1-perl/libtimedate-perl: Convert to use allarch
Richard Purdie [Tue, 15 Nov 2011 20:46:10 +0000 (20:46 +0000)]
libconvert-asn1-perl/libtimedate-perl: Convert to use allarch

Both these recipes generate architecture independent packages.
They can safely use the allarch class to ensure they really
are indepentent from the target compiler and so forth and
hence ensure sstate packages with good dependencies.

[YOCTO #1075]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: add subversion-native to DEPENDS if there is svn:// in SRC_URI
Martin Jansa [Fri, 11 Nov 2011 16:28:43 +0000 (17:28 +0100)]
base.bbclass: add subversion-native to DEPENDS if there is svn:// in SRC_URI

* in some cases this could cause circual dependency (ie if we decide to
  apr_svn.bb or something like that before subversion-native in dependency
  tree), Saul said he had such case, but I wasn't able to reproduce it
  here (here it builds subversion-native-1.7.0 fine).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: Correct svn-native -> subversion-native so we use consistent names
Richard Purdie [Tue, 15 Nov 2011 12:25:43 +0000 (12:25 +0000)]
bitbake.conf: Correct svn-native -> subversion-native so we use consistent names

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoalsa-lib: add nativesdk BBCLASSEXTEND
Martin Jansa [Fri, 11 Nov 2011 16:28:46 +0000 (17:28 +0100)]
alsa-lib: add nativesdk BBCLASSEXTEND

* needed for libsdl-nativesdk when DISTRO_FEATURES have alsa

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibnss-mdns: avoid race condition in postinst
Phil Blundell [Mon, 14 Nov 2011 13:06:51 +0000 (13:06 +0000)]
libnss-mdns: avoid race condition in postinst

Writing to "/tmp/nsswitch.conf" leads to a race condition if two
copies of the postinst are running simultaneously.  Fix this by
modifying /etc/nsswitch.conf in place using sed -i.  Also make the
same change to the prerm for consistency although the race will not
occur here in practice.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomime.bbclass: fix typo
Connor Abbott [Tue, 15 Nov 2011 04:16:37 +0000 (23:16 -0500)]
mime.bbclass: fix typo

Before this patch, nautilus would fail with:
ERROR: Error executing a python function in /home/connor/angstrom/sources/meta-openembedded/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb:
NameError: global name 'dgetVar' is not defined
Signed-off-by: Connor Abbott <cwabbott0@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoalsa-lib: use PKGSUFFIX for every package to resolve multiple runtime providers from...
Martin Jansa [Mon, 14 Nov 2011 10:39:49 +0000 (11:39 +0100)]
alsa-lib: use PKGSUFFIX for every package to resolve multiple runtime providers from target and nativesdk

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agowebkit-gtk: force arm mode to work around binutils segfault
Martin Jansa [Mon, 17 Oct 2011 14:27:00 +0000 (16:27 +0200)]
webkit-gtk: force arm mode to work around binutils segfault

* this is just work around, would be better to fix in toolchain

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agoaspell: force ARM mode
Martin Jansa [Mon, 17 Oct 2011 22:06:10 +0000 (00:06 +0200)]
aspell: force ARM mode

* this is just work around for ICE, better fix would be to fix gcc
| ./common/fstream.hpp:23:9: note: the mangling of 'va_list' has changed in GCC 4.4
| modules/speller/default/typo_editdist.cpp: In function 'short int aspeller::typo_edit_distance(acommon::ParmString, acommon::ParmString, const aspeller::TypoEditDistanceInfo&)':
| modules/speller/default/typo_editdist.cpp:77:3: internal compiler error: in gen_thumb_movhi_clobber, at config/arm/arm.md:5937
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <http://gcc.gnu.org/bugs.html> for instructions.
| make[1]: *** [modules/speller/default/typo_editdist.lo] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/aspell-0.60.6.1-r0/aspell-0.60.6.1'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agopulseaudio-0.9.23: force ARM mode
Martin Jansa [Tue, 18 Oct 2011 22:44:44 +0000 (00:44 +0200)]
pulseaudio-0.9.23: force ARM mode

* this is just work around, should be tested again after upgrade to
  pulseaudio-1.1
* otherwise build for armv4t (om-gta02) fails with this:
| /bin/sh ../arm-oe-linux-gnueabi-libtool  --tag=CC   --mode=compile
arm-oe-linux-gnueabi-gcc  -march=armv4t -mthumb -mthumb-interwork
-mtune=arm920t --sysroot=/OE/shr-core/tmp/sysroots/om-gta02 -std=gnu99
-DHAVE_CONFIG_H -I. -I..    -I../src -I../src -I../src/modules
-I../src/modules -I../src/modules/rtp -I../src/modules/rtp
-I../src/modules/gconf -I../src/modules/gconf -I../src/modules/bluetooth
-I../src/modules/bluetooth -I../src/modules/oss -I../src/modules/oss
-I../src/modules/alsa -I../src/modules/alsa -I../src/modules/raop
-I../src/modules/raop -I../src/modules/x11 -I../src/modules/x11
-I../src/modules/jack -I../src/modules/jack -I../src/modules/echo-cancel
-I../src/modules/echo-cancel -pthread -D_POSIX_PTHREAD_SEMANTICS
-DPA_BUILDDIR=\"/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/pulseaudio-0.9.23/src\"
-DPA_DLSEARCHPATH=\"/usr/lib/pulse-0.9.23/modules\"
-DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\"
-DPA_BINARY=\"/usr/bin/pulseaudio\"
-DPA_SYSTEM_RUNTIME_PATH=\"/var/run/pulse\"
-DPA_SYSTEM_CONFIG_PATH=\"/var/lib/pulse\"
-DPA_SYSTEM_STATE_PATH=\"/var/lib/pulse\" -DAO_REQUIRE_CAS
-DPULSE_LOCALEDIR=\"/usr/share/locale\"
-DPA_MACHINE_ID=\"/var/lib/dbus/machine-id\"
-DPA_ALSA_PATHS_DIR=\"/usr/share/pulseaudio/alsa-mixer/paths\"
-DPA_ALSA_PROFILE_SETS_DIR=\"/usr/share/pulseaudio/alsa-mixer/profile-sets\"
-O2 -pipe -g -feliminate-unused-debug-types -Wall -W -Wextra -pipe
-Wno-long-long -Winline -Wvla -Wno-overlength-strings
-Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op
-Wsign-compare -Wformat-security -Wmissing-include-dirs
-Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes
-Wstrict-prototypes -Wredundant-decls -Wmissing-declarations
-Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align
-Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math
-Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -c -o
libbluetooth_sbc_la-sbc.lo `test -f 'modules/bluetooth/sbc.c' || echo
'./'`modules/bluetooth/sbc.ci

| arm-oe-linux-gnueabi-libtool: compile:  arm-oe-linux-gnueabi-gcc
-march=armv4t -mthumb -mthumb-interwork -mtune=arm920t
--sysroot=/OE/shr-core/tmp/sysroots/om-gta02 -std=gnu99 -DHAVE_CONFIG_H
-I. -I.. -I../src -I../src -I../src/modules -I../src/modules
-I../src/modules/rtp -I../src/modules/rtp -I../src/modules/gconf
-I../src/modules/gconf -I../src/modules/bluetooth
-I../src/modules/bluetooth -I../src/modules/oss -I../src/modules/oss
-I../src/modules/alsa -I../src/modules/alsa -I../src/modules/raop
-I../src/modules/raop -I../src/modules/x11 -I../src/modules/x11
-I../src/modules/jack -I../src/modules/jack -I../src/modules/echo-cancel
-I../src/modules/echo-cancel -pthread -D_POSIX_PTHREAD_SEMANTICS
-DPA_BUILDDIR=\"/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/pulseaudio-0.9.23/src\"
-DPA_DLSEARCHPATH=\"/usr/lib/pulse-0.9.23/modules\"
-DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\"
-DPA_BINARY=\"/usr/bin/pulseaudio\"
-DPA_SYSTEM_RUNTIME_PATH=\"/var/run/pulse\"
-DPA_SYSTEM_CONFIG_PATH=\"/var/lib/pulse\"
-DPA_SYSTEM_STATE_PATH=\"/var/lib/pulse\" -DAO_REQUIRE_CAS
-DPULSE_LOCALEDIR=\"/usr/share/locale\"
-DPA_MACHINE_ID=\"/var/lib/dbus/machine-id\"
-DPA_ALSA_PATHS_DIR=\"/usr/share/pulseaudio/alsa-mixer/paths\"
-DPA_ALSA_PROFILE_SETS_DIR=\"/usr/share/pulseaudio/alsa-mixer/profile-sets\"
-O2 -pipe -g -feliminate-unused-debug-types -Wall -W -Wextra -pipe
-Wno-long-long -Winline -Wvla -Wno-overlength-strings
-Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op
-Wsign-compare -Wformat-security -Wmissing-include-dirs
-Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes
-Wstrict-prototypes -Wredundant-decls -Wmissing-declarations
-Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align
-Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math
-Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -c

modules/bluetooth/sbc.c  -fPIC -DPIC -o .libs/libbluetooth_sbc_la-sbc.oi
| modules/bluetooth/sbc.c: In function 'sbc_synthesize_four':
| modules/bluetooth/sbc.c:553:18: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:553:18: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:553:18: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:553:18: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:553:18: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:553:18: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:553:18: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:553:18: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c: In function 'sbc_synthesize_eight':
| modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
| modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow]
| {standard input}: Assembler messages:
| {standard input}:6997: Error: selected processor does not support Thumb mode `mla r3,r0,ip,r3'
| {standard input}:7012: Error: selected processor does not support Thumb mode `mla r3,r1,ip,r3'
| {standard input}:7026: Error: selected processor does not support Thumb mode `mla r3,ip,r0,r3'
| {standard input}:7215: Error: selected processor does not support Thumb mode `mla r3,r7,r0,r3'
| {standard input}:7230: Error: selected processor does not support Thumb mode `mla r3,r7,r0,r3'
| {standard input}:7241: Error: selected processor does not support Thumb mode `mla r3,r0,r7,r3'
| {standard input}:7256: Error: selected processor does not support Thumb mode `mla r3,r0,r7,r3'
| {standard input}:7267: Error: selected processor does not support Thumb mode `mla r3,r7,r0,r3'
| {standard input}:7287: Error: selected processor does not support Thumb mode `mla r3,r7,r6,r3'
| {standard input}:7301: Error: selected processor does not support Thumb mode `mla r3,r6,r5,r3'
| {standard input}:7319: Error: selected processor does not support Thumb mode `mla r3,r0,r5,r3'
| {standard input}:7327: Error: selected processor does not support Thumb mode `mla r3,r1,r0,r3'
| {standard input}:7594: Error: selected processor does not support Thumb mode `mla r3,r5,r6,r3'
| {standard input}:7604: Error: selected processor does not support Thumb mode `mla r3,r5,r6,r3'
| {standard input}:7614: Error: selected processor does not support Thumb mode `mla r3,r5,r6,r3'
| {standard input}:7624: Error: selected processor does not support Thumb mode `mla r3,r5,r6,r3'
| {standard input}:7634: Error: selected processor does not support Thumb mode `mla r3,r5,r6,r3'
| {standard input}:7647: Error: selected processor does not support Thumb mode `mla r3,r2,r5,r3'
| {standard input}:7657: Error: selected processor does not support Thumb mode `mla r3,r2,r5,r3'
| {standard input}:7815: Error: selected processor does not support Thumb mode `mla r3,r9,r7,r3'
| {standard input}:7837: Error: selected processor does not support Thumb mode `mla r3,r9,r0,r3'
| {standard input}:7853: Error: selected processor does not support Thumb mode `mla r3,r9,r0,r3'
| {standard input}:7875: Error: selected processor does not support Thumb mode `mla r3,r9,r7,r3'
| {standard input}:7891: Error: selected processor does not support Thumb mode `mla r3,r9,r7,r3'
| {standard input}:7908: Error: selected processor does not support Thumb mode `mla r3,r0,r6,r3'
| {standard input}:7931: Error: selected processor does not support Thumb mode `mla r3,r6,r5,r3'
| {standard input}:7952: Error: selected processor does not support Thumb mode `mla r3,r0,r5,r3'
| {standard input}:7960: Error: selected processor does not support Thumb mode `mla r3,r2,r0,r3'
| make[4]: *** [libbluetooth_sbc_la-sbc.lo] Error 1
| make[4]: Leaving directory `/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/pulseaudio-0.9.23/src'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory `/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/pulseaudio-0.9.23/src'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/pulseaudio-0.9.23/src'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/pulseaudio-0.9.23'
| make: *** [all] Error 2
| + die 'oe_runmake failed'
| + bbfatal 'oe_runmake failed'
| + echo 'ERROR: oe_runmake failed'
| ERROR: oe_runmake failed
| + exit 1
| ERROR: Function 'do_compile' failed (see /OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/temp/log.do_compile.3404 for further information)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agolibatomics-ops: force ARM mode
Martin Jansa [Tue, 18 Oct 2011 21:03:20 +0000 (23:03 +0200)]
libatomics-ops: force ARM mode

* otherwise ie spitz (armv5te) build fails with:
| make[3]: Entering directory `/OE/shr-core/tmp/work/armv5te-oe-linux-gnueabi/libatomics-ops-1.2-r5/libatomic_ops-1.2/src'
| arm-oe-linux-gnueabi-gcc  -march=armv5te  -mthumb -mthumb-interwork  -mtune=xscale --sysroot=/OE/shr-core/tmp/sysroots/spitz -DHAVE_CONFIG_H -I.    -fPIC -O
2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -c atomic_ops.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te  -mthumb -mthumb-interwork  -mtune=xscale --sysroot=/OE/shr-core/tmp/sysroots/spitz -DHAVE_CONFIG_H -I.    -fPIC -O
2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -c atomic_ops_stack.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te  -mthumb -mthumb-interwork  -mtune=xscale --sysroot=/OE/shr-core/tmp/sysroots/spitz -DHAVE_CONFIG_H -I.    -fPIC -O
2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -c atomic_ops_malloc.c
| atomic_ops_malloc.c: In function 'msb':
| atomic_ops_malloc.c:223:2: warning: right shift count >= width of type [enabled by default]
| rm -f libatomic_ops_gpl.a
| ar cru libatomic_ops_gpl.a atomic_ops_stack.o atomic_ops_malloc.o
| arm-oe-linux-gnueabi-ranlib libatomic_ops_gpl.a
| {standard input}: Assembler messages:
| {standard input}:286: Error: selected processor does not support Thumb mode `swp r1,r2,[r3]'
| {standard input}:329: Error: selected processor does not support Thumb mode `swp r0,r1,[r3]'

* this is just work around, proper fix proposed by Henning Heinold
  hm we should think of reworking this recipe now. Because since gcc 4.5
  pulseaudio for arm can use the gcc internal atomicstuff and in oe-core
  and meta-oe we have 4.5 or 4.6 only. The lib is
  only needed for mips and it is still the old release, on cvs
  is a much better version, which supports thumb too, if
  remember correctly.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agotime: use u-a for time, conflicts with busybox
Martin Jansa [Fri, 11 Nov 2011 12:23:05 +0000 (13:23 +0100)]
time: use u-a for time, conflicts with busybox

* it was reported here:
  http://lists.linuxtogo.org/pipermail/openembedded-core/2011-September/009409.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agotime: drop default S and 2 useless comments
Martin Jansa [Fri, 11 Nov 2011 12:24:48 +0000 (13:24 +0100)]
time: drop default S and 2 useless comments

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agotime: rename files dir to time-1.7 for faster lookup
Martin Jansa [Fri, 11 Nov 2011 10:54:56 +0000 (11:54 +0100)]
time: rename files dir to time-1.7 for faster lookup

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agokbd: use u-a for chvt, deallocvt, fgconssole, openvt, conflicts with busybox
Martin Jansa [Thu, 10 Nov 2011 15:20:49 +0000 (16:20 +0100)]
kbd: use u-a for chvt, deallocvt, fgconssole, openvt, conflicts with busybox

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agoutil-linux: bump PR after u-a changes
Martin Jansa [Fri, 11 Nov 2011 09:42:37 +0000 (10:42 +0100)]
util-linux: bump PR after u-a changes

* it's in separate commit because original PR change was eaten by later commit
  util-linux: split mcookie into a package

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agoutil-linux: add missing u-a calls for setsid chrt
Martin Jansa [Thu, 10 Nov 2011 15:03:26 +0000 (16:03 +0100)]
util-linux: add missing u-a calls for setsid chrt

* someone added them to usrbinprogs_a, but without u-a calls added
* similar problem is with chfn chsh newgrp, but those are not built in
  current version

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agoutil-linux: use u-a for flock and blockdev, conflicts with busybox
Martin Jansa [Thu, 10 Nov 2011 14:59:51 +0000 (15:59 +0100)]
util-linux: use u-a for flock and blockdev, conflicts with busybox

* nobody replied on
  http://lists.linuxtogo.org/pipermail/openembedded-core/2011-September/009409.html
* be aware that all those renames to foo.${PN} are also applied for
  native variants so now we have utils like
  tmp-eglibc/sysroots/x86_64-linux/usr/bin/flock.util-linux-native
  which are not used ie in
  package_ipk.bbclass: package_update_index_ipk
  because it calls just flock
  so if that's problem then we should apply those renames only for
  target version (and live with possible overwrites in -native sysroot)
  or teach u-a postinst/prerm to happen also for sysroot population

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agosubversion: add 1.7.0 with native support and negative D_P for now
Martin Jansa [Thu, 20 Oct 2011 21:17:16 +0000 (23:17 +0200)]
subversion: add 1.7.0 with native support and negative D_P for now

* intentionaly with negative D_P, bitbake fetcher should be improved to
  detect old checkout with newer subversion available or vice versa and
  do svn upgrade automaticaly or show better error, but subversion as
  client for target or -native for distributions which explicitly say
  they want 1.7 (with PREFERRED_VERSION) can be available already from
  oe-core.
* be aware that checkouts from 1.7.0 are not compatible with older
  subversion clients (ie when builder populating distro PREMIRROR is
  using 1.7.0 all builders need to have also 1.7.0)
* and also 1.7.0 client needs to call svn upgrade in checkout first in
  order to use it (so if PREMIRROR has tarball from 1.6.x it won't work
  on client using 1.7.0 unless fetcher2 is improved to detect this and
  call svn upgrade)
* tested on SHR distribution
  http://wiki.shr-project.org/trac/wiki/Building%20SHR#subversion1.7inshr-chroot
* only missing part is to add subversion-native dependency, so that
  native subversion is built, before building ie elementary (because EFL
  are using svnversion from configure.ac to detect source revision and
  .svn dir needs to be from compatible version).
* read http://subversion.apache.org/docs/release-notes/1.7.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agoqt4-x11-free: bring back pkg-config fixups
Simon Busch [Fri, 7 Oct 2011 10:01:56 +0000 (12:01 +0200)]
qt4-x11-free: bring back pkg-config fixups

* With b40b9c024be5e1ec81a31961158b3e6b529acfe0 some pkg-config fixups where removed from
  qt4.inc which breaks the pkg-config files for qt4-embedded. Without that the pkg-config
  files for qt4-x11-free are broken. So this patch puts the fixes into the qt4-x11-free.inc
  file to be used by qt4-x11-free and not qt4-embedded.

* Resending because nobody replied on
  http://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg10609.html

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>