scm/bb/tizen-distro.git
11 years agolibpcre: Make readline dependency conditional on PACKAGECONFIG[pcretest-readline]
Phil Blundell [Thu, 25 Apr 2013 15:00:57 +0000 (16:00 +0100)]
libpcre: Make readline dependency conditional on PACKAGECONFIG[pcretest-readline]

The only place in pcre that requires readline is pcretest, and even there it's
optional.  This allows the dependency to be removed unless specifically requested.

(From OE-Core rev: 5bf7397cdb91d8ab0f2a525484eee9a3cec25f87)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogettext: Make ncurses dependency conditional on PACKAGECONFIG[msgcat-curses]
Phil Blundell [Thu, 25 Apr 2013 13:03:53 +0000 (14:03 +0100)]
gettext: Make ncurses dependency conditional on PACKAGECONFIG[msgcat-curses]

According to the documentation, the only reason for needing ncurses is
to support colour output from msgcat.  Make this optional so that
ncurses doesn't need to be built if colour output is not required.

(From OE-Core rev: a4040ad83984ee27fa9dc16d276c699d24b03b4e)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogdb: Disable hard-coding of library rpaths
Phil Blundell [Thu, 25 Apr 2013 12:28:40 +0000 (13:28 +0100)]
gdb: Disable hard-coding of library rpaths

GDB's configury has a tendency to hard-code the path where it found
libexpat using "-Wl,--rpath".  This is undesirable and leads to QA warnings.

Fortunately, the helpful GDB maintainers have provided a "--disable-rpath"
switch to turn this behaviour off.  Let's use it and profit.

(From OE-Core rev: 3d70f28cc9612f733b835df139f31c197528677a)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/contrib/build-perf-test.sh: change the global results format
Stefan Stanacar [Thu, 25 Apr 2013 12:11:01 +0000 (15:11 +0300)]
scripts/contrib/build-perf-test.sh: change the global results format

When all builds have finished write the hostname, commit and times
on a single line in the global results file (useful for merging later
on files from multiple systems).
Also the final cleaning should be last after writing the results.

(From OE-Core rev: 582798f70bf350d2db6911eb8df333ada05f6484)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/contrib/build-perf-test.sh: skip network sanity tests
Stefan Stanacar [Thu, 25 Apr 2013 12:11:00 +0000 (15:11 +0300)]
scripts/contrib/build-perf-test.sh: skip network sanity tests

When your proxy/network connection is unstable the network sanity test
which runs before every build (because we wipe all the files in the build dir)
can influence build time. Appending  CONNECTIVITY_CHECK_URIS = ""
in local.conf will disable the check.

(From OE-Core rev: cc1ed3c1940e4f64534b58de1b5fc6ef90362c9a)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/contrib/build-perf-test.sh: use the same identation everywhere
Stefan Stanacar [Thu, 25 Apr 2013 12:10:59 +0000 (15:10 +0300)]
scripts/contrib/build-perf-test.sh: use the same identation everywhere

Some functions didn't used the same identation as the rest of them,
let's fix that.

(From OE-Core rev: a7af4541060f62b4019a100d57e0d082794f708b)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: Don't add ${PN} to RRECOMMENDS_${PN}-dbg
Phil Blundell [Thu, 25 Apr 2013 10:22:55 +0000 (11:22 +0100)]
bitbake.conf: Don't add ${PN} to RRECOMMENDS_${PN}-dbg

This recommendation is of no obvious value and causes unexpected behaviour
when using IMAGE_FEATURES += "dbg-pkgs".

(From OE-Core rev: b64f2ef2be5dca1eb13a305147a2b99d57985010)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemuimage-testlib-pythonhelper: Make the process detection more strict
Richard Purdie [Thu, 25 Apr 2013 10:15:26 +0000 (11:15 +0100)]
qemuimage-testlib-pythonhelper: Make the process detection more strict

Old versions of ldd (2.11) as run on some of the autobuilders end up running
commands like "LD_xxxx qemu-system-xxx" which this process detection code
would pick up and result in the wrong PID for qemu.

This changes the code to check for "192.168" in the command so we know
we're getting the correct one. This is less than ideal however we're
running out of options and resolves false negatives we see on the
autobuilder.

(From OE-Core rev: 7b43151bb073f1f6f1fa5a31447b742127060909)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodropbear: update to 2013.58
Eric Bénard [Wed, 24 Apr 2013 22:56:13 +0000 (00:56 +0200)]
dropbear: update to 2013.58

- patches updated
- nopw-option.patch dropped as the option is integrated since 2013.56
- compile tested for ARMv5 target

(From OE-Core rev: ce92c707f26aff8f02021c757056af4ecddb315d)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoapt: update to 0.9.7.8
Eric Bénard [Wed, 24 Apr 2013 22:08:01 +0000 (00:08 +0200)]
apt: update to 0.9.7.8

(From OE-Core rev: 09b3a782bf1c0738ddd7f9622a7fa4a1d51225ca)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconf/machine: use .= instead of += in TUNE_CCARGS
Martin Jansa [Wed, 24 Apr 2013 13:42:12 +0000 (15:42 +0200)]
conf/machine: use .= instead of += in TUNE_CCARGS

