]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agogdk-pixbuf: fix the postinstall script failure when no icon is installed
Jackie Huang [Thu, 9 Aug 2012 02:30:30 +0000 (10:30 +0800)]
gdk-pixbuf: fix the postinstall script failure when no icon is installed

If gtk+ is added to core-image-minimal, postinstall script failed on boot:

Running postinst /etc/rpm-postinsts/104...
gtk-update-icon-cache: No theme index file.
ERROR: postinst /etc/rpm-postinsts/104 failed.

This patch fixed the postinstall script to check for the icon
file first and not run the gtk-update-icon-cache if no icon
is installed.

[YOCTO #2905]

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogstreamer: gst-ffmpeg: fix build issues for libav
Yao Zhao [Wed, 8 Aug 2012 18:49:40 +0000 (14:49 -0400)]
gstreamer: gst-ffmpeg: fix build issues for libav

1.The included libav configure is not generated by autotools
  modify recipe to use correct toolchain wrapper with configure

2.add bzip2 dependency explicitly.
  or configure will detect whether libbz2 is installed, if bzip2
is triggered earlier then it will be detected, if not then won't

3.backport libav_e500mc.patch from upstream to patch configure to
disable-altivec if it is e500mc.

4.move the GSTREAMER_DEBUG to libav's configure, it is not the
option for the main configure.

Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopango: upgrade to upstream stable 1.30.0
Radu Moisan [Mon, 6 Aug 2012 13:07:02 +0000 (16:07 +0300)]
pango: upgrade to upstream stable 1.30.0

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemu: backport patch to fix pl031 RTC
Roy.Li [Wed, 8 Aug 2012 05:35:23 +0000 (13:35 +0800)]
qemu: backport patch to fix pl031 RTC

Intergrate the patch from:
http://repo.or.cz/w/qemu.git/commit/13a16f1d91fc7a46b65b22a33f6ffea1b826a097

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotcl: uncomment a line that causing TCL_SRC_DIR point to the workdir.
Jackie Huang [Wed, 8 Aug 2012 05:11:17 +0000 (13:11 +0800)]
tcl: uncomment a line that causing TCL_SRC_DIR point to the workdir.

The line 'sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh'
is commented somehow in previous commit, so that TCL_SRC_DIR
point to the tcl workdir which will cause package that use it
fail to configure or compile when the tcl workdir is removed,
so uncomment it back.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolayer.conf: add udev-extraconf to SIGGEN_EXCLUDERECIPES_ABISAFE
Martin Jansa [Sun, 5 Aug 2012 10:23:07 +0000 (12:23 +0200)]
layer.conf: add udev-extraconf to SIGGEN_EXCLUDERECIPES_ABISAFE

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobase.bbclass: allow specifying an lsb distro hook via the metadata
Christopher Larson [Thu, 2 Aug 2012 22:10:50 +0000 (15:10 -0700)]
base.bbclass: allow specifying an lsb distro hook via the metadata

This is useful when you have a rather large set of compatible distros. For
example: Centos 5.4, 5.5, 5.6, etc, RHEL server 5.x, RHEL workstation 5.x.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobitbake.conf: store cooker logs in subdirectory of LOG_DIR
Martin Jansa [Thu, 2 Aug 2012 16:45:09 +0000 (18:45 +0200)]
bitbake.conf: store cooker logs in subdirectory of LOG_DIR

* we should probably wait until
  http://git.openembedded.org/bitbake/commit/?id=1e06d8012868ba5a31503dc99cbf18570be629d9
  is in next required bitbake version, but error message if the directory doesn't exist is quite clear
* people with new enough bitbake could just change this in their local.conf

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorun-postinsts: Does not run any scripts on debian rootfs
Kenneth Solbjerg [Mon, 9 Jul 2012 12:19:48 +0000 (14:19 +0200)]
run-postinsts: Does not run any scripts on debian rootfs

On my system (core-image-base, .deb package files), run-postinsts does
not run any scripts due to a failed test in run-postinsts.awk.
As dpkg is not actually installed on target, opkg is identified as the
pkgdir and that is not right...

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agonet-tools: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:44:09 +0000 (17:44 -0700)]
net-tools: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogawk: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:36:56 +0000 (17:36 -0700)]
gawk: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosed: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:34:25 +0000 (17:34 -0700)]
sed: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agowget: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:26:51 +0000 (17:26 -0700)]
wget: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotime: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:26:09 +0000 (17:26 -0700)]
time: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoprocps: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:24:04 +0000 (17:24 -0700)]
procps: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogzip: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:18:52 +0000 (17:18 -0700)]
gzip: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agohdparm: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:18:17 +0000 (17:18 -0700)]
hdparm: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomingetty: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:17:20 +0000 (17:17 -0700)]
mingetty: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoshadow: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:14:13 +0000 (17:14 -0700)]
shadow: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoless: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:11:33 +0000 (17:11 -0700)]
less: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agowhich: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:10:28 +0000 (17:10 -0700)]
which: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomktemp: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:00:54 +0000 (17:00 -0700)]
mktemp: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomsmtp: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:57:40 +0000 (16:57 -0700)]
msmtp: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopigz: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:54:30 +0000 (16:54 -0700)]
pigz: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agometacity: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:52:08 +0000 (16:52 -0700)]
metacity: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomatchbox-session: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:51:18 +0000 (16:51 -0700)]
matchbox-session: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomatchbox-wm-2: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:49:23 +0000 (16:49 -0700)]
matchbox-wm-2: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomutter: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:47:05 +0000 (16:47 -0700)]
mutter: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopowertop: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:45:28 +0000 (16:45 -0700)]
powertop: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agofindutils: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:33:36 +0000 (16:33 -0700)]
findutils: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agofindutils: refactor common code to findutils.inc
Saul Wold [Thu, 26 Jul 2012 23:29:45 +0000 (16:29 -0700)]
findutils: refactor common code to findutils.inc

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodiffutils: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:19:46 +0000 (16:19 -0700)]
diffutils: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodiffutils: refactor to add a common diffutils.inc
Saul Wold [Thu, 26 Jul 2012 23:18:48 +0000 (16:18 -0700)]
diffutils: refactor to add a common diffutils.inc

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobc: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:10:43 +0000 (16:10 -0700)]
bc: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoubootchart: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:10:04 +0000 (16:10 -0700)]
ubootchart: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopatch: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:09:19 +0000 (16:09 -0700)]
patch: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotinylogin: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:08:20 +0000 (16:08 -0700)]
tinylogin: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agokbd: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:07:40 +0000 (16:07 -0700)]
kbd: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoconsole-tools: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:06:24 +0000 (16:06 -0700)]
console-tools: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomini-x-session: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 22:55:30 +0000 (15:55 -0700)]
mini-x-session: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoopenssh: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 22:55:23 +0000 (15:55 -0700)]
openssh: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorxvt-unicode: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 22:53:47 +0000 (15:53 -0700)]
rxvt-unicode: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorxvt-unicode: remove setting of LD_LIBRARY_PATH
Saul Wold [Tue, 14 Aug 2012 09:27:47 +0000 (12:27 +0300)]
rxvt-unicode: remove setting of LD_LIBRARY_PATH

