scm/bb/tizen-distro.git
11 years agopackage_*.bbclass: Drop fakeroot from setscene calls
Richard Purdie [Fri, 7 Jun 2013 15:15:48 +0000 (15:15 +0000)]
package_*.bbclass: Drop fakeroot from setscene calls

Back in 2010, I added these in commit: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=36f1ae42fe13dae174b7fb5eb85dc49d7d7b516b
however the package_write tasks sstate only consists of package files and no
fakeroot privileges are needed to write these out, only originally create them.

We can therefore drop these for some small performance gains and a less
convoluted depenency chain.

(From OE-Core rev: 3c760ce4dc15d85be07aafbfea896e7276e0c2c4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-external-tarball: Modernise and rename
Richard Purdie [Fri, 7 Jun 2013 11:05:01 +0000 (11:05 +0000)]
python-external-tarball: Modernise and rename

The external-python-tarball was intended to provide python for those users who
didn't have python 2.6. It has been unloved for a while so this refreshes
it a bit. Specifically:

* Include git and tar since these can have version issues on some systems
* Rename to buildtools-tarball to better reflect its purpose
* Remove the site-config file from the tarball, its pointless
* Prune down the environment file to just cover PATH and OECORE_NATIVE
  (which is needed to correctly install the tarball)
* Add missing grp module (used by do_package) from the unixadmin package

(From OE-Core rev: c8de009e96930709efe8f6aa4e65dd04a48081f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogit/tar/findutils: Add nativesdk versions
Richard Purdie [Fri, 7 Jun 2013 11:05:20 +0000 (11:05 +0000)]
git/tar/findutils: Add nativesdk versions

We need to be able to generate a standalone tarball containing tar/git so
add nativesdk versions of the appropriate recipes to allow this to be possible.

Tweak the git perl paths to avoid warnings when building the nativesdk version,
ensure the binaries are wrapped correctly and avoid update-alternatives in
nativesdk-tar.

(From OE-Core rev: c91bb8c76e3bd45690e66f3de79cd3adfe45f600)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxi: Add libxfixes as dependency
Saul Wold [Thu, 6 Jun 2013 03:30:50 +0000 (20:30 -0700)]
libxi: Add libxfixes as dependency

A clean build found libxi missing this dependency, possible build order
issue.

(From OE-Core rev: 7f5a0f98b3449d0a95fd6c12f1d6fa61b835fc2b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoself-hosted: Add libssp libraries to packagegroup/image
Saul Wold [Wed, 5 Jun 2013 22:59:46 +0000 (15:59 -0700)]
self-hosted: Add libssp libraries to packagegroup/image

These libraries are needed to ensure when the -fstack-protector flags
are used the compile will complete and not fail due to missing libraries

[YOCTO #4586]

(From OE-Core rev: 543ede707a268ca17f972be54860e455b4de9e0b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agozlib: update to upstream version 1.2.8
Marko Lindqvist [Thu, 30 May 2013 10:15:54 +0000 (13:15 +0300)]
zlib: update to upstream version 1.2.8

Only version number and release year changed in license text.

(From OE-Core rev: 776fa3e49db312bcfd71c6b0637c989ad36fc84b)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotune-cortexa5.inc: Add tune file for cortex-a5
Andy Voltz [Wed, 5 Jun 2013 15:52:30 +0000 (11:52 -0400)]
tune-cortexa5.inc: Add tune file for cortex-a5

(From OE-Core rev: 50bc63c5c377d9fbb87b3efefc8c6f5473ba642a)

Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotune-cortexa.inc: create a common include for cortex-a armv7a tuning
Andy Voltz [Wed, 5 Jun 2013 15:52:29 +0000 (11:52 -0400)]
tune-cortexa.inc: create a common include for cortex-a armv7a tuning

The tuning files for the cortex-a* processors are mostly identical for
the A7,A8,A9,A15 processors. Rework these files to use a CORTEX_ID
variable to setup the tuning for each specific processor.

(From OE-Core rev: 3e4f4a1cf07ff7cf4c71566492385f8fbf581789)

Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpcap: upgrade to 1.4.0
Cristian Iorga [Wed, 5 Jun 2013 15:09:07 +0000 (18:09 +0300)]
libpcap: upgrade to 1.4.0

0001-Fix-disable-canusb.patch,
0001-The-leading-comma-looked-weird-remove-it.patch,
0001-canusb-needs-lpthread.patch patches included in
upstream, no longer needed.

(From OE-Core rev: 329e73e56b227c5c9fb00e2201fdf1099607b473)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoiptables: upgrade to 1.4.19.1
Cristian Iorga [Wed, 5 Jun 2013 12:47:15 +0000 (15:47 +0300)]
iptables: upgrade to 1.4.19.1

fix-iptables-extensions-build-error.patch no longer needed.

(From OE-Core rev: 02971543527e993b60132ddb101a9093efa3f324)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel.bbclass: Fix link for modules-${MACHINE}.tgz
Yi Zhao [Wed, 5 Jun 2013 09:20:50 +0000 (17:20 +0800)]
kernel.bbclass: Fix link for modules-${MACHINE}.tgz

The modules-${MACHINE}.tgz should link to ${MODULE_TARBALL_BASE_NAME}.
But now it links to an invalid file ${MODULE_TARBALL_BASE_NAME}.bin.
Remove the extra .bin suffix.

[YOCTO #4595]

(From OE-Core rev: ef9fad8fff1c413bc0eab15625f051d4e2d0a201)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoimage_types.bbclass: add ubifs to IMAGE_TYPES
Andrea Adami [Tue, 4 Jun 2013 21:28:45 +0000 (23:28 +0200)]
image_types.bbclass: add ubifs to IMAGE_TYPES

* the IMAGE_TYPES variable is used exclusively by hob
* IMAGE_CMD_ubifs is already present in the class
* ubifs images can be flashed on existing ubi volumes with 'ubiupdatevol'

(From OE-Core rev: 0dc5a90b2d95ad21025769b0300390a4ff0052ac)

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython: enable IPv6 based on DISTRO_FEATURES
Dan McGregor [Mon, 3 Jun 2013 23:12:27 +0000 (17:12 -0600)]
python: enable IPv6 based on DISTRO_FEATURES

Base this on DISTRO_FEATURES, because we don't want it
unconditionally enabled.

(From OE-Core rev: 6956fb01e0c7332e4d8b59cbcb1cd997c54191fc)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomultilib.bbclass: fix the PACKAGEFUNCS_append
Robert Yang [Tue, 28 May 2013 05:46:16 +0000 (13:46 +0800)]
multilib.bbclass: fix the PACKAGEFUNCS_append

The PACKAGEFUNCS_append = "do_package_qa_multilib" lacks a "space",
which would cause unexpected errors.

[YOCTO #3190]
[YOCTO #4396]

(From OE-Core rev: acd5fc716bc3095d568bd1474b79f3a0fd616eea)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinsane/package: refactor packaging sanity tests
Robert Yang [Sat, 11 May 2013 22:46:10 +0000 (06:46 +0800)]
insane/package: refactor packaging sanity tests

Refactor packaging sanity tests from package.bbclass to insane.bbclass
so that the message can respect WARN_QA (print the warning message and
go on the task) and ERROR_QA (print the error message and fail the
task).

- For the bb.warn(), give it a message name and add it to WARN_QA, then
  use package_qa_handle_error() to handle it.

- For the bb.error(), give it a message name and add it to ERROR_QA,
  then use package_qa_handle_error() to handle it.

- All the bb.warn() and bb.error() have been replaced in
  package.bbclass.

- A few bb.warn() and bb.error() in insane.bbclass have been kept since
  they can not be replaced or doesn't have to, for example the
  bb.error() in package_qa_check_license(), it will print the error
  message and then invoke bb.fatal() to fail the task, I think that we
  don't have to replace it with package_qa_handle_error().

- Put all the WARN_QA and ERROR_QA in one line, so that they can be
  redefined by the user easily.

[YOCTO #3190]
[YOCTO #4396]

(From OE-Core rev: 2f117ee615b703db07d3274ac592e2bd653743dd)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodefaultsetup.conf: remove INHERIT_INSANE
Robert Yang [Sat, 11 May 2013 22:46:10 +0000 (06:46 +0800)]
defaultsetup.conf: remove INHERIT_INSANE

The insane has been inherited by package.bbclass and becomes a
requirement, so we can remove it from defaultsetup.conf.

Note:
You can decide whether to take this patch or not.

[YOCTO #3190]
[YOCTO #4396]

(From OE-Core rev: 875f31facd02b47afb867aed76fef6b89a7b17cf)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinsane/package: let package.bbclass inherit insane.bbclass
Robert Yang [Sat, 11 May 2013 22:46:10 +0000 (06:46 +0800)]
insane/package: let package.bbclass inherit insane.bbclass

RP's comment:
"What we're trying to do is move everything to use a standard mechanism
for reporting issues of this type (do_package). With insane.bbclass, you
can elect whether a given type of error is a warning or error and fails
the task."

* The package.bbclass had used package_qa_handle_error() which is from
  insane.bbclass, and we will use it for handling other warnings and
  errors, so let package.bbclass inherit insane.bbclass, this change will
  make the insane as a requirement (always included).

* Change the "PACKAGEFUNCS ?=" to "+=", otherwise there would be an
  error like:
  Exception: variable SUMMARY references itself!

  This is because we let package.bbclass inherit insane.bbclass, and
  PACKAGEFUNCS has been set in insane.bbclass, so the "PACKAGEFUNCS ?="
  will set nothing, then the "emit_pkgdata" doesn't run which will
  cause this error.

* Add a QA_SANE variable in insane.bbclass, once the error type
  is ERROR_QA, it will fail the task and stop the build.

[YOCTO #3190]
[YOCTO #4396]

(From OE-Core rev: 852dead71387c66ec0cba7c71e3814a74e409560)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman: update to 1.15
Jack Mitchell [Tue, 4 Jun 2013 11:14:43 +0000 (12:14 +0100)]
connman: update to 1.15

(From OE-Core rev: b1cd1c692d7b13e6865353c9bb2f7cf331c9f774)

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoweston: update to 1.1.0
Ross Burton [Fri, 31 May 2013 14:57:35 +0000 (15:57 +0100)]
weston: update to 1.1.0

Upgrade to 1.1.0, and disable the RaspberryPi and RDP compositors.  Hopefully
the RPi community can send a patch to add a PACKAGECONFIG for them.

(From OE-Core rev: 2e8e31a6812368688138b53c0aa92982354f832f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowayland: update to 1.1.0
Ross Burton [Fri, 24 May 2013 12:00:13 +0000 (13:00 +0100)]
wayland: update to 1.1.0

(From OE-Core rev: e7856f5527368c09c78f8e093c20fefd0e9fc83e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: update git recipe to 9.1.3 release
Ross Burton [Thu, 30 May 2013 14:25:34 +0000 (15:25 +0100)]
mesa: update git recipe to 9.1.3 release

It's not bleeding edge but it's better than the previous pre-9.1 commit.

(From OE-Core rev: a8b8e21afce050b677e9168e08b3f318aee72e1f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: upgrade to 9.1.3
Ross Burton [Wed, 29 May 2013 14:57:06 +0000 (15:57 +0100)]
mesa: upgrade to 9.1.3

Merge mesa-PV.bb and mesa-PV.inc as the is no point to the split now we're only
building one variant of Mesa.

Drop 0002-cross-compile.patch isn't needed as libtool is used instead of mklib.
However, as libtool is used instead of mklib add fix-glsl-cross.patch to work
around build failures caused by the cross libtool being used to build host
binaries.

Add EGL-Mutate-NativeDisplayType-depending-on-config.patch to build correctly in
a non-X11 environment.

Drop dont-fail-if-libX11-isnt-installed.patch and
fix-egl-compilation-without-x11-headers.patch as they were backports.

license.html had some formatting and typo fixes, update the checksum.

(From OE-Core rev: d7033f4441183e53bf7fc8aa2293a9ec156a28dd)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopixman: update to upstream version 0.30.0
Marko Lindqvist [Thu, 30 May 2013 10:16:45 +0000 (13:16 +0300)]
pixman: update to upstream version 0.30.0

(From OE-Core rev: 25a77c7c5793ac0c1b1c2c686bfe9d966fb49023)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoicu: update to upstream version 51.2
Marko Lindqvist [Thu, 30 May 2013 10:16:18 +0000 (13:16 +0300)]
icu: update to upstream version 51.2

Only thing changed in license.html is addition of 2013 to
(c) years.

(From OE-Core rev: f994c58e21bc400a98d532095633fba810251300)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotest_utils: import functions directly for conciseness
Ross Burton [Thu, 23 May 2013 11:35:08 +0000 (12:35 +0100)]
test_utils: import functions directly for conciseness

(From OE-Core rev: 2a147008cf81838cfc569640a30df0c1bfd74e08)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotest-utils: handle import bb failing and skip the test
Ross Burton [Thu, 23 May 2013 11:34:04 +0000 (12:34 +0100)]
test-utils: handle import bb failing and skip the test

Instead of reporting an error when bb cannot be imported, skip the test
instead. This makes it a lot easier to iterate a test suite when we don't care
about this particular test.

(From OE-Core rev: c4a5bd810ca92d57c334113c528bd1d233b3eac4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomatchbox-terminal: Update to git HEAD 452bca253492a97a587f440289b9ab27d217353e
Ionut Radu [Wed, 22 May 2013 17:04:00 +0000 (20:04 +0300)]
matchbox-terminal: Update to git HEAD 452bca253492a97a587f440289b9ab27d217353e

(From OE-Core rev: 6ff15b794d3027d315712e6a5abae1bed0159d1a)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogrub-0.97: fix the objcopy error in configure
Jackie Huang [Tue, 4 Jun 2013 10:59:40 +0000 (06:59 -0400)]
grub-0.97: fix the objcopy error in configure

Get patch from ubuntu to fix this:
error: GRUB requires a working absolute objcopy; upgrade your binutils

(From OE-Core rev: 18bb555268ecc11d0fb7d4f404a38f1b453f2928)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobdwgc: enable full version name in recipe name
Bogdan Marinescu [Tue, 4 Jun 2013 06:52:20 +0000 (09:52 +0300)]
bdwgc: enable full version name in recipe name

bdwgc has version names that may or may not contain a revision
(for example 7.2d or simply 7.2). The current recipe specifies
the revision as a separate variable, which confuses the automatic
version checker. This patch enables using the full version name
as part of the recipe name.

(From OE-Core rev: 662b485e155257695ac7cc47f4cd26ddf94720ba)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosubversion: upgraded to 1.7.10
Bogdan Marinescu [Mon, 3 Jun 2013 11:53:21 +0000 (14:53 +0300)]
subversion: upgraded to 1.7.10

(From OE-Core rev: 6866fd80ec59ef1e2d24263827237be8ff21584f)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpng : upgrade to 1.6.2
Andrei Dinu [Fri, 31 May 2013 12:45:28 +0000 (15:45 +0300)]
libpng : upgrade to 1.6.2

upgrade from 1.6.1 -> 1.6.2

- removed patch contained upstream
- minor changes in png.h and LICENSE file ( changes
regarding the date )

(From OE-Core rev: c71a175add6493a2a419e46ab0ef96cbd3fcb70a)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogdk-pixbuf: upgrade to 2.28.1
Ross Burton [Thu, 23 May 2013 13:40:59 +0000 (14:40 +0100)]
gdk-pixbuf: upgrade to 2.28.1

Something along the lines of pngversion.patch was merged upstream, so drop that
patch.

Also use the new trim_version() function for a future-proof SRC_URI.

(From OE-Core rev: 30b32addd189e7acce73965c9176227d5f392ab9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoweston: clean up and add comments
Ross Burton [Fri, 31 May 2013 14:36:05 +0000 (14:36 +0000)]
weston: clean up and add comments

(From OE-Core rev: 46159f632513de1f14d03e425799a0c193532298)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoweston: add a weston-launch group
Ross Burton [Fri, 31 May 2013 14:22:56 +0000 (14:22 +0000)]
weston: add a weston-launch group

For weston-launch to be used by a non-root user, the user either needs to be a
member of the weston-launch group or own an active systemd user session.  Create
this group so users can be members of it.

(From OE-Core rev: 02e486ec9321fd3d7769c70979207335847a8f92)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoweston: install the examples into weston-examples
Ross Burton [Fri, 31 May 2013 11:33:06 +0000 (11:33 +0000)]
weston: install the examples into weston-examples

(From OE-Core rev: 04234dfc2bc4c1bc4f3840fa9a162b25ba6ba049)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocore-image-weston: basic image that boots directly to Weston
Ross Burton [Thu, 17 Jan 2013 07:39:44 +0000 (07:39 +0000)]
core-image-weston: basic image that boots directly to Weston

This adds an image that boots directly to Weston on KMS/DRM, and includes the
Weston terminal and gtk+3-demo for incredibly basic testing.

(From OE-Core rev: 18d88072f1392bbd98036f877c46c213af5b9722)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoweston-init: basic init script to start Weston on KMS/DRM
Ross Burton [Wed, 27 Mar 2013 17:50:42 +0000 (17:50 +0000)]
weston-init: basic init script to start Weston on KMS/DRM

weston-init is a very basic init script to start Weston as root on KMS/DRM.

To re-iterate, this runs Weston as root.  This will be fixed to use
weston-launch shortly.

(From OE-Core rev: eba825e4698f6923c32c347eb306abe9d7f3519d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogstreamer: moved LIBV out of gst-plugins-package.inc file
Carlos Rafael Giani [Fri, 31 May 2013 19:15:57 +0000 (19:15 +0000)]
gstreamer: moved LIBV out of gst-plugins-package.inc file

Since gst-plugins-package.inc is going to be used by the following
GStreamer 1.0 recipes as well, LIBV has to be set outside of the .inc file.

(From OE-Core rev: 3cda3f1e3081ce51d8e964feff29e44558076522)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogstreamer: fixed -meta package rdepends
Carlos Rafael Giani [Fri, 31 May 2013 19:15:56 +0000 (19:15 +0000)]
gstreamer: fixed -meta package rdepends

The -meta packages were depending on non-existing packages,
like -glib and -apps. The fix checks if packages in the PACKAGES list
are empty. If so, they are omitted from the rdepends list.

(From OE-Core rev: 7c556a1f437c0a5b472727f89ff6c3d5f835b63d)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpcre: upgraded to 8.33
Bogdan Marinescu [Mon, 3 Jun 2013 10:22:01 +0000 (10:22 +0000)]
libpcre: upgraded to 8.33

The license didn't modify, just the license years (2012->2013).

(From OE-Core rev: 8085ccf585b7d7f70f47362308ddacf9aa577649)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodiffstat: upgraded to 1.57
Bogdan Marinescu [Mon, 3 Jun 2013 10:10:20 +0000 (10:10 +0000)]
diffstat: upgraded to 1.57

(From OE-Core rev: 36f14ee692a632234a4670f4b4ec2db8f4e32241)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinuxdoc-tools-native : upgrade to 0.9.69
Andrei Dinu [Thu, 30 May 2013 08:05:02 +0000 (08:05 +0000)]
linuxdoc-tools-native : upgrade to 0.9.69

upgrade from 0.9.66 -> 0.9.69

- COPYING file contains now more detailed information.
- reworked a patch because it didn't apply.

(From OE-Core rev: 376612cbf7fa5c68ae3adb6f4c1b4427e69a1871)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agozlib: update to upstream version 1.2.8
Marko Lindqvist [Thu, 30 May 2013 10:15:54 +0000 (10:15 +0000)]
zlib: update to upstream version 1.2.8

Only version number and release year changed in license text.

(From OE-Core rev: 4688c905776b9d995b2510224da269ac85bc8253)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake: Improve remote server handling
Alexandru DAMIAN [Fri, 31 May 2013 11:06:48 +0000 (12:06 +0100)]
bitbake: bitbake: Improve remote server handling

Two fixes in bitbake related to running remote servers -
* can now specify correctly the bind port
* the information in print conforms to common server infrastructure

(Bitbake rev: b657208ee15ae065e5fcc2dd6e0051e03d246727)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: xmlrpc: Allow server to remain memory resident
Alexandru DAMIAN [Fri, 31 May 2013 11:06:47 +0000 (12:06 +0100)]
bitbake: xmlrpc: Allow server to remain memory resident

This patch enables the XMLRPC server to remain
resident in memory after a task is run, and to accept
a new controlling client. To check the server after
task completion, do

lsof bitbake.lock

in the build directory. Kill the server with kill.

(Bitbake rev: e823e1f0675ff3794eb39ef0b4df2d7a220f4013)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake server: create common server infrastructure
Alexandru DAMIAN [Fri, 31 May 2013 11:06:46 +0000 (12:06 +0100)]
bitbake: bitbake server: create common server infrastructure

In an attempt to minimize code duplication, create
clear interfaces, and maximize code reuse through OOP,
bb.server adds base classes for the BitBakeServer,
BitBakeServerConnection and actual server implementations
instructed in particular server types.

These classes document the minimum interfaces that the
derived classes must implement, and provide boilerplate code.

Changes to None, Process and XMLRPC servers as to use
the common server infrastructure.

(Bitbake rev: 6db4a64cef20f8d0aba804db4c4e1eec7b112b46)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolrzsz: check locale.h in configure
Jackie Huang [Fri, 31 May 2013 16:02:00 +0000 (16:02 +0000)]
lrzsz: check locale.h in configure

fix the build failure:
lrz.c:284:13: error: 'LC_ALL' undeclared (first use in this function)

(From OE-Core rev: 8a2ac668d99f7d64c2acffc3a39cedb2d152be6e)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc: add build directory to include directories
Roy.Li [Fri, 31 May 2013 15:55:46 +0000 (10:55 -0500)]
gcc: add build directory to include directories

Add build directory to include directories by -I${B}/include which will
be searched before standard system include directories.

Both libunwind and gcc supply unwind.h, once gcc use libunwind's unwind.h,
the compiling will fail.

This patch is generally not applicable to the upstream as they do not
use libunwind.

(From OE-Core rev: 2b47bce78536a800205b2385bba69038351545e5)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc: Workaround for compiler flag mismatch
Mark Hatle [Fri, 31 May 2013 15:23:10 +0000 (15:23 +0000)]
gcc: Workaround for compiler flag mismatch

When cross compiling the target compiler, both the cross-compiler
and the host compiler are used.  However, the -W options used were
discovered from the cross-compiler and may be incompatible with the
host compiler.

(From OE-Core rev: 1f40202ce3c1282674b6cea39ef709972275f201)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutil-linux: Add support for older hosts
Mark Hatle [Fri, 31 May 2013 15:24:37 +0000 (15:24 +0000)]
util-linux: Add support for older hosts

Older hosts don't support some of the features required by
the latet util-linux.  Add workarounds or revert changes to older
versions to make it work.

(From OE-Core rev: da5b23e45c7e4dea2f3802ff5af5c81b08aba201)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoudev: do not recommend pciutils/usbutils ids
Marcin Juszkiewicz [Fri, 31 May 2013 14:11:20 +0000 (14:11 +0000)]
udev: do not recommend pciutils/usbutils ids

udev does not require those files to be operational and they add ~350KB
to rootfs

(From OE-Core rev: af85ad00d31db0cfe499af815357f7f118e7e546)

Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: Drop bitbake-runtask (removed upstream a while ago)
Richard Purdie [Tue, 4 Jun 2013 10:54:23 +0000 (11:54 +0100)]
bitbake: Drop bitbake-runtask (removed upstream a while ago)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoalsa-tools: Fix configure race
Richard Purdie [Fri, 31 May 2013 11:07:08 +0000 (14:07 +0300)]
alsa-tools: Fix configure race

aclocal is being called here directly,
not called by autotools.bbclass wrapper.
aclocal files are installed in sysroot,
and are removed while build is still running.
This translates to a possible race condition during the build.

Fixes [YOCTO #4358].

(From OE-Core rev: dea66ade1184cef6aeb242d87867759ca44a8895)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoautotools.bbclass: Factor out aclocal copying function
Richard Purdie [Fri, 31 May 2013 11:06:24 +0000 (14:06 +0300)]
autotools.bbclass: Factor out aclocal copying function

Some recipes may need to manually call the aclocal copying
functionality so factor this out into a function.

(From OE-Core rev: a5a08543c8cec43d993b2bba0ad6a9357c0a5e04)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto_kernel: modify the msg when adding duplicate items
Ning Zhang [Mon, 3 Jun 2013 05:21:18 +0000 (13:21 +0800)]
yocto_kernel: modify the msg when adding duplicate items

Privious check-in "yocto_kernel: check current items before add a
new one" had been merged before I apply the feedback from Zanussi, Tom.
Now fix it as a new patch.

This fix modify the output message when customer adding duplicate
items.

[YOCTO #4558]

(From meta-yocto rev: 530c6efa85b1798d30db4c6c83a748b100b8c1c3)

Signed-off-by: Ning Zhang <ning.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxf86-video-modesetting: backport fix for graphics corruption
Jonathan Liu [Fri, 31 May 2013 10:07:34 +0000 (10:07 +0000)]
xf86-video-modesetting: backport fix for graphics corruption

This fixes graphics corruption that can occur when using 32 bpp pixmaps
with 24 bpp framebuffer.

(From OE-Core rev: dc8ad21502549b33b4c59c31df66d15d2f656df7)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomakedevs: Make count actually behave as a count for device blocks
Peter Kjellerstedt [Fri, 31 May 2013 11:36:49 +0000 (13:36 +0200)]
makedevs: Make count actually behave as a count for device blocks

Previously count actually behaved as end, and did not take start into
account.

(From OE-Core rev: 4fe2b01bfd2831b002e7138dadbc0437df6e9ed6)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity.bbclass: make sure python is a full install
Jesse Zhang [Mon, 3 Jun 2013 07:37:48 +0000 (07:37 +0000)]
sanity.bbclass: make sure python is a full install

Components of the Standard Library should be available. Add a sanity
check for xml.parsers.expat; we might add more in the future.

[YOCTO #4424]

(From OE-Core rev: bb027a332f2f2927a6bcbc4c035b42a012d0579e)

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocogl: add missing xrandr dependency
Ross Burton [Thu, 30 May 2013 13:45:02 +0000 (13:45 +0000)]
cogl: add missing xrandr dependency

(From OE-Core rev: c665f2d02f1daf6c7ebbe357284b7e5bbf401c54)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate.bbclass: fixup extra hardcoded paths
Jackie Huang [Wed, 29 May 2013 09:21:00 +0000 (09:21 +0000)]
sstate.bbclass: fixup extra hardcoded paths

sstate has a logic to fixup hardcoded paths in scripts,
but it misses in some specific cases, so add
EXTRA_STAGING_FIXMES to the fixup hardcoded paths
mechanism, so that we can specify what hardcoded paths
need to be fixed in a recipe, e.g.
EXTRA_STAGING_FIXMES = "STAGING_BINDIR_TOOLCHAIN"

(From OE-Core rev: 2e840db56c45b4c63fded55f4ed763b7099284b9)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/buildhistory: record removals in buildhistory directory
Jonathan Liu [Fri, 31 May 2013 11:09:14 +0000 (11:09 +0000)]
classes/buildhistory: record removals in buildhistory directory

"git add ." does not record files that were removed in the buildhistory
directory. Specify the -A flag to also record removals.

This was discovered by the following warning added in Git 1.8.3:
warning: You ran 'git add' with neither '-A (--all)' or '--ignore-removal',
whose behaviour will change in Git 2.0 with respect to paths you removed.

(From OE-Core rev: a45a247e2cfa58892a0c9eb050d603a38cd839db)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogdb: don't build with LZMA
Saul Wold [Tue, 4 Jun 2013 00:10:07 +0000 (00:10 +0000)]
gdb: don't build with LZMA

This was a floating dependency that got added in recently and was
caught on the Autobuilder, disable building with LZMA to ensure
consistent builds

(From OE-Core rev: 1e58fc8f6ac8f13d6c86a3ae340d90dd53b3ec27)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobinutils: fix compile error of complex expressions before @l/@h
Zhenhua Luo [Mon, 3 Jun 2013 04:23:03 +0000 (12:23 +0800)]
binutils: fix compile error of complex expressions before @l/@h

Back port two patches to fix the error of complex expressions before @l/@h.

Error sample:
test.s: Assembler messages:
test.s:1: Error: operand out of range (0xffffffffffff8000 is not between 0x0000000000000000 and 0x000000000000ffff)

Fix Bug 4524.

(From OE-Core rev: 9ba812ab1f613d28f9eb3192d2ff1a34dfce33e4)

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoapt-native: Fix incorrect checksums
Richard Purdie [Mon, 3 Jun 2013 15:42:09 +0000 (16:42 +0100)]
apt-native: Fix incorrect checksums

The apt recipe had the correct checksums, the -native did not. Depending
on which downloaded first, the build could succeed or fail.

This patch corrects the checksums for -native to match the apt recipe.

(From OE-Core rev: 86d0708bb59952a139e705a8c396e70dd0084b75)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorpm: remove .real hacks in argument parsing
Ross Burton [Fri, 31 May 2013 11:05:39 +0000 (12:05 +0100)]
rpm: remove .real hacks in argument parsing

The argument parser in RPM was patched to look for <binary>.real, but since the
wrapper now fakes the right argv[0] rpm wasn't able to parse any options.

(From OE-Core rev: a67b4cfc41819ed77ed2bc4246228e9d006a4317)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: Added distroy signal to information dialogs
Andrei Dinu [Wed, 29 May 2013 08:42:22 +0000 (11:42 +0300)]
bitbake: Added distroy signal to information dialogs

Added distroy signal to information dialogs
so that when pressing the close button,
the dialog would close.

[HOB #4568]

(Bitbake rev: 265e27857d1d8914486b924d3390bfbe88f4e39b)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: lib/bb/cache.py: Change debugging note to a debug message
Mark Hatle [Wed, 29 May 2013 04:01:18 +0000 (23:01 -0500)]
bitbake: lib/bb/cache.py: Change debugging note to a debug message

Some apparently debugging was left in in a previous commit.  This caused
bitbake to return a list of bbappends when things changed from the cache.

Make this a proper debug message.

(Bitbake rev: 1965e5cbdfede18d7b7cb0218e0a5147c3f1c884)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofindutils: backport more fixes for documentation build errors
Jonathan Liu [Fri, 31 May 2013 02:15:51 +0000 (12:15 +1000)]
findutils: backport more fixes for documentation build errors

(From OE-Core rev: bb6e59e58033edac509d449b4be916ad6a0a5ad1)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodpkg: Be deterministic about lzma dependency
Richard Purdie [Thu, 30 May 2013 07:42:01 +0000 (08:42 +0100)]
dpkg: Be deterministic about lzma dependency

dpkg has no DEPENDS on lzma so turn it off explicitly.

[YOCTO #4518]

(From OE-Core rev: 12fbd693f4565e66d10af4e801e7435996d67e76)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto: remove 3.2 kernel recipes
Bruce Ashfield [Fri, 31 May 2013 03:28:45 +0000 (23:28 -0400)]
linux-yocto: remove 3.2 kernel recipes

Moving forward we plan to support two kernels plus the development
kernel. That leaves 3.2 as the next kernel to be dropped. Support
for this version will be carried in the sustained/old releases.

(From OE-Core rev: b8d53d8f91bd1b165016ea1063868c8b15f07ce0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokern-tools: expand kernel features that point to a directory name
Bruce Ashfield [Fri, 31 May 2013 03:28:48 +0000 (23:28 -0400)]
kern-tools: expand kernel features that point to a directory name

Updating the kern-tools SRCREV to pick up the following fix:

    When a feature is passed to the kernel configuration scripts, and that
    feature is a directory name, it is a shortcut for:

      $DIR/$DIR.scc

    This expansion is not commonly used, and should be avoided. But for the
    purposes of backwards compatibility, updateme can expand the feature into
    a .scc file before passing it to the next set of configuration scripts.

(From OE-Core rev: bec0a48c34695827d70cbbde7795b5a56fc13d56)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu*: restrict NFSD to linux-yocto only
Bruce Ashfield [Fri, 31 May 2013 03:28:46 +0000 (23:28 -0400)]
qemu*: restrict NFSD to linux-yocto only

In the current releases, not all linux-yocto derived kernels have NFS
support, or NFS support fragments availble. To ensure that derived
kernels like linux-yocto-cutom continue to work against poky-lsb,
we can make the KERNEL_FEATURE append more specific to the linux-yocto
recipe.

(From OE-Core rev: 799f53e8844748a930a9cbc7a4cf1056f19bb037)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto: v3.8.13 and v3.4.46
Bruce Ashfield [Fri, 31 May 2013 03:28:47 +0000 (23:28 -0400)]
linux-yocto: v3.8.13 and v3.4.46

Updating the -stable linux-yocto trees to the latest korg -stable releases.

(From OE-Core rev: 00e0ec6c1441815a7605753e8888e45244900b63)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofile: remove obsolete version check patch
Jonathan Liu [Fri, 31 May 2013 04:11:40 +0000 (14:11 +1000)]
file: remove obsolete version check patch

After e8d2a2a3646f964ec61ece62e14788cd7184dd01 [OE-Core], file --version
returns file-5.14 instead of file.real-5.14 so the patch is no longer
necessary and causes the build to fail with the following:
| Cannot use the installed version of file (file-5.14) to
| cross-compile file 5.14
| Please install file 5.14 locally first

(From OE-Core rev: f89f705da9bffd9d10628e90a415db4411d22b4e)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonfs-utils: obey 'tcp-wrappers' PACKAGECONFIG
Christopher Larson [Fri, 31 May 2013 02:26:29 +0000 (19:26 -0700)]
nfs-utils: obey 'tcp-wrappers' PACKAGECONFIG

(From OE-Core rev: 1102cc6540fedb1560b9aaa14023fff65e0406e8)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: obey 'tcp-wrappers' PACKAGECONFIG
Christopher Larson [Fri, 31 May 2013 02:26:27 +0000 (19:26 -0700)]
systemd: obey 'tcp-wrappers' PACKAGECONFIG

(From OE-Core rev: 5ada1631ee6feb0b031b64c9fe5cf0d390c732f9)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoportmap: obey 'tcp-wrappers' PACKAGECONFIG
Christopher Larson [Fri, 31 May 2013 02:26:28 +0000 (19:26 -0700)]
portmap: obey 'tcp-wrappers' PACKAGECONFIG

(From OE-Core rev: a5d9fde36c5912a28b3a5a582e709902a27247ba)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoquota: obey 'tcp-wrappers' PACKAGECONFIG
Christopher Larson [Fri, 31 May 2013 02:26:26 +0000 (19:26 -0700)]
quota: obey 'tcp-wrappers' PACKAGECONFIG

(From OE-Core rev: a564463609f4ec832adbe12bff7a66ece53a0d9f)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorpcbind: obey 'tcp-wrappers' PACKAGECONFIG
Christopher Larson [Fri, 31 May 2013 02:26:25 +0000 (19:26 -0700)]
rpcbind: obey 'tcp-wrappers' PACKAGECONFIG

(From OE-Core rev: 944d97d32a3e2369ae6071d75683d1fc5a98faa5)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agohicolor-icon-theme: keep inherited dependencies and switch to gnomebase
Eric Bénard [Thu, 30 May 2013 20:40:29 +0000 (22:40 +0200)]
hicolor-icon-theme: keep inherited dependencies and switch to gnomebase

- switching to gnomebase removes postinst and postrm scripts that
gtk-icon-cache was bringing (and which are not necessary) else, if an
image installs hicolor-icon-theme without any other gnome package,
the dependency on gdk-pixbuf-native was missing and if it exists,
the host gdk-pixbuf-query-loaders binary was be
used and it will try to update the host's cache

- keep inherited dependencies as these are only native ones
DEPENDS = autoconf-native automake-native gnome-common-native
gnu-config-native libtool-native pkgconfig-native

[YOCTO #4572]

(From OE-Core rev: aa500de527b3afdac8765d68f9cd1c2e09149477)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutils.bbclass: ensure $0 is correct in wrapper scripts
Ross Burton [Thu, 30 May 2013 16:55:10 +0000 (17:55 +0100)]
utils.bbclass: ensure $0 is correct in wrapper scripts

Some packages (eg mesa) will invoke a tool with --version and do string matches
on the output (i.e. mesa does $LEX --version |grep "^flex ").  This doesn't work
with the combination of wrapper scripts and binaries that use $0 as they output
"flex.real".

Luckily bash's exec lets you set $0.  As we want to use this we can't use env,
but using export appears to work just as well.

(From OE-Core rev: e8d2a2a3646f964ec61ece62e14788cd7184dd01)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoatk: upgrade to 2.8
Ross Burton [Thu, 30 May 2013 13:52:39 +0000 (14:52 +0100)]
atk: upgrade to 2.8

Upgrade to the latest upstream, and future-proof the SRC_URI using
trim_version().

(From OE-Core rev: 72c6fb8ac57b1f4a5c6dd3a65c3150f1e2f0ffd1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopenssl: fix documentation build errors with Perl 5.18 pod2man
Jonathan Liu [Thu, 30 May 2013 13:55:09 +0000 (23:55 +1000)]
openssl: fix documentation build errors with Perl 5.18 pod2man

(From OE-Core rev: 8792b7fb4ef8d66336d52de7e81efbb818e16b08)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocogl: remove documentation hacks
Ross Burton [Thu, 30 May 2013 13:22:15 +0000 (14:22 +0100)]
cogl: remove documentation hacks

These sed lines disable the documentation and appear to be historical, building
works fine without them.

(From OE-Core rev: cb36bc74b772c355f219df5a3ff39f1ca95272ba)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclutter: remove documentation hacks
Ross Burton [Thu, 30 May 2013 13:22:16 +0000 (14:22 +0100)]
clutter: remove documentation hacks

These sed lines disable the documentation and appear to be historical, building
works fine without them.

(From OE-Core rev: b2ca9ac7b6e28ae8cc6470c7f537c55f60c6d505)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-smartpm: add gettext-native to DEPENDS
Paul Eggleton [Thu, 30 May 2013 08:49:15 +0000 (09:49 +0100)]
python-smartpm: add gettext-native to DEPENDS

Fixes the following failure at do_install building python-smartpm-native
if gettext-native has not already been built and gettext tools are not
installed on the host:

| compiling locale/it/LC_MESSAGES/smart.po -> locale/it/LC_MESSAGES/smart.mo
| sh: msgfmt: command not found
...
| creating $D/usr/share/share/locale/it/LC_MESSAGES
| error: can't copy 'locale/it/LC_MESSAGES/smart.mo': doesn't exist or not a regular file

Note that we need gettext-native in DEPENDS and not "inherit gettext"
here because for native variants, gettext.bbclass instead adds
gettext-minimal-native to DEPENDS and that does not provide the msgfmt
command.

(From OE-Core rev: e8d903e2d5e0c0df18dfd9561c3f8ef340297f1f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto_kernel: check current items before add a new one
Ning Zhang [Wed, 29 May 2013 09:45:56 +0000 (09:45 +0000)]
yocto_kernel: check current items before add a new one

When use "yocto-kernel config add" to add the same config many times,
all of these are list when use "yocto-kernel config list" to check.

This fix modify routine yocto_kernel_config_add, if the new added
components already exist in current configuration, just igore them.
Now, one config could only be added one time.

[YOCTO #4558]

(From meta-yocto rev: 655ccc5ed77b52fb62dab5f6cfdf3de39b1bf055)

Signed-off-by: Ning Zhang <ning.zhang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoportmap: /etc/init.d/portmap restart complains "command not found"
Amy Fong [Wed, 25 Jul 2012 15:53:42 +0000 (15:53 +0000)]
portmap: /etc/init.d/portmap restart complains "command not found"

portmap splits pmap_dump and pmap_set into a different package:
portmap_utils. Since this package might not be installed, I introduce
another init file that tests for the existance of these apps before trying
to run the pmap_* commands.

(From OE-Core rev: cfa813dfc8d8d4d45d9f995d20322a3226a4e20b)

Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibarchive: Fix build dependencies
Mark Hatle [Fri, 24 May 2013 15:22:02 +0000 (15:22 +0000)]
libarchive: Fix build dependencies

Move to using the PACKAGECONFIG mechanism to select configure options and
dependencies.  Without this the system will attempt to discover various
dependencies, and usually does so incorrectly.

We also ensure that the nativesdk version does not inherit any of the
DISTRO_FEATURES.  We shouldn't need acl or xattr support for nativesdk.

(From OE-Core rev: d9f9bfed56ef8562256fc01c3e42e15734230c3a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomakedevs: Avoid unnecessary timestamp calculation
Peter Kjellerstedt [Thu, 30 May 2013 12:18:32 +0000 (14:18 +0200)]
makedevs: Avoid unnecessary timestamp calculation

(From OE-Core rev: af4b5eac7acf36444de078c294c3adc3f2763511)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomakedevs: Make the mode number readable in debug messages
Peter Kjellerstedt [Thu, 30 May 2013 12:18:31 +0000 (14:18 +0200)]
makedevs: Make the mode number readable in debug messages

(From OE-Core rev: 56f4adfc37d44e9626a5d157863f4b760bb516ec)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomakedevs: Correct the device number calculation for blocks of devices
Peter Kjellerstedt [Wed, 29 May 2013 11:51:02 +0000 (11:51 +0000)]
makedevs: Correct the device number calculation for blocks of devices

If the increment > 1 and the start > 0 then the calculation for the
minor device number was incorrect.

(From OE-Core rev: 0a878426bee607a7d961ba475a7ec7e89115df35)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomakedevs: Create blocks of devices with the correct uid/gid
Peter Kjellerstedt [Wed, 29 May 2013 11:47:17 +0000 (11:47 +0000)]
makedevs: Create blocks of devices with the correct uid/gid

When creating a block of devices (i.e., when count > 0), the wrong
path was used with the call to chown(), effectively trying to change
the owner of some (probably) non-existent file. Thus the created
device nodes were always owned by root.

(From OE-Core rev: e7796880164d6a37c2699a94e1c5391337c5eaa5)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoncurses: Fix problems expanding ncurses-libtinfo when in IMAGE_INSTALL
Jason Wessel [Tue, 23 Apr 2013 15:26:12 +0000 (15:26 +0000)]
ncurses: Fix problems expanding ncurses-libtinfo when in IMAGE_INSTALL

The ncurses package was generating the following error as a result
of not specifing the PACKAGES_DYNAMIC correctly.  This error only
appear when using the IMAGE_INSTALL list that has been expanded by
the hob or from the pkgdata.

ERROR: Nothing RPROVIDES 'ncurses-libtinfo'

The dynamic packages are named using "${PN}-lib%s".  So we check for
${PN}-lib*

(From OE-Core rev: 67dd4e31272918e08b65b5c8d5d6b00e814dbf7f)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibnl: fix two parentheses bugs in lib/cache_mngr.c file
Song.Li [Fri, 29 Jun 2012 09:29:41 +0000 (09:29 +0000)]
libnl: fix two parentheses bugs in lib/cache_mngr.c file

there are two parentheses bugs in libnl /lib/cache_mngr.c file.
The parentheses doesn't make any sense,
This will cause the variable err get a bool value,
the correct value of variable err should be the return value
of the function which can be any integer value.

(From OE-Core rev: b8bf6cc43dd08fcc7394053b31f03d5312ed239c)

Signed-off-by: Song Li <Song.Li@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogrep: fix for CVE-2012-5667
Ming Liu [Wed, 15 May 2013 05:56:50 +0000 (05:56 +0000)]
grep: fix for CVE-2012-5667

Multiple integer overflows in GNU Grep before 2.11 might allow
context-dependent attackers to execute arbitrary code via vectors
involving a long input line that triggers a heap-based buffer overflow.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-5667

(From OE-Core rev: 7dd4d0178e2b057f76cd2b0b6fe8402f8c1ab23d)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinitscripts: let status return 0 when proc is running well
Jesse Zhang [Wed, 20 Feb 2013 03:12:02 +0000 (03:12 +0000)]
initscripts: let status return 0 when proc is running well

Ensure that the status returns 0 instead of the last shell command result,
otherwise the calling script can not properly detect the status of pid.

(From OE-Core rev: d9d4fdc769dfe6bf9838f5c5f3189a80f0e3cf90)

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodbus-glib: use BPN instead of PN
Jesse Zhang [Tue, 19 Feb 2013 08:58:15 +0000 (08:58 +0000)]
dbus-glib: use BPN instead of PN

Fix warnings in multilib build:

  WARNING: For recipe lib32-dbus-glib, the following files/directories were installed but not shipped in any package:
  WARNING:   /usr/share/dbus-glib
  WARNING:   /usr/share/dbus-glib/tests

(From OE-Core rev: 66224a0fbd4056d954cbf1db3a8b91d06a638b80)

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoacpid: modify CFLAGS
Joe Slater [Sun, 10 Feb 2013 19:55:06 +0000 (19:55 +0000)]
acpid: modify CFLAGS

Override the hard-coded CFLAGS used in Makefile to reference our CFLAGS.

Without this patch if the DEBUG_OPTIMIZATION is enabled (using -O0) the
compile log shows acpid still using -O2 because the Makefile has various
hard coded CFLAGS defined.  Instead of using the hard coded CFLAGS,
we simply define the proper set within the recipe itself.

(From OE-Core rev: 710e773b0677b75181506959492b37cf77a0951f)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxpm: inherit gettext
Jesse Zhang [Mon, 27 Aug 2012 06:01:56 +0000 (06:01 +0000)]
libxpm: inherit gettext

libxpm requires the xgettext command to build.

(From OE-Core rev: 9d26c3b8f03c7367779753a5d49e97fd20fd5e20)

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>