]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agoqemugl: Fix gl apps failure on qemu-x86-64
Zhai Edwin [Tue, 28 Feb 2012 08:00:49 +0000 (16:00 +0800)]
qemugl: Fix gl apps failure on qemu-x86-64

Extend commit 028968 to qemu x86-64, where stack disorder happen due to
register handling via push/pop.

[YOCTO #1927] fixed

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibskba: Fix for multilib
Zhai Edwin [Tue, 28 Feb 2012 08:00:48 +0000 (16:00 +0800)]
libskba: Fix for multilib

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognupg: Fix for multilib
Zhai Edwin [Tue, 28 Feb 2012 08:00:47 +0000 (16:00 +0800)]
gnupg: Fix for multilib

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotcl 8.5.11: fix packaging
Koen Kooi [Tue, 28 Feb 2012 07:58:37 +0000 (08:58 +0100)]
tcl 8.5.11: fix packaging

Include /usr/lib/tcl8 for the msgcat and test module, force dependency on tcl-lib since shlibs isn't picking it up.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogettext: Get gettext use its own libunistring
Wenzong Fan [Tue, 14 Feb 2012 01:42:59 +0000 (09:42 +0800)]
gettext: Get gettext use its own libunistring

According to its documentation, gettext 0.18.1.1 needs either
libunistring or it will use its own internal version. Just add
a configure option '--with-included-libunistring' to force the
latter to avoid races.

[YOCTO#1934]

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13 years agomtd-utils: Don't use host 'ranlib' or 'ar'.
James Limbouris [Tue, 28 Feb 2012 03:49:06 +0000 (11:49 +0800)]
mtd-utils: Don't use host 'ranlib' or 'ar'.

If ranlib, ar, or cc are not supplied to make, it attempts to use ${CROSS}xxx.
Since ${CROSS} is not set, host ranlib may run, producing an unusable .a file on some platforms.

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
13 years agoqt4.inc: depend on tiff
Andreas Oberritter [Mon, 27 Feb 2012 17:03:22 +0000 (18:03 +0100)]
qt4.inc: depend on tiff

* Fixes the following error with qt4-embedded-4.8.0 and possibly others:

| ../../../gui/image/qtiffhandler.cpp:48:20: fatal error: tiffio.h: No such file or directory

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
13 years agotune-ppc*.inc: update to use new default value for TUNE_PKGARCH
Matthew McClintock [Mon, 27 Feb 2012 19:38:51 +0000 (13:38 -0600)]
tune-ppc*.inc: update to use new default value for TUNE_PKGARCH

Signed-off-by: Matthew McClintock <msm@freescale.com>
13 years agobitbake.conf: add default value for TUNE_PKGARCH
Matthew McClintock [Mon, 27 Feb 2012 19:38:49 +0000 (13:38 -0600)]
bitbake.conf: add default value for TUNE_PKGARCH

Add a default value for TUNE_PKGARCH. This let's us use
the following:

TUNE_PKGARCH_tune-ppce500

Instead of scanning over variables and using bitbake internal
functions to create a valid value here.

Signed-off-by: Matthew McClintock <msm@freescale.com>
13 years agomultilib.bbclass: allow TARGET_VENDOR_virtclass-multilib to be overriden
Matthew McClintock [Mon, 27 Feb 2012 19:38:48 +0000 (13:38 -0600)]
multilib.bbclass: allow TARGET_VENDOR_virtclass-multilib to be overriden

If we set this bit, we can override the ugly "pokymllib32" to back to
"poky" (powerpc-pokymllib32-linux-gcc -> powerpc-poky-linux-gcc). I've
left this unset by default, but can be set by adding the following:

TARGET_VENDOR_virtclass-multilib-lib32 = "-poky"

Signed-off-by: Matthew McClintock <msm@freescale.com>
13 years agotune-ppce5500: consolidate ppce5500 and ppc64e5500 into one tune file
Matthew McClintock [Thu, 23 Feb 2012 06:21:49 +0000 (00:21 -0600)]
tune-ppce5500: consolidate ppce5500 and ppc64e5500 into one tune file

We don't need two files for this. Also this fixes some mutlilib build
issues where we were not able to select the multilib arch to be
ppce5500 or ppc64e5500.

Changes recently made to meta-fsl-ppc layer depend on this change as
well

Signed-off-by: Matthew McClintock <msm@freescale.com>
13 years agoarch-powerpc{, 64}.inc: update/add PACKAGE_EXTRA_ARCHS for powerpc/powerpc64
Matthew McClintock [Thu, 23 Feb 2012 06:21:48 +0000 (00:21 -0600)]
arch-powerpc{, 64}.inc: update/add PACKAGE_EXTRA_ARCHS for powerpc/powerpc64

Signed-off-by: Matthew McClintock <msm@freescale.com>
13 years agolinux-yocto: allow non-branched repositories to check out
Bruce Ashfield [Mon, 27 Feb 2012 18:20:41 +0000 (13:20 -0500)]
linux-yocto: allow non-branched repositories to check out

Not all users of the checkout phase of linux-yocto have all
branches present. This is normal, and should be supported. By
checking for an empty KBRANCH we can avoid validating a branch
that isn't supposed to exist.

[YOCTO #2032]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: update 3.2 kernel to v3.2.7
Bruce Ashfield [Sun, 26 Feb 2012 06:04:53 +0000 (01:04 -0500)]
linux-yocto: update 3.2 kernel to v3.2.7

Updating the 3.2 kernel recipe to the latest -stable release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: update 3.0 kernel to v3.0.22
Bruce Ashfield [Sun, 26 Feb 2012 06:03:42 +0000 (01:03 -0500)]
linux-yocto: update 3.0 kernel to v3.0.22

bumping the revision of the 3.0 kernel to the latest -stable release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agobluez4: Fix build on x86/amd64 with gcc 4.7
Khem Raj [Mon, 27 Feb 2012 19:50:07 +0000 (11:50 -0800)]
bluez4: Fix build on x86/amd64 with gcc 4.7

gcc figures an impossible asm contraint
in inline asm which it is correct about

"i" requires the operand to be a compile-time constant
but memory location of a multi-dimensional array isn't constant
at compile time.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agodistro_tracking: Account for updates and Manual Checking
Saul Wold [Mon, 27 Feb 2012 17:46:35 +0000 (09:46 -0800)]
distro_tracking: Account for updates and Manual Checking

Updates:

sqlite3
psmisc
boost
file
util-linux
tiff
mkfonddir
mkfontscale
libdrm
xf86-video-intel

Manual Checks:
libcheck
libcap
console-tools
zip
unzip
sysfsutils
less
usbutils
sysstat
cracklib
libexif
qemugl
glew
squashfs-tools
lsb

Fixup:
bzip2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agobind: add DEPENDS for libcap
Saul Wold [Tue, 28 Feb 2012 01:27:25 +0000 (17:27 -0800)]
bind: add DEPENDS for libcap

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agotiff: Update to version 3.9.5
Saul Wold [Mon, 27 Feb 2012 17:31:45 +0000 (09:31 -0800)]
tiff: Update to version 3.9.5

Ensure that OpenGL and friends are disable with the
setting of ax_cv_check_gl_libgl = no.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoxf86-video-intel: Update to version 2.18.0
Saul Wold [Mon, 27 Feb 2012 08:49:56 +0000 (00:49 -0800)]
xf86-video-intel: Update to version 2.18.0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agosqlite3: Update to version 3.7.10
Saul Wold [Mon, 27 Feb 2012 08:49:03 +0000 (00:49 -0800)]
sqlite3: Update to version 3.7.10

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoboost: Update to version 1.49.0
Saul Wold [Mon, 27 Feb 2012 08:48:40 +0000 (00:48 -0800)]
boost: Update to version 1.49.0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agomkfontscale: Update to version 1.1.0
Saul Wold [Mon, 27 Feb 2012 08:48:16 +0000 (00:48 -0800)]
mkfontscale: Update to version 1.1.0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agomkfontdir: Update to version 1.0.7
Saul Wold [Mon, 27 Feb 2012 08:47:59 +0000 (00:47 -0800)]
mkfontdir: Update to version 1.0.7

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolibdrm: Update to version 2.4.31
Saul Wold [Mon, 27 Feb 2012 08:47:30 +0000 (00:47 -0800)]
libdrm: Update to version 2.4.31

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agopsmisc: Update to version 22.16
Saul Wold [Mon, 27 Feb 2012 08:46:58 +0000 (00:46 -0800)]
psmisc: Update to version 22.16

Remove libintl-link patch which has in the upstream code now

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agofile: Update to version 5.11
Saul Wold [Mon, 27 Feb 2012 08:46:16 +0000 (00:46 -0800)]
file: Update to version 5.11

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoutil-linux: Update to 2.21
Saul Wold [Mon, 27 Feb 2012 08:45:48 +0000 (00:45 -0800)]
util-linux: Update to 2.21

This updates various checksums for the COPYING files, which moved in the process
no changes to Licenses

Tweak the scanf_cv_alloc_modifier and rebase the patch

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoqemu: Add glib-2.0 as depends
Saul Wold [Mon, 27 Feb 2012 01:12:45 +0000 (17:12 -0800)]
qemu: Add glib-2.0 as depends

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agognupg: Add missing patch for curl_typeof_fix
Saul Wold [Thu, 9 Feb 2012 02:02:47 +0000 (18:02 -0800)]
gnupg: Add missing patch for curl_typeof_fix

Seems the wrong commit was grabbed and missed this patch

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoqt4-tools-nativesdk: improve and tidy up qmake build
Paul Eggleton [Thu, 9 Feb 2012 17:38:21 +0000 (17:38 +0000)]
qt4-tools-nativesdk: improve and tidy up qmake build

* Use the same method to build qmake as in the qt4 target recipes
* We always have qmake from qt4-native so don't check if it exists -
  just skip the check like we do in the qt4 target recipes. This
  saves us a patch.
* Replace qt4-tools-native in DEPENDS with qt4-native

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoqt4-tools-nativesdk: fix build of 4.7.4
Paul Eggleton [Thu, 9 Feb 2012 14:37:34 +0000 (14:37 +0000)]
qt4-tools-nativesdk: fix build of 4.7.4

Commit 4ccae37db1aa77a1d15098c3720ea6e2d383fbdc introduced a sed command
line to modify a file that only exists in 4.8.0, thus do_configure of
4.7.4 was failing; so make this conditional upon the file existing.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoqt4: build qmake for the target
Paul Eggleton [Wed, 8 Feb 2012 17:00:25 +0000 (17:00 +0000)]
qt4: build qmake for the target

qmake was not being built at all (since we had the host version from
qt4-native) and the default is to build for the host machine within
configure. With a minor hack we can build qmake for the target as well,
which is useful if you want to build Qt 4 software on an actual device.
This is now installed as part of the tools package (together with uic,
moc etc.)

Additionally, add an environment setup script (installed in
/usr/share/qt4/environment-setup or /usr/share/qtopia/environment-setup
for the embedded version) as part of the mkspecs package since the
mkspecs will not work without the paths set up by this script. The code
to create this script was adapted from the qmake2 recipe in meta-oe.

Also move do_compile() from qt-${PV}.inc up to qt4.inc as both versions
have the exact same content.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoqt4: fix compile error in Qt 4.8.0 with gcc 4.6
Paul Eggleton [Wed, 8 Feb 2012 13:21:59 +0000 (13:21 +0000)]
qt4: fix compile error in Qt 4.8.0 with gcc 4.6

Ensure the Qt configure script can can detect the compiler correctly as
g++. This fixes the following compile error with gcc 4.6:

./wtf/NullPtr.h:48:1: error: identifier 'nullptr' will become a keyword in C++0x [-Werror=c++0x-compat]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agotask-core-lsb: add lsbtest to RDEPENDS_task-core-misc list
Yi Zhao [Fri, 24 Feb 2012 06:53:56 +0000 (14:53 +0800)]
task-core-lsb: add lsbtest to RDEPENDS_task-core-misc list

13 years agodistro_tracking_fields: add information for lsbtest
Yi Zhao [Fri, 24 Feb 2012 06:53:13 +0000 (14:53 +0800)]
distro_tracking_fields: add information for lsbtest

Add information for recipe lsbtest.

13 years agolsbtest: Add recipe for LSB tests and automate test
Yi Zhao [Fri, 24 Feb 2012 06:51:28 +0000 (14:51 +0800)]
lsbtest: Add recipe for LSB tests and automate test

The recipe is used for LSB tests. The script LSB_Test.sh does the following things:
- setup LSB testing environment
- download LSB rpm packages with list file packages_list from remote
- install the packages
- execute LSB testing with profile file session
- collect the results

Install packages_list and session files into ${D}/opt/lsb-test.

[YOCTO #1567]

13 years agoscripts/prserv-tool: Adepted to new bitbake cache.
Lianhao Lu [Tue, 28 Feb 2012 03:42:55 +0000 (11:42 +0800)]
scripts/prserv-tool: Adepted to new bitbake cache.

Adepted to the new bitbake cache mechanism which is based on file
content but not on file timp stamps any more.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: Create a new filter variable BB_HASHCONFIG_WHITELIST
Dongxiao Xu [Mon, 27 Feb 2012 14:38:27 +0000 (22:38 +0800)]
bitbake.conf: Create a new filter variable BB_HASHCONFIG_WHITELIST

Create a new filter variable BB_HASHCONFIG_WHITELIST to filter
variables for calculating cache's hash value.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoglib-2.0: Disable fam, we don't depend on it
Richard Purdie [Mon, 27 Feb 2012 12:16:31 +0000 (12:16 +0000)]
glib-2.0: Disable fam, we don't depend on it

Various people are reporting glib-2.0 failures from a dependency on
libfam creeping in uninvited. This patch explicitly disables it to
favour a deterministic build.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoarch-armv7.inc: fix quoting
Martin Jansa [Sun, 26 Feb 2012 22:53:13 +0000 (23:53 +0100)]
arch-armv7.inc: fix quoting

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoMore quoting fixes
Martin Jansa [Sun, 26 Feb 2012 21:53:02 +0000 (22:53 +0100)]
More quoting fixes

* We have various variables which are either not quoted at all or are half
  quoted. This patch fixes the bad exmaples so everything is consistent.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoQuoting fixes
Richard Purdie [Sun, 26 Feb 2012 12:45:47 +0000 (12:45 +0000)]
Quoting fixes

We have various variables which are either not quoted at all or are half
quoted. This patch fixes the bad exmaples so everything is consistent.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopulseaudio: Really disable orc support
Eric Bénard [Mon, 20 Feb 2012 07:57:33 +0000 (08:57 +0100)]
pulseaudio: Really disable orc support

If orc is detected the compilation fails with missing headers which
should have been generated by orc (using meta-angstrom + meta-openembedded
and and armv7 target)

[RP: add RP bump, fix typos]
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognupg: Update checksum, fix configure and compliation issues
Saul Wold [Fri, 24 Feb 2012 18:59:20 +0000 (10:59 -0800)]
gnupg: Update checksum, fix configure and compliation issues

This recipe was added, but did not have the correct
checksum information for the LIC_FILES_CHKSUM or the
SRC_URI.  Also disable Documetnation for now due to
older autotools issue.

[YOCTO #1966]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosyslinux: Package unpackaged files in -misc
Saul Wold [Fri, 24 Feb 2012 18:59:21 +0000 (10:59 -0800)]
syslinux: Package unpackaged files in -misc

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoautomake: omit compilation of pyc files on install
Andreas Oberritter [Sat, 25 Feb 2012 01:19:10 +0000 (02:19 +0100)]
automake: omit compilation of pyc files on install

* On install, automake calls py-compile, which previously
  compiled python source code to pyc and pyo, which both
  got packaged.
* The python interpreter in OE contains patches to enable
  optimization (pyo) by default:
    04-default-is-optimized.patch
    99-ignore-optimization-flag.patch
* automake created pyc files by calling py_compile.compile()
  and adding the c suffix manually, resulting in identical
  byte code for both pyc and pyo files.
* py-compile-compile-only-optimized-byte-code.patch
  applies to automake 1.11 and automake master, but older
  versions require a slightly modified patch. However,
  older versions are only pinned by chinook-compat and
  nylon, so I left them untouched.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The patch was imported from the OpenEmbedded git server
(git://git.openembedded.org/openembedded) as of commit id
aa4585c5065e05c759f16e1e8623fc7f40640f1b.

Modified to apply to automake version 1.11.2 and to
include a patch header. Also renamed the patch.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxorg-lib: don't build libs unless requested by DISTRO_FEATURES (fix up)
Andreas Oberritter [Fri, 24 Feb 2012 18:40:31 +0000 (19:40 +0100)]
xorg-lib: don't build libs unless requested by DISTRO_FEATURES (fix up)

* Improve error message as suggested by Koen.
  (This got lost when v1 was committed instead of v2)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt4-native: set headerdir as done in regular builds
Otavio Salvador [Fri, 24 Feb 2012 20:50:53 +0000 (20:50 +0000)]
qt4-native: set headerdir as done in regular builds

qmake uses a generated qt.conf file that expects headers to be found
at ${includedir}/qt4 but qt4-native were not following this layout
breaking the builds of native binaries that use qt4.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogdb-cross-canadian: build gdb with python support
Eric BENARD [Sun, 26 Feb 2012 07:49:42 +0000 (08:49 +0100)]
gdb-cross-canadian: build gdb with python support

* python support is needed for providing finer scripting control
in gdb, and for remote controling gdb for example from qtcreator
* gdb/configure tries to autodetect python using python executable
with --includes --ldflags --exec-prefix to get the right flags
As it's difficult to achieve in OE's context, we generate a
script which will return the right values and make gdb's build
system happy. This idea was taken from the following article :
http://www.mentby.com/doug-evans-2/python-enabled-gdb-on-windows-and-relocation.html
* tested using angstrom & armv7 target & qtcreator 201005 & 2.4.0

* MJ: updated paths to python as disscussed here
  http://lists.linuxtogo.org/pipermail/openembedded-core/2012-February/018222.html
  now it's easier with cross-canadian staging dir and SDKPATH fixed :)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Cc: fcooper@ti.com
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolayer.conf: add keymaps to SIGGEN_EXCLUDERECIPES_ABISAFE
Martin Jansa [Sun, 26 Feb 2012 07:49:44 +0000 (08:49 +0100)]
layer.conf: add keymaps to SIGGEN_EXCLUDERECIPES_ABISAFE

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosstatesig: add SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS option to exclude well defined recipe...
Martin Jansa [Sun, 26 Feb 2012 07:49:43 +0000 (08:49 +0100)]
sstatesig: add SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS option to exclude well defined recipe->dependency

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: remove TARGET_ARCH from in SDKPATH
Martin Jansa [Sun, 26 Feb 2012 07:49:41 +0000 (08:49 +0100)]
bitbake.conf: remove TARGET_ARCH from in SDKPATH

* SDKPATH shouldn't depend on TARGET_ARCH as discused here:
  http://lists.linuxtogo.org/pipermail/openembedded-core/2012-February/018222.html
* introduce SDK_NAME_PREFIX so that distributions can overwrite only
  this instead of whole SDK_NAME

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: use weak assignment for BB_CONSOLELOG
Martin Jansa [Sun, 26 Feb 2012 07:49:40 +0000 (08:49 +0100)]
bitbake.conf: use weak assignment for BB_CONSOLELOG

* some people prefer subdirectory like ${TMPDIR}/cooker/${DATETIME}.log

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocross-canadian: Set STAGING_DIR_HOST correctly
Richard Purdie [Sat, 25 Feb 2012 15:53:08 +0000 (15:53 +0000)]
cross-canadian: Set STAGING_DIR_HOST correctly

As reported by Martin Jansa, the path to nativesdk sysroot was changing between
nativesdk and cross-canadian recipes. The problem was the incorrect deinfition of
STAGING_DIR_HOST in cross-canadian.bbclass.

Since nothing really uses the cross-canadian output in the sysroot, only the
packages, its not surprising this bug has gone un-noticed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoglib: Drop dbus dependency, it isn't useful
Richard Purdie [Sat, 25 Feb 2012 14:55:51 +0000 (14:55 +0000)]
glib: Drop dbus dependency, it isn't useful

dbus is only needed for some of the glib tests which we don't use. We can
therefore drop the dependency and gain some small parallelism gains.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinitscripts: mount and unmount cifs network filesystems
Andreas Oberritter [Fri, 24 Feb 2012 20:27:34 +0000 (21:27 +0100)]
initscripts: mount and unmount cifs network filesystems

* Added cifs to mountnfs.sh and umountnfs.sh.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolayer.conf: use += for SIGGEN_EXCLUDERECIPES_ABISAFE and split to multiple lines
Martin Jansa [Fri, 24 Feb 2012 20:45:16 +0000 (21:45 +0100)]
layer.conf: use += for SIGGEN_EXCLUDERECIPES_ABISAFE and split to multiple lines

* += is important, because if oe-core is in BBLAYERS after some other
  layers with SIGGEN_EXCLUDERECIPES_ABISAFE it overwrites their entries

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agouseradd.bbclass: override USERADDSETSCENEDEPS to empty when building cross packages
Otavio Salvador [Fri, 24 Feb 2012 20:50:54 +0000 (20:50 +0000)]
useradd.bbclass: override USERADDSETSCENEDEPS to empty when building cross packages

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolicense.bbclass: Symbolic links of generic license
Elizabeth Flanagan [Fri, 24 Feb 2012 22:17:39 +0000 (14:17 -0800)]
license.bbclass: Symbolic links of generic license

This is to reduce the size of licenses added to images. With this
commit license.manifest, original license and generic license
adds about .5M to a core-image-minimal image, substantially less
than what is currently occuring when COPY_LIC_MANIFEST and
COPY_LIC_DIRS are set.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolicense.bbclass: Gather Pkg level licenses
Elizabeth Flanagan [Fri, 24 Feb 2012 22:17:38 +0000 (14:17 -0800)]
license.bbclass: Gather Pkg level licenses

We should look for LICENSE at a package level first. If it's
not found, we should use the recipe level LICENSE. This adds a
bit more granularity to license manifests where needed.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoless_444.bb: Adding license email from author
Elizabeth Flanagan [Fri, 24 Feb 2012 22:17:37 +0000 (14:17 -0800)]
less_444.bb: Adding license email from author

This slipped off my plate. Adding the email response from the
author of less which allows us to use a generic BSD instead of
the less license.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_check: fix the fedora URL for rleases as they seem to have moved
Saul Wold [Fri, 24 Feb 2012 23:03:22 +0000 (15:03 -0800)]
distro_check: fix the fedora URL for rleases as they seem to have moved

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/hob: Launch the new hob
Dongxiao Xu [Thu, 23 Feb 2012 13:49:13 +0000 (21:49 +0800)]
scripts/hob: Launch the new hob

Change the scripts to launch the new Hob.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogst-plugin-bluetooth: upgrade to 4.98 and add checksums
Martin Jansa [Fri, 24 Feb 2012 17:06:52 +0000 (18:06 +0100)]
gst-plugin-bluetooth: upgrade to 4.98 and add checksums

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoshadow-sysroot: disable package creation
Martin Jansa [Fri, 24 Feb 2012 17:06:51 +0000 (18:06 +0100)]
shadow-sysroot: disable package creation

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: improve checkout error handling and reporting
Bruce Ashfield [Fri, 24 Feb 2012 01:58:47 +0000 (20:58 -0500)]
linux-yocto: improve checkout error handling and reporting

The typical workflow for linux-yocto simply uses a remote
upstream repository (Whether it is mirrored or not), and in this
case there are no issues with consistency in the format of the
resository that is unpacked into the WORKDIR.

When working with a local linux-yocto repository for kernel
development the remote vs local branches is not always consistent
between repositories.

The suggested/documented workflow has always been to use a
bare clone of linux-yocto, and use a second working tree repository
for development. Changes flow from the working tree to the bare
clone and then into the working directory for build. A common
mistake that happens with this workflow is that the non-bare,
working repository is used instead of the bare clone version.

If a non-bare repository is reference by the SRC_URI, then the
branches that are fetched into WORKDIR are not consitent. If the
MACHINE and META branches are not present, cryptic build errors
will result.

To solve this problem, the checkout code has been changed in
several ways:

  - works with a newly proposed 'bareclone' option to bitbake
  - detects if a bareclone is present in WORKDIR or not and
    adjustst the checkout accordingly.
  - if a non-bare clone is detected, machine and meta branches
    are checked. If they are not present, or can't be created
    a clear error message is produced
  - instead of manipulating the refs directly in the git tree,
    local tracking branches are (quietly) created for remote
    branches. Enabling a better workflow in the WORKDIR kernel
    repository.

This has been tested with linux-yocto remote upstreams, local
bare and non-bare respositories. All builds succeed or fail
with clear error messages.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosstate.bbclass: improve performance of sstate package creation
Martin Jansa [Thu, 23 Feb 2012 14:54:14 +0000 (15:54 +0100)]
sstate.bbclass: improve performance of sstate package creation

* also fixes replacing paths for perl where cmd line was probably
  too long for os.system(cmd) (it had 560410 characters because a lot of
  files from sstate_scan_cmd).
* also print those 2 commands so we can find them in log.do_package

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agoqemu: remove version 0.14.0
Paul Eggleton [Thu, 23 Feb 2012 15:31:30 +0000 (15:31 +0000)]
qemu: remove version 0.14.0

0.15.1 has been available in OE-Core for some time and has demonstrated
no major regressions, so remove the older version.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibsdl: allow building without x11
Paul Eggleton [Thu, 23 Feb 2012 15:31:29 +0000 (15:31 +0000)]
libsdl: allow building without x11

Disable X11 output support for target and nativesdk if x11 is not in
DISTRO_FEATURES.

Fixes [YOCTO #2020]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqemu: enable building qemu-nativesdk without x11
Paul Eggleton [Thu, 23 Feb 2012 15:31:28 +0000 (15:31 +0000)]
qemu: enable building qemu-nativesdk without x11

Allow building for nativesdk with x11 removed from DISTRO_FEATURES
by conditionally disabling qemugl (which requires X).

Fixes [YOCTO #2020]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopsplash: allow building multiple splash executables
Paul Eggleton [Thu, 23 Feb 2012 19:30:32 +0000 (19:30 +0000)]
psplash: allow building multiple splash executables

Adds a SPLASH_IMAGES variable which you can set to include one or more
images (listed in URI form as they would appear in SRC_URI), and an
executable will be built for each one, with each executable packaged
separately and managed at runtime using the alternatives system. An
optional "outsuffix" parameter can be used to specify the suffix for the
executable/package name. The images themselves can either be
pre-processed image header files (produced using the
make-image-header.sh script that comes with psplash), or alternatively
you can provide a .png and it will be converted using the aforementioned
script on the fly (at the expense of requiring gdk-pixbuf-native at
build time).

This has been implemented in such a way that you can still just provide
your own psplash-poky-img.h in a bbappend and it will work as it did
before; the only change being that the psplash executable is provided
in a "psplash-default" package rather than in the main psplash package,
and an RRECOMMENDS is set up to ensure psplash-default gets pulled in
(if you specify your own file or change the outsuffix you will need to
either install it separately yourself or add your own RRECOMMENDS
relationship.)

Implements [YOCTO #1947]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopsplash: use OpenEmbedded logo
Paul Eggleton [Thu, 23 Feb 2012 19:30:31 +0000 (19:30 +0000)]
psplash: use OpenEmbedded logo

Use the OpenEmbedded logo for psplash in OE-Core.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconf/bitbake.conf: add DISTRO_FEATURES_BACKFILL
Paul Eggleton [Thu, 23 Feb 2012 19:26:09 +0000 (19:26 +0000)]
conf/bitbake.conf: add DISTRO_FEATURES_BACKFILL

When introducing new items to DISTRO_FEATURES that control functionality
that is already enabled, in order to leave existing distro configuration
unchanged we need a way to "backfill" these new feature items onto the
existing DISTRO_FEATURES value.

This introduces a DISTRO_FEATURES_BACKFILL variable whose items will be
added to the end of DISTRO_FEATURES, unless they also appear in
DISTRO_FEATURES_BACKFILL_CONSIDERED which distros can use in their
configuration to prevent specific items from being added.

Fixes [YOCTO #1946].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoglib-networking: Add intltools-native to DEPENDS
Khem Raj [Fri, 24 Feb 2012 03:33:50 +0000 (19:33 -0800)]
glib-networking: Add intltools-native to DEPENDS

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotask-self-hosted: add hicolor-icon-theme and socat
Dexuan Cui [Fri, 24 Feb 2012 13:44:35 +0000 (21:44 +0800)]
task-self-hosted: add hicolor-icon-theme and socat

python-pygtk depends on libgtk and libgtk's recommends have
gdk-pixbuf-loader-{png,jpeg,gif,xpm}, so we have the warnings.
We can add hicolor-icon-theme to fix the warning:
Configuring gdk-pixbuf-loader-png.
gtk-update-icon-cache: No theme index file.
Configuring gdk-pixbuf-loader-jpeg.
gtk-update-icon-cache: No theme index file.
Configuring liberation-fonts.
Configuring gdk-pixbuf-loader-xpm.
gtk-update-icon-cache: No theme index file.
Configuring gdk-pixbuf-loader-gif.
gtk-update-icon-cache: No theme index file.

Add socat for to faciliate proxy setting.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>