This is no longer needed as we do not run tic at install time

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorpmresolve: Ensure we call the rpm relocation code at init
Richard Purdie [Tue, 14 Aug 2012 08:28:00 +0000 (09:28 +0100)]
rpmresolve: Ensure we call the rpm relocation code at init

We need to call rpmcliInit to ensure the rpm relocation code is called
and it correctly honours the relocation environmental variables.

We can drop the ReadConfigFiles call since the cliInit does this for us.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocreaterepo: add wrapper script to fix paths
Paul Eggleton [Mon, 13 Aug 2012 18:58:00 +0000 (18:58 +0000)]
createrepo: add wrapper script to fix paths

Fixes sstate relocation due to the path to /etc/rpm being baked into the
libraries - this manifested in the form of the following assertion at
runtime:

python: dbconfig.c:493: db3New: Assertion `dbOpts != ((void *)0) && *dbOpts != '\0'' failed.

Fixes [YOCTO #2753].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpmresolve: add wrapper script to fix paths
Paul Eggleton [Mon, 13 Aug 2012 18:54:32 +0000 (18:54 +0000)]
rpmresolve: add wrapper script to fix paths

Fixes sstate relocation due to the path to /etc/rpm being baked into the
libraries - this manifested in the form of the following assertion at
runtime:

rpmresolve: dbconfig.c:493: db3New: Assertion `dbOpts != ((void *)0) && *dbOpts != '\0'' failed.

