]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
11 years agomake: remove the obsolete SCCS.patch
Robert Yang [Mon, 30 Dec 2013 10:02:28 +0000 (18:02 +0800)]
make: remove the obsolete SCCS.patch

This patch is used for removing SCCS/*s.conftest, but there is no SCCS
directory from 3.81, so remove it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoquilt: upgrade to 0.61
Chong Lu [Fri, 27 Dec 2013 10:17:40 +0000 (18:17 +0800)]
quilt: upgrade to 0.61

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoglib-2.0: add EXTRA_OECONF for uclibc
Saul Wold [Thu, 26 Dec 2013 23:44:03 +0000 (15:44 -0800)]
glib-2.0: add EXTRA_OECONF for uclibc

The uclibc configuration requires the gnu libiconv, so tell configure which one to use

[YOCTO #5431] (one of many)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agotcl: Fix ${bindir}/tclsh symlink
Martin Jansa [Thu, 26 Dec 2013 17:59:00 +0000 (18:59 +0100)]
tcl: Fix ${bindir}/tclsh symlink

* 8.6.1 version installs tclsh8.6 binary and tclsh symlink to tclsh${VER}
  (tclsh8.6.1) which doesn't exist
  lrwxrwxrwx 1 bitbake bitbake   12 Dec 26 16:19 sysroots/x86_64-linux/usr/bin/tclsh -> ./tclsh8.6.1
  -rwxr-xr-x 2 bitbake bitbake 8.8K Dec 26 16:19 sysroots/x86_64-linux/usr/bin/tclsh8.6
* add another symlinks tclsh8.6.1 -> tclsh8.6

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agopython: fix unrecognised options: --without-cxx --with-cyclic-gc
Saul Wold [Fri, 20 Dec 2013 18:30:39 +0000 (10:30 -0800)]
python: fix unrecognised options: --without-cxx --with-cyclic-gc

The -with-cxx changed to with-cxx-main sometime around the 2.5 time frame
It appears that there never was a with-cyclic-gc configure option, or if
there was it was from some past patch we no longer have.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosqlite: remove unrecognised options: --enable-tempstore
Saul Wold [Fri, 20 Dec 2013 18:23:48 +0000 (10:23 -0800)]
sqlite: remove unrecognised options: --enable-tempstore

This option appears to be commented out in the configure.ac with no explaination,
It does not appear to be commented out in the source, so it occurs during the sqlite
release process!

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoeglibc: Remove older version 2.17
Saul Wold [Fri, 27 Dec 2013 18:13:26 +0000 (10:13 -0800)]
eglibc: Remove older version 2.17

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogcc: Drop 4.7.2 version since 4.8 is stable now
Richard Purdie [Fri, 20 Dec 2013 13:07:28 +0000 (13:07 +0000)]
gcc: Drop 4.7.2 version since 4.8 is stable now

We've had 4.8 around for a while now, I'm not aware of any issues with
it so we can drop the older 4.7 version.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: set a default for MACHINE_FEATURES
Paul Eggleton [Wed, 29 May 2013 16:27:51 +0000 (17:27 +0100)]
bitbake.conf: set a default for MACHINE_FEATURES

Ensure that if MACHINE_FEATURES is not set by the machine config that we
don't end up with expansion errors during parsing. Technically since the
introduction of MACHINE_FEATURES_BACKFILL = "rtc" this is unlikely to be
a problem unless "rtc" is also added to
MACHINE_FEATURES_BACKFILL_CONSIDERED, however we should be consistent
with DISTRO_FEATURES which is defaulted in bitbake.conf.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agopciutils: tidy up recipe
Paul Eggleton [Sun, 22 Dec 2013 13:52:53 +0000 (13:52 +0000)]
pciutils: tidy up recipe

* Move package-specific defitions to the end
* Define pciutils-ids package as ${PN}-ids
* Add SUMMARY and tweak DESCRIPTION for pciutils-ids package

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agoopkg-utils: tidy up recipe
Paul Eggleton [Sun, 22 Dec 2013 12:55:49 +0000 (12:55 +0000)]
opkg-utils: tidy up recipe

* Update HOMEPAGE
* Rearrange statements in logical order

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agoguilt-native: tidy up recipe
Paul Eggleton [Sun, 22 Dec 2013 11:50:38 +0000 (11:50 +0000)]
guilt-native: tidy up recipe

* Fix indentation and spacing
* Drop SRC_URI checksums that aren't used (recipe is fetching from git)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agoenchant: tidy up recipe
Paul Eggleton [Sun, 22 Dec 2013 11:48:03 +0000 (11:48 +0000)]
enchant: tidy up recipe

* Move recipe definitions into logical order
* Fix spacing

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agostat: tidy up recipe
Paul Eggleton [Sun, 22 Dec 2013 00:21:41 +0000 (00:21 +0000)]
stat: tidy up recipe

* Add SUMMARY
* Tweak DESCRIPTION
* Use PV in SRC_URI
* Drop commented-out function that we obviously don't need
* Move BBCLASSEXTEND to end to match with convention

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agoadt-installer: tweak DESCRIPTION and add SUMMARY and HOMEPAGE
Paul Eggleton [Sun, 22 Dec 2013 11:36:44 +0000 (11:36 +0000)]
adt-installer: tweak DESCRIPTION and add SUMMARY and HOMEPAGE

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agocore-image-lsb: fix DESCRIPTION
Paul Eggleton [Sun, 22 Dec 2013 12:40:59 +0000 (12:40 +0000)]
core-image-lsb: fix DESCRIPTION

LSB includes X, and I wouldn't really call this image "basic" or
"foundational" in our terms, so adjust the description to be a bit more
appropriate.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agobinutils: add/tweak SUMMARY
Paul Eggleton [Sun, 22 Dec 2013 11:20:03 +0000 (11:20 +0000)]
binutils: add/tweak SUMMARY

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agoicecc-create-env-native: add SUMMARY and tweak DESCRIPTION
Paul Eggleton [Sun, 22 Dec 2013 00:23:59 +0000 (00:23 +0000)]
icecc-create-env-native: add SUMMARY and tweak DESCRIPTION

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agogmp: set SUMMARY and DESCRIPTION
Paul Eggleton [Sun, 22 Dec 2013 00:17:05 +0000 (00:17 +0000)]
gmp: set SUMMARY and DESCRIPTION

Use the same values for both versions (the GPLv2 version doesn't use the
.inc file).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agoxf86-video-modesetting: set SUMMARY and DESCRIPTION
Paul Eggleton [Sun, 22 Dec 2013 00:12:43 +0000 (00:12 +0000)]
xf86-video-modesetting: set SUMMARY and DESCRIPTION

Set these consistent with other X.org video driver recipes.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agoxf86-video-fbdev: set SUMMARY and DESCRIPTION
Paul Eggleton [Sun, 22 Dec 2013 00:12:06 +0000 (00:12 +0000)]
xf86-video-fbdev: set SUMMARY and DESCRIPTION

Set these consistent with other X.org video driver recipes.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agoxf86-input-vmmouse: set SUMMARY and DESCRIPTION
Paul Eggleton [Sun, 22 Dec 2013 00:11:12 +0000 (00:11 +0000)]
xf86-input-vmmouse: set SUMMARY and DESCRIPTION

Set these consistent with other X.org input driver recipes.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agoqt4: set SUMMARY and tweak DESCRIPTION
Paul Eggleton [Sun, 22 Dec 2013 00:10:24 +0000 (00:10 +0000)]
qt4: set SUMMARY and tweak DESCRIPTION

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agoBasic recipe formatting fixes
Paul Eggleton [Sat, 21 Dec 2013 23:56:36 +0000 (23:56 +0000)]
Basic recipe formatting fixes

Fix statement indenting and spacing issues that I happened to notice.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agolinux-dummy: set reasonable DESCRIPTION
Paul Eggleton [Sat, 21 Dec 2013 23:47:48 +0000 (23:47 +0000)]
linux-dummy: set reasonable DESCRIPTION

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agolinux-dummy: set LICENSE to GPLv2 to avoid license warning
Paul Eggleton [Sat, 21 Dec 2013 23:42:47 +0000 (23:42 +0000)]
linux-dummy: set LICENSE to GPLv2 to avoid license warning

This recipe doesn't actually produce any non-empty packages, but since
it's pretending to be a Linux kernel it might as well pretend to have
the same license, if for no other reason than to avoid producing a
warning since the previous value ("GPL") isn't acceptable.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agogawk: set reasonable SUMMARY and DESCRIPTION
Paul Eggleton [Sat, 21 Dec 2013 23:41:45 +0000 (23:41 +0000)]
gawk: set reasonable SUMMARY and DESCRIPTION

Also ensure both versions have the same values.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agoxev: add proper SUMMARY and DESCRIPTION
Paul Eggleton [Sat, 21 Dec 2013 23:40:04 +0000 (23:40 +0000)]
xev: add proper SUMMARY and DESCRIPTION

Add these consistent with other X.Org application recipes.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agolibunique: fix HOMEPAGE and touch up DESCRIPTION
Paul Eggleton [Sat, 21 Dec 2013 23:35:45 +0000 (23:35 +0000)]
libunique: fix HOMEPAGE and touch up DESCRIPTION

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agobash: update HOMEPAGE
Paul Eggleton [Sat, 21 Dec 2013 23:34:16 +0000 (23:34 +0000)]
bash: update HOMEPAGE

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agostartup-notification: fix HOMEPAGE
Paul Eggleton [Sat, 21 Dec 2013 23:33:15 +0000 (23:33 +0000)]
startup-notification: fix HOMEPAGE

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agolame: update HOMEPAGE
Paul Eggleton [Sat, 21 Dec 2013 23:32:34 +0000 (23:32 +0000)]
lame: update HOMEPAGE

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agolibsamplerate0: add HOMEPAGE
Paul Eggleton [Sat, 21 Dec 2013 23:32:03 +0000 (23:32 +0000)]
libsamplerate0: add HOMEPAGE

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agotelepathy-mission-control: fix HOMEPAGE
Paul Eggleton [Sat, 21 Dec 2013 23:31:05 +0000 (23:31 +0000)]
telepathy-mission-control: fix HOMEPAGE

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agogettext: set reasonable SUMMARY and DESCRIPTION
Paul Eggleton [Sun, 22 Dec 2013 11:40:50 +0000 (11:40 +0000)]
gettext: set reasonable SUMMARY and DESCRIPTION

Ensure both versions have the same values.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agoAdd missing SUMMARY values
Paul Eggleton [Sat, 21 Dec 2013 22:51:12 +0000 (22:51 +0000)]
Add missing SUMMARY values

These recipes all had a long DESCRIPTION but no SUMMARY; since the
SUMMARY is often displayed alone by package managers and the default
value ("${PN} version ${PV}") isn't particularly useful, we should
always try to set SUMMARY.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agoReplace one-line DESCRIPTION with SUMMARY
Paul Eggleton [Thu, 19 Dec 2013 15:13:01 +0000 (15:13 +0000)]
Replace one-line DESCRIPTION with SUMMARY

A lot of our recipes had short one-line DESCRIPTION values and no
SUMMARY value set. In this case it's much better to just set SUMMARY
since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY
is at least useful. I also took the opportunity to fix up a lot of the
new SUMMARY values, making them concisely explain the function of the
recipe / package where possible.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agoReplace OpenedHand Bugzilla in BUGTRACKER
Paul Eggleton [Sat, 21 Dec 2013 13:06:07 +0000 (13:06 +0000)]
Replace OpenedHand Bugzilla in BUGTRACKER

This site no longer exists, and all of these are now (semi-)maintained
on yoctoproject.org infrastructure, so set BUGTRACKER to point to the
Yocto Project Bugzilla.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agoDrop empty/invalid BUGTRACKER values
Paul Eggleton [Thu, 19 Dec 2013 15:09:36 +0000 (15:09 +0000)]
Drop empty/invalid BUGTRACKER values

Setting this value to blank or "n/a" in just a few recipes accomplishes
nothing.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agospeex: fix SRC_URI to use PV instead of hardcoding the version
Paul Eggleton [Thu, 19 Dec 2013 14:01:49 +0000 (14:01 +0000)]
speex: fix SRC_URI to use PV instead of hardcoding the version

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agomesa-demos: fix unrecognised options
Robert Yang [Sun, 29 Dec 2013 03:50:46 +0000 (11:50 +0800)]
mesa-demos: fix unrecognised options

Fix two unrecognised options:
* --disable-libosmesa -> --disable-osmesa
* --disable-libx11 -> --disable-x11

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11 years agoghostscript: remove unrecognised option
Robert Yang [Sun, 29 Dec 2013 03:48:36 +0000 (11:48 +0800)]
ghostscript: remove unrecognised option

Remove --without-jasper since the jasper had been removed:

  commit 6070a6f33bebf7538e48219010bc1e4de8341ea8
  Author: Ray Johnston <ray.johnston@artifex.com>
  Date:   Fri Aug 3 00:32:32 2012 -0700

      Rip out jasper -- openjpeg is our JPX implementation.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11 years agowget: remove unrecognised option
Robert Yang [Sat, 28 Dec 2013 16:14:58 +0000 (00:14 +0800)]
wget: remove unrecognised option

Remove the --with-libc, I can't find anything about this option from
wget's log history.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11 years agocups: remove unrecognised option
Robert Yang [Sat, 28 Dec 2013 15:38:33 +0000 (23:38 +0800)]
cups: remove unrecognised option

Remove the following 2 options:
* --disable-tiff
* --with-pdftops

The tiff and pdftops filters have been moved into another package
cups-filters, so these options are not valid any more.

Please visit here for more info:
http://www.cups.org/str.php?L3930

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11 years agoenchant: fix unrecognised option
Robert Yang [Sat, 28 Dec 2013 14:23:32 +0000 (22:23 +0800)]
enchant: fix unrecognised option

Fix the unrecognised option --disable-binreloc, the configure now uses:

AM_CONDITIONAL(WITH_BINRELOC, test "x$br_cv_binreloc" = "xyes")

We can use br_cv_binreloc=no to fix it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11 years agobluez-hcidump: remove unrecognised options
Robert Yang [Sat, 28 Dec 2013 12:52:48 +0000 (20:52 +0800)]
bluez-hcidump: remove unrecognised options

Remove the following two options since they are not needed any more:
* --with-bluez-libs
* --with-bluez-includes

  commit 78631c5f66f0580695ff3aac4dc8831e3795b735
  Author: Marcel Holtmann <marcel@holtmann.org>
  Date:   Wed Aug 31 00:57:30 2011 -0700

      Change includes to use local copy of Bluetooth library

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11 years agogstreamer1.0: remove unrecognised options
Robert Yang [Sun, 29 Dec 2013 03:06:02 +0000 (11:06 +0800)]
gstreamer1.0: remove unrecognised options

Remove the following two unrecognised options:
* --disable-oggtest
* --disable-vorbistest

They are defined in m4/ogg.m4 and m4/vorbistest.m4, but now configure
doesn't use them, configure.ac uses another way to define the
--enable-ogg and --enable-vorbis, and there is no test options, so
remove them.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11 years agogstreamer1.0: remove unrecognised options
Robert Yang [Sat, 28 Dec 2013 12:09:32 +0000 (20:09 +0800)]
gstreamer1.0: remove unrecognised options

Fix the following options:

--disable-docs-build: replace with --disable-docbook --disable-gtk-doc
--with-check=no: --disable-check

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11 years agogstreamer: fix unrecognised options
Robert Yang [Sat, 28 Dec 2013 12:09:32 +0000 (20:09 +0800)]
gstreamer: fix unrecognised options

Fix the following options:

--disable-docs-build: replace with --disable-docbook --disable-gtk-doc
--with-check=no: replace with --disable-check

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11 years agolibid3tag: remove unrecognised option
Robert Yang [Sat, 28 Dec 2013 04:23:18 +0000 (12:23 +0800)]
libid3tag: remove unrecognised option

There is no --enable-speed in libid3tag's configure, but in libmad, and
it's already there, so remove it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11 years agodpkg: fix/remove unrecognised options
Robert Yang [Sat, 28 Dec 2013 03:58:17 +0000 (11:58 +0800)]
dpkg: fix/remove unrecognised options

Fix/remove the following unrecognised options:
* --without-static-progs: can't find anything about this in the history,
  so remove it.
* --without-dselect -> --disable-dselect
* --with-start-stop-daemon -> --enable-start-stop-daemon
* --with-bz2lib, typo, should be --with-bz2
* --without-sgml-doc: the sgml doc had been removed from dpkg, so
  remove it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11 years agotremor: remove unrecognised option
Robert Yang [Sat, 28 Dec 2013 03:29:24 +0000 (11:29 +0800)]
tremor: remove unrecognised option

Remove the --disable-rpath, it seems taht there is never such an option
in tremor's configure, and it uses our libtool, so we don't have to
worry about the rpath.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11 years agoalsa-lib: remove unrecognised options
Robert Yang [Sat, 28 Dec 2013 02:01:49 +0000 (10:01 +0800)]
alsa-lib: remove unrecognised options

Remove --with-cards and --with-oss, they are never in alsa-lib, but in
alsa-driver, and the --with-cards had also been dropped from
alsa-driver.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11 years agoflac: remove unrecognised options
Robert Yang [Sat, 28 Dec 2013 01:34:12 +0000 (09:34 +0800)]
flac: remove unrecognised options

Remove --disable-id3libtest and --without-id3lib which had been removed
from flac for many years, here is the log from flac:

  commit e31d9eb05cb82bd5f9cab1e6ad5295ddad22bcab
  Author: Josh Coalson <jcoalson@users.sourceforce.net>
  Date:   Tue Sep 28 00:23:57 2004 +0000

      remove id3 support from the plugins

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11 years agoopenssl: use PACKAGECONFIG to disable perl bits
Saul Wold [Fri, 20 Dec 2013 18:47:26 +0000 (10:47 -0800)]
openssl: use PACKAGECONFIG to disable perl bits

Adding perl to the RDEPENDS caused a performance hit to the overall build time since this was
the only package that depended on perl.  The openssl-misc package is not installed by default
so use a PACKAGECONFIG which can be overridden to allow the perl scripts along with  perl to
 be installed.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotoaster.bbclass: fix crash on buildstats collection
Alexandru DAMIAN [Wed, 18 Dec 2013 19:24:47 +0000 (19:24 +0000)]
toaster.bbclass: fix crash on buildstats collection

Toaster needs buildstats to be enabled in order to
collect task statistics. The toaster.bbclass didn't
have a guard to stop task data collection if the buildstats
weren't enabled, leading to a crash.

This patch verifies that the task variables are defined before
trying to use them.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agovalgrind: upgrade to 3.9.0
Cristiana Voicu [Fri, 20 Dec 2013 09:43:49 +0000 (11:43 +0200)]
valgrind: upgrade to 3.9.0

Changed patches directory to "valgrind";
Removed 4 patches because they were merged upstream;
Updated 2 patches because now it has configure.ac instead of .in;
Changed license md5 for 2 files because of a small change for copyright
year

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/insane: restore printing LIC_FILES_CHKSUM checksum if not specified
Paul Eggleton [Fri, 20 Dec 2013 14:55:10 +0000 (14:55 +0000)]
classes/insane: restore printing LIC_FILES_CHKSUM checksum if not specified

OE-Core rev ec8590aa81e201e28e500935d31cd7266114471f (by me)
unintentionally disabled printing the actual checksum value if no
checksum was specified, i.e.:

LIC_FILES_CHKSUM = "file://COPYING;md5="

Printing the actual checksum in this case is really useful when writing
a new recipe, so put this back in.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibav: add libpostproc to PROVIDES (for 0.8.x version only)
Paul Eggleton [Fri, 20 Dec 2013 14:55:09 +0000 (14:55 +0000)]
libav: add libpostproc to PROVIDES (for 0.8.x version only)

There is a separate libpostproc recipe in meta-oe for use with 9.x and
later versions of libav for those few that need libpostproc; however if
you just add meta-oe and try to build libpostproc without selecting the
libav 9.x version recipe, you'll be building the libpostproc recipe
together with libav 0.8.x, which provides its own libpostproc; this
leads to confusing errors at packaging time. In order to flag up that
these conflict more appropriately, add libpostproc to PROVIDES
explicitly so that you at least get a multiple providers error at the
start of the build.

Fixes [YOCTO #5335].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Use datastore copies due to data changes persisting
Richard Purdie [Sat, 21 Dec 2013 08:57:16 +0000 (08:57 +0000)]
sstate: Use datastore copies due to data changes persisting

The way the "all arch" PKGSPEC is enabled, it causes corruption
of the datastore of sstate operations against other tasks.

Data store copies are cheap and allow us to use that trick, resetting
to a clean copy of the data afterwards.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoexternalsrc: Fix deltask usage
Richard Purdie [Sat, 21 Dec 2013 08:56:48 +0000 (08:56 +0000)]
externalsrc: Fix deltask usage

An incorrect version of the patch merged which entirely removed the covered
variable. This corrects the patch so the code works.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoterminal: Exclude BB_ORIGENV from the signatures
Richard Purdie [Fri, 20 Dec 2013 17:16:25 +0000 (17:16 +0000)]
terminal: Exclude BB_ORIGENV from the signatures

devshell was printing a traceback when exiting due to the use of dump_sigs()
being called on the task. This is turn was since this function referenced
BB_ORIGENV. We might as well globally exclude this for now since its a
data store object and cannot be pickled, not would it make sense to do so.

[YOCTO #5683]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate/sstatesig: Add populate_lic to list of arch invariant sstate tasks
Richard Purdie [Fri, 20 Dec 2013 12:08:56 +0000 (12:08 +0000)]
sstate/sstatesig: Add populate_lic to list of arch invariant sstate tasks

Like fetch, unpack and patch, populate_lic doesn't vary between different
archs so we should mark it as such. This means better sstate cache reuse
with fewer duplicate files as well as less confusing sstate debugging.

sstatesig also needs to account for the fact BPN is used for sstate files
in these cases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: Exclude WORKDIR changes from sstate checksums
Richard Purdie [Fri, 20 Dec 2013 12:06:41 +0000 (12:06 +0000)]
bitbake.conf: Exclude WORKDIR changes from sstate checksums

The layout of stamp files ensures that changes to WORKDIR mean recipes get rebuilt correctly.
Since WORKDIR usually contains MULTIMACH_TARGET_SYS and that depends on tune variables,
including WORKDIR in sstate checksums adds a lot of noise to the system for what amounts to
no gain.

On the other hand, removing it reduces noise, reduces the size of the siginfo files and
reduces the amount of processing bitbake has to do. It therefore seems like dropping it
from the checksums is an all around win.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Convert to use ':' as a filename sperator and use SSTATE_SWSPEC globally
Richard Purdie [Fri, 20 Dec 2013 12:06:02 +0000 (12:06 +0000)]
sstate: Convert to use ':' as a filename sperator and use SSTATE_SWSPEC globally

Currently the code has problems differentiating between "gcc-cross" and "gcc-cross-initial"
sstate files. We could add in a ton of special casing but tests show this isn't scaling
well. Using a more unique separator resolves the issue.

The choice of which separator to use is a hard one. We need something which isn't commonly
used in PN, PV, PR, *_OS and *_ARCH which rules out '-', '_' and it needs to work ok with
webservers/http which makes ';' and '%' harder.

The change also sets SSTATE_SWSPEC globally since writing out differently named siginfo
files for the fetch/unpack/patch tasks is a waste of diskspace, the hashes match for
all PN in the majority of cases and if they don't, its not a big issue as the hash is
different. This makes the results from sstate debugging more understandable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibcap: Allow rebuilds to work correctly
Richard Purdie [Fri, 20 Dec 2013 12:05:25 +0000 (12:05 +0000)]
libcap: Allow rebuilds to work correctly

Currently rerunning configure for libcap causes a build failure. This fixes
the sed expressions to work correctly for a rebuild.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobeecrypt: Allow PACKAGECONFIG to be overridden
Saul Wold [Thu, 19 Dec 2013 23:31:02 +0000 (15:31 -0800)]
beecrypt: Allow PACKAGECONFIG to be overridden

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoharfbuzz: Allow PACKAGECONFIG to be overridden
Saul Wold [Thu, 19 Dec 2013 23:30:40 +0000 (15:30 -0800)]
harfbuzz: Allow PACKAGECONFIG to be overridden

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agonfs-utils: modify the boot sequence of the init script
Zhang Xiao [Thu, 19 Dec 2013 05:35:32 +0000 (13:35 +0800)]
nfs-utils: modify the boot sequence of the init script

Move the nfscommon out of rcS and let it start just before
nfsserver. Modify the useradd parameter with long parameter
to make it more readable.

Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agorunqemu: Allow user to set -vga option with qemuparams
Valentin Popa [Thu, 19 Dec 2013 14:02:57 +0000 (16:02 +0200)]
runqemu: Allow user to set -vga option with qemuparams

At the moment, the user cannot to set -vga other then vmware
(because "vmware" is set by default); and the first argument
in qemuparams has higher precedence.

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agotestimage: include traceback when loading a test fails
Stefan Stanacar [Wed, 18 Dec 2013 18:31:55 +0000 (20:31 +0200)]
testimage: include traceback when loading a test fails

Makes it much easier to figure out where a syntax error is.

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolib/oeqa/runtime: rewrite the systemd test module
Stefan Stanacar [Wed, 18 Dec 2013 19:02:05 +0000 (21:02 +0200)]
lib/oeqa/runtime: rewrite the systemd test module

They are basically the same tests but:
- they look cleaner, using one single method / assert
- output from unittest will be cleaner (and includes a verbose status when needed)
- they are better grouped and use a real, active, enabled service
  (machineid will be dropped and hostnamed was a static service)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agooe-selftest: added buildhistory buildtime tests in module buildoptions.py
Corneliu Stoicescu [Tue, 17 Dec 2013 11:32:29 +0000 (12:32 +0100)]
oe-selftest: added buildhistory buildtime tests in module buildoptions.py

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agooe-selftest: New test module for OE scripts.
Corneliu Stoicescu [Tue, 17 Dec 2013 11:29:02 +0000 (12:29 +0100)]
oe-selftest: New test module for OE scripts.

Added a new module meta/lib/oeqa/selftest/oescripts.py containing tests
for scripts from ${COREBASE}/scripts

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agooe-selftest: New BuildhistoryBase object for buildhistory testing.
Corneliu Stoicescu [Tue, 17 Dec 2013 11:28:10 +0000 (12:28 +0100)]
oe-selftest: New BuildhistoryBase object for buildhistory testing.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoconf-notes: remove meta-toolchain-sdk references
Saul Wold [Wed, 18 Dec 2013 23:45:36 +0000 (15:45 -0800)]
conf-notes: remove meta-toolchain-sdk references

[YOCTO #5676]

(From OE-Core rev: 4c81f743eb15604eb389f3ceafe7af7567a02e0d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibtirpc: upgrade to 0.2.4
Cristian Iorga [Thu, 19 Dec 2013 09:34:52 +0000 (11:34 +0200)]
libtirpc: upgrade to 0.2.4

obsolete_automake_macros.patch removed,
no longer needed.
Disabled GSS APIs, as those APIs are
not present in our distro.
Patches directory is now generic,
as patches are not created for a specific version.

(From OE-Core rev: 3d42e107379d2e79b14a2dbcd35820c63adbfdb0)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstatesig: Correctly handle matches spanning stamps and sstatedir
Richard Purdie [Thu, 19 Dec 2013 09:40:10 +0000 (09:40 +0000)]
sstatesig: Correctly handle matches spanning stamps and sstatedir

By resetting filesdates at this point, we lose matches from stamps which
may not have been in sstatedir. When we don't have hashes specicifed,
its better to return all matches and have the caller decide which are
relavent and which are not since this function has no ability to
decide. There will almost always be one match from stamps we need
to keep and refer to.

(From OE-Core rev: f4c1c9ad2c7e944d4926d0629611da97f9df6a9a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstatesig: Update for the removal of sstate-name
Richard Purdie [Thu, 19 Dec 2013 09:39:35 +0000 (09:39 +0000)]
sstatesig: Update for the removal of sstate-name

We've dropped sstate-name so we can remove this code. The fallback was
incorrect since we use taskname without the do_ prefix so this patch
updates to account for that too.

(From OE-Core rev: 72ff58124081333d46d37f31f2d1bf40d715e3bd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstatesig: Ensure we return all matches for find_sigdata
Richard Purdie [Thu, 19 Dec 2013 09:38:18 +0000 (09:38 +0000)]
sstatesig: Ensure we return all matches for find_sigdata

When the hashes to find isn't specified we need to return matches from both
the sstate cache and the local stamps directory regardless of how many we've
found so far. If we don't do this, we can miss stamps and the comparison is
less accurate/incorrect.

(From OE-Core rev: 08a074e11e2d517b81ca71fd9bda65297bb015a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoptest: Disable for native recipes
Richard Purdie [Wed, 18 Dec 2013 17:12:55 +0000 (17:12 +0000)]
ptest: Disable for native recipes

We don't use or otherwise care about ptest for native recipes. Its therefore
pointless to take the performance hit for them and we can disable them.

(From OE-Core rev: f3d35bb4719d0b8f8e6fc5976e9dbfc0e2019c2e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoptest: Fix dependency/ordering issue
Richard Purdie [Wed, 18 Dec 2013 17:12:23 +0000 (17:12 +0000)]
ptest: Fix dependency/ordering issue

We've seen occasional issues on the autobuilder where files appear during
do_populate_sysroot and this is due to the ptest installation happening
in parallel. This fixes the order to be deterministic.

(From OE-Core rev: 0ed1641d870f4bb5735aeeb7bd29cc196e61b7cc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoexternalsrc: Use deltask API
Richard Purdie [Wed, 18 Dec 2013 11:30:03 +0000 (11:30 +0000)]
externalsrc: Use deltask API

Now we have deltask API, stop poking around bitbake internal variables.

(From OE-Core rev: 98637df0c04fd14b506d9eec7da8ec6ae441221b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonative: Use deltask to remove tasks which have no purpose
Richard Purdie [Wed, 18 Dec 2013 10:46:33 +0000 (10:46 +0000)]
native: Use deltask to remove tasks which have no purpose

core-image-sato has 47703 inter task dependencies before this patch
and 29883 afterwards which is a significant worthwhile task graph
simplification.

(From OE-Core rev: ac4b1518ec549b5a4d7a79c60dbf96b90797e1d8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity.conf: Require bitbake 1.21.1 as a minumum version for deltask functionality
Richard Purdie [Fri, 20 Dec 2013 12:24:56 +0000 (12:24 +0000)]
sanity.conf: Require bitbake 1.21.1 as a minumum version for deltask functionality

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosecurity_flags: more relocation issues
Saul Wold [Wed, 18 Dec 2013 17:10:48 +0000 (09:10 -0800)]
security_flags: more relocation issues

These are similar relocation R_X86_64_PC32 issues that are solved by
removing the -pie flags.

[YOCTO #5515]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodbus-ptest: Fix SRC_URI checksums
Richard Purdie [Wed, 18 Dec 2013 17:22:19 +0000 (17:22 +0000)]
dbus-ptest: Fix SRC_URI checksums

The upgrade changed the checksums for dbus but not dbus-ptest. This
patch corrects that.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoMinicom depends on libiconv
Krzysztof Sywula [Wed, 18 Dec 2013 15:01:54 +0000 (15:01 +0000)]
Minicom depends on libiconv

Signed-off-by: Krzysztof Sywula <krzysztof.m.sywula@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd-compat-units: drop machineid.service
Ross Burton [Wed, 18 Dec 2013 16:20:05 +0000 (16:20 +0000)]
systemd-compat-units: drop machineid.service

systemd will create the machine ID automatically if it isn't set, so this unit
doesn't serve any purpose.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: delete files that end up in /var/volatile
Ross Burton [Wed, 18 Dec 2013 16:20:07 +0000 (16:20 +0000)]
systemd: delete files that end up in /var/volatile

${localstatedir}/log/journal is created by tmpfiles.d on boot, and the README
just causes warnings that /var/volatile isn't empty when mounting on top of it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: pass --root in prerm if running on host
Ross Burton [Wed, 18 Dec 2013 16:20:06 +0000 (16:20 +0000)]
systemd: pass --root in prerm if running on host

If a systemd image is built without a package manager then packages will be
removed from an image during rootfs generation, but without passing --root the
systemctl will look on the *host* system.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodbus: upgrade to 1.6.18
Ross Burton [Wed, 18 Dec 2013 16:20:04 +0000 (16:20 +0000)]
dbus: upgrade to 1.6.18

Drop PR and INC_PR.

Move patches into a non-versioned directory, and update dbus-ptest to match.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuildhistory: be quiet when garbage collecting the git repo
Ross Burton [Wed, 18 Dec 2013 16:20:03 +0000 (16:20 +0000)]
buildhistory: be quiet when garbage collecting the git repo

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouseradd.bbclass: add dependency on base-files
Ross Burton [Wed, 18 Dec 2013 16:20:02 +0000 (16:20 +0000)]
useradd.bbclass: add dependency on base-files

Packages that use useradd.bbclass should have a dependency on base-files so that
the /etc/skel directory is populated.  Without this dependency base-files may or
may not be installed when the postinst runs, and the skel content may or may not
be copied.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Get rid of crazy name mapping
Richard Purdie [Wed, 18 Dec 2013 13:56:02 +0000 (13:56 +0000)]
sstate: Get rid of crazy name mapping

When originally developed, it was thought a task may have more than one associated
sstate archive. The way the code has grown that idea is now not possible or needed.
We can therefore assume one sstate archive per task and drop the crazy name
mapping code. Simpler is better in this case.

The downside is that various sstate archives will change name so this forces a cache
rebuild. Given the other sstate changes going in at this time, this isn't really
a bad thing as things would rebuild anyway.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate/gcc: Fix shared workdir handling for siginfo files
Richard Purdie [Wed, 18 Dec 2013 13:55:08 +0000 (13:55 +0000)]
sstate/gcc: Fix shared workdir handling for siginfo files

For a shared workdir, any one of the fetch/unpack/patch tasks may run yet the
PN and architecture fields in SSTATE_PKGSPEC may differ. This makes looking up
the appropriate siginfo file near impossible.

I've tried several different ways of resolving this and this is the neatest
solution I could find, its still rather ugly. I believe the usefulness of
better sstate debugging outweighs the ugliness of the code.

This patch also changes the sstate_checkhashes() code to look for siginfo
files rather than the actual sstate packages themselves. This means the
function can be used in other contexts to find info files for tasks that
may not have sstate data. It is assumed that sstate mirrors will have both
files available. This is done to allow bitbake to query whether tasks have
matching signatures in sstate directories or not.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Write out siginfo files for non-sstate tasks
Richard Purdie [Wed, 18 Dec 2013 13:49:23 +0000 (13:49 +0000)]
sstate: Write out siginfo files for non-sstate tasks

Currently siginfo files are only written for sstate tasks. In order to be truly
debuggable, its helpful to have the siginfo for intermediate tasks. This
adds that functionality so the extra siginfo files are written out too.

This will be used to add better sstate debugging in future changes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopenssl.inc: Install c_rehash utility with openssl
mykhani [Tue, 17 Dec 2013 08:28:35 +0000 (13:28 +0500)]
openssl.inc: Install c_rehash utility with openssl

c_rehash utility is not being installed with openssl.It conveniently
generates hash and symbolic links based on it for CA certificates
stored locally for SSL based server authentication

Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopointercal-xinput: Mark as SIGGEN_EXCLUDERECIPES_ABISAFE
Otavio Salvador [Tue, 17 Dec 2013 01:44:37 +0000 (23:44 -0200)]
pointercal-xinput: Mark as SIGGEN_EXCLUDERECIPES_ABISAFE

When including xinput-calibrator, in commit "xinput-calibrator: move
it from meta-oe to oe-core" the pointercal-xinput has not been added
to the SIGGEN_EXCLUDERECIPES_ABISAFE. This changes adds it to the
meta/conf/layer.conf's file list.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-4.7/gcc: disable sdt from configure.ac to keep compatibility with configure
Robert Yang [Tue, 17 Dec 2013 11:33:58 +0000 (19:33 +0800)]
gcc-4.7/gcc: disable sdt from configure.ac to keep compatibility with configure

We had disabled the sdt from configure, let's also disable it from
confgure.ac to keep them compatible.

BTW, the libstdc++-v3 of gcc-4.7 doesn't use the sdt, so we don't need
to edit libstdc++-v3/configure as gcc-4.8.

NOTE, this commit edit the patch gcc-4.7/disablesdt.patch directly.

[YOCTO #5657]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>