* number of TUNE_CCARGS conditionals is important if we add
  extra space with each one in "else" branch

  I'm building for 2 MACHINEs one is cortexa9, second is cortexa8

  few months ago we added TUNE_CCARGS[vardepvalue] in bitbake.conf
  http://git.openembedded.org/openembedded-core/commit/?id=03f1e34ea3ce80931e9c3cd2ab22824f28a7233b

  which fixed some cases (like mentioned tune-xscale and tune-arm926ejs)
  where both had unused TUNE_CCARGS when common DEFAULTTUNE was used.

  with cortexa[89] it's different, because cortexa9 has one extra TUNE_CCARGS
  TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa9", "-mtune=cortex-a9", "", d)}"
  which adds extra *space* even when not used because of '+=' and as result:

  $ bitbake-diffsigs tmp-eglibc/sstate-diff/1366797730/*/armv7*/adapterbase/*do_configure*
  basehash changed from f986789fb8fb3579ed6a3492cc8a8d10 to c851b5f838d945ee13072e9ad6725dca
  Variable TUNE_CCARGS value changed from
  ' -march=armv7-a     -mthumb-interwork -mfloat-abi=softfp -mfpu=neon '
  to
  ' -march=armv7-a     -mthumb-interwork -mfloat-abi=softfp -mfpu=neon  '
  Hash for dependent task gcc-runtime_4.7.bb.do_populate_sysroot changed from bdeabf7a86958b9110b566344b7916de to 2be5618e6bc8c57ec9db5659bf217915
  Hash for dependent task eglibc_2.17.bb.do_populate_sysroot changed from b4f40fc62dde684acd0a574532a55360 to 97fcb426603d4a1c1099c0504d2ebf7d
  Hash for dependent task glib-2.0_2.34.3.bb.do_populate_sysroot changed from fd2f90b83098c34e88d649d70f6ea4f5 to ebd740bb94ea3eb0a914efda6fc82c4a

(From OE-Core rev: b7430ff83760ac29079d20dc7c62f498a0a9d55d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc: Avoid "installed but not shipped" warning for ld.so.conf
Phil Blundell [Wed, 24 Apr 2013 16:39:59 +0000 (17:39 +0100)]
eglibc: Avoid "installed but not shipped" warning for ld.so.conf

If USE_LDCONFIG is not set then we won't ship ld.so.conf.  However,
eglibc still installs it which leads to a QA warning.  Prevent that by
removing the file (and the subsequently-empty directory /etc) in this
situation.

(From OE-Core rev: 23b5dd2ab8a556fcef3aa34689310d9d5f61b3d1)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowebkit-gtk: remove gnome-keyring dependency
Ross Burton [Wed, 24 Apr 2013 16:14:08 +0000 (17:14 +0100)]
webkit-gtk: remove gnome-keyring dependency

The direct use of gnome-keyring was removed back in 1.1.13, so remove the
dependency.

(From OE-Core rev: 6389b4c6c58def894bd895e797c2d579439f69d5)

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 agogdb-cross: Adjust ${datadir} to avoid file conflicts in sysroot
Phil Blundell [Wed, 24 Apr 2013 15:15:54 +0000 (16:15 +0100)]
gdb-cross: Adjust ${datadir} to avoid file conflicts in sysroot

GDB wants to install a bunch of files in ${datadir}/gdb/python/gdb
and ${datadir}/gdb/syscalls.  These pathnames are invariant with
TARGET_ARCH which means that if you build gdb multiple times for
different targets they will all try to write to the same location
and you get a lot of warning spew about manifest conflicts.

Prevent this by factoring the target specification into ${datadir}
so that different copies of GDB install their files into different
paths.

(From OE-Core rev: 3e87aba1ee2ca0e39ba66fb7cba52e48df499c23)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorpm: change arch scoring items
Bogdan Marinescu [Wed, 24 Apr 2013 08:48:50 +0000 (11:48 +0300)]
rpm: change arch scoring items

Don't add the first line of /etc/rpm/platform to the list of patterns
to match when computing an arch score, use it just for getting
information about the platform (cpu/vendor/os).

[YOCTO #3864]

(From OE-Core rev: 9263a2192ccf8ca513cbf7f2f88473e267e6b945)

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 agocpan.bbclass: use '|' as sed separator for entry with paths
Marcin Juszkiewicz [Wed, 24 Apr 2013 13:45:42 +0000 (15:45 +0200)]
cpan.bbclass: use '|' as sed separator for entry with paths

With normal toolchain it works. But fails badly when external Linaro
toolchain is used. And this is why:

-e "s/^\(CCFLAGS =.*\)/\1  -isystem/home/hrw/devel/canonical/aarch64/openembedded/build/linaro-tcwg/gcc-linaro-aarch64-linux-gnu-4.7-2013.04-20130415_linux//aarch64-linux-gnu/include  -O2 -pipe -g -feliminate-unused-debug-types/" \

(From OE-Core rev: f6244a9d3da7c301f19efc114c2aaf39e5eec299)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Set umask to 002 before packaging runs
Phil Blundell [Wed, 24 Apr 2013 12:07:47 +0000 (13:07 +0100)]
sstate: Set umask to 002 before packaging runs

Otherwise we might end up creating directories under sstate-cache with whatever
random umask has been selected for the task that we're trying to package.  This
would be a bad thing since it might result in losing group write access for
newly created dirs, and/or losing group read access for the sstate files
themselves.

(From OE-Core rev: d8c4f442c41bf3ac5e064630657cd3fa1b5c43b1)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd-systemctl: parse unit files more correctly
Enrico Scholz [Wed, 24 Apr 2013 11:37:21 +0000 (13:37 +0200)]
systemd-systemctl: parse unit files more correctly

Old script failed to parse unit files containing comments like

| #Alias=some-alias

or whitespaces like

| WantedBy = foo

correctly.  Patch changes script to interpret keywords only when they
are at the beginning of a line and ignores whitespaces before the '='.

(From OE-Core rev: 443e75ee2c0e9a62df997aef24855bce54d39177)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxslt: Avoid regenerating manpage during "make install"
Phil Blundell [Wed, 24 Apr 2013 11:43:27 +0000 (12:43 +0100)]
libxslt: Avoid regenerating manpage during "make install"

The timestamps in libxslt-1.1.28.tar.gz (specifically) are rather hokey, making
the source files for the documentation appear newer than the generated output:

-rw-rw-r-- 500/500       16307 2012-11-21 07:22 libxslt-1.1.28/doc/xsltproc.xml
-rw-rw-r-- 500/500        7082 2012-09-12 07:24 libxslt-1.1.28/doc/xsltproc2.html
-rw-rw-r-- 500/500        9475 2012-09-04 15:26 libxslt-1.1.28/doc/xsltproc.html
-rw-rw-r-- 500/500        8256 2012-11-21 06:03 libxslt-1.1.28/doc/xsltproc.1

This causes make to decide that xsltproc.1 needs to be regenerated during the
installation process.  However, this requires a native xsltproc binary which
may not be available, leading to errors like:

| make[2]: /usr/bin/xsltproc: Command not found
| make[2]: [xsltproc.1] Error 127 (ignored)

Adding DEPENDS_class-target = "libxslt-native", or installing xsltproc in the
host environment, fixes the above but the documentation still doesn't build:

| I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
| warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
| error
| xsltParseStylesheetFile : cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
| compilation error: file ./xsltproc.xml line 10 element refentry
| xsltParseStylesheetProcess : document is not a stylesheet

And in any case, requiring libxslt-native would increase build time for no
real benefit.  So, let's just adjust the timestamp on the shipped copy of
xsltproc.1 to make it appear newer than the source files.

(From OE-Core rev: 12074bf5319c1086f86efd00f502c91fed344698)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomkefidisk: Attempt to automatically unmount target device
Darren Hart [Thu, 25 Apr 2013 17:23:51 +0000 (10:23 -0700)]
mkefidisk: Attempt to automatically unmount target device

With automounters abounding it makes more sense to attempt to unmount
the device rather than abort, just like ddimage does.

(From OE-Core rev: f522ff19ba4b80788d66a2c58ee50b86fdfea15f)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogpgme: add short SUMMARY
Paul Eggleton [Wed, 24 Apr 2013 17:14:41 +0000 (18:14 +0100)]
gpgme: add short SUMMARY

(From OE-Core rev: c03d438defea242f437b7483ba2412a5bf2b9adb)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocore-image-directfb: add SUMMARY
Paul Eggleton [Wed, 24 Apr 2013 17:11:12 +0000 (18:11 +0100)]
core-image-directfb: add SUMMARY

(From OE-Core rev: c32b0607809aa437672ce79fad61b2046a3fe350)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoptest-runner: add SUMMARY, DESCRIPTION and HOMEPAGE
Paul Eggleton [Wed, 24 Apr 2013 17:04:17 +0000 (18:04 +0100)]
ptest-runner: add SUMMARY, DESCRIPTION and HOMEPAGE

(From OE-Core rev: 8986e76e8fcaeeddb23d234dbb877dcf5cc45cfe)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agohwlatdetect: add SUMMARY and DESCRIPTION
Paul Eggleton [Wed, 24 Apr 2013 17:03:29 +0000 (18:03 +0100)]
hwlatdetect: add SUMMARY and DESCRIPTION

(From OE-Core rev: b3244e4695840c1c2d95698506c6f93b816ebf7f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogst-openmax: add SUMMARY, DESCRIPTION and HOMEPAGE
Paul Eggleton [Wed, 24 Apr 2013 17:03:05 +0000 (18:03 +0100)]
gst-openmax: add SUMMARY, DESCRIPTION and HOMEPAGE

(From OE-Core rev: 6bcc2eab5ddf584e6a26353ff259045a35fe4c87)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxeyes: add SUMMARY and DESCRIPTION
Paul Eggleton [Wed, 24 Apr 2013 17:02:51 +0000 (18:02 +0100)]
xeyes: add SUMMARY and DESCRIPTION

Prevent this getting the default DESCRIPTION of "X application" from
xorg-app-common.inc.

(From OE-Core rev: 11c11ff361cfa8180dbafce94ff3e9e9426263b3)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorgb: add SUMMARY and DESCRIPTION
Paul Eggleton [Wed, 24 Apr 2013 17:01:44 +0000 (18:01 +0100)]
rgb: add SUMMARY and DESCRIPTION

Prevent this getting the default DESCRIPTION of "X application" from
xorg-app-common.inc.

(From OE-Core rev: 9bacbff31e8cbe35c43637b2a213041a621ef608)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-core-x11-xserver: set SUMMARY instead of SUMMARY_${PN}
Paul Eggleton [Wed, 24 Apr 2013 16:59:36 +0000 (17:59 +0100)]
packagegroup-core-x11-xserver: set SUMMARY instead of SUMMARY_${PN}

This allows the description to show up at the recipe level e.g. in the
OE layer index.

(From OE-Core rev: 5f1093bca16b3cd905beb69bee095d92aa350cfe)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agognome-doc-utils: add SUMMARY and DESCRIPTION
Paul Eggleton [Wed, 24 Apr 2013 16:59:18 +0000 (17:59 +0100)]
gnome-doc-utils: add SUMMARY and DESCRIPTION

(From OE-Core rev: e4f88127e1ea590c358041574e0d4029b890e421)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-smartpm: fix HOMEPAGE and adjust DESCRIPTION
Paul Eggleton [Wed, 24 Apr 2013 16:58:13 +0000 (17:58 +0100)]
python-smartpm: fix HOMEPAGE and adjust DESCRIPTION

* HOMEPAGE was incorrect
* We're not really interested in the fact that Smart works across
  different distros.

(From OE-Core rev: a7f8989e027abea84a371703909f62a8b9a03177)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxml-simple-perl: add SUMMARY, DESCRIPTION and HOMEPAGE
Paul Eggleton [Wed, 24 Apr 2013 16:56:40 +0000 (17:56 +0100)]
libxml-simple-perl: add SUMMARY, DESCRIPTION and HOMEPAGE

(From OE-Core rev: 227144310f403f3457b9c3d5ccc8e79272a86330)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowhich: use the same meta fields for both versions
Paul Eggleton [Wed, 24 Apr 2013 16:51:40 +0000 (17:51 +0100)]
which: use the same meta fields for both versions

Use the same SUMMARY, DESCRIPTION, SECTION and HOMEPAGE for the recipes
for both "which" versions.

(From OE-Core rev: 33cf83dc60f453a5ba393a9108c3651ce27017fc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomtools: use same SUMMARY as newer version of mtools recipe
Paul Eggleton [Wed, 24 Apr 2013 16:49:54 +0000 (17:49 +0100)]
mtools: use same SUMMARY as newer version of mtools recipe

(From OE-Core rev: ccd5f4b8635d8771122cbc3173e33c6f568f7520)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoicon-naming-utils: add SUMMARY and DESCRIPTION
Paul Eggleton [Wed, 24 Apr 2013 16:49:28 +0000 (17:49 +0100)]
icon-naming-utils: add SUMMARY and DESCRIPTION

(From OE-Core rev: 4fe0ddded508ba9ed90574ef0387b48dce029f3f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoexternal-sourcery-toolchain: add SUMMARY
Paul Eggleton [Wed, 24 Apr 2013 16:49:11 +0000 (17:49 +0100)]
external-sourcery-toolchain: add SUMMARY

(From OE-Core rev: c12ed47769d7784d0483629dd56b42bf84f50510)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoreadline: add SUMMARY
Paul Eggleton [Wed, 24 Apr 2013 16:48:54 +0000 (17:48 +0100)]
readline: add SUMMARY

(From OE-Core rev: 0d3ade0c086b72517760f0e52f0465330b4aec41)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibcgroup: add SUMMARY and better DESCRIPTION
Paul Eggleton [Wed, 24 Apr 2013 16:48:34 +0000 (17:48 +0100)]
libcgroup: add SUMMARY and better DESCRIPTION

(From OE-Core rev: 96931955f66b1b1f51a360c25cdf566c20466b13)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuild-appliance-image: add SUMMARY, HOMEPAGE and improve DESCRIPTION
Paul Eggleton [Wed, 24 Apr 2013 16:47:22 +0000 (17:47 +0100)]
build-appliance-image: add SUMMARY, HOMEPAGE and improve DESCRIPTION

Move the link from DESCRIPTION to HOMEPAGE and add a short SUMMARY.
Also move IMAGE_INSTALL line to be further down in the recipe.

(From OE-Core rev: be1f94152032f6bcbc0c37c6b57dbc6ab3caf6dc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogettext-minimal-native: add SUMMARY and DESCRIPTION
Paul Eggleton [Wed, 24 Apr 2013 16:46:53 +0000 (17:46 +0100)]
gettext-minimal-native: add SUMMARY and DESCRIPTION

(From OE-Core rev: 69dff461a5c75467e67e4b6996fe3620dae80c51)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc: add common HOMEPAGE and SUMMARY for eglibc-locale
Paul Eggleton [Wed, 24 Apr 2013 16:45:04 +0000 (17:45 +0100)]
eglibc: add common HOMEPAGE and SUMMARY for eglibc-locale

Add SUMMARY for eglibc-locale, and HOMEPAGE in eglibc-collateral.inc
(used for eglibc-locale and eglibc-mtrace).

(From OE-Core rev: a677fcfbc1572f6ae7e2326ae0ab55522e24fe77)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman-conf: add SUMMARY and DESCRIPTION
Paul Eggleton [Wed, 24 Apr 2013 16:44:09 +0000 (17:44 +0100)]
connman-conf: add SUMMARY and DESCRIPTION

(From OE-Core rev: 58173f521ec45ae9b079a3631bbe587bfae2f861)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel-arch: Always use ld.bfd to link the kernel
Phil Blundell [Tue, 23 Apr 2013 16:47:29 +0000 (17:47 +0100)]
kernel-arch: Always use ld.bfd to link the kernel

The kernel's penchant for custom linker scripts means that it doesn't
generally get on very well with gold.  Make sure we are using the BFD
linker here no matter what the distro default is set to.

(From OE-Core rev: 5c8277610ae84740e0724b27f10dba3895d40c05)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoicu: Remove unnecessary FULL_OPTIMIZATION_arm setting
Phil Blundell [Tue, 23 Apr 2013 16:45:41 +0000 (17:45 +0100)]
icu: Remove unnecessary FULL_OPTIMIZATION_arm setting

This is distro policy and shouldn't be getting set by the recipe.  It was
added in commit 9b547ecf849b66aa883328fb6b26d9b412a4d2ec as a workaround
for gcc bug #37436, but the compiler bug was fixed more than four years
ago and the workaround is no longer required.

(From OE-Core rev: 05caf3417402df5c4f8f722830bfb896385cf9a5)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopenssl: Disable parallel make
Phil Blundell [Tue, 23 Apr 2013 16:45:26 +0000 (17:45 +0100)]
openssl: Disable parallel make

Otherwise you get errors like:

| ../libcrypto.so: file not recognized: File truncated
| collect2: error: ld returned 1 exit status
| make[2]: *** [link_o.gnu] Error 1

(From OE-Core rev: 61c21a0f7a2041446a82b76ee3658fda5dfbff1d)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocommon-licenses: remove HTMLisms from OFL-1.1
Paul Barker [Tue, 23 Apr 2013 08:56:07 +0000 (09:56 +0100)]
common-licenses: remove HTMLisms from OFL-1.1

License text is clearer without HTML entities such as '&amp;' and '&#8212;'.

(From OE-Core rev: 72479ca164d90fa0b4ef84d5f09f304d962865e5)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocommon-licenses: fill in AGPL-3.0
Paul Barker [Tue, 23 Apr 2013 08:51:37 +0000 (09:51 +0100)]
common-licenses: fill in AGPL-3.0

The AGPL-3.0 file wasn't filled with the correct text. The file has been
replaced with a copy of http://www.gnu.org/licenses/agpl-3.0.txt.

(From OE-Core rev: 9fe0e118277966487097e9acdd76e1a0696e6c22)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoudev: create /var/volatile/tmp to avoid dead link
Chen Qi [Tue, 23 Apr 2013 04:31:40 +0000 (12:31 +0800)]
udev: create /var/volatile/tmp to avoid dead link

If it's not first boot, /tmp has already been symlinked to /var/volatile/tmp.
But the udev service starts before populate-volatile.sh starts. This leads to
a dead link at /tmp. As a result, trying to create any file under /tmp will
fail.

If a USB is plugged in before the populate-volatile.sh script starts, the
/tmp/.automount-$name file will not be created correctly. As a result, when
the USB is unplugged, the /media/$name directory is not removed.

So we create /var/volatile/tmp directory in the udev script to avoid this dead
link problem.

[YOCTO #3404]

(From OE-Core rev: 2f93c8466ca146c965585ea38210ddb5fb5754bd)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoltp: upgrade to 20130109 release
Ting Liu [Wed, 17 Apr 2013 09:22:54 +0000 (17:22 +0800)]
ltp: upgrade to 20130109 release

license changed: http://ltp.git.sourceforge.net/git/gitweb.cgi
commit 4548c6cf9bcdd96d8303caa4130ab638b61f8a30
Update FSF address
find . -type f -exec sed -i 's/675 Mass Ave, Cambridge, MA 02139, USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;
find . -type f -exec sed -i 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;

Change-Id: I88db5b1e53645a5fe083684fdc47a80266266c21
(From OE-Core rev: f07298f0be121059b2d3ae154610754e92534658)

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopenssh : upgrade to 6.2p1
Andrei Dinu [Tue, 16 Apr 2013 12:55:24 +0000 (15:55 +0300)]
openssh : upgrade to 6.2p1

from 6.1p1 -> 6.2p1

(From OE-Core rev: 5f0400d2eb9e660fcb4780c2badbfb8856e64893)

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 agopax-utils : upgrade to 0.7
Andrei Dinu [Mon, 15 Apr 2013 13:59:02 +0000 (16:59 +0300)]
pax-utils : upgrade to 0.7

upgrade from 0.6 -> 0.7

(From OE-Core rev: 5a868cc5aba80c9208973755541a060e417b77f0)

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 agoudev-extraconf: Avoid mounting unknown filesystems
Otavio Salvador [Mon, 22 Apr 2013 11:52:29 +0000 (08:52 -0300)]
udev-extraconf: Avoid mounting unknown filesystems

Depending on kernel version used, the system can hung when trying to
mount the extended partition (not the logical one) as it is a holder
for other partitions and does not have a filesystem in it.

To avoid this to happen we just mount partitions when these are using
known filesystems so it does not try to mount a partition for an
unsupported filesystem.

Reported-by: Vladan Jovanovic <vladan.jovanovic@gmail.com>
Reported-by: Leonardo Sandoval Gonzalez <b42214@freescale.com>
(From OE-Core rev: 895c9685a7f95dc84786213f945895a504a16254)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Vladan Jovanovic <vladan.jovanovic@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-firmware: Look for RTL license in the right directory
Darren Hart [Mon, 22 Apr 2013 23:27:38 +0000 (16:27 -0700)]
linux-firmware: Look for RTL license in the right directory

The rtl-license package FILES was pointing to the wrong directory as it
was removed from there in commit:

acd3735 linux-firmware: Remove duplicaed license from rtlwifi subdir

This resulted in a do_rootfs failure for core-image-sato-sdk for fri2
with ipk when the linux-firmware-dev package tried to install
linux-firmware-rtl-license which wasn't created as it was empty.

Tested on core-image-sato-sdk build for fri2 on dylan commit:
789b2b7e0cca404ff8ba8ed5ba823d215e6ba5b4

Cc: Saul Wold <sgw@linux.intel.com>
Cc: Beth Flanagan <elizabeth.flanagan@intel.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
(From OE-Core rev: fc7fafcb3bb5c12bad07e12c15ac3a489bd0291f)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoglib-2.0: disable tests for native builds, and respect ptest for LSB
Ross Burton [Mon, 22 Apr 2013 14:33:25 +0000 (15:33 +0100)]
glib-2.0: disable tests for native builds, and respect ptest for LSB

Without disabling the tests in the native build, glib-2.0-native will need
libdbus-native to be present.  As we don't run the tests, disable them so we
don't have build failures due to missing dependencies.

Also, the LSB override was missing PTEST_CONF so the same problem could happen.
After adding PTEST_CONF the LSB override is identical to the non-overridden
EXTRA_OECONF, so remove it.

Finally, to be explicit, put --enable-module-tests in PTEST_CONF.

(From OE-Core rev: 395b90054eccddc1c9062a9a8657ed4482b7710a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomatchbox-session-sato: install GConf values directly instead of using schemas
Ross Burton [Mon, 22 Apr 2013 12:43:32 +0000 (13:43 +0100)]
matchbox-session-sato: install GConf values directly instead of using schemas

Because both matchbox-session-sato and settings-daemon were attempting to
install their preferred values though schemas there was a race as to which ones
were used.

Revert matchbox-session-sato back to writing the values directly, adding a
dependency on gconf-native so that this can happen on the host.

(From OE-Core rev: 90ca53cbbdb1ed30883d4aa8ce9c933ae1fad5fa)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoelfutils: split libraries into separate packages
Marcin Juszkiewicz [Thu, 4 Apr 2013 18:55:28 +0000 (20:55 +0200)]
elfutils: split libraries into separate packages

(From OE-Core rev: 2b9db2c81bf55527ba3a44fbf94762e5009642a4)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-4.8: Fix GCC ICE on arm
Khem Raj [Sat, 20 Apr 2013 00:29:57 +0000 (17:29 -0700)]
gcc-4.8: Fix GCC ICE on arm

armv5t was seeing ICE on code from elfutils it has been fixed upstream
so lets backport it.

(From OE-Core rev: 6c50d60ce3fd7242e67a531d5875edeb8b7a3651)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-4.8: Refactor gcc-4.8.0 patch files.
Elvis Dowson [Fri, 29 Mar 2013 08:23:09 +0000 (12:23 +0400)]
gcc-4.8: Refactor gcc-4.8.0 patch files.

(From OE-Core rev: 16ab55220c4b602a8406c7a4405c737caae5907b)

Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-4.8: Add recipes
Khem Raj [Wed, 27 Mar 2013 02:14:43 +0000 (19:14 -0700)]
gcc-4.8: Add recipes

(From OE-Core rev: c850415a1bdbb9268114d90fd0fc4cb3479de9c5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopowertop: add 2.3
Marcin Juszkiewicz [Thu, 11 Apr 2013 14:05:14 +0000 (16:05 +0200)]
powertop: add 2.3

With all tweaks from 1.13:
- uclibc buildable
- libncurses instead of libncursesw

Changes from v3:
- proper update-alternatives path

(From OE-Core rev: 188862de64bc2b61f8510082c8a6e5929d2b79d1)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman-gnome: Replace broken png files
Emilia Ciobanu [Fri, 19 Apr 2013 13:12:56 +0000 (16:12 +0300)]
connman-gnome: Replace broken png files

connman-signal-*.png files were corrupted and this caused
warnings when starting connman-applet.
The patch overwrites the upstream png files.

[YOCTO #4060]

(From OE-Core rev: 2a641a22a1ee70b3fa66f3ec373c965c5ba55c94)

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogconf: silence some spurious errors
Ross Burton [Fri, 19 Apr 2013 11:22:57 +0000 (12:22 +0100)]
gconf: silence some spurious errors

The postinstalls were producing errors like this:

  (gconftool-2.real:10095): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
  Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead

These are harmless but distracting, so take a patch from upstream to silence
them.

(From OE-Core rev: bc0a4f6e4d01d5912c2589efa9b69d7eda462f73)

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 agopackage.bbclass: ensure license excluded files aren't packaged
Christopher Larson [Thu, 18 Apr 2013 23:51:51 +0000 (16:51 -0700)]
package.bbclass: ensure license excluded files aren't packaged

An excluded package left its files behind, which meant they could end up in
another package instead, meaning we could ship GPLv3 binaries even with GPLv3
in INCOMPATIBLE_LICENSE. Skip the files belonging to the excluded packages to
prevent this from occurring.

(From OE-Core rev: c045bfe6b991006ac80f0e2d06a8917ae58d9262)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: add LICENSE_EXCLUSION to vardeps
Christopher Larson [Thu, 18 Apr 2013 23:51:50 +0000 (16:51 -0700)]
package.bbclass: add LICENSE_EXCLUSION to vardeps

Ensure that changes to INCOMPATIBLE_LICENSE re-run do_package for affected
recipes.

(From OE-Core rev: b9b187f8a0f513e676cd3d18f71d1055445f29fa)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopng: fix over-zealous warnings about transforms
Ross Burton [Wed, 17 Apr 2013 13:34:27 +0000 (14:34 +0100)]
png: fix over-zealous warnings about transforms

libpng 1.6.0/1.6.1 emits warnings about function ordering when there isn't a
problem, which causes Cairo to fail loading images.  Take the patch from
upstream to fix this.

(From OE-Core rev: 50f823557cb5857dfe585a9da88bb8f61ebfba99)

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 agocairo: drop transform patch, it's been rejected upstream
Ross Burton [Wed, 17 Apr 2013 13:34:28 +0000 (14:34 +0100)]
cairo: drop transform patch, it's been rejected upstream

This fix was rejected by upstream, the correct fix is actually to fix libpng.

(From OE-Core rev: f7f8ec1197ec64620c80e13214dc395ab3e12afc)

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 agou-boot: Add UBOOT_LOCALVERSION to control version string
Chase Maupin [Thu, 11 Apr 2013 13:03:13 +0000 (08:03 -0500)]
u-boot: Add UBOOT_LOCALVERSION to control version string

* Add a variable called UBOOT_LOCALVERSION which when set will
  place a version string in the .scmversion file of the u-boot
  sources.  This string will be picked up by the u-boot Makefile
  and will be appended to the u-boot version.  This is done to
  make it easier to identify what revision of the u-boot sources
  are being run.  For example you can use a setting like the
  following to add the short commit id to the u-boot version
  string:

UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).partition('+')[2][0:7]}"

(From OE-Core rev: 566298409408c6103f7a9871bb13ae5449c4fd64)

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-setuptools: Improving the runtime dependencies
Lukas Bulwahn [Thu, 18 Apr 2013 05:40:11 +0000 (07:40 +0200)]
python-setuptools: Improving the runtime dependencies

When trying to import setuptools on a minimal image, it reports that some
python module is missing. We add those missing python modules as runtime
dependency.

(From OE-Core rev: c5de114f63fe3d60a48622ec5be8fa34ce177191)

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agognome-icon-theme: add missing icon-cache inherit
Koen Kooi [Thu, 18 Apr 2013 13:51:30 +0000 (15:51 +0200)]
gnome-icon-theme: add missing icon-cache inherit

When installing this manually the icon cache won't get refreshed.

Rearrange recipe to comply the the styleguide as well.

(From OE-Core rev: a0643812b05cf7ed8b6f530f81925f60089c2410)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogrub-efi-native: fix build on modern distributions without gets()
Koen Kooi [Thu, 18 Apr 2013 15:10:20 +0000 (17:10 +0200)]
grub-efi-native: fix build on modern distributions without gets()

O irony: the grub2/gnulib nag macro that says "don't use gets, use fgets" breaks the build if you're using a recent (e)glibc release that has gets removed.

Fedora already #if 0's the check in grub, so I stole their patch.

(From OE-Core rev: 261e377b08388a288ee521a3629877b89e18e42b)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpng: update to 1.6.1
Koen Kooi [Mon, 15 Apr 2013 10:07:31 +0000 (12:07 +0200)]
libpng: update to 1.6.1

This attempts to fix [YOCTO #4060]  - connman-applet spews warnings, but with this one PNG images still don't work in weston :(

The ARM NEON option was added because the autodetection code in configure.ac is broken:

/usr/lib/weston/weston-desktop-shell: symbol lookup error: /usr/lib/libpng16.so.16: undefined symbol: png_init_filter_functions_neon

License checksums update due to date and package version changes:

index e95d359..d86a7da 100644

(From OE-Core rev: e31ef0211c2cb18c322517a44b714895e51284e1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolttng: updated lttng-ust to 2.1.2
Maxin B. John [Wed, 3 Apr 2013 15:20:57 +0000 (17:20 +0200)]
lttng: updated lttng-ust to 2.1.2

lttng-ust: upgrade to the latest version 2.1.2
Also updated HOMEPAGE and BUGTRACKER.

(From OE-Core rev: d18cec89e7afd05473232e587893334c4f921b41)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopulseaudio: install alsa mixer data files
George Kiagiadakis [Mon, 22 Apr 2013 08:05:46 +0000 (11:05 +0300)]
pulseaudio: install alsa mixer data files

These data files are required for module-alsa-card to load properly

(From OE-Core rev: 8dda0dc79f5c90f8d40450ba6215f44edcbacb8f)

Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoimage.bbclass: change the logic when intercepts fail
Laurentiu Palcu [Mon, 22 Apr 2013 08:01:25 +0000 (11:01 +0300)]
image.bbclass: change the logic when intercepts fail

Due to some issues with postinstalls that register hooks, we changed the
logic a bit. Now, all postinstalls that register hooks will return
successfully and only after, if hooks fail, mark the package as unpacked.

(From OE-Core rev: 82dae98d0eb771c05e57635f0f8763b118d8177e)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopixbufcache.bbclass: do not exit 1 after installing intercept hook
Laurentiu Palcu [Mon, 22 Apr 2013 08:01:24 +0000 (11:01 +0300)]
pixbufcache.bbclass: do not exit 1 after installing intercept hook

This will allow to register, in a single postinstall, multiple hooks.

(From OE-Core rev: b396138ee081c8f5dddbaab0e374787ba2e31029)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogtk-icon-cache.bbclass: do not exit 1 after installing intercept hook
Laurentiu Palcu [Mon, 22 Apr 2013 08:01:23 +0000 (11:01 +0300)]
gtk-icon-cache.bbclass: do not exit 1 after installing intercept hook

This will allow to register, in a single postinstall, multiple hooks.

(From OE-Core rev: 2cd244d6c93ec6d39e2649de64575c365bd4238d)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofontcache.bbclass: do not exit with 1 after installing intercept hook
Laurentiu Palcu [Mon, 22 Apr 2013 08:01:22 +0000 (11:01 +0300)]
fontcache.bbclass: do not exit with 1 after installing intercept hook

This will allow to register, in a single postinstall, multiple hooks.

(From OE-Core rev: 9553874cf02ba443aff1bbead56bacfcda9bb6ca)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuild-appliance: Update to latest dylan revision for release
Richard Purdie [Thu, 18 Apr 2013 21:02:26 +0000 (22:02 +0100)]
build-appliance: Update to latest dylan revision for release

(From OE-Core rev: 94e3f18214e2e35076c52ed27252073f788ec01f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodpkg: Correct paths in postinst
Richard Purdie [Thu, 18 Apr 2013 20:52:05 +0000 (20:52 +0000)]
dpkg: Correct paths in postinst

The postinstall needs to reference $D, not ${D} which would get expanded
by bitbake. This allows postinsts to run correctly on the target system.

(From OE-Core rev: 6573685a5374034df065c41bbe71c7ac49e4b9a4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: depend on libgcrypt
Enrico Scholz [Thu, 18 Apr 2013 18:22:46 +0000 (20:22 +0200)]
systemd: depend on libgcrypt

Although libgcrypt support is optional, its development files are
are always required to expand AM_PATH_LIBGCRYPT.  Build might fails else
with

| libtoolize: copying file `m4/lt~obsolete.m4'
| configure.ac:446: warning: macro 'AM_PATH_LIBGCRYPT' not found in library
| ...
| configure.ac:446: error: possibly undefined macro: AM_PATH_LIBGCRYPT
| autoreconf: .../autoconf failed with exit status: 1
| + bbfatal 'autoreconf execution failed.'
| + echo 'ERROR: autoreconf execution failed.'

(From OE-Core rev: c7fe1d0085339e55566989b96d4d48412f0fa47d)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoudev: disable systemd support
Ross Burton [Thu, 18 Apr 2013 13:27:13 +0000 (14:27 +0100)]
udev: disable systemd support

If we want systemd support we use systemd's udev, so disable systemd
support in this udev to avoid packaging the unit files.

(From OE-Core rev: 36aa37e693bcb76a96761847dbef6a015d96fd98)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoudev: drop dependency on udev in libudev
Ross Burton [Thu, 18 Apr 2013 14:38:43 +0000 (15:38 +0100)]
udev: drop dependency on udev in libudev

libudev previously depended on udev, but this causes problems with multilib
if the user wants to install two variants of libudev as they'll pull in two
variants of udev, which will conflict.

Instead, remove the dependency and rely that the image pulls in udev in some
way, such as the commonly used packagegroup-core-boot.

(From OE-Core rev: 6168ea4e00fd1c8296fe770fa9e2ef00018f5621)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxserver-xf86-config: set DefaultDepth to 16 for qemumips
Laurentiu Palcu [Thu, 18 Apr 2013 16:01:34 +0000 (19:01 +0300)]
xserver-xf86-config: set DefaultDepth to 16 for qemumips

Apparently, the default qemumips color depth was set to 8 and the colors were not
displayed properly. cirrusfb driver doensn't seem to accept color depth
as a kernel parameter, so we have to do it here.

[YOCTO #4340]

(From OE-Core rev: 876e020be334a9350094dbd1a29b9e49eceed603)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoperf: Ensure license is handled correctly
Richard Purdie [Thu, 18 Apr 2013 14:27:08 +0000 (14:27 +0000)]
perf: Ensure license is handled correctly

The do_populate_lic task has a race with the recipe since it relies on the
kernel being populated in the sysroot. This patch adds in the explicit missing
dependency.

[YOCTO #3534]

(From OE-Core rev: 578937213c6db9fa99981778ce61210e391b19a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopsplash: Fix multilib build
Richard Purdie [Thu, 18 Apr 2013 14:25:49 +0000 (14:25 +0000)]
psplash: Fix multilib build

The update-alternatives for multilibs are broken and nothing provides psplash in a
multilib build. This fixes the multilib code.

(From OE-Core rev: db1f6b24ddb2a19fb16b2ebb948bb3274b7ac295)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_ipk: Ensure the status file exists
Richard Purdie [Thu, 18 Apr 2013 13:29:33 +0000 (13:29 +0000)]
package_ipk: Ensure the status file exists

The postinstall for the opkg run-postinst hook checks for the existence of this
file. We therefore ensure it always exists during image generation.

(From OE-Core rev: 540cf355599e555615ed9684c3b480463588eb78)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: Add useradd variables to PACKAGEVARS
Richard Purdie [Thu, 18 Apr 2013 13:28:02 +0000 (13:28 +0000)]
package.bbclass: Add useradd variables to PACKAGEVARS

THe USERADD_PARAMS and similar group variables are package specific variables
which should get added to the vardeps of the packaging process. This
change also ensures they get remapped correctly by the multilib code.

(From OE-Core rev: 805add18e7b917aaef61c82c0b5f2e9682af1d0d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomultilib: Ensure we map the USERADD_PACKAGES variable
Richard Purdie [Thu, 18 Apr 2013 13:26:37 +0000 (13:26 +0000)]
multilib: Ensure we map the USERADD_PACKAGES variable

If we don't do this, multilib packages don't have any code
added to the postinstalls to handle user additions.

(From OE-Core rev: b10d17d1b03fd0564103a6998f218d0968d1032b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogst-plugins-bad: Disable neon, its not on DEPENDS
Richard Purdie [Thu, 18 Apr 2013 08:59:16 +0000 (08:59 +0000)]
gst-plugins-bad: Disable neon, its not on DEPENDS

Otherwise this setting "floats" and leads to non-determinstic builds.

(From OE-Core rev: 4eea01e9d775f2e56958a8bb194aadd8a242946d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuild-appliance: Update revision to dylan release
Richard Purdie [Wed, 17 Apr 2013 23:39:33 +0000 (00:39 +0100)]
build-appliance: Update revision to dylan release

(From OE-Core rev: 2453504004cfb6c9b5030b557f421e580802a280)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: Fix udevd init script so sysvinit in systemd mode works
Richard Purdie [Wed, 17 Apr 2013 22:38:11 +0000 (22:38 +0000)]
systemd: Fix udevd init script so sysvinit in systemd mode works

Commit http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=f76d4b3549ca220fa4bf84db2756ab45e11d06a3
moved volatiles handling for /run to the udev code only. This breaks
sysvinit+systemd combined systems when building sysvinit images.

This patch hacks the udevd init script in systemd to provide
the missing symlink allowing the sysvinit images built with udevd
from systemd to work correctly.

(From OE-Core rev: 6c6e5dc0baccd0904f785b1f80f39b5f530779cf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutil-linux: fix systemd service in multilib
Ross Burton [Wed, 17 Apr 2013 21:26:06 +0000 (21:26 +0000)]
util-linux: fix systemd service in multilib

Use ${PN} when specifing service files so that they continue to get packaged
with multilib.

(From OE-Core rev: d394d27b66cbeb4e57017d2a49605243586477ac)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: fix -dbg package with multilib
Ross Burton [Wed, 17 Apr 2013 21:25:07 +0000 (21:25 +0000)]
systemd: fix -dbg package with multilib

When libdir isn't /lib the files that are in nonarch_base_libdir were being left
out of the -dbg package.

(From OE-Core rev: 60bb2f795a0b3e83de5861185446992fb91ffba0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobusybox: hard-code the syslog service file
Ross Burton [Wed, 17 Apr 2013 20:36:17 +0000 (20:36 +0000)]
busybox: hard-code the syslog service file

Previously this was using ${PN}-syslog.service, which changes with multilib.

(From OE-Core rev: ee36f997e68f5a995baf361191cef7a46ff51203)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoudev: explicitly package nonarch_base_libdir
Ross Burton [Wed, 17 Apr 2013 18:50:39 +0000 (18:50 +0000)]
udev: explicitly package nonarch_base_libdir

When using multilib this doesn't get caught by the default FILES_${PN}, so add
it.

(From OE-Core rev: 53f1540780e5d4e8035118a1920202735bd0a370)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: Effectively revert the move to /sbin
Ross Burton [Wed, 17 Apr 2013 16:19:44 +0000 (16:19 +0000)]
systemd: Effectively revert the move to /sbin

This effectively reverts the move systemd's libexecdir to /sbin.  This caused
too many issues in other places and was not well enough tested this close to
release.

Rather than use base_libdir, the nonarch version is used to try and give some
chance of multilib not being totally broken in the release.  Also some variables
are used that mirror the systemd build system to reduce the risk of using
variables that "work" in the general case but will break with multilib.

(From OE-Core rev: e921d43e213f93da176fd27e48b557f802443dec)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoseperatebuilddir: add systemd
Ross Burton [Wed, 17 Apr 2013 19:23:05 +0000 (19:23 +0000)]
seperatebuilddir: add systemd

(From OE-Core rev: 39f9e48558003601d4eec181e32fc76b68df5b5a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: fix out of tree builds
Ross Burton [Wed, 17 Apr 2013 19:24:02 +0000 (19:24 +0000)]
systemd: fix out of tree builds

(From OE-Core rev: 79b7c56cb5d6a0b75e7df01fd3cfef4111bf69ae)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoudev: remove explicit path to udevadm
Ross Burton [Wed, 17 Apr 2013 15:48:08 +0000 (15:48 +0000)]
udev: remove explicit path to udevadm

(From OE-Core rev: cc0f22cd1e93cc25647add1a3339e150572e4fce)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoalsa-utils: Use pkg-config instead of hardcoded udev paths
Richard Purdie [Wed, 17 Apr 2013 14:46:17 +0000 (14:46 +0000)]
alsa-utils: Use pkg-config instead of hardcoded udev paths

(From OE-Core rev: b92a3e9d093bc9421aa38a40bc6bfd559a16b3be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup: Add init-manager sanity check
Richard Purdie [Wed, 17 Apr 2013 13:14:50 +0000 (13:14 +0000)]
packagegroup: Add init-manager sanity check

Currently, you can set VIRTUAL-RUNTIME_init_manager to an init system that
isn't in DISTRO_FEATURES. This leads to head scratching over unbootable images.

This adds a sanity check which ensures more valid systems are built.

(From OE-Core rev: c72ec4b52827f75351790eab483d258b2e87611a)

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