Fixes [YOCTO #2936].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowatchdog: fix SRC_URI _ -> -
Saul Wold [Thu, 9 Aug 2012 12:05:06 +0000 (12:05 +0000)]
watchdog: fix SRC_URI _ -> -

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu.inc: disable curl for qemu-nativesdk
Robert Yang [Mon, 13 Aug 2012 13:01:16 +0000 (21:01 +0800)]
qemu.inc: disable curl for qemu-nativesdk

We had added the --disable-curl to EXTRA_OECONF, but there is an
EXTRA_OECONF_virtclass-nativesdk += "foo", the
"EXTRA_OECONF_virtclass-nativesdk +=" equals to
"EXTRA_OECONF_virtclass-nativesdk =" (the "+" has no effect here), so we
should add the "--disable-curl" to EXTRA_OECONF_virtclass-nativesdk.

And change the "+=" to "=" to not confuse people.

[YOCTO #2305]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofoomatic: fix perl path for target
Saul Wold [Wed, 8 Aug 2012 08:56:24 +0000 (11:56 +0300)]
foomatic: fix perl path for target

This problem appears on F17 when configure finds /bin/perl, since the beh
script is a target side script, we need to set PERL in the do_configure_prepend
in order for the correct perl to be used

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautomake: Fix version reference in path substitutions
Richard Purdie [Tue, 7 Aug 2012 22:34:17 +0000 (22:34 +0000)]
automake: Fix version reference in path substitutions

Without this the substitutions don't get made potentially resulting in a variety of
different failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto-3.2: Apply slang workaround fixing perf builds to 3.2 kernels too
Richard Purdie [Tue, 7 Aug 2012 22:21:38 +0000 (22:21 +0000)]
linux-yocto-3.2: Apply slang workaround fixing perf builds to 3.2 kernels too

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto-3.0: Apply slang workaround fixing perf builds to 3.0 kernels too
Richard Purdie [Tue, 7 Aug 2012 22:21:22 +0000 (22:21 +0000)]
linux-yocto-3.0: Apply slang workaround fixing perf builds to 3.0 kernels too

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils: Enable threaded linking with gold
Khem Raj [Tue, 7 Aug 2012 21:26:21 +0000 (14:26 -0700)]
binutils: Enable threaded linking with gold

This options will let gold spawn multiple
threads for linking and speeding up linking
on multicore build hosts.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage-index: Remove the python hack, its not needed after the pythonnative changes
Richard Purdie [Tue, 7 Aug 2012 22:05:57 +0000 (22:05 +0000)]
package-index: Remove the python hack, its not needed after the pythonnative changes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Disable use of sdt.h header
Richard Purdie [Tue, 7 Aug 2012 21:29:00 +0000 (21:29 +0000)]
gcc: Disable use of sdt.h header

The target sysroot might contain sdt.h but we don't list this in DEPENDS
and shouldn't be referencing it. Unfortunately there is no way to tell
configure this since these tests are uncached and we can't force
a particular value. The only option is therefore to patch this out.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoiputils: Break libsysfs dependency
Andy Ross [Mon, 6 Aug 2012 19:41:04 +0000 (12:41 -0700)]
iputils: Break libsysfs dependency

iputils drops a /bin/arping with a runtime linkage against libsysfs in
/usr.  Port Fedora 17 iputils-20071127-infiniband.patch, which inlines
access previously done by libsysfs.

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto-custom: Clarify usage and clear COMPATIBLE_MACHINE
Darren Hart [Mon, 6 Aug 2012 15:56:13 +0000 (08:56 -0700)]
linux-yocto-custom: Clarify usage and clear COMPATIBLE_MACHINE

There has been some confusion over proper use of the linux-yocto-custom
recipe. It is not intended to build as is from meta-skeleton. It should
be modified via a bbappend file to provide a Linux kernel config at the
very least.

Update the commentary to make this requirement more explicit. Add some
additional detail about how to create a bbappend file and how and when
to modify the various variables.

Clear COMPATIBLE_MACHINE so bitbake will not attempt to build the recipe
unless the user explicitly adds there machine to the variable, which
should encourage them to read the recipe comments before attempting to
build it.

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: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage-mklibs: pass correct libdir to mklibs
Jesse Zhang [Tue, 7 Aug 2012 02:31:57 +0000 (10:31 +0800)]
image-mklibs: pass correct libdir to mklibs

libdir should be specified, or else mklibs won't work for 64bit targets.
It wouldn't be able to find the libs.

    Traceback (most recent call last):
      File "<build>/bitbake_build/tmp/sysroots/i686-linux/usr/bin/x86_64-wrs-linux/mklibs", line 553, in <module>
        header = elf_header(find_lib(libraries.copy().pop()))
      File "<build>/bitbake_build/tmp/sysroots/i686-linux/usr/bin/x86_64-wrs-linux/mklibs", line 89, in elf_header
        raise Exception("Cannot find lib: " + obj)
    Exception: Cannot find lib:

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Fix RPATH QA issue on non-gplv3 builds
Richard Purdie [Tue, 7 Aug 2012 11:18:13 +0000 (12:18 +0100)]
python: Fix RPATH QA issue on non-gplv3 builds

On non-gplv3 builds, gdbm gets built different due to the different version
which triggers a different codepath in python's db support and then hence
triggers an invalid RPATH QA issue. This change extends the appropriate patch
to cover the code paths we need it to cover and avoid adding the problematic
RPATH.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto-3.4: Disable extra slang header search path
Richard Purdie [Tue, 7 Aug 2012 11:17:16 +0000 (12:17 +0100)]
linux-yocto-3.4: Disable extra slang header search path

Add in a workaround to avoid host infection detection build failures
from the slang include directory in perf. I'll defer to Bruce to
fix this properly but we need a workaround now as this is breaking
builds.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-firmware: Ensure PR goes forward, not backwards after the revert
Richard Purdie [Tue, 7 Aug 2012 11:35:55 +0000 (12:35 +0100)]
linux-firmware: Ensure PR goes forward, not backwards after the revert

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoRevert "linux-firware: use ${base_libdir} instead of /lib for packaging"
Richard Purdie [Tue, 7 Aug 2012 10:16:54 +0000 (11:16 +0100)]
Revert "linux-firware: use ${base_libdir} instead of /lib for packaging"

This change breaks firmware loading on 64 bit platforms. This therefore
reverts commit ce2665b6ae77770d69ffbc4d45c96ce829d16738.

12 years agokernel.bbclass: Revert ${base_libdir} change
Richard Purdie [Sun, 5 Aug 2012 19:48:44 +0000 (19:48 +0000)]
kernel.bbclass: Revert ${base_libdir} change

The base_libdir change in 5b8a4798ea2ea7df66bb53c26448251ea7da3dd9
breaks the kernel build for 64 bit machines. Revert this part of the
change.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernelshark: Inherit pythonnative
Richard Purdie [Tue, 7 Aug 2012 09:54:40 +0000 (09:54 +0000)]
kernelshark: Inherit pythonnative

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdb-cross: Explicitly disable python
Richard Purdie [Tue, 7 Aug 2012 08:30:27 +0000 (08:30 +0000)]
gdb-cross: Explicitly disable python

Python isn't in DEPENDS but can be autodetected from the sysroot. Explicitly
disable it to ensure deterministic builds.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosubversion: Add missing build dependency on sqlite3
Bogdan Marinescu [Mon, 30 Jul 2012 13:22:24 +0000 (16:22 +0300)]
subversion: Add missing build dependency on sqlite3

subversion needs an explicit dependency on sqlite3, otherwise it
does not build. Tested by building core-image-minimal.

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofindutils-4.4.2: add bison-native to DEPENDS
Xin Ouyang [Mon, 30 Jul 2012 12:25:30 +0000 (20:25 +0800)]
findutils-4.4.2: add bison-native to DEPENDS

[YOCTO #2858]

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobison: updated to 2.5.1
Bogdan Marinescu [Mon, 30 Jul 2012 13:51:17 +0000 (16:51 +0300)]
bison: updated to 2.5.1

The gets patch is not needed anymore in this version. The
manpage patch was updated for this version.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory: reduce the numeric delta to 10%
Ross Burton [Mon, 30 Jul 2012 12:18:07 +0000 (13:18 +0100)]
buildhistory: reduce the numeric delta to 10%

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory: correctly handle reductions of numeric fields
Ross Burton [Mon, 30 Jul 2012 12:18:06 +0000 (13:18 +0100)]
buildhistory: correctly handle reductions of numeric fields

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpam: disable NIS to not link with libtirpc when it is available
Marcin Juszkiewicz [Fri, 3 Aug 2012 08:21:30 +0000 (10:21 +0200)]
libpam: disable NIS to not link with libtirpc when it is available

I was checking ways to make incremental builds faster so I started using
sstate-cache and SSTATE_MIRRORS. But this gave me some nasty bug:

| Collected errors:
|  * satisfy_dependencies_for: Cannot satisfy the following dependencies
for php-cgi:
|  *    libtirpc1 (>= 0.2.2) *
|  * opkg_install_cmd: Cannot install package php-cgi.

I checked details:

In my previous build libtirpc got built before libpam so libpam found it
and linked. As a result packages depend on libtirpc1 but as there is no
such build dependency sstate handling code did not used libtirpc copy...

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogthumb: fix parallel build problems
Ross Burton [Tue, 31 Jul 2012 17:17:06 +0000 (18:17 +0100)]
gthumb: fix parallel build problems

It's possible with a parallel build for make to spin waiting for a file change
when it isn't going to.  Fix the build rules so this doesn't happen.

[YOCTO #2319]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobabeltrace: Update to upstream stable versrion 0.12
Radu Moisan [Tue, 31 Jul 2012 13:30:00 +0000 (16:30 +0300)]
babeltrace: Update to upstream stable versrion 0.12

Latest version is 1.0.0 but in rc4 for now.

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoatk: package update 2.2 -> 2.4
Radu Moisan [Tue, 31 Jul 2012 12:52:47 +0000 (15:52 +0300)]
atk: package update 2.2 -> 2.4

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/package: don't make locale pkgs depend on PN pkg if not in PACKAGES
Paul Eggleton [Tue, 31 Jul 2012 11:33:01 +0000 (12:33 +0100)]
classes/package: don't make locale pkgs depend on PN pkg if not in PACKAGES

If ${PN} is not in PACKAGES then don't add it as an RDEPENDS for each
locale package. This fixes the installation of gcc-runtime locale
packages, for example.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: save metadata revisions
Paul Eggleton [Thu, 2 Aug 2012 09:23:09 +0000 (10:23 +0100)]
classes/buildhistory: save metadata revisions

Always write the metadata revisions for each layer into a machine-
readable "metadata-revs" file so that you can potentially link changes
in the output back to changes in the metadata. (Unlike the existing
similar build-id file, this is not specific to image changes.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory_analysis: ignore removal of self-dependencies
Paul Eggleton [Thu, 2 Aug 2012 09:23:08 +0000 (10:23 +0100)]
buildhistory_analysis: ignore removal of self-dependencies

The recent removal of self-dependencies for dbg/dev packages produced
a fair amount of noise, so filter it out since we know this is a
reasonable change.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory_analysis: tidy up duplicate split_version function
Paul Eggleton [Thu, 2 Aug 2012 09:23:07 +0000 (10:23 +0100)]
buildhistory_analysis: tidy up duplicate split_version function

This function is now provided by bb.utils and since we have now bumped
the minimum bitbake version, we can switch to that one instead.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: record PKG/PKGE/PKGV/PKGR
Paul Eggleton [Thu, 2 Aug 2012 09:23:05 +0000 (10:23 +0100)]
classes/buildhistory: record PKG/PKGE/PKGV/PKGR

Save PKG (the actual output package name, which is often different due
to debian renaming), and PKGE/PKGV/PKGR (which may be manipulated in
certain special cases e.g. gitpkgv.bbclass in meta-oe, the
external-sourcery-toolchain recipe, etc.) Note that these are only
written when they are different from the normal package name in the
case of PKG, or PE/PV/PR for the other variables.

Also, use PKGE/PKGV/PKGR instead of PE/PV/PR when comparing package
versions since these actually represent the version that the package
manager sees.

Implements [YOCTO #2787].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: save preinst/postinst/prerm/postrm
Paul Eggleton [Thu, 2 Aug 2012 09:23:04 +0000 (10:23 +0100)]
classes/buildhistory: save preinst/postinst/prerm/postrm

Write the value of these package script variables into the packageinfo
so that any changes to them can be tracked (in separate files since they
are multi-line).

Inspired by an earlier patch from Andreas Müller <schnitzeltony@googlemail.com>

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: remove unused functions
Paul Eggleton [Thu, 2 Aug 2012 09:23:03 +0000 (10:23 +0100)]
classes/buildhistory: remove unused functions

getlastrecipeversion and readRecipeInfo weren't called anywhere.
Remove them so we don't have to keep them up-to-date with future
additions to the recipe info file.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: ensure old package info is removed
Paul Eggleton [Thu, 2 Aug 2012 09:23:02 +0000 (10:23 +0100)]
classes/buildhistory: ensure old package info is removed

If a package is removed from PACKAGES, ensure that the package info file
and directory are removed from buildhistory so that we don't have stale
data lying around.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: remove obsolete flat package history feature
Paul Eggleton [Thu, 2 Aug 2012 09:23:01 +0000 (10:23 +0100)]
classes/buildhistory: remove obsolete flat package history feature

Remove the ability to set BUILDHISTORY_KEEP_VERSIONS = "1" to save the
package history as flat versioned files rather than relying on git to
keep previous versions of the package information. git has proven to
work quite well in this capacity.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocurl: disable ldap/ldaps explicitly
Martin Jansa [Mon, 6 Aug 2012 11:57:04 +0000 (13:57 +0200)]
curl: disable ldap/ldaps explicitly

* openldap from meta-oe is autodetected and then libldap-2.4-2 runtime dependency added to curl and almost all meta-efl recipes

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: Use 'require' instead of 'include'
Damien Lespiau [Thu, 2 Aug 2012 16:49:01 +0000 (17:49 +0100)]
mesa: Use 'require' instead of 'include'

These include files are really required, not optional.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: Update to 8.0.4 (latest stable version)
Damien Lespiau [Thu, 2 Aug 2012 16:49:00 +0000 (17:49 +0100)]
mesa: Update to 8.0.4 (latest stable version)

- The license file has changed, but the project still has the same
  license
- Patches have been rebased on top of the 8.0 branch. crossfix.patch
  and crossfix-mklib.patch have been merged as they address the same
  problem

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: enable the Graphic Buffer Manager library
Ross Burton [Thu, 2 Aug 2012 16:48:59 +0000 (17:48 +0100)]
mesa: enable the Graphic Buffer Manager library

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: add --enable-shared-glapi, and package it in libglapi
Ross Burton [Thu, 2 Aug 2012 16:48:58 +0000 (17:48 +0100)]
mesa: add --enable-shared-glapi, and package it in libglapi

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: move glu.pc to libglu-dev
Ross Burton [Thu, 2 Aug 2012 16:48:57 +0000 (17:48 +0100)]
mesa: move glu.pc to libglu-dev

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: format the packages list nicely
Ross Burton [Thu, 2 Aug 2012 16:48:56 +0000 (17:48 +0100)]
mesa: format the packages list nicely

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: no need to depend on python-native, the class does that
Ross Burton [Thu, 2 Aug 2012 16:48:55 +0000 (17:48 +0100)]
mesa: no need to depend on python-native, the class does that

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-firware: use ${base_libdir} instead of /lib for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:45 +0000 (21:48 +0200)]
linux-firware: use ${base_libdir} instead of /lib for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: use ${base_libdir} and ${sysconfdir} instead of /lib and /etc
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:44 +0000 (21:48 +0200)]
kernel.bbclass: use ${base_libdir} and ${sysconfdir} instead of /lib and /etc

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolsb: use ${base_bindir} and ${sysconfdir} instead of /bin and /etc
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:39 +0000 (21:48 +0200)]
lsb: use ${base_bindir} and ${sysconfdir} instead of /bin and /etc

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agousbinit: use ${sysconfdir} instead of /etc for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:52 +0000 (21:48 +0200)]
usbinit: use ${sysconfdir} instead of /etc for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolsbinitscripts: use ${sysconfdir} instead of /etc for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:51 +0000 (21:48 +0200)]
lsbinitscripts: use ${sysconfdir} instead of /etc for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorsync: use ${sysconfdir} instead of /etc for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:54 +0000 (21:48 +0200)]
rsync: use ${sysconfdir} instead of /etc for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoman: use ${sysconfdir} instead of /etc for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:56 +0000 (21:48 +0200)]
man: use ${sysconfdir} instead of /etc for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agochkconfig: use ${sysconfdir} instead of /etc for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:55 +0000 (21:48 +0200)]
chkconfig: use ${sysconfdir} instead of /etc for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu-config: use ${sysconfdir} instead of /etc for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:53 +0000 (21:48 +0200)]
qemu-config: use ${sysconfdir} instead of /etc for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>