scm/bb/tizen-distro.git
12 years agopython-pycairo: Fix incorrect versions in license field
Richard Purdie [Mon, 12 Mar 2012 23:27:14 +0000 (23:27 +0000)]
python-pycairo: Fix incorrect versions in license field

(From OE-Core rev: 6bf473f3721c03adbfd283a65187dd5656e6debf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm: Add rpmdeps-oecore to appropriate package
Richard Purdie [Mon, 12 Mar 2012 23:24:12 +0000 (23:24 +0000)]
rpm: Add rpmdeps-oecore to appropriate package

(From OE-Core rev: a964e22804705b64202d2852a13ff2be34dc7923)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobluez4: Ensure the plugins directory is packaged to avoid warnings
Richard Purdie [Mon, 12 Mar 2012 23:22:41 +0000 (23:22 +0000)]
bluez4: Ensure the plugins directory is packaged to avoid warnings

This makes sense in this case even if its empty since this package is the
correct owner for it.

(From OE-Core rev: a5b8067f4d8c4b2aa230d8c998f4188d7b43895b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu-config: Clarify license as GPLv2
Richard Purdie [Mon, 12 Mar 2012 23:20:11 +0000 (23:20 +0000)]
qemu-config: Clarify license as GPLv2

(From OE-Core rev: 23af07ffbd861baf5b7e958a02b62c861e5bbfe7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolicense.bbclass: Add mapping for LGPLv2.0, pango uses it
Richard Purdie [Mon, 12 Mar 2012 23:18:21 +0000 (23:18 +0000)]
license.bbclass: Add mapping for LGPLv2.0, pango uses it

(From OE-Core rev: 3b9256140bde09f8319a96bc8cbe15288ff5899b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl: Clarify LICENSE with versions. Yes, its really GPLv1
Richard Purdie [Mon, 12 Mar 2012 23:14:19 +0000 (23:14 +0000)]
perl: Clarify LICENSE with versions. Yes, its really GPLv1

(From OE-Core rev: 1ae8a1b044ea7fc421cf64b5921f6c8dc25b99cf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoshadow: Correct license Artistic -> Artistic-1.0
Richard Purdie [Mon, 12 Mar 2012 23:08:00 +0000 (23:08 +0000)]
shadow: Correct license Artistic -> Artistic-1.0

(From OE-Core rev: 14ae4991d8067eb047acf77b30b3abef2cecef5f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoboost: Correct license name BSL-1 -> BSL-1.0
Richard Purdie [Mon, 12 Mar 2012 22:33:10 +0000 (22:33 +0000)]
boost: Correct license name BSL-1 -> BSL-1.0

(From OE-Core rev: fe8282824f54fd49a9b53d63b45c76132c3dc04f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognome-doc-utils: Clarify license as GPLv2 and LGPLv2.1
Richard Purdie [Mon, 12 Mar 2012 22:28:56 +0000 (22:28 +0000)]
gnome-doc-utils: Clarify license as GPLv2 and LGPLv2.1

(From OE-Core rev: 48b11b323622f1e4294bd3b95e3b54bb4929d941)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk-doc: Clarify license as GPLv2
Richard Purdie [Mon, 12 Mar 2012 22:26:23 +0000 (22:26 +0000)]
gtk-doc: Clarify license as GPLv2

The .m4 file has no details but the upstream project is clearly GPLv2
so update the LICENSE file to match.

(From OE-Core rev: 25109aa2a4c2814ad89b4b416b4de31d14b65e93)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowireless-tools: Clarify LICENSE field to avoid warnings
Richard Purdie [Mon, 12 Mar 2012 22:13:47 +0000 (22:13 +0000)]
wireless-tools: Clarify LICENSE field to avoid warnings

The source is unclear which version of the license applies. Since BSD is listed,
we have plenty of choice so lets pick some versions. Most people would pick
BSD out of the three anyway.

(From OE-Core rev: 04c2e69ffb77b43b853170c2b804eab367260063)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomatchbox-session: Clarify LICENSE as GPLv2
Richard Purdie [Mon, 12 Mar 2012 21:44:37 +0000 (21:44 +0000)]
matchbox-session: Clarify LICENSE as GPLv2

(From OE-Core rev: b6906c8c08dff9f8b3dac0d2d637856296cb4a60)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibrsvg: Fix unpackaged directory warnings
Richard Purdie [Mon, 12 Mar 2012 21:30:15 +0000 (21:30 +0000)]
librsvg: Fix unpackaged directory warnings

This patch fixes the QA warnings:

WARNING: For recipe librsvg, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib/gtk-3.0
WARNING:   /usr/lib/gtk-3.0/engines

(From OE-Core rev: 973fabc6db9398869c5257b9c761d9d741d5c407)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosato-screenshot: Remove unneeded .la file
Richard Purdie [Mon, 12 Mar 2012 21:24:48 +0000 (21:24 +0000)]
sato-screenshot: Remove unneeded .la file

This resolves the QA warning:

WARNING: For recipe sato-screenshot, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib/matchbox-panel/libscreenshot.la

(From OE-Core rev: c5f4a9261d582a52429cf5a115efed61987b0dd8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-input-vmmouse: Package unpackaged files
Richard Purdie [Mon, 12 Mar 2012 21:22:47 +0000 (21:22 +0000)]
xf86-input-vmmouse: Package unpackaged files

This addresses the QA warnings:

WARNING: For recipe xf86-input-vmmouse, the following files/directories were installed but not shipped in any package:
WARNING:   /lib
WARNING:   /lib/udev
WARNING:   /lib/udev/rules.d
WARNING:   /lib/udev/rules.d/69-xorg-vmmouse.rules
WARNING:   /usr/share/X11
WARNING:   /usr/share/hal
WARNING:   /usr/share/X11/xorg.conf.d
WARNING:   /usr/share/X11/xorg.conf.d/50-vmmouse.conf
WARNING:   /usr/share/hal/fdi
WARNING:   /usr/share/hal/fdi/policy
WARNING:   /usr/share/hal/fdi/policy/20thirdparty
WARNING:   /usr/share/hal/fdi/policy/20thirdparty/11-x11-vmmouse.fdi
WARNING:   /usr/lib/hal
WARNING:   /usr/lib/hal/hal-probe-vmmouse

The hal files are simply deleted, we don't care about hal.

(From OE-Core rev: fb1e1ca346c617598726609425406b5afc79270d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoleafpad: Package currently unpackaged files.
Richard Purdie [Mon, 12 Mar 2012 21:03:09 +0000 (21:03 +0000)]
leafpad: Package currently unpackaged files.

This resolves the QA warning:

WARNING: For recipe leafpad, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/share/icons
WARNING:   /usr/share/icons/hicolor
WARNING:   /usr/share/icons/hicolor/16x16
WARNING:   /usr/share/icons/hicolor/22x22
WARNING:   /usr/share/icons/hicolor/scalable
WARNING:   /usr/share/icons/hicolor/32x32
WARNING:   /usr/share/icons/hicolor/24x24
WARNING:   /usr/share/icons/hicolor/16x16/apps
WARNING:   /usr/share/icons/hicolor/16x16/apps/leafpad.png
WARNING:   /usr/share/icons/hicolor/22x22/apps
WARNING:   /usr/share/icons/hicolor/22x22/apps/leafpad.png
WARNING:   /usr/share/icons/hicolor/scalable/apps
WARNING:   /usr/share/icons/hicolor/scalable/apps/leafpad.svg
WARNING:   /usr/share/icons/hicolor/32x32/apps
WARNING:   /usr/share/icons/hicolor/32x32/apps/leafpad.png
WARNING:   /usr/share/icons/hicolor/24x24/apps
WARNING:   /usr/share/icons/hicolor/24x24/apps/leafpad.png

(From OE-Core rev: df48742cfc0c46ae33f28900cfd5a7a2f94c326c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocmake.bbclass: add ${base_libdir} to CMAKE_LIBRARY_PATH
Nitin A Kamble [Mon, 12 Mar 2012 16:28:10 +0000 (09:28 -0700)]
cmake.bbclass: add ${base_libdir} to CMAKE_LIBRARY_PATH

Some libraries like libcrypto.so are installed at base_libdir
instead of libdir. So add the base_libdir to CMAKE_LIBRARY_PATH
so that these libraries can be found correctly.

This resolves an issues with libzypp, which was not finding the
libcrypo library correctly in an x32 build.

(From OE-Core rev: f47ada62a3da879006e7cb27479dc9b72c56e923)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxorg-xserver: Explictly disable dtrace, its not in DEPENDS
Richard Purdie [Mon, 12 Mar 2012 12:15:23 +0000 (12:15 +0000)]
xorg-xserver: Explictly disable dtrace, its not in DEPENDS

(From OE-Core rev: 01c1a0f7671871b4fafaed0712ecdece5c21216b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa-dri-glsl-native: Avoid error when running configure a second time
Richard Purdie [Mon, 12 Mar 2012 12:14:45 +0000 (12:14 +0000)]
mesa-dri-glsl-native: Avoid error when running configure a second time

This avoids the error:

ln: creating symbolic link `/media/data1/build1/poky/build/tmp/work/x86_64-linux/mesa-dri-glsl-native-7.11-r0/Mesa-7.11/src/glsl//../../configs/current': File exists

(From OE-Core rev: 7871772c74e65ef472c5bf3776e4b3b30308bd5d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocodeparser: Call intern over the set contents for better cache performance
Richard Purdie [Sun, 11 Mar 2012 14:30:31 +0000 (14:30 +0000)]
codeparser: Call intern over the set contents for better cache performance

See the comment in the code in the commit for more information.

(Bitbake rev: 2d56dc7b1f0d186e14c4c8a949b280b6b3fc31de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocodeparser: Compute extra cache components on the fly rather than later
Richard Purdie [Sun, 11 Mar 2012 14:18:02 +0000 (14:18 +0000)]
codeparser: Compute extra cache components on the fly rather than later

In the initial implementation there was a relcutance on my part to
generate incremental cache components on the fly since it would lead
to some duplicate code.

We are now seeing problems where each thread reading in the saved cache
file causes significant overhead and can make the process appear to hang
on a many core build, particularly when the cache file is large.

This patch changes the code to maintain the delta in a separate dict
right from the start. The code duplication isn't too bad and could be
mitigated in other ways if it becomes an issue.

[YOCTO #2039 partial]

(Bitbake rev: cdd5d0dee6ab12326b252b6b505a316a52638cac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocooker.py: Allow parsing shutdown to be called more than once
Richard Purdie [Sun, 11 Mar 2012 14:13:05 +0000 (14:13 +0000)]
cooker.py: Allow parsing shutdown to be called more than once

The parsing shutdown call can occur more than once. Currently
if this happens the code will hang. Add some code to prevent this.

[YOCTO #2039 partial]

(Bitbake rev: 7614c5bdcaf9d70614b4fad2ca02c7e6eaa92f1b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11-trim/diet: Ensure libx11-locale doesn't trigger multiple provider issues
Richard Purdie [Mon, 12 Mar 2012 02:27:39 +0000 (02:27 +0000)]
libx11-trim/diet: Ensure libx11-locale doesn't trigger multiple provider issues

(From OE-Core rev: 028a7319cf9b178bd3a9878dcba35fa9483d13f5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosiggen.py: Use basehash if no taskhash
Robert Yang [Tue, 6 Mar 2012 06:04:36 +0000 (14:04 +0800)]
siggen.py: Use basehash if no taskhash

The bitbake-runtask doesn't work since there is no taskhash (it worked
in the past, but seems recent changes made it doesn't work again), use
the basehash when there is no taskhash, just like what dump_sigtask
does.

[YOCTO #1229]

(Bitbake rev: b36f2e3803dfc494d5b171759f55faf33708e6f1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/siggen: output filename on error in finalise
Paul Eggleton [Tue, 6 Mar 2012 23:37:35 +0000 (23:37 +0000)]
bitbake/siggen: output filename on error in finalise

If an error occurs during finalise() (when for example we might get an
expansion error in SRCPV), log a note which mentions which recipe was
being finalised.

Fixes [YOCTO #1782]

(Bitbake rev: 56f9f8ffd92b00b916dbc2386150c83689d5beed)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/hig: special case stock info icons in CrumbsMesssageDialog
Joshua Lock [Fri, 2 Mar 2012 23:48:02 +0000 (15:48 -0800)]
ui/crumbs/hig: special case stock info icons in CrumbsMesssageDialog

The Hob visual design includes an info icon which should be used
consistently throught the GUI. This change detects use of the stock info
icon in CrumbsMessageDialog and uses the Hob info icon instead.

(Bitbake rev: 37ed1589a19ffc82e8638b5375c99158988b38fc)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/hig: use HobInfoButton in place of gtk.Image with tooltip
Joshua Lock [Fri, 2 Mar 2012 23:46:40 +0000 (15:46 -0800)]
ui/crumbs/hig: use HobInfoButton in place of gtk.Image with tooltip

Replace all instances of the stock info icon with an attached tooltip with
the new HobInfoButton with associated PersistentTooltip.

(Bitbake rev: cead9a2e32f0196536c51d3a0713c1f28a35bf3d)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/imageconfigurationpage: make use of the HobInfoButton
Joshua Lock [Fri, 2 Mar 2012 23:43:37 +0000 (15:43 -0800)]
ui/crumbs/imageconfigurationpage: make use of the HobInfoButton

Use the new HobInfoButton widget in place of the existing gtk.Image with
tooltip.

Modify the markup of the tooltip so that the link to the reference manual
is a clickable hyperlink.

(Bitbake rev: 10b4a6770640db49f2f55b8ad7ce55aebb250598)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/hobwidget: implement HobInfoButton per Hob interaction design
Joshua Lock [Fri, 2 Mar 2012 23:41:21 +0000 (15:41 -0800)]
ui/crumbs/hobwidget: implement HobInfoButton per Hob interaction design

This button-like widget will display a persistent tooltip with the
supplied Pango Markup when it is clicked by the user. This widget features
prominently in the interaction design to offer help in a more prominent
manner.

(Bitbake rev: 43f33dcd6b7d1a08651cdf0715c2c2a9d488b103)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/icons: crop the info icons
Joshua Lock [Fri, 2 Mar 2012 23:38:04 +0000 (15:38 -0800)]
ui/icons: crop the info icons

The info icons include large, transparent borders. Crop this out so that
we can use the icon without using too much space in the GUI.

(Bitbake rev: de5fbbd343081147e6b7a118daee7f678d49d0fa)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocrumbs/persistenttooltip: a new Gtk+ widget for use in Hob
Joshua Lock [Fri, 2 Mar 2012 23:36:45 +0000 (15:36 -0800)]
crumbs/persistenttooltip: a new Gtk+ widget for use in Hob

The Hob interaction design calls for a top level widget which shows a
persistent tooltip. This tooltip will not disappear until the user
explicitly closes it.

This allows us to provide clickable hyperlinks, longer instructions and
deeper information in the tooltips.

Note: by design the tooltip should dismiss when the user clicks off it,
this implementation does include that functionality. It's a to do item.

(Bitbake rev: b310fd429150d3a96ecde477934fffad4b4031da)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Drop python depends from rpmdeps
Richard Purdie [Sun, 11 Mar 2012 18:26:15 +0000 (18:26 +0000)]
package.bbclass: Drop python depends from rpmdeps

This python depends is added by rpmdeps every time it finds a python
script. This is not necessary since we handle this in otherways. It
also breaks things like nativesdk since the dependency is not renamed.
The easiest solution is just to ignore this dependency.

(From OE-Core rev: 5c8ad2638baac0501cecf38f8d3e8467d56afb8a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm 5.4.0: Add rpmdeps-oecore to replace rpmdeps for package.bbclass
Richard Purdie [Fri, 9 Mar 2012 06:14:04 +0000 (14:14 +0800)]
rpm 5.4.0: Add rpmdeps-oecore to replace rpmdeps for package.bbclass

This is a performance enhancement by adding a binary allowing batch processing
of individual file dependencies. The second patch in this series uses the binary
this patch creates.

(From OE-Core rev: 50dc8bfbac42b9a9b52a2f7d0568740c41790c13)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_ipk.bbclass: Ensure Source is set to something else packaging can fail
Richard Purdie [Fri, 9 Mar 2012 07:48:55 +0000 (23:48 -0800)]
package_ipk.bbclass: Ensure Source is set to something else packaging can fail

(From OE-Core rev: a91d7a0c27d0ec763cb794be5282f7d34a3135fe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoadt-installer: Corrected wrong environment file names.
Lianhao Lu [Wed, 7 Mar 2012 02:06:47 +0000 (10:06 +0800)]
adt-installer: Corrected wrong environment file names.

[YOCTO #2055]
1. Corrected the wrong environment file name for powerpc.

2. Removed unnecessary variables in adt_installer.conf.

(From OE-Core rev: 9c52fe75b7f77feda075e9c5296448dea6ff7922)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoformfactor: use full path to fbset
Paul Eggleton [Tue, 6 Mar 2012 23:55:37 +0000 (23:55 +0000)]
formfactor: use full path to fbset

When using rootless X, /usr/sbin is not in PATH and thus running "fbset"
will fail; so specify /usr/sbin/fbset instead.

Fixes [YOCTO #1986]

(From OE-Core rev: fb2df75e1552e60c67449c06cd80accc40ea534e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoprservice: Added sanity check for prservice connection.
Lianhao Lu [Wed, 7 Mar 2012 07:36:45 +0000 (15:36 +0800)]
prservice: Added sanity check for prservice connection.

Fixed bug [YOCTO #2052]. Added sanity check for variables of PRSERV_HOST
and PRSERV_PORT, also for the connection availabity of prservice.

(From OE-Core rev: 7588a4f2e2728da0ff7a773b18527f3711b138f2)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobzip2: split into binary and library packages
Andreas Oberritter [Wed, 7 Mar 2012 21:03:17 +0000 (22:03 +0100)]
bzip2: split into binary and library packages

* Create libbz2 (and -dev, -staticdev), which can be
  installed without the bzip2 executables.

(From OE-Core rev: e27af1f273e9a7348dd8f5542df9206acd9210f3)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: use empty SRC_URI by default
Andreas Oberritter [Thu, 8 Mar 2012 02:51:10 +0000 (03:51 +0100)]
bitbake.conf: use empty SRC_URI by default

* Otherwise, recipes that only append to SRC_URI instead of
  overwriting it will get the full path of the recipe written
  into the Source: field of the package.

(From OE-Core rev: 516d2029b31b014de1c87d23dd86208a4480579c)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk+: Amend upstream status of configure-nm.patch
James Limbouris [Thu, 8 Mar 2012 01:47:08 +0000 (09:47 +0800)]
gtk+: Amend upstream status of configure-nm.patch

(From OE-Core rev: e303673f7f49495a892dbeda11d8295cecc54263)

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdk-pixbuf: Pick up ${NM} from the environment.
James Limbouris [Thu, 8 Mar 2012 01:44:02 +0000 (09:44 +0800)]
gdk-pixbuf: Pick up ${NM} from the environment.

(From OE-Core rev: e48eb65494a234ac82ec04fcbcc04f5e881347c3)

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: Remove warnings for modutils and modprobe.d
Darren Hart [Wed, 7 Mar 2012 08:06:46 +0000 (00:06 -0800)]
kernel.bbclass: Remove warnings for modutils and modprobe.d

Fixes [Yocto #2036]

The source and build directories are unused, remove them.

The modutils and modprobe.d directories may be used if modules are built that
are either autoloaded or have modprobe.d entries. This isn't known at install
time, so check after the package split if these directories are empty and
remove them if they are.

(From OE-Core rev: 6068f3229397baf561b1e84a22b570a803d95c49)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoexternal-csl-toolchain: override PKGV, not PKGV_${PN}
Christopher Larson [Wed, 7 Mar 2012 16:24:25 +0000 (10:24 -0600)]
external-csl-toolchain: override PKGV, not PKGV_${PN}

This is needed to ensure that the RDEPENDS_${PN}-dev,
RDEPENDS_${PN}-staticdev, and RRECOMMENDS_${PN}-dbg are accurate with respect
to the PKGV of the ${PN} package, and incidentally fixes an rpm packaging
issue, as rpm dislikes the recipe PV as PKGV.

(From OE-Core rev: 61d5fa2b7ae6b3ce49747a102b3817c36f6cf85d)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxz: split out liblzma as seperate packages
Koen Kooi [Tue, 6 Mar 2012 17:03:20 +0000 (09:03 -0800)]
xz: split out liblzma as seperate packages

As usual, this creates problems for upgrade paths, but splitting out the lib is worth the short term hassle

(From OE-Core rev: af1a2740bc47d355a3435fc5d36c47e48cb05ad2)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopolkit: Fix Upstream-Status tag
Saul Wold [Tue, 6 Mar 2012 17:03:23 +0000 (09:03 -0800)]
polkit: Fix Upstream-Status tag

(From OE-Core rev: 6dc18475127ca53363c20a402455dba68375e49b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agovalgrind: Support compilation without X11
Mike Crowe [Tue, 6 Mar 2012 17:03:21 +0000 (09:03 -0800)]
valgrind: Support compilation without X11

Only depend on X libraries if the distribution has X support.

(From OE-Core rev: 8a4bc16b853f3d5092c588703eef0ccb6aeb6ba1)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomime.bbclass: Fix bracket error.
Samuel Stirtzel [Tue, 6 Mar 2012 17:03:19 +0000 (09:03 -0800)]
mime.bbclass: Fix bracket error.

This fixes the following error:

ERROR: Error executing a python function in ...:
AttributeError: 'str' object has no attribute 'append'

ERROR: The stack trace of python calls that resulted in this exception/failure was:
ERROR:   File "populate_packages", line 193, in <module>
ERROR:
ERROR:   File "populate_packages", line 189, in populate_packages
ERROR:
ERROR: The code that was being executed was:
ERROR:      0189:                       rdepends.append("shared-mime-info-data")
ERROR:      0190:                       d.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends))
ERROR:      0191:
ERROR:      0192:
ERROR:  *** 0193:populate_packages(d)
ERROR:      0194:
ERROR: (file: 'populate_packages', lineno: 193, function: <module>)
ERROR:      0185:                       postrm += d.getVar('mime_postrm', True)
ERROR:      0186:                       d.setVar('pkg_postrm_%s' % pkg, postrm)
ERROR:      0187:                       bb.note("adding shared-mime-info-data dependency to %s" % pkg)
ERROR:      0188:                       rdepends = explode_deps(d.getVar('RDEPENDS_' + pkg, False) or d.getVar('RDEPENDS', False)) or ""
ERROR:  *** 0189:                       rdepends.append("shared-mime-info-data")
ERROR:      0190:                       d.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends))
ERROR:      0191:
ERROR:      0192:
ERROR:      0193:populate_packages(d)

(From OE-Core rev: 043abe4e88abb6754909b93129ea162a577aa828)

Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoshadow-sysroot: Fix for multilib
Zhai Edwin [Tue, 6 Mar 2012 17:03:17 +0000 (09:03 -0800)]
shadow-sysroot: Fix for multilib

Fix following error in multilib build:
"ERROR: Task do_package_setscene depends upon nonexistant task
poky/meta/recipes-extended/shadow/shadow-sysroot_4.1.4.3.bb:do_populate_sysroot_setscene"

>From richard.purdie@linuxfoundation.org

(From OE-Core rev: 5de2c22fb42c12783abc090a81f10db9eb39732f)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomultilib: extend all recipes in multilib.conf
Dongxiao Xu [Tue, 6 Mar 2012 17:03:16 +0000 (09:03 -0800)]
multilib: extend all recipes in multilib.conf

(From OE-Core rev: 0fce63476f9a376d95ea4f926cb60cb84f7a4d48)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/rt: udpate SRCREVs to 3.2.9-rt16
Bruce Ashfield [Tue, 6 Mar 2012 17:03:15 +0000 (09:03 -0800)]
linux-yocto/rt: udpate SRCREVs to 3.2.9-rt16

Bumping the -rt kernel to pickup the incremental update to -rt16.
No major changes from -rt15, except for a bug fix that we want
to pick up.

(From OE-Core rev: 0b03c2382ad6b2d472555f5054a1ce82eb4e3de9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/meta: fix incorrect config references
Bruce Ashfield [Tue, 6 Mar 2012 17:03:14 +0000 (09:03 -0800)]
linux-yocto/meta: fix incorrect config references

Updating the meta SRCREV to pickup the following fixes:

  a9ffedb meta/fri2/sys940x: fix incorrect cfg includes
  3d1a678 meta/sys940x: fix incorrect emgd branch merge

During the merge of the 3.0 BSPs forward to 3.2, a few moved config
fragments were missed.

(From OE-Core rev: 51c0c1d07d44b3bffb63d15b6befff6e7ba2549f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopsplash: Add mising commands module import.
Peter Tworek [Tue, 6 Mar 2012 17:03:13 +0000 (09:03 -0800)]
psplash: Add mising commands module import.

Python commands module is used in the recipe, but never imported.
This leads to build errors like:

NameError: global name 'commands' is not defined

ERROR: The stack trace of python calls that resulted in this exception/failure was:
ERROR:   File "do_compile", line 24, in <module>
ERROR:
ERROR:   File "do_compile", line 11, in do_compile
ERROR:
ERROR: The code that was being executed was:
ERROR:      0020:        bb.build.exec_func("oe_runmake", d)
ERROR:      0021:        shutil.copyfile("psplash", outputfile)
ERROR:      0022:
ERROR:      0023:
ERROR:  *** 0024:do_compile(d)
ERROR:      0025:
ERROR: (file: 'do_compile', lineno: 24, function: <module>)
ERROR:      0007:    localfiles = d.getVar('SPLASH_LOCALPATHS', True).split()
ERROR:      0008:    outputfiles = d.getVar('SPLASH_INSTALL', True).split()
ERROR:      0009:    for localfile, outputfile in zip(localfiles, outputfiles):
ERROR:      0010:        if localfile.endswith(".png"):
ERROR:  *** 0011:            outp = commands.getstatusoutput('./make-image-header.sh %s POKY' % localfile)
ERROR:      0012:            print(outp[1])
ERROR:      0013:            fbase = os.path.splitext(os.path.basename(localfile))[0]
ERROR:      0014:            shutil.copyfile("%s-img.h" % fbase, destfile)
ERROR:      0015:        else:

(From OE-Core rev: 34bdb9a459208377210454e54635afb9404ee126)

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Upgrade to 4.6.3 release
Khem Raj [Tue, 6 Mar 2012 17:03:12 +0000 (09:03 -0800)]
gcc: Upgrade to 4.6.3 release

core-image-sato/core-image-minimal builds and boots
on all qemu machines

(From OE-Core rev: 40d7a4b70d342f75e13de7872fb62e2b9d6d40bf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agologrotate 3.7.9: Allow rotate log across filesystems
Robert Yang [Tue, 6 Mar 2012 17:03:11 +0000 (09:03 -0800)]
logrotate 3.7.9: Allow rotate log across filesystems

The logrotate can't save the log across the different filesystems since
it used the "rename(const char *oldpath, const char *newpath)" to save
the file, fix it to act as the "mv" command(first rename, if failed,
read and write) to allow save the log across the different filesystems.

* config.c: Remove the check for different filesystems
* logrotate.c: Act as the "mv" command when rotate log
* logrotate.8: Update the mannual
* logrotate.8: Fix a bug in the mannual(\f should be \fR)

[YOCTO #718]

(From OE-Core rev: fca0a2c597ab40d55da768dac4088234b9b0d773)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: v3.2.9, v3.0.23 + fixes and updates
Bruce Ashfield [Tue, 6 Mar 2012 17:03:10 +0000 (09:03 -0800)]
linux-yocto: v3.2.9, v3.0.23 + fixes and updates

This is an update of the linux-yocto 3.0 and 3.2 SRCREVs to bring
in the following updates:

  - v3.0.23 stable update
  - v3.2.9 stable update
  - 3.0/3.2: fri2 updates (pch + configuration changes) from Darren Hart
  - 3.0: pvr merge from Kishore Bodke
  - linux-yocto/rt: update to 3.0.23-rt38
  - linux-yocto/rt: update to 3.2.9-rt15

These have been built for all qemu targets, and built for the appropriate
hardware platforms.

(From OE-Core rev: a9e7131b85e1787e6f76c64d77b2ac6684c8a9c9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: use bareclone option
Bruce Ashfield [Tue, 6 Mar 2012 17:03:09 +0000 (09:03 -0800)]
linux-yocto: use bareclone option

Instead of specifying nocheckout=1, it provides a better workflow if
the linux-yocto recipes use the new bareclone=1 option to get a mirrored
copy of the source repository. This allows all local and remote branches
to be available during the kernel build and development cycle.

(From OE-Core rev: 2281e14a342639bfd2656ffa220dc023168cb35e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage_types: add IMAGE_ROOTFS_ALIGNMENT
Ken Werner [Tue, 6 Mar 2012 17:03:06 +0000 (09:03 -0800)]
image_types: add IMAGE_ROOTFS_ALIGNMENT

Introduce a new variable called IMAGE_ROOTFS_ALIGNMENT that allows to control
the aligment of the size of the rootfs. Its default value is set to 1KiB so
that the existing behaviour is not changed. In case the SD card emulation of
a QEMU system emulator gets used you may set the alignment to 2MiB.

(From OE-Core rev: 99128c209e3de3e9e175eacb3acf0f06857043fe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibsdl: add DirectFB support
Andreas Oberritter [Tue, 6 Mar 2012 17:03:04 +0000 (09:03 -0800)]
libsdl: add DirectFB support

* Use conditional dependencies for DirectFB, like
  it's already done for OpenGL and X11.

(From OE-Core rev: 29ba15af6b4a85687bd487779ec2ea2be80644dc)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobluez4: add dependency on libcheck to enable test modules
Chase Maupin [Wed, 7 Mar 2012 20:48:52 +0000 (14:48 -0600)]
bluez4: add dependency on libcheck to enable test modules

* The later versions of bluez such as 4.98 require libcheck
  in order to build the test packages as enabled by the
  --enable-test option passed in EXTRA_OECONF.
* Failure to have the libcheck package available results in the
  configure script ignoring the --enable-test option and not
  building the test modules.
* Adding libcheck, which is greater than the minimum required
  version of the check library of 0.9.6 allows building the
  test modules.
* Build tested for am335x-evm MACHINE type and run time tested
  by back porting this fix to the oe-classic and arago setup
  and booting on am335x-evm.

(From OE-Core rev: 6e5fc682a4d464f62fbba12e61a8bc8e97ff92e2)

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoudev-164: don't hardcode path to pidof
Andreas Oberritter [Thu, 8 Mar 2012 12:08:50 +0000 (13:08 +0100)]
udev-164: don't hardcode path to pidof

* pidof lives in /bin, search it in $PATH.
* Assume pidof's presence.

(From OE-Core rev: 2f9ac0a10f7d1e3144622a5dff5aa6787fcee534)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase.bbclass: Fix PACKAGECONFIG handling when no flags are set
Richard Purdie [Mon, 5 Mar 2012 21:01:21 +0000 (13:01 -0800)]
base.bbclass: Fix PACKAGECONFIG handling when no flags are set

When the main PACKAGECONFIG variable was empty with no flags set,
the options were not being added to explicitly disable features.
This patch corrects that problem and ensures the disable fields
are correctly parsed and added to variables.

(From OE-Core rev: d7b8c247227f3cc82f92292407f548927e9fde78)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopolkit: Default to shadow, not none to fix build failures
Richard Purdie [Mon, 5 Mar 2012 20:57:17 +0000 (12:57 -0800)]
polkit: Default to shadow, not none to fix build failures

Without this builds would fail due to an invalid confiuration being
selected by the configure script.

(From OE-Core rev: d62b083fe1ee33cbd3ea3929e592c403000fb3b0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: Drop fetch v1, v2 provides a much better codebase to build from
Richard Purdie [Sat, 3 Mar 2012 11:25:19 +0000 (11:25 +0000)]
bitbake: Drop fetch v1, v2 provides a much better codebase to build from

(Bitbake rev: 292e3430e5140b602cad86f55b5453e8cebb28a1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa/classes: Convert to use appendVar and appendVarFlags
Richard Purdie [Sat, 3 Mar 2012 10:41:41 +0000 (10:41 +0000)]
meta/classes: Convert to use appendVar and appendVarFlags

(From OE-Core rev: 3b57de68e70e77dbc03c0616a83a29a2e99e40b4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11: reinstate PE=1 that got lost in the big meta-oe Xorg merge
Koen Kooi [Mon, 5 Mar 2012 07:38:32 +0000 (08:38 +0100)]
libx11: reinstate PE=1 that got lost in the big meta-oe Xorg merge

This prevents package managers 'upgrading' 1.4.4 to 1:1.4.3

(From OE-Core rev: 906641853e8ac6fd296dfb91f8bb647c7da8e23e)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk+ 2.24.8: bump PR to force rebuild and feed update
Koen Kooi [Mon, 5 Mar 2012 07:38:31 +0000 (08:38 +0100)]
gtk+ 2.24.8: bump PR to force rebuild and feed update

This should errors similar to this one:

/usr/libexec/gdm-simple-greeter: symbol lookup error: /usr/lib/libgdk-x11-2.0.so.0: undefined symbol: _XGetRequest

(From OE-Core rev: 98b95330b66406625c8fef9b58f2ac7983585fcb)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopolkit 0.104: add 2 backports from upstream to fix crashes during auth
Koen Kooi [Mon, 5 Mar 2012 07:38:30 +0000 (08:38 +0100)]
polkit 0.104: add 2 backports from upstream to fix crashes during auth

(From OE-Core rev: bcb8e65ab3f7d7f0f884f05c758f8a779c260306)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopolkit 0.104: convert pam code to PACKAGECONFIG and adhere to OE recipe styleguide
Koen Kooi [Mon, 5 Mar 2012 07:38:29 +0000 (08:38 +0100)]
polkit 0.104: convert pam code to PACKAGECONFIG and adhere to OE recipe styleguide

(From OE-Core rev: 7a6fcc7f79445e5f290dd499c223619a2a426f78)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa: Replace bb.data.expand(xxx, d) -> d.expand(xxx)
Richard Purdie [Sat, 3 Mar 2012 11:21:22 +0000 (11:21 +0000)]
meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)

sed \
 -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
 -i `grep -ril bb.data.expand *`

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate: Remove unecessary bb.data.expand()
Richard Purdie [Sat, 3 Mar 2012 11:12:14 +0000 (11:12 +0000)]
sstate: Remove unecessary bb.data.expand()

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)
Richard Purdie [Sat, 3 Mar 2012 10:59:25 +0000 (10:59 +0000)]
meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)

Using "1" with getVar is bad coding style and "True" is preferred.
This patch is a sed over the meta directory of the form:

sed \
 -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \
 -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \
 -i `grep -ril getVar *`

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa/classes: Convert to use appendVar and appendVarFlags
Richard Purdie [Sat, 3 Mar 2012 10:41:41 +0000 (10:41 +0000)]
meta/classes: Convert to use appendVar and appendVarFlags

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosoc-family.inc: to be included in machine.conf to add SOC_FAMILY to MACHINEOVERRIDE
Denys Dmytriyenko [Sun, 4 Mar 2012 06:24:34 +0000 (01:24 -0500)]
soc-family.inc: to be included in machine.conf to add SOC_FAMILY to MACHINEOVERRIDE

Add a soc-family.inc file that can be included in a machine.conf to enable
the use of SOC_FAMILY in MACHINEOVERRIDE, which could be useful to group
multiple machines with the same common base. Some examples can be seen in
meta-ti BSP layer.

(From OE-Core rev: 641cdbc7ee0186053dd541e0dd5fb7b03b1c10d1)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11-trim: Add error information from LSB Test Suite to makekeys_crosscompile.patch
Xiaofeng Yan [Sat, 3 Mar 2012 11:03:44 +0000 (19:03 +0800)]
libx11-trim: Add error information from LSB Test Suite to makekeys_crosscompile.patch

Append error information from LSB Test Suite to this patch for an illustrative purpose \
why this patches should be needed.

(From OE-Core rev: 0e6dfa5dcf324a1d32b634bbcd9487106a6f5413)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11-1.4.4: Add patch "makekeys_crosscompile.patch"
Xiaofeng Yan [Sat, 3 Mar 2012 11:03:39 +0000 (19:03 +0800)]
libx11-1.4.4: Add patch "makekeys_crosscompile.patch"

Add patch "makekeys_crosscompile.patch" to libx11-1.4.4 for fixing
bug 1970.

[YOCTO #1970]

(From OE-Core rev: 21499be467ce14f165b56c1ce67507f7c41c5a1c)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11-1.4.4: Add patch makekeys_crosscompile.patch
Xiaofeng Yan [Sat, 3 Mar 2012 11:03:37 +0000 (19:03 +0800)]
libx11-1.4.4: Add patch makekeys_crosscompile.patch

LSB 4.1 complain a host contamination error from libx11 because of absent
patch "makekeys_crosscompile.patch" from libx11-trim-1.4.4.

The error from LSB Test Suite is as follow:
VSW5TESTSUITE PURPOSE 7
Assertion XStringToKeysym-7.(A)
When the string argument is the name of a KeySym in the
table with the prefix XK_ removed, then a call to
XStringToKeysym returns that KeySym.
METH: For each KeySym name in table with code G:
METH: Call XStringToKeysym to obtain the KeySym defined for that string.
METH: Verify that XStringToKeysym did not return NoSymbol.
METH: Verify that the returned string is correct.
CHECK: XStringToKeysym-7 1, line 130
CHECK: XStringToKeysym-7 2, line 140
CHECK: XStringToKeysym-7 3, line 150
CHECK: XStringToKeysym-7 4, line 160
CHECK: XStringToKeysym-7 5, line 170
CHECK: XStringToKeysym-7 6, line 180
CHECK: XStringToKeysym-7 7, line 190
CHECK: XStringToKeysym-7 8, line 200
CHECK: XStringToKeysym-7 9, line 210
CHECK: XStringToKeysym-7 10, line 220
CHECK: XStringToKeysym-7 11, line 230
CHECK: XStringToKeysym-7 12, line 240
CHECK: XStringToKeysym-7 13, line 250
CHECK: XStringToKeysym-7 14, line 260
CHECK: XStringToKeysym-7 15, line 270
CHECK: XStringToKeysym-7 16, line 280
CHECK: XStringToKeysym-7 17, line 290
CHECK: XStringToKeysym-7 18, line 300
CHECK: XStringToKeysym-7 19, line 310
CHECK: XStringToKeysym-7 20, line 320

[YOCTO #1970]

(From OE-Core rev: c9824083d4ab5bfd37fa1efdfbc3e93288cb47b6)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-cross.inc: Fix cross testing scripts to work with dash
Khem Raj [Fri, 2 Mar 2012 22:54:25 +0000 (14:54 -0800)]
gcc-cross.inc: Fix cross testing scripts to work with dash

dash does not like >& so be explicit and say 2>&1

(From OE-Core rev: 1d262630853e65be9167d904b934b581acf64182)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc-testing: Fix testing script to work well with dash
Khem Raj [Fri, 2 Mar 2012 22:57:28 +0000 (14:57 -0800)]
eglibc-testing: Fix testing script to work well with dash

Dash did not like >& so we do 2 >& 1 > /dev/null

(From OE-Core rev: 06c783e2d6f4e3b316b230565b28d9e4c535c31b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowpa-supplicant: fix breakage during rebuild
Steve Sakoman [Fri, 2 Mar 2012 19:58:43 +0000 (11:58 -0800)]
wpa-supplicant: fix breakage during rebuild

Install phase currently edits files in $S with sed. This causes breakage
if install is run a second time (due to sstate hash rebuild for example)

The result is hidden build breakage, in particular
/usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service now contains:

Exec=/usr/usr/sbin/wpa_supplicant -u

rather than:

Exec=/usr/sbin/wpa_supplicant -u

This patch does the sed edit after the files are copied to $D, which should be safe.

(From OE-Core rev: 857840472705af1c0fbb8db917b4bb6809b929a6)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage_types: Ensure duplicate compressed types aren't created
Richard Purdie [Fri, 2 Mar 2012 13:22:49 +0000 (13:22 +0000)]
image_types: Ensure duplicate compressed types aren't created

This allows IMAGE_FSTYPES = "tar.bz2 tar.bz2" to work (and now
is faster since it will only do it once).

(From OE-Core rev: b24d4bcde21b013e48eaffea5f3a70d8b1df1047)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage_types.bbclass: We need to preserve order in the types variable and avoid set()
Richard Purdie [Fri, 2 Mar 2012 12:08:02 +0000 (12:08 +0000)]
image_types.bbclass: We need to preserve order in the types variable and avoid set()

(From OE-Core rev: c547169f7dfe043affc2ddc5ae0a9091379df6de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase.bbclass: If unpacking again, wipe out ${S}/patches
Richard Purdie [Fri, 2 Mar 2012 11:53:26 +0000 (11:53 +0000)]
base.bbclass: If unpacking again, wipe out ${S}/patches

If we unpack again, its assumed the data in any patches directory is invalid
since do_patch will run again. This ensures old patch data doesn't get
reused in a confused way.

Ideally we should probably wipe out ${S} here but that is probably a change
for another time.

[YOCTO #2043 partially]

(From OE-Core rev: 5fe5e6a15f26f23f0c5b863fafad7a0d382a55e2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/oe/patch.py: Fix and improve PatchTree() resolver logic
Richard Purdie [Thu, 1 Mar 2012 23:38:00 +0000 (23:38 +0000)]
lib/oe/patch.py: Fix and improve PatchTree() resolver logic

Currently, if PATCHRESOLVE is user and and PatchTree() is being used, you can
get backtraces if patch application fails. This is because even in the failure
case, self._current is incremented, meaning second time around, there are array
range issues.

This patch changes the code so _current is only incremented upon successful
patch application, thereby resolving this failure.

Secondly, if you bitbake -c patch -f a recipe using PatchTree(), the
clean method was unimplemented leading to patch failures.

The other part of this patch changes the logic so a series file and
set of applied patches are maintained in a quilt like fashion. This
means a the Clean method can be implemented correctly and rerunning
the patch task of an existing patches source now works reliably.

[YOCTO #2043 partially]

(From OE-Core rev: f0fc47aea37793a62c43f10eea27ca014c420924)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4: make pulseaudio support conditional upon DISTRO_FEATURES
Paul Eggleton [Tue, 28 Feb 2012 17:36:22 +0000 (17:36 +0000)]
qt4: make pulseaudio support conditional upon DISTRO_FEATURES

Add a pulseaudio DISTRO_FEATURES item and disable pulseaudio support in
phonon within Qt4 if it is not present; otherwise it is a race condition
as to whether it is enabled or disabled or breaks the build.

Note that this adds pulseaudio to DISTRO_FEATURES_BACKFILL thus leaving
existing distro configurations unaffected.

(From OE-Core rev: b82c216c1ee8e2a009e87856b7adad08f7f50482)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agostderr would previously be appended to stdout, corrupting the result when something...
Adrien Bustany [Fri, 2 Mar 2012 16:17:43 +0000 (16:17 +0000)]
stderr would previously be appended to stdout, corrupting the result when something was outputed to stderr but exit code was still 0 (non-fatal warning messages). This commit makes the code parse only stdout, but output stderr if an error happened.

(Bitbake rev: 4a480a052f450c4ee061ab0e60a495a45f140cf9)

Signed-off-by: Adrien Bustany <adrien.bustany@nokia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/bitbake-prserv: Set file mode bits "x".
Lianhao Lu [Fri, 2 Mar 2012 08:54:24 +0000 (16:54 +0800)]
bitbake/bitbake-prserv: Set file mode bits "x".

[YOCTO #2051] Set 'x' bit to make bitbake-prserv executable.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitscripts: Create the volatiles cache atomically.
James Limbouris [Wed, 29 Feb 2012 01:13:46 +0000 (09:13 +0800)]
initscripts: Create the volatiles cache atomically.

If a machine loses power while building the volatiles cache, it will
continue to operate with an incomplete set of volatiles. Fix this by
updating atomically.

(From OE-Core rev: a60432ff4588390f5f955a6da234298e958546e6)

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: update to v3.2.8
Bruce Ashfield [Tue, 28 Feb 2012 21:10:00 +0000 (16:10 -0500)]
linux-yocto: update to v3.2.8

3.2.8 was released and contains a floating point fix for x86 32
bit and some x86-64 fixes. So it's worth picking up right away.

(From OE-Core rev: 8bd3038b62eaf46f9ac09fcdc1ca5e6f6e53a126)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/meta: add pvr feature description
Bruce Ashfield [Tue, 28 Feb 2012 21:09:59 +0000 (16:09 -0500)]
linux-yocto/meta: add pvr feature description

Updating the 3.0 and 3.2 kernel SRCREVS to make the PVR feature
description available to machines with the appropriate hardware.

(From OE-Core rev: 0027bb45a40d209f43088e2c2b38191446ea1190)

Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: make kernel_checkout reentrant
Bruce Ashfield [Tue, 28 Feb 2012 21:09:58 +0000 (16:09 -0500)]
linux-yocto: make kernel_checkout reentrant

The steps in do_kernel_checkout modify the source tree in WORKDIR.
If it is called multiple times, or interrupted, the tree is left
in an inconsistent state.

This change adds protections around branch names, and around the
manipulations of directories to ensure that it is safe to call
at any point.

(From OE-Core rev: f937977f241e786c5a7438449ed4c9da4c55829b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosudo: upgrade to 1.8.4
Scott Garman [Tue, 28 Feb 2012 21:45:28 +0000 (13:45 -0800)]
sudo: upgrade to 1.8.4

During the upgrade to 1.8.4, the UCB-licensed fnmatch.c was replaced
with a non-recursive BSD-licensed version, hence the removal of UCB
and addition of BSD in the LICENSE field. This led to checksum changes
in the doc/LICENSE file, and we now additionally track the comment
headers in redblack.c.

These changes were confirmed on the sudo mailing list:

http://www.sudo.ws/pipermail/sudo-workers/2012-February/000736.html

This upgrade also fixes CVE-2012-0809.

(From OE-Core rev: 7147a569758414467c9d022e4c11fbc303e050aa)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage_types: Ensure dependencies for compression types containing multiple dots are...
Richard Purdie [Fri, 2 Mar 2012 12:29:27 +0000 (12:29 +0000)]
image_types: Ensure dependencies for compression types containing multiple dots are handled correctly

This ensures dependencies for image types like ext2.gz.u-boot are handled correctly.

(From OE-Core rev: d94cb18f7f17a492c7a948337d7d2d1d0785573f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoV2 Fix libpam's chmod
Robert Yang [Fri, 2 Mar 2012 10:34:19 +0000 (18:34 +0800)]
V2 Fix libpam's chmod

The libpam's has an error when generating the rootfs:

chmod: cannot access `/usr/sbin/unix_chkpwd': No such file or directory

This is because the following code in libpam_1.1.5.bb:

pkg_postinst_pam-plugin-unix () {
    # below is necessary to allow unix_chkpwd get user info from shadow file
    # on lsb images
    chmod 4755 ${sbindir}/unix_chkpwd
}

This is to set the setuid permission for unix_chkpwd (the lsb test
requires this), but it lacks a "${D}", and we can do this in the install
stage.

[YOCTO #2049]

(From OE-Core rev: 0725c7f01b173b1cc2090f4a03a274c7017b8a1a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/oe-git-proxy-socks-command: Add fallback to use nc
Richard Purdie [Thu, 1 Mar 2012 23:53:24 +0000 (23:53 +0000)]
scripts/oe-git-proxy-socks-command: Add fallback to use nc

If our own proxy command isn't available for some reason and nc is available,
fall back to use it.

(From OE-Core rev: aaab6ae94258277dcd2f29823a64689e6245fa7a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/oe-git-proxy-socks-command: Improve error fallback/handling
Richard Purdie [Thu, 1 Mar 2012 22:09:33 +0000 (22:09 +0000)]
scripts/oe-git-proxy-socks-command: Improve error fallback/handling

If oe-git-proxy-socks isn't available, try and create it.

If that fails, tell the user there is a problem, don't just fail
to find the command.

[YOCTO #2007]

(From OE-Core rev: 46c675d85603d7a573bc59638ce615aba9fd7df2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobusybox: Restore 'date' compatability
Gary Thomas [Thu, 1 Mar 2012 17:41:38 +0000 (10:41 -0700)]
busybox: Restore 'date' compatability

Restore CONFIG_FEATURE_DATE_COMPAT so that all versions of 'date',
whether from busybox or coreutils, agree on the format when
setting the date from the command line.

(From OE-Core rev: 5506cc481b7afd9a30af53e8966bcbe2ff67b6d0)

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitscripts: Properly format date when set from timestamp
Gary Thomas [Thu, 1 Mar 2012 17:41:37 +0000 (10:41 -0700)]
initscripts: Properly format date when set from timestamp

Reformat date, as stored in /etc/timestamp, to match CLI format.

(From OE-Core rev: 7aa4c51089cc4a2811bd11842647839d1e4b1e95)

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibproxy: Fix build errors due to missing prototypes
Khem Raj [Thu, 1 Mar 2012 18:08:03 +0000 (10:08 -0800)]
libproxy: Fix build errors due to missing prototypes

g++ really does not like the missing prototypes
here we were missing close() and read() so include
unistd.h to get them

(From OE-Core rev: f32b30ef4711fe602a11549f77be06a0eef2fc0d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosite.conf.sample: Fix broken SOCKS proxy setup and configuration
Inaky Perez-Gonzalez [Thu, 1 Mar 2012 09:44:34 +0000 (09:44 +0000)]
site.conf.sample: Fix broken SOCKS proxy setup and configuration

SOCKS proxy specification with git was using conflicting methods and
thus was failing when mixed SOCKS needs were in place (requiring no
proxy for some hosts and proxy for the rest)

- GIT_PROXY_COMMAND is an environment variable GIT uses to OVERRIDE
  all proxy configuration in ~/.gitconfig or any other gitconfig. By
  using it to configure, it was breaking havoc on site git
  configuration or the one generated by bitbake in tmp/.

  Renamed to OE_GIT_PROXY_COMMAND in meta/conf/site.conf.sample
   (with a doc tidbit on the name chosen), meta/classes/base.bbclass.

- The gitconfig generated by bitbake was wrong. There was a typo error
  (gitproxy vs gitProxy), thus all lines were being ignored. Fixed in
  meta/classes/base.bbclass.

- The gitconfig generated was being placed in
  ${STAGING_DIR_NATIVE}/usr/etc/gitconfig; git was looking for it in
  ${STAGING_DIR_NATIVE}/etc/gitconfig. Fixed that in
  meta/classes/base.bbclass, at the same time creating a
  GIT_CONFIG_PATH variable, since it is also referenced in
  generate_git_config() and have all instances refer to that.

(From OE-Core rev: e579eb7f33462258c8e82a0936d970593614840d)

Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoexternalsrc.bbclass: Add class for handling external source trees
Richard Purdie [Fri, 24 Feb 2012 12:29:36 +0000 (12:29 +0000)]
externalsrc.bbclass: Add class for handling external source trees

This is loosly based upon srctree.bbclass from OE-Classic but with some
changes appropriate to OE-Core.

(From OE-Core rev: bdb341953ba7d8299cba4d49d857107fb7b01e5b)

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