]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agompfr: add patch to fix build for thumb
Martin Jansa [Fri, 24 Feb 2012 13:14:50 +0000 (14:14 +0100)]
mpfr: add patch to fix build for thumb

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage.bbclass: Add a sanity check to the debugsrcdir removal code
Richard Purdie [Fri, 24 Feb 2012 16:09:00 +0000 (16:09 +0000)]
package.bbclass: Add a sanity check to the debugsrcdir removal code

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibfm: Fix packaging and dependency issues
Richard Purdie [Thu, 23 Feb 2012 16:50:56 +0000 (16:50 +0000)]
libfm: Fix packaging and dependency issues

Add missing pango and glib-2.0 dependencies.

Fix QA warnings:

WARNING: For recipe libfm, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib/gio
WARNING:   /usr/lib/gio/modules
WARNING:   /usr/share/mime
WARNING:   /usr/share/mime/packages
WARNING:   /usr/share/mime/packages/libfm.xml

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage.bbclass: Ensure timestamp matches format used in initscripts after recent changes
Richard Purdie [Fri, 24 Feb 2012 10:25:30 +0000 (10:25 +0000)]
image.bbclass: Ensure timestamp matches format used in initscripts after recent changes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoupdate-rc.d.bbclass: do nothing for extended cross packages
Otavio Salvador [Fri, 17 Feb 2012 17:47:03 +0000 (17:47 +0000)]
update-rc.d.bbclass: do nothing for extended cross packages

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorootfs_ipk.bbclass: fix status file location in rootfs
Otavio Salvador [Fri, 17 Feb 2012 17:47:04 +0000 (17:47 +0000)]
rootfs_ipk.bbclass: fix status file location in rootfs

This fixes runtime requirement checking and read-only-fs checking.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agometa-hob: Add a new meta-hob layer
Dongxiao Xu [Thu, 23 Feb 2012 13:48:08 +0000 (21:48 +0800)]
meta-hob: Add a new meta-hob layer

This new layer contains hob-image.bb and hob-toolchain.bb that
are used by hob to build images or toolchain.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackageinfo.bbclass: add a new bbclass to pass package information
Dongxiao Xu [Thu, 23 Feb 2012 13:48:07 +0000 (21:48 +0800)]
packageinfo.bbclass: add a new bbclass to pass package information

packageinfo.bbclass is to pass the accurate package information to
clients (e.g. Hob), including PN, PV, RDEPENDS, PKGSIZE, etc.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage.bbclass: set package size into pkgdata for hob2's use
Shane Wang [Thu, 23 Feb 2012 13:48:06 +0000 (21:48 +0800)]
package.bbclass: set package size into pkgdata for hob2's use

Write the size of a package into its pkgdata for hob2 to get the size
and show on the UI for image making.

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogthumb: Resolve staticdev QA warnings
Richard Purdie [Thu, 23 Feb 2012 13:15:36 +0000 (13:15 +0000)]
gthumb: Resolve staticdev QA warnings

Since the .a files are pretty useless in the case of plugin modules, lets
just remove them. This resolves the warnings:

WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libslideshow.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libimporter.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libimage_viewer.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libchange_date.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libedit_metadata.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libgstreamer_tools.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libphoto_importer.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libimage_rotation.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libfile_viewer.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libpixbuf_savers.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libexport_tools.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libconvert_format.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/librename_series.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libfile_tools.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libwebalbums.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libcatalogs.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libresize_images.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libimage_print.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libdesktop_background.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libred_eye_removal.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libcomments.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libfile_manager.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libjpeg_utils.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libgstreamer_utils.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/liblist_tools.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libbookmarks.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libsearch.a'
WARNING: QA Issue: non -staticdev package contains static .a library: gthumb path '/work/x86_64-poky-linux/gthumb-2.12.4-r1/packages-split/gthumb/usr/lib/gthumb/extensions/libraw_files.a'

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoautotools.bbclass: Make builds deterministic
Richard Purdie [Thu, 23 Feb 2012 13:05:09 +0000 (13:05 +0000)]
autotools.bbclass: Make builds deterministic

We need to ensure any aclocal-copy directory is removed before we s
earch for .m4 files, else the locations .m4 files are found from can
vary depending on whether its the first or second time we run configure.

Clearing any existing aclocal-copy directory before we start resolves
this issue and makes builds deterministic again.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinsane.bbclass: Only depend on desktop-file-utils-native when we need it
Richard Purdie [Thu, 23 Feb 2012 12:40:36 +0000 (12:40 +0000)]
insane.bbclass: Only depend on desktop-file-utils-native when we need it

There is no point in depending on desktop-file-utils if we're not going to
use it. This patch makes the dependency conditional upon the desktop tests
being enabled.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage.bbclass: Remove empty directories created as part of srcdebug handling
Richard Purdie [Thu, 23 Feb 2012 12:26:12 +0000 (12:26 +0000)]
package.bbclass: Remove empty directories created as part of srcdebug handling

We can create directories like /usr/src/debug as part of the debug file
manipulations. If these are going to end up empty, remove them to avoid QA
warnings like:

WARNING: For recipe task-core-x11, the following files/directories were installed but not shipped in any package:
WARNING:   /usr
WARNING:   /usr/src
WARNING:   /usr/src/debug
WARNING: For recipe task-core-console, the following files/directories were installed but not shipped in any package:
WARNING:   /usr
WARNING:   /usr/src
WARNING:   /usr/src/debug

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodbus-glib: Correctly package bash completion pieces to avoid QA warning
Richard Purdie [Thu, 23 Feb 2012 12:24:43 +0000 (12:24 +0000)]
dbus-glib: Correctly package bash completion pieces to avoid QA warning

WARNING: For recipe dbus-glib, the following files/directories were installed but not shipped in any package:
WARNING:   /etc
WARNING:   /etc/bash_completion.d
WARNING:   /etc/bash_completion.d/dbus-bash-completion.sh
WARNING:   /usr/libexec/dbus-bash-completion-helper

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoglib-2.0: Fix unpackaged files warning
Richard Purdie [Thu, 23 Feb 2012 11:34:37 +0000 (11:34 +0000)]
glib-2.0: Fix unpackaged files warning

WARNING: For recipe glib-2.0, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib/gio
WARNING:   /usr/lib/gio/modules

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocracklib: Fix unpackaged files warning by disabling autodetected python
Richard Purdie [Thu, 23 Feb 2012 11:31:47 +0000 (11:31 +0000)]
cracklib: Fix unpackaged files warning by disabling autodetected python

WARNING: For recipe cracklib, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib/python2.7
WARNING:   /usr/lib/python2.7/site-packages

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibgcrypt: Fix unpackaged file warning
Richard Purdie [Thu, 23 Feb 2012 11:21:50 +0000 (11:21 +0000)]
libgcrypt: Fix unpackaged file warning

WARNING: For recipe libgcrypt, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/sbin

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoreadline: Add a patch to remove the redundant rpath linker option
Richard Purdie [Thu, 23 Feb 2012 11:11:16 +0000 (11:11 +0000)]
readline: Add a patch to remove the redundant rpath linker option

This resolves the QA warnings:

WARNING: QA Issue: readline: /work/x86_64-poky-linux/readline-6.2-r0/packages-split/readline/usr/lib/libhistory.so.6.2 contains probably-redundant RPATH /usr/lib
WARNING: QA Issue: readline: /work/x86_64-poky-linux/readline-6.2-r0/packages-split/readline/usr/lib/libreadline.so.6.2 contains probably-redundant RPATH /usr/lib
WARNING: QA Issue: readline: /work/x86_64-poky-linux/readline-6.2-r0/packages-split/readline/usr/lib/libreadline.so.6 contains probably-redundant RPATH /usr/lib
WARNING: QA Issue: readline: /work/x86_64-poky-linux/readline-6.2-r0/packages-split/readline/usr/lib/libhistory.so.6 contains probably-redundant RPATH /usr/lib

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibusb-compat: Address unpackaged files warning
Richard Purdie [Thu, 23 Feb 2012 10:59:39 +0000 (10:59 +0000)]
libusb-compat: Address unpackaged files warning

WARNING: For recipe libusb-compat, the following files/directories were installed but not shipped in any package:
WARNING:   /lib/libusb.la

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibusb1: Address unpackaged files warning
Richard Purdie [Thu, 23 Feb 2012 10:59:07 +0000 (10:59 +0000)]
libusb1: Address unpackaged files warning

WARNING: For recipe libusb1, the following files/directories were installed but not shipped in any package:
WARNING:   /lib/libusb-1.0.la

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorpm: Fix LICENSE field
Richard Purdie [Thu, 23 Feb 2012 10:56:11 +0000 (10:56 +0000)]
rpm: Fix LICENSE field

This addresses the warning:

WARNING: rpm: No generic license file exists for: LGPL in any provider
WARNING: rpm: No generic license file exists for: 2.1 in any provider

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc: Fix package warning
Richard Purdie [Thu, 23 Feb 2012 10:53:39 +0000 (10:53 +0000)]
eglibc: Fix package warning

WARNING: For recipe eglibc, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib/locale

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking_fields: fix typos
Saul Wold [Thu, 23 Feb 2012 15:47:51 +0000 (07:47 -0800)]
distro_tracking_fields: fix typos

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agotask-self-hosted: make the package lists alphabetical
Dexuan Cui [Thu, 23 Feb 2012 03:26:52 +0000 (11:26 +0800)]
task-self-hosted: make the package lists alphabetical

This patch makes no actual change to the functionality of the recipe.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agotask-self-hosted: remove duplicate packages
Dexuan Cui [Thu, 23 Feb 2012 03:04:56 +0000 (11:04 +0800)]
task-self-hosted: remove duplicate packages

The package names are specified more than once.
We only need to keep one for each of them, so let's remove the duplicated
ones.
This patch makes no actual change to the functionality of the recipe.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoA script to clean obsolete sstate cache files
Robert Yang [Wed, 22 Feb 2012 12:38:30 +0000 (20:38 +0800)]
A script to clean obsolete sstate cache files

There would be many obsolete cache files in the SSTATE_DIR after several
builds, this script can remove the obsolete one for a pkg, only leave
the up to date one.

Here is the help text:

sstate-cache-management.sh <OPTION>

Options:
  --help, -h
        Display this help and exit.

  --cache-dir=<sstate cache dir>
        Specify sstate cache directory, will use the environment
        variable SSTATE_CACHE_DIR if it is not specified.

  --remove-duplicated
        Remove the duplicated sstate cache files of one package, only
        the newest one would be kept.

[YOCTO #1682]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
13 years agoopenssl: Move libcrypto to base_libdir
Andrei Gherzan [Tue, 21 Feb 2012 23:03:55 +0000 (01:03 +0200)]
openssl: Move libcrypto to base_libdir

This fix is for dhclient. It needs libcrypto at runtime and if
libcrypto is in libdir, it's path can be inaccessible on systems
where /usr is on nfs for example or dhclient is needed before
/usr is mounted.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
[Fix comment to from /usr -> /lib - sgw]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoboot-directdisk: Use correct SYSLINUX_TIMEOUT and SYSLINUX_ROOT instead of APPEND
Saul Wold [Tue, 21 Feb 2012 22:48:16 +0000 (14:48 -0800)]
boot-directdisk: Use correct SYSLINUX_TIMEOUT and SYSLINUX_ROOT instead of APPEND

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoimage-live: fix SYSLINUX_TIME and add SYSLINUX_ROOT instead of APPEND
Saul Wold [Tue, 21 Feb 2012 22:35:42 +0000 (14:35 -0800)]
image-live: fix SYSLINUX_TIME and add SYSLINUX_ROOT instead of APPEND

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoimage_types: add vmdk type to use with VMware
Saul Wold [Tue, 21 Feb 2012 21:46:11 +0000 (13:46 -0800)]
image_types: add vmdk type to use with VMware

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agosyslinux: add SYSLINUX_ROOT to APPEND line
Saul Wold [Tue, 21 Feb 2012 21:17:41 +0000 (13:17 -0800)]
syslinux: add SYSLINUX_ROOT to APPEND line

By prepending the SYSLINUX_ROOT to the APPEND line, will allow a sane default
to be set for the various syslinux images

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agosyslinux: Use SYSLINUX_TIMEOUT and SYSLINUX_PROMPT to configure syslinux
Saul Wold [Tue, 14 Feb 2012 05:29:55 +0000 (21:29 -0800)]
syslinux: Use SYSLINUX_TIMEOUT and SYSLINUX_PROMPT to configure syslinux

syslinux allows you to set TIMEOUT and PROMPT variables, when PROMPT is 0,
the "boot:" is not displayed uless one presses CTRL or SHIFT during startup.
TIMEOUT is in 1/10th of seconds, and a value of 0 for TIMEOUT will disable
the timeout mechanism.

In bitbake, recipes had set TIMEOUT (not SYSLINUX_TIMEOUT) incorrectly, other
patches fix this issues.  We are adding SYSLINUX_PROMPT to enable/disable the
"boot:" prompt in syslinux.

See http://www.syslinux.org/wiki/index.php/SYSLINUX for more details

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoppp: Fix rp-pppoe plugin compilation
Yauhen Kharuzhy [Tue, 21 Feb 2012 14:04:38 +0000 (17:04 +0300)]
ppp: Fix rp-pppoe plugin compilation

rp-pppoe plugin was broken due linux headers changes: pppd has own copy of
if_pppol2tp.h file which is included from <linux/if_pppox.h>.

Add patch from Debian for struct pppol2tpv3_addr definition.

Signed-off-by: Yauhen Kharuzhy <yauhen.kharuzhy@promwad.com>
13 years agompeg2dec: depend on libx11 conditionally
Andreas Oberritter [Fri, 17 Feb 2012 22:56:11 +0000 (23:56 +0100)]
mpeg2dec: depend on libx11 conditionally

* mpeg2dec currently doesn't build if x11 is unavailable,
  due to an unconditional dependency on libx11. However,
  libx11 is not required to build mpeg2dec.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
13 years agogst-plugins-base: depend on libx11 and libxv conditionally
Andreas Oberritter [Fri, 17 Feb 2012 22:56:10 +0000 (23:56 +0100)]
gst-plugins-base: depend on libx11 and libxv conditionally

* gst-plugins-base currently doesn't build if x11 is
  unavailable, due to unconditional dependencies on libx11
  and libxv. However, they are not required to build
  gst-plugins-base.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
13 years agoe2fsprogs: Cope with ${libdir} and ${base_libdir} being the same
Mike Crowe [Thu, 16 Feb 2012 15:13:35 +0000 (15:13 +0000)]
e2fsprogs: Cope with ${libdir} and ${base_libdir} being the same

${libdir} and ${base_libdir} may be the same. If they are don't try and
move files onto themselves.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
13 years agobusybox: don't create /etc/default
Andreas Oberritter [Thu, 16 Feb 2012 02:08:41 +0000 (03:08 +0100)]
busybox: don't create /etc/default

* It's not used by the recipe and its creation
  currently depends on CONFIG_HWCLOCK=y.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
13 years agodbus: Remove empty ${lindir}dbus-1.0/test directory as we don't build tests
Andrei Gherzan [Sun, 19 Feb 2012 21:03:37 +0000 (23:03 +0200)]
dbus: Remove empty ${lindir}dbus-1.0/test directory as we don't build tests

This empty directory generates a QA warning of unshippped files/dirs.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
13 years agoe2fsprogs: e2initrd_helper was moved in libdir but not packaged correctly in FILES_li...
Andrei Gherzan [Sun, 19 Feb 2012 19:41:30 +0000 (21:41 +0200)]
e2fsprogs: e2initrd_helper was moved in libdir but not packaged correctly in FILES_libext2fs

The new install path of e2initrd_helper is %{libdir}. FILES_libext2fs modified accordigly to
avoid QA warnings.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
13 years agonspr: Add patch in order to remove rpath from binaries
Andrei Gherzan [Mon, 13 Feb 2012 20:54:36 +0000 (22:54 +0200)]
nspr: Add patch in order to remove rpath from binaries

This patch was created in order to avoid QA warnings.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
13 years agonspr: Compile nspr with tests
Andrei Gherzan [Sat, 11 Feb 2012 12:36:39 +0000 (14:36 +0200)]
nspr: Compile nspr with tests

1. Compile package tests suite
2. Add tests to -dev rpm as it needs dev libraries

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
13 years agonspr: Integrate version 4.8.9
Andrei Gherzan [Sun, 5 Feb 2012 20:58:32 +0000 (22:58 +0200)]
nspr: Integrate version 4.8.9

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc>
13 years agodhcp: Update to 4.2.3-P2
Andrei Gherzan [Tue, 7 Feb 2012 19:52:33 +0000 (21:52 +0200)]
dhcp: Update to 4.2.3-P2

1. Update to 4.2.3-P2
2. From 4.2.0 final release, -lcrypto check was removed and we compile static libraries
from bind that are linked to libcrypto. This is why i added a patch in order to add
-lcrypto to LIBS.
3. Add openssl in DEPENDS as we need libcrypto from this package
4. Drop installing /var/lib/dhcp/ as it is handled in pkg_postinst

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
13 years agoautotools.bbclass: Don't copy into non-existant directory
Andreas Oberritter [Fri, 10 Feb 2012 18:00:50 +0000 (19:00 +0100)]
autotools.bbclass: Don't copy into non-existant directory

* If configure.ac contains AM_GNU_GETTEXT and po/Makefile.in.in
  doesn't exist, autotools_do_configure() copies a local
  version of Makefile.in.in to this location. If the directory
  'po' doesn't exist, the function aborts.

* This patch verifies that the directory exists before copying
  a file to it. This fixes libcddb, which uses AM_GNU_GETTEXT,
  but has no 'po' directory.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
13 years agowireless-tools: remove ldconfig call from install-libs
Martin Jansa [Wed, 15 Feb 2012 19:59:49 +0000 (20:59 +0100)]
wireless-tools: remove ldconfig call from install-libs

* and drop apply=yes param as it's not needed

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agoinitscripts: Make /etc/timestamp consistent again.
Gary Thomas [Fri, 10 Feb 2012 16:16:05 +0000 (09:16 -0700)]
initscripts: Make /etc/timestamp consistent again.

Commit cc8695 changed the way timestamps were handled
and added some extra munging to be able to compare them
reliably.  This change makes the timestamp value the same
everywhere and simplifies how the check to set the system
clock based on the timestamp is done.

Also, if the value stored in /etc/timestamp is newer
[at all] than the current system time, set the system clock
from the stored value, down to the minute, not just the day.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
13 years agoxorg-lib: don't build libs unless requested by DISTRO_FEATURES
Andreas Oberritter [Fri, 10 Feb 2012 01:27:54 +0000 (02:27 +0100)]
xorg-lib: don't build libs unless requested by DISTRO_FEATURES

* If 'x11' is not set in DISTRO_FEATURES, then skip all
  recipes using xorg-lib-common.inc instead of only those
  using libx11.inc.

* One exception: pixman, which is not only used by xorg,
  but also by cairo.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
13 years agoe2fsprogs: remove ldconfig call from install-libs
Martin Jansa [Thu, 23 Feb 2012 15:50:24 +0000 (16:50 +0100)]
e2fsprogs: remove ldconfig call from install-libs

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosstate.bbclass: add *_config to SSTATE_SCAN_FILES
Martin Jansa [Thu, 23 Feb 2012 15:50:25 +0000 (16:50 +0100)]
sstate.bbclass: add *_config to SSTATE_SCAN_FILES

* e.g. mysql5 has mysql_config not mysql-config

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoapr: add apr_rules.mk to SSTATE_SCAN_FILES
Martin Jansa [Thu, 23 Feb 2012 15:50:26 +0000 (16:50 +0100)]
apr: add apr_rules.mk to SSTATE_SCAN_FILES

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibsdl 1.2.14: regenerate patch so it applies with 'patch' as well as 'git apply'
Koen Kooi [Thu, 23 Feb 2012 17:43:05 +0000 (18:43 +0100)]
libsdl 1.2.14: regenerate patch so it applies with 'patch' as well as 'git apply'

The '@@ -, +, @@' part upsets plain 'patch'

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosstatesig.py: Move package exclusion list to the layer config
Richard Purdie [Thu, 23 Feb 2012 10:12:48 +0000 (10:12 +0000)]
sstatesig.py: Move package exclusion list to the layer config

its desireable for other layers to be able to append to the list of packages
with 'safe ABI's which are excluded from the sstate signatures.

I can't emphasise enough how careful you need to be with this list, anything
excluded here needs to be things which don't change interface and are consistent
between different machines.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosstatesig.py: Add handling for machine specific module dependencies
Richard Purdie [Wed, 22 Feb 2012 22:15:59 +0000 (22:15 +0000)]
sstatesig.py: Add handling for machine specific module dependencies

Adding dependencies on machine specific recipes from generic packages
causes a rebuild of the generic package per machine if using signatures
for the stamp files which is unacceptable.

We need to declare that RRECOMMENDS on kernel-module-* are safe
and that we shouldn't care about these machine specific dependencies
from a stamp perspective. This change adds code which does this.

It depends on a change in bitbake to expose the dataCache object
which can be used to make the calculations we need to allow this to
work correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopython: add Makefile to SSTATE_SCAN_FILES
Martin Jansa [Thu, 23 Feb 2012 10:43:40 +0000 (11:43 +0100)]
python: add Makefile to SSTATE_SCAN_FILES

* it contains sysroot specific paths, this is from om-gta04 sysroot and
  notice nokia900
  ./usr/lib/python2.7/config/Makefile:CC=         arm-oe-linux-gnueabi-gcc  -march=armv7-a -fno-tree-vectorize      -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ --sysroot=/OE/shr-core/tmp-eglibc/sysroots/nokia900
  ./usr/lib/python2.7/config/Makefile:CXX=                arm-oe-linux-gnueabi-g++  -march=armv7-a -fno-tree-vectorize      -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ --sysroot=/OE/shr-core/tmp-eglibc/sysroots/nokia900
  ./usr/lib/python2.7/config/Makefile:LDFLAGS=-L. -L/OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/lib     -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
  ./usr/lib/python2.7/config/Makefile:LIBDIR=             /OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/lib
  ./usr/lib/python2.7/config/Makefile:INCLUDEDIR= /OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/include
  ./usr/lib/python2.7/config/Makefile:CONFIG_ARGS=         '--build=x86_64-linux' '--host=arm-oe-linux-gnueabi' '--target=arm-oe-linux-gnueabi' '--prefix=/usr' '--exec_prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/libexec' '--datadir=/usr/share' '--sysconfdir=/etc' '--sharedstatedir=/com' '--localstatedir=/var' '--libdir=/usr/lib' '--includedir=/OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/include' '--oldincludedir=/usr/include' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--disable-silent-rules' '--disable-dependency-tracking' \
  '--with-libtool-sysroot=/OE/shr-core/tmp-eglibc/sysroots/nokia900' '--with-threads' '--with-pymalloc' '--with-cyclic-gc' '--without-cxx' '--with-signal-module' '--with-wctype-functions' '--enable-shared' 'build_alias=x86_64-linux' 'host_alias=arm-oe-linux-gnueabi' 'target_alias=arm-oe-linux-gnueabi' 'CC=arm-oe-linux-gnueabi-gcc  -march=armv7-a -fno-tree-vectorize      -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ --sysroot=/OE/shr-core/tmp-eglibc/sysroots/nokia900' 'CFLAGS=-O2 -pipe -g -feliminate-unused-debug-types' 'LDFLAGS=-L. -L/OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/lib-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed' 'CPPFLAGS=' 'CPP=arm-oe-linux-gnueabi-gcc -E --sysroot=/OE/shr-core/tmp-eglibc/sysroots/nokia900  -march=armv7-a -fno-tree-vectorize      -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__'
  ./usr/lib/python2.7/config/Makefile:            $(RUNSHARED) /OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/libexec/oah/translate ./$(BUILDPYTHON) -E -tt $(TESTPROG) -uall $(TESTOPTS)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolib/oe/utils.py: use bb.utils.vercmp_string
Andreas Oberritter [Thu, 23 Feb 2012 20:46:13 +0000 (21:46 +0100)]
lib/oe/utils.py: use bb.utils.vercmp_string

Fixes the following warning:

| WARNING: .../meta/lib/oe/utils.py:31: DeprecationWarning: Call to deprecated function bb.vercmp_string: Please use bb.utils.vercmp_string instead.
|  result = bb.vercmp(d.getVar(variable,True), checkvalue)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotexi2html: Fix for multilib
Zhai Edwin [Wed, 22 Feb 2012 05:33:43 +0000 (13:33 +0800)]
texi2html: Fix for multilib

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoquicky: Fix for multilib
Zhai Edwin [Wed, 22 Feb 2012 05:33:42 +0000 (13:33 +0800)]
quicky: Fix for multilib

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agonetbase: remove redundant assignments
Joshua Lock [Wed, 22 Feb 2012 01:46:44 +0000 (17:46 -0800)]
netbase: remove redundant assignments

There's no need to explicitly set PACKAGE_ARCH = MACHINE_ARCH, base.bbclass
takes care of setting this value for us based on the interfaces for those
machines being an OVERRIDE.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: check all entries of FILESPATH for MACHINE overrides
Joshua Lock [Wed, 22 Feb 2012 01:46:42 +0000 (17:46 -0800)]
base.bbclass: check all entries of FILESPATH for MACHINE overrides

The logic which looks for MACHINE overrides in SRC_URI and updates
PACKAGE_ARCH was checking only certain subdirectories of the recipes parent
which, amongst other issues, doesn't account for SRC_URI overrides in layers.

This patch changes the logic such that all FILESPATH entries are checked
for children named for MACHINE.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoexternal-csl-toolchain: skip parsing if CSL_VER_MAIN isn't set
Joshua Lock [Wed, 22 Feb 2012 01:46:43 +0000 (17:46 -0800)]
external-csl-toolchain: skip parsing if CSL_VER_MAIN isn't set

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosanity.bbclass: Add ABI version 8, used for transition from the OEBasic to OEBasicHas...
Richard Purdie [Wed, 22 Feb 2012 22:01:52 +0000 (22:01 +0000)]
sanity.bbclass: Add ABI version 8, used for transition from the OEBasic to OEBasicHash stamp layout

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoiputils: Add base_libdir to VPATH in order to find the crypto library
Saul Wold [Thu, 16 Feb 2012 23:24:09 +0000 (15:24 -0800)]
iputils: Add base_libdir to VPATH in order to find the crypto library

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoconsolekit: depend on libx11
Andreas Oberritter [Fri, 10 Feb 2012 22:04:13 +0000 (23:04 +0100)]
consolekit: depend on libx11

* Fixes the following error at configure time:

|checking for TOOLS... no
|configure: error: Package requirements (x11 >= 1.0.0
|  glib-2.0 >= 2.14
|) were not met:
|
|No package 'x11' found

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
13 years agoudev.inc has a bad link for udev home page; update the link
Bob Cochran [Mon, 13 Feb 2012 04:48:09 +0000 (23:48 -0500)]
udev.inc has a bad link for udev home page; update the link

Fixed bad link in udev.inc to the udev home page / documentation on
kernel.org

Signed-off-by: Robert Cochran<yocto@mindchasers.com>
13 years agoAdd sanity checks for eglibc locale
Ken Werner [Wed, 15 Feb 2012 08:49:07 +0000 (09:49 +0100)]
Add sanity checks for eglibc locale

Add sanity checks that test for the existance of folders. This allows to use
an external binary toolchain that doesn't have localization support.

13 years agolibsdl: add fix for new _XGetRequest symbol backported to libx11
Martin Jansa [Wed, 15 Feb 2012 18:45:38 +0000 (19:45 +0100)]
libsdl: add fix for new _XGetRequest symbol backported to libx11

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agoeds-tools: Update it to fix the build error
Wenzong Fan [Tue, 14 Feb 2012 01:32:27 +0000 (09:32 +0800)]
eds-tools: Update it to fix the build error

The head file 'libedataserver/e-data-server-module.h' has been moved
to 'libebackend/e-data-server-module.h', just update eds-tools to get
the latest changes for fixing the path of 'e-data-server-module.h'.

Also update its recipe file to reflect it has been converted to git
repo and split all generated binaries to correct packages.

[YOCTO#1786]

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13 years agobuildhistory_analysis: correctly split RDEPENDS/RRECOMMENDS
Paul Eggleton [Mon, 13 Feb 2012 18:14:18 +0000 (18:14 +0000)]
buildhistory_analysis: correctly split RDEPENDS/RRECOMMENDS

Split RDEPENDS and RRECOMMENDS correctly (which may contain version
number specifications after each item).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agobuildhistory_analysis: avoid noise due to reordering
Paul Eggleton [Mon, 13 Feb 2012 18:09:12 +0000 (18:09 +0000)]
buildhistory_analysis: avoid noise due to reordering

Avoid noise in the output due to reordering of list variables (except
for PACKAGES where we just report that the order changed). Recent
changes to the buildhistory class itself will avoid this reordering
from occurring but this allows us to examine the results before and
after those changes.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoclasses/buildhistory: fix splitting on + in package list fields
Paul Eggleton [Tue, 14 Feb 2012 11:17:51 +0000 (11:17 +0000)]
classes/buildhistory: fix splitting on + in package list fields

Ensure we do not erroneously split on + in RDEPENDS/RRECOMMENDS e.g.
libstdc++-dev was being split into libstdc and -dev.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoclasses/buildhistory: use hostname instead of reading /etc/hostname
Paul Eggleton [Tue, 14 Feb 2012 10:55:46 +0000 (10:55 +0000)]
classes/buildhistory: use hostname instead of reading /etc/hostname

For the purposes of querying the hostname to include it in the commit
message, it seems "cat /etc/hostname" does not work on the Yocto Project
autobuilder machines, and it's likely that the hostname command will be
more generally reliable, so use that instead.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoclasses/buildhistory: sort FILELIST in package info
Paul Eggleton [Mon, 13 Feb 2012 17:03:39 +0000 (17:03 +0000)]
classes/buildhistory: sort FILELIST in package info

The FILELIST order can vary depending on the order the files were
written which may change between builds with no ill effect, so sort the
list prior to writing it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoclasses/buildhistory: sort and de-dupe dependency graphs
Paul Eggleton [Mon, 13 Feb 2012 15:53:47 +0000 (15:53 +0000)]
classes/buildhistory: sort and de-dupe dependency graphs

Sort dependencies of each package which sometimes change order and cause
noise in the buildhistory repo, and at the same time remove duplicates
(which seem to be common especially for the RPM package query output).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoclasses/buildhistory: squash spaces out of image variables
Paul Eggleton [Mon, 13 Feb 2012 14:41:44 +0000 (14:41 +0000)]
classes/buildhistory: squash spaces out of image variables

Values of image variables that are lists (e.g. IMAGE_INSTALL) are easier
to read if there are no extraneous spaces in them, so ensure that there
is only one space between each item.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agotask-self-hosted: add connman and connman-plugin-ethernet
Dexuan Cui [Tue, 14 Feb 2012 14:41:16 +0000 (22:41 +0800)]
task-self-hosted: add connman and connman-plugin-ethernet

Without this, the VMware guest running self-hosted-image can't get IP
address automatically.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agomini-x-session: try to use a resolution that's big enough for hob2's window
Dexuan Cui [Tue, 14 Feb 2012 14:34:15 +0000 (22:34 +0800)]
mini-x-session: try to use a resolution that's big enough for hob2's window

The patch was tested on VMware Player 4.0.1.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agogcc: Excluding the DATE/SRCDATE from do_patch dependency.
Lianhao Lu [Tue, 14 Feb 2012 02:57:52 +0000 (10:57 +0800)]
gcc: Excluding the DATE/SRCDATE from do_patch dependency.

Corrected the error introduced by commit afb400e of dropping
DATE/SRCDATE out of the vardepsexlude list of do_patch.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agorpcbind: add DEPENDS on quota for rpcsvc/rquota.h
Saul Wold [Sat, 11 Feb 2012 00:06:10 +0000 (16:06 -0800)]
rpcbind: add DEPENDS on quota for rpcsvc/rquota.h

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agou-boot-fw-utils: Add DEPEND on mtd-utils
Saul Wold [Sat, 11 Feb 2012 00:05:46 +0000 (16:05 -0800)]
u-boot-fw-utils: Add DEPEND on mtd-utils

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agozlib: remove ldconfig call from install-libs
Martin Jansa [Mon, 13 Feb 2012 15:40:48 +0000 (16:40 +0100)]
zlib: remove ldconfig call from install-libs

* it's called from install-libs target and when /etc/ld.so.cache is writeable by user running bitbake
  then it creates invalid cache (in my case libstdc++.so cannot be found after building zlib(-native)
  and I have to call touch */libstdc++.so && /sbin/ldconfig to fix it

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorecipes: bump PR to rebuild .la files without libz.la
Martin Jansa [Mon, 13 Feb 2012 15:40:49 +0000 (16:40 +0100)]
recipes: bump PR to rebuild .la files without libz.la

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/combo-layer: allow updating a specific component(s) only
Paul Eggleton [Tue, 14 Feb 2012 13:44:03 +0000 (13:44 +0000)]
scripts/combo-layer: allow updating a specific component(s) only

If you specify one or more components to update immediately following
the "update" command, only these components will be updated as opposed
to the default behaviour of updating all of them.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconf/bitbake.conf: remove Opie definitions
Paul Eggleton [Tue, 14 Feb 2012 13:22:25 +0000 (13:22 +0000)]
conf/bitbake.conf: remove Opie definitions

These values are now set via palmtop-defs.bbclass in meta-opie (and are
not needed for anything else.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclasses/sdl: remove Opie-specific desktop file/packaging
Paul Eggleton [Tue, 14 Feb 2012 13:22:26 +0000 (13:22 +0000)]
classes/sdl: remove Opie-specific desktop file/packaging

This code will not work without palmtopdir being defined, and is better
kept in meta-opie in any case (where we already have the OE-Classic
version of this class).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agostat: remove NATIVE_INSTALL_WORKS
Paul Eggleton [Tue, 14 Feb 2012 13:22:27 +0000 (13:22 +0000)]
stat: remove NATIVE_INSTALL_WORKS

This variable is no longer used in OE-Core.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/combo-layer: add branch option to example config
Paul Eggleton [Tue, 14 Feb 2012 13:44:06 +0000 (13:44 +0000)]
scripts/combo-layer: add branch option to example config

Minor improvements to the example combo-layer config file:
* Add the recently added branch option to the optional options section
* Mention in comments that last_revision gets updated during "update"
* Tidy up some more grammar

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/combo-layer: avoid saving last revision if unchanged
Paul Eggleton [Tue, 14 Feb 2012 13:44:05 +0000 (13:44 +0000)]
scripts/combo-layer: avoid saving last revision if unchanged

If we are running an update and the last revision hasn't changed since
the last update, don't write to the configuration file. This avoids
committing the config file with no changes other than spontaneous
reordering of sections, which sometimes occurs due to the behaviour of
the internal dictionary in Python's ConfigParser class. (This can be
fixed properly but the fix is only easy in Python 2.7+ due to the
availability there of the collections.OrderedDict class, and we
currently want to be compatible with 2.6.x as well.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/combo-layer: avoid error when config file is outside repo
Paul Eggleton [Tue, 14 Feb 2012 13:44:04 +0000 (13:44 +0000)]
scripts/combo-layer: avoid error when config file is outside repo

Avoid displaying the error from the "git status" command we use to check
the status of the config file if the config file is outside of the
repository (a situation that is already handled).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/bitbake: pass through debug options to initial pseudo build
Paul Eggleton [Tue, 14 Feb 2012 13:22:24 +0000 (13:22 +0000)]
scripts/bitbake: pass through debug options to initial pseudo build

If you specify -D or -v options to the bitbake wrapper script, and the
initial pseudo build needs to be done, it's useful to pass these
options through to that command so that you can debug the initial
pseudo build as well.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoguile: fix cross configure failure
Lianhao Lu [Fri, 10 Feb 2012 07:37:54 +0000 (15:37 +0800)]
guile: fix cross configure failure

[YOCTO #1978]
Fixing the cross configure failure by not searching libltdl and libgmp
in includedir and libdir.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agovalgrind: Fixed Added-support-for-PPC-instructions-mfatbu-mfatbl.patch Upstream-Status
Saul Wold [Fri, 10 Feb 2012 08:19:19 +0000 (00:19 -0800)]
valgrind: Fixed Added-support-for-PPC-instructions-mfatbu-mfatbl.patch Upstream-Status

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogcc: Ensure same sstate hashes for shared soruce directory
Lianhao Lu [Fri, 10 Feb 2012 03:42:18 +0000 (11:42 +0800)]
gcc: Ensure same sstate hashes for shared soruce directory

Ensure do_patch have the same sstate hashes for nativesdk variants of
gcc family recipes, since they share the same source directory.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agogcc-4.6: Some small performance tweaks
Richard Purdie [Fri, 10 Feb 2012 00:06:12 +0000 (00:06 +0000)]
gcc-4.6: Some small performance tweaks

a) Use the system zlib to avoid building it for each gcc.
b) -initial and -intermediate don't need plugins or lto-plugin
   so disable them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage.bbclass: Optimise the per file rpm handling
Richard Purdie [Fri, 10 Feb 2012 00:10:38 +0000 (00:10 +0000)]
package.bbclass: Optimise the per file rpm handling

Currently a process was being forked off for each individual file
this class wanted to inspect with rpmdeps. This converts it to use
rpmdeps-oecore which allows batch processing of these dependencies.

For do_package for perl, this reduced the time by about 1 minute (33%).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosstate.bbclass: Optimise sstate_hardcode_path
Richard Purdie [Fri, 10 Feb 2012 00:07:05 +0000 (00:07 +0000)]
sstate.bbclass: Optimise sstate_hardcode_path

The sstate_hardcode_path() function triggered large numbers of exec()
calls when processing packages with large numbers of file relocations
(e.g. perl). This patch optimises those calls into longer single commands
which make the code significantly more efficient.

This reduced the do_package time for perl by 2 minutes (from 4.75 minutes)
for me.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognupg: Add missing DEPENDS on libgcrypt
Khem Raj [Fri, 10 Feb 2012 00:09:36 +0000 (16:09 -0800)]
gnupg: Add missing DEPENDS on libgcrypt

Found during single recipe rebuilds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agosat-solver: Fix build with zlib 1.2.6
Khem Raj [Fri, 10 Feb 2012 00:07:46 +0000 (16:07 -0800)]
sat-solver: Fix build with zlib 1.2.6

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agozlib: Upgrade 1.2.5 -> 1.2.6
Khem Raj [Mon, 30 Jan 2012 23:04:45 +0000 (15:04 -0800)]
zlib: Upgrade 1.2.5 -> 1.2.6

Dont use autotools, it really not so autoconf like.
the configure script gets updated with every release of zlib
and we overwrite that. Instead use the upstream provided
configure

copyright year was changed in zlib.h which caused change in
LIC_FILE_CHECKSUM

fix.inverted.LFS.logic.patch is already applied upstream so drop it

Drop the configure.ac and Makefile.am scripts since we do not
autoreconf anymore and do not inherit autotools anymore

Bump PR for depending recipes so a rebuild it ensues so that
they dont depend on .la anymore
and add missing dependencies discovered during incremental
build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agodistro-tracking-fields: update clutter, clutter_git and mx
Joshua Lock [Thu, 9 Feb 2012 01:08:04 +0000 (17:08 -0800)]
distro-tracking-fields: update clutter, clutter_git and mx

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agoclutter: upgrade git recipe to reflect 1.8.4 tag
Joshua Lock [Thu, 9 Feb 2012 00:48:39 +0000 (16:48 -0800)]
clutter: upgrade git recipe to reflect 1.8.4 tag

Signed-off-by: Joshua Lock <josh@linux.intel.com>