scm/bb/tizen-distro.git
12 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.

(From OE-Core rev: 77eaa55d94e8ce73aa3c43b1f068d6ad4cf20e80)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

(From OE-Core rev: f4f242cf8af9df3dc2394d245740b173f34cbf81)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: b8231237c6878599833c9bbaef7b68060fcbe935)

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: d0853052228128ccca2b744dae9c4dceae23067a)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: 12f0a0d3e1afe90633c8b95d36670ab0f156e912)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: 785962440131f993b912d26cba39dc7ffc91aad4)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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"

(From OE-Core rev: 01fd9be5db633d881c789c5b119f794a3f1000da)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: 4fbb72a359fea2e0922f472f48f186bbd1ca2b36)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: d19298a4915e00f4a91364d64ddc5fb9689b23c9)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

(From OE-Core rev: fb2b3c7c10df1b44679a20e7dffd37f07fd01aba)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: 97d55a32c7bb7650af59a5bce49cf8409a875f98)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: b91c32360469ce97fc00e807e7c3415fed1848a5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: 09dcd878a55b5aec5427288c4faf3c4d64a30a72)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: d3bc674dc7ec46b215df50236b95d3b0aed2ee4a)

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

(From OE-Core rev: aced47c5044fd9e69975dde0071efb7964bd93fa)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: 69e67ac74bda6de1243e35643ee4af8a25a5f32f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: 0118a6e05de5b6de65a190e7962e35de2e920bdf)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: faf0fd34c65f2f715aad26676b4af74a2badabd6)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: db7d0089205124d2c537bd3185444581a7a351fa)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: 5293df3a10a27dcd1d68b2a5c716f236fcbbaff8)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: 87fad1bbdad0b1da6aa6f1e5e933655fbf3247cd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: 769f6165b5b39da8308cf0f7410c267f25ae9553)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: f3aad7c3a88dbe171147a703b98488c00a615fcf)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: 1cd88605f9fb989b854081e7d4b68874c6656250)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: 9cb35b41c803bd0d1904b2dc0e14624fa7ea6e95)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: 37a8655bd4b781985eb6b4e33f1847e997609f7b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: 347426ca3dbe06df1d1b0976a81e96cf6238af21)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: 71153270466352245fe2aa3318bbabb1f8062ed2)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: 0b948d20b835387702a4f5e103eaae5b4a330edd)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: 4306606489a2d922595d4c86a21c496bbd8a607e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

(From OE-Core rev: f29bb5b2a99ecef46e5570bf3336e9680c0b6705)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: c1705317f9456f761da2094e886a07939291e53a)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fix setscene task start/failure handling
Paul Eggleton [Mon, 27 Feb 2012 18:54:11 +0000 (18:54 +0000)]
bitbake: fix setscene task start/failure handling

* When a setscene task starts, print out that it's starting in the UI
  (ensuring we get the correct task name)
* When a setscene task fails, ensure we remove it from the list of
  running tasks so that if you break out any time afterwards it
  is not still listed.

(Bitbake rev: e8a3499c95a6d4f2b8fed002fb9504733c5be3c6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/runqueue: make dry-run do everything except execute
Paul Eggleton [Mon, 27 Feb 2012 18:54:12 +0000 (18:54 +0000)]
bitbake/runqueue: make dry-run do everything except execute

Make dry-run do everything except executing the task, instead of
cutting it off earlier. This fully tests the code path for running the
child task (parsing and fakeroot), as well as enabling future
functionality such as using dry-run to produce signature files.

(Bitbake rev: bf1d7739618dabf3872a868230c0112b9ad2a2c0)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: Added BBINCLUDED variable.
Lianhao Lu [Tue, 28 Feb 2012 03:22:40 +0000 (11:22 +0800)]
bitbake: Added BBINCLUDED variable.

Added new variable BBINCLUDED indicating the file dependency
information. It exposes the internal variable '__base_depends' and
'__depends'.

(Bitbake rev: af524a656fce32d01687481b86c31bef00eb9fc3)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: 8d4db8e6dcd2d25637cb77515fe776552f2fdd6d)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodata_smart.py: Uses BB_HASHCONFIG_WHITELIST to filter unnecessary variables
Dongxiao Xu [Mon, 27 Feb 2012 14:37:32 +0000 (22:37 +0800)]
data_smart.py: Uses BB_HASHCONFIG_WHITELIST to filter unnecessary variables

Adopt the BB_HASHCONFIG_WHITELIST as a exclusion list for variables that are
not needed in cache hash calculation.

(Bitbake rev: ae8cf138b5eb8f1f28a7143b8d67ad06cbe43061)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
CC: Christopher Larson <kergoth@gmail.com>
CC: Martin Jansa <martin.jansa@gmail.com>
CC: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: e1d5a81bf78786dcb11a4840436f46ba9ec4010e)

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

(From OE-Core rev: 6e1065a4988489baa762f7dc1535fe326e0ba7b5)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: 960ee8076e860353a05eb2eb7f825a455c54698d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: 30253358f5e76fb7b25be27198b4c125e0dbdf2c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]
(From OE-Core rev: 8f72d9e4ecf495646af3c5cebe7f08ca01bbbb99)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

(From OE-Core rev: e8c02ead5ce130492eb11457f58cc4d28a330132)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: 868a81e869a6193aada2073ae533d937a1c0baf4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: 40ccf816c597e7eed5243fb4b4e9473d2b58afaa)

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>
12 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)

(From OE-Core rev: 384912b4719a77b2e5f6673066e75258df130f5d)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: 7828bf71babd965b263249f4a24ecfe58e97cc0b)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoV5 Disk space monitoring
Robert Yang [Sun, 26 Feb 2012 08:48:15 +0000 (16:48 +0800)]
V5 Disk space monitoring

Monitor disk availability and take action when the free disk space or
amount of free inode is running low, it is enabled when BB_DISKMON_DIRS
is set.

* Variable meanings(from meta-yocto/conf/local.conf.sample):

  # Set the directories to monitor for disk usage, if more than one
  # directories are mounted in the same device, then only one directory
  # would be monitored since the monitor is based on the device.
  # The format is:
  # "action,directory,minimum_space,minimum_free_inode"
  #
  # The "action" must be set and should be one of:
  # ABORT: Immediately abort
  # STOPTASKS: The new tasks can't be executed any more, will stop the build
  #           when the running tasks have been done.
  # WARN: show warnings (see BB_DISKMON_WARNINTERVAL for more information)
  #
  # The "directory" must be set, any directory is OK.
  #
  # Either "minimum_space" or "minimum_free_inode" (or both of them)
  # should be set, otherwise the monitor would not be enabled,
  # the unit can be G, M, K or none, but do NOT use GB, MB or KB
  # (B is not needed).
  #BB_DISKMON_DIRS = "STOPTASKS,${TMPDIR},1G,100K WARN,${SSTATE_DIR},1G,100K"
  #
  # Set disk space and inode interval (only works when the action is "WARN",
  # the unit can be G, M, or K, but do NOT use the GB, MB or KB
  # (B is not needed), the format is:
  # "disk_space_interval, disk_inode_interval",  the default value is
  # "50M,5K" which means that it would warn when the free space is
  # lower than the minimum space(or inode), and would repeat the action
  # when the disk space reduces 50M (or the amount of inode reduces 5k)
  # again.
  #BB_DISKMON_WARNINTERVAL = "50M,5K"

[YOCTO #1589]
(Bitbake rev: 4d173d441d2beb8e6492b6b1842682f8cf32e6cc)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/runqueue: Ensure finish_now() sets the runqueue state consistently
Richard Purdie [Sat, 25 Feb 2012 16:02:29 +0000 (16:02 +0000)]
bitbake/runqueue: Ensure finish_now() sets the runqueue state consistently

If we call finish_now(True), rq.state is not updated to match. This
makes the behaviour of finish_now(False) and finish_now(True) consistent
so both leave rq.state consistently.

(Bitbake rev: 9079ae0ab74f9232b7e9853b2013b051d4fcf623)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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 :)

(From OE-Core rev: 73a90b88541c373aa5b83a939dd3b5f1fe05b9b8)

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>
12 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

(From OE-Core rev: 1669ae88553c4124387438b88541de8e7951b4a4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: d73c139fd73ee268d29837db6ccc69c412022d6e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: 54821d53f75eb31f1eca3809e674680316dcbf69)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: d3a06178202c65ce52ea8ad7af5b72ed5c0881d4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: 8c6966cb8e353dc28819419ea7e395fb0d5f2536)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: 4642ae91cee2978956a61cf15df7ea62e3eb1726)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocrumbs: add back progress implementation for depexp
Joshua Lock [Sat, 25 Feb 2012 05:52:58 +0000 (21:52 -0800)]
crumbs: add back progress implementation for depexp

The commit which introduced the new hob UI also deleted this class
which is used by depexp.

(Bitbake rev: d54dbe54cde8e0086bf1fb4926468e212660db53)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/cooker: terminate when errors found in layer configuration
Paul Eggleton [Fri, 24 Feb 2012 18:36:42 +0000 (18:36 +0000)]
bitbake/cooker: terminate when errors found in layer configuration

If we find an error in the layer configuration (such as an unsatisfied
item in LAYERDEPENDS) then exit by raising an exception at the end of
handleCollections() (without producing a backtrace).

(Bitbake rev: c7486a09310fe63b1aa1b7b0bb9450f306b6093b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: c44e51f281101c8933679f679e3d4a75a41bedf7)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: 3aa1bb01c0fa91bcb7d9a03198d19ac88a1bdecb)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: 5650eb44ea28c87f2f87ea3c5a557b9f08d58775)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: 2c753a714c1ee2b7c6479836f47aeec182ca3670)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: d50dd280f52587b6225bc5db3c9e85f78107f5f5)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: fa7bdf96b8eb8b5078db38249c5c60ec511c35c6)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: eb2d70e02d299ab651aebda49d2006aef16b4ae0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: 22194a04f224864dd687660e351a3a10da1f06fa)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: d390a2d6a14b1bec11f6e6ceaa448e15f18e0017)

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

(From OE-Core rev: a46d80247553f5ecb68bdd3f77ec539381350399)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: A new implemetation (v2)
Dongxiao Xu [Mon, 28 Nov 2011 06:32:40 +0000 (14:32 +0800)]
Hob: A new implemetation (v2)

This commit implements a new design for hob
Some of the new features:
 - Friendly new designed GUI. Quick response to user actions.
 - Two step builds support package generation and image generation.
 - Support running GUI seprarately from bitbake server.
 - Recipe/package selection and deselection.
 - Accurate customization for image contents and size.
 - Progress bars showing the parsing and build status.
 - Load/save user configurations from/into templates.

(Bitbake rev: 4dacd29f9c957d20f4583330b51e5420f9c3338d)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Fengxia Hua <fengxia.hua@intel.com>
Designed-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: e3b6537cc7931636ab11ae6ed2c8fbaad9da91bc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: 94c52d68fc2ce258bcc5b0978ac73413480a1a93)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: d242e637a2b5101985befd93d3b560f17b37504b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

(From OE-Core rev: 506e4c9b05d61f126fff112d7c111902d5c9fac5)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

(From OE-Core rev: 136b13eb6a682222e2af887d3247a61310476c70)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

(From OE-Core rev: d3de5f7308b4a42b809884119a670af5bedde38f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: cd321b83c78c00003f1ce06ac3ca85647cf9df51)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofetch2/git: create bareclone option
Bruce Ashfield [Thu, 23 Feb 2012 21:08:42 +0000 (16:08 -0500)]
fetch2/git: create bareclone option

For similar reasons as the nocheckout option, packages that need
enhanced control over the checkout and branch creation on a repository
may want a complete mirror/bareclone created of the repository when
performing the unpack.

This is useful/required when a local respository is being used, but
local tracking branches have not been created for all branches that
a given recipe needs to manipulate. The standard git clone operations
will create remote branches for the branches that are local to the
source repository, but branches that are remote do not translate to
the destination repository. Doing a mirror/bare clone of the source,
makes all branches available to the repository.

This is a particular use case, but the ability to do a bare clone
creates great flexibility in recipe space, with no impact to recipes
that don't need this functionality.

To implement this, a new option 'bareclone' is craeted which creates
a mirror copy of the repository and leaves it bare in the unpacking
phase. A recipe that uses this option must both checkout and debare
the repository itself.

(Bitbake rev: 82482aae6f311c994275fb0b6b32d954bbfc78c3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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].

(From OE-Core rev: 738658d9d5ddef026d2929188744aa225324bf26)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: deb501b8a1cb3cdb1ea0a48ea08e411c2be365b3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: d32933a74b380aac906bbfbe1ec7d89b02e9f72d)

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

(From OE-Core rev: 68bc9416d9e4beb027133e151b1bb3ecadd2ee26)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: 9f6b9d7d0402b883fc3ad3cdead40e838ce31a27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: f6f527694e4f896b5d8a649f0b12f5b437c27cd1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqueue: fire sceneQueueTaskStarted event when a setscene queue starts
Dongxiao Xu [Fri, 24 Feb 2012 01:31:30 +0000 (09:31 +0800)]
runqueue: fire sceneQueueTaskStarted event when a setscene queue starts

The current code prints a log when a setscene task starts, therefore
the progressbar in hob will not receive it. Use a sceneQueueTaskStarted
event instead.

Besides, change the sceneQueueTaskFailed event to inherit runQueueEvent
directly to avoid confusion to event receiver.

(Bitbake rev: 7c07cc93d6558d7d9c3144b13493901b7ebae050)

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>
12 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

(From OE-Core rev: 173a48f79f8f2f18737f1901fc5992223d456348)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: a1f23a7cc527afdd1ce6cc7cd6083ee78fde09b3)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: c50a46fbd50a148146fb1f077db20cdc8121f20b)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: 213b5038215b1d7df10f1df0375610034fa156c7)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: 1a0be9ec4d53cfcaea907edebe5d8bb525496b4e)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: 9c446d007957dab36ee2c012f0a5b22494a7a84f)

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>
12 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'

(From OE-Core rev: a31d0dbd03b437de9c64a160e86ef97ef7e08807)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: 673e2a05013cbe08efde936f663845031025689d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

(From OE-Core rev: f775f76dc01f1a969c00f697507958d8a4f9b088)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: 4f4451f7c0f9762092eb3dbc995b4afa2572ceb6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: 8f0d188df4aaccc3fd4911f12c532f81ae9714a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: a85f283ffae5407b23532ce2262142ee2d986af2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

(From OE-Core rev: f9b184b9454da8374de7351af8619d0201d6f843)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>