scm/bb/tizen-distro.git
9 years agoRevert "wic: set bootimg_dir when using image-name artifacts"
Tom Zanussi [Wed, 26 Nov 2014 16:22:07 +0000 (08:22 -0800)]
Revert "wic: set bootimg_dir when using image-name artifacts"

This reverts commit 7ce1dc13f91df70e8a2f420e7c3eba51cbc4bd48.

This patch broke the assumption that a non-null boot_dir means a
user-assigned (-b command-line param) value.

Reverting doesn't break anything, since the case it was added for
doesn't use the boot_dir for anything except debugging anyhow.

Fixes [YOCTO #6290]

(From OE-Core rev: db90f10bf31dec8d7d7bb2d3680d50e133662850)

(From OE-Core rev: 36c93423ee272c4d4aafeb50f83734fd4bb3bb29)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agowic: Update the help text to include -D (--debug)
Tom Zanussi [Wed, 26 Nov 2014 16:22:06 +0000 (08:22 -0800)]
wic: Update the help text to include -D (--debug)

The --debug option is missing from the wic help text; this adds it and
at the same time rearranges the usage into a more logical arrangement.

(From OE-Core rev: cf5144ef241d8f4ccaa3461ae5c9f89c2cf2f8d1)

(From OE-Core rev: e7f18c43f1b368b71acdc507e1a9035179d7e53f)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agowic: Don't allow mkfs to fail silently in partition command
Tom Zanussi [Wed, 26 Nov 2014 16:22:05 +0000 (08:22 -0800)]
wic: Don't allow mkfs to fail silently in partition command

The return code from the mkfs command used by the partition creation
command was being ignored, allowing it to silently fail and leaving
users mystified as to why the resulting filesystem was corrupted.

This became obvious when failures occurred when creating large
e.g. sdk filesystems [YOCTO #6863].

(From OE-Core rev: 8cef3b06f7e9f9d922673f430ddb3170d2fac000)

(From OE-Core rev: ac7b2eb0a35613d030eeef0b8df0d69ae0935b43)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agonss: CVE-2014-1568
Chong Lu [Thu, 6 Nov 2014 07:50:38 +0000 (15:50 +0800)]
nss: CVE-2014-1568

the patch comes from:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-1568
https://bugzilla.mozilla.org/show_bug.cgi?id=1064636
nss ng log:
=====
changeset:   11252:ad411fb64046
user:        Kai Engert <kaie@kuix.de>
date:        Tue Sep 23 19:28:34 2014 +0200
summary:     Fix bug 1064636, patch part 2, r=rrelyea
=====
changeset:   11253:4e90910ad2f9
user:        Kai Engert <kaie@kuix.de>
date:        Tue Sep 23 19:28:45 2014 +0200
summary:     Fix bug    1064636, patch part 3, r=rrelyea
=====
changeset:   11254:fb7208e91ae8
user:        Kai Engert <kaie@kuix.de>
date:        Tue Sep 23 19:28:52 2014 +0200
summary:     Fix bug    1064636, patch part 1, r=rrelyea
=====
changeset:   11255:8dd6c6ac977d
user:        Kai Engert <kaie@kuix.de>
date:        Tue Sep 23 19:39:40 2014 +0200
summary:     Bug 1064636, follow up commit to fix Windows build bustage

(From OE-Core rev: 0ed9070619f959b802dcc4ee8399d252d0349583)

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agocurl: Fixup line ending merge issues
Richard Purdie [Mon, 24 Nov 2014 16:23:16 +0000 (16:23 +0000)]
curl: Fixup line ending merge issues

Somehow the patch line endings got messed up during merge. This restores
the delta.

(From OE-Core rev: 5dee4e241d64e6144d74967cca583d249689773a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoserf: uprev to 1.3.7 for fixing CVE-2014-3504
Wenzong Fan [Fri, 21 Nov 2014 06:02:05 +0000 (01:02 -0500)]
serf: uprev to 1.3.7 for fixing CVE-2014-3504

The (1) serf_ssl_cert_issuer, (2) serf_ssl_cert_subject, and (3) serf_-
ssl_cert_certificate functions in Serf 0.2.0 through 1.3.x before 1.3.7
does not properly handle a NUL byte in a domain name in the subject's
Common Name (CN) field of an X.509 certificate, which allows man-in-
the-middle attackers to spoof arbitrary SSL servers via a crafted
certificate issued by a legitimate Certification Authority.

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-3504

(From OE-Core rev: 832aa4c5a7989636dae3068f508ab2bff8b4ab23)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agotzdata: update to 2014j
Armin Kuster [Tue, 11 Nov 2014 15:10:35 +0000 (07:10 -0800)]
tzdata: update to 2014j

(From OE-Core rev: 3ab9dfb703835fee21fd73c4e5cbad1c34c6a163)

(From OE-Core rev: 06ffe5637f23f6036aaf58b40f7f9a721624cd5b)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agotzcode: update to 2014j
Armin Kuster [Tue, 11 Nov 2014 15:10:34 +0000 (07:10 -0800)]
tzcode: update to 2014j

(From OE-Core rev: 2f8940e8b2a0537f131a6d5410e85bba07a8c116)

(From OE-Core rev: 429077a21c7753dee64ea869a73309903b659f6a)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agocurl: Security Advisory - curl - CVE-2014-3620
Chong Lu [Tue, 4 Nov 2014 01:35:18 +0000 (09:35 +0800)]
curl: Security Advisory - curl - CVE-2014-3620

libcurl wrongly allows cookies to be set for Top Level Domains (TLDs), thus
making them apply broader than cookies are allowed. This can allow arbitrary
sites to set cookies that then would get sent to a different and unrelated site
or domain.

(From OE-Core rev: ddbaade8afbc9767583728bfdc220639203d6853)

(From OE-Core rev: db194a3af25a37ff2d6f091ef021894967ca5910)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agocurl: Security Advisory - curl - CVE-2014-3613
Chong Lu [Fri, 24 Oct 2014 08:26:41 +0000 (16:26 +0800)]
curl: Security Advisory - curl - CVE-2014-3613

By not detecting and rejecting domain names for partial literal IP addresses
properly when parsing received HTTP cookies, libcurl can be fooled to both
sending cookies to wrong sites and into allowing arbitrary sites to set cookies
for others.

(From OE-Core rev: 985ef933208da1dd1f17645613ce08e6ad27e2c1)

(From OE-Core rev: 7c4dfa64fd88066f2e0fbc917d8660f5b35e00c4)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agosubversion: Security Advisory - subversion - CVE-2014-3528
Yue Tao [Wed, 22 Oct 2014 07:37:29 +0000 (03:37 -0400)]
subversion: Security Advisory - subversion - CVE-2014-3528

Apache Subversion 1.0.0 through 1.7.x before 1.7.17 and 1.8.x before
1.8.10 uses an MD5 hash of the URL and authentication realm to store
cached credentials, which makes it easier for remote servers to obtain
the credentials via a crafted authentication realm.

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

(From OE-Core rev: e0dc0432b13f38d16f642bdadf8ebc78b7a74806)

(From OE-Core rev: 4ff3355e4daf841c66fb78e88bf2d6e26d8f9ced)

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agosubversion: Security Advisory - subversion - CVE-2014-3522
Yue Tao [Wed, 22 Oct 2014 07:37:28 +0000 (03:37 -0400)]
subversion: Security Advisory - subversion - CVE-2014-3522

The Serf RA layer in Apache Subversion 1.4.0 through 1.7.x before 1.7.18
and 1.8.x before 1.8.10 does not properly handle wildcards in the Common
Name (CN) or subjectAltName field of the X.509 certificate, which allows
man-in-the-middle attackers to spoof servers via a crafted
certificate.<a href=http://cwe.mitre.org/data/definitions/297.html
target=_blank>CWE-297: Improper Validation of Certificate with Host
Mismatch</a>

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

(From OE-Core rev: 06a33cd00ea11abec1ebe9d5883e44778075ccc6)

(From OE-Core rev: 529ce75be949944a6e54151cd4233703e40c6351)

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agometa-environment: Fix config-site with a multilib config
Mark Hatle [Tue, 11 Nov 2014 02:09:29 +0000 (20:09 -0600)]
meta-environment: Fix config-site with a multilib config

[YOCTO #6951]

The TOOLCHAIN_CONFIGSITE_SYSROOTCACHE value was defaulting to the nativesdk
path and not the associated target path.  Set the value in toolchain-scripts
to the target path.

Be sure to set the MLPREFIX within the meta-environment script as multilibs
are processed.

Update the config_site file name to use -BPN- not PN.  Otherwise the
environment processing can't find the correct filename.

(From OE-Core rev: 26a2f98155a867a71217e52d33f761dcc60800ca)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoreadline: Patch for readline multikey dispatch issue
Saul Wold [Fri, 7 Nov 2014 13:57:07 +0000 (13:57 +0000)]
readline: Patch for readline multikey dispatch issue

(From OE-Core rev: 4fc3553cfecb42c124b7cfff8e0d20ade14a3ffc)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowget: Fix for CVE-2014-4887
Saul Wold [Fri, 7 Nov 2014 13:57:06 +0000 (13:57 +0000)]
wget: Fix for CVE-2014-4887

(From OE-Core rev: 6815a99d6735a39f4af09726d4f514ac27801406)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolicense.bbclass: canonicalise the licenses named with 'X+'
Jackie Huang [Mon, 27 Oct 2014 07:37:41 +0000 (03:37 -0400)]
license.bbclass: canonicalise the licenses named with 'X+'

If INCOMPATIBLE_LICENSE=GPLv3, GPLv3+ should be excluded
as well but not now since there is no SPDXLICENSEMAP for
licenses named with 'X+', we can add all the SPDXLICENSEMAP
settings for licenses named with 'X+' in licenses.conf,
but it's more like a duplication, so improve the canonical_license
function to auto map for 'X+' if SPDXLICENSEMAP for 'X' is
available, so GPLv3+ becomes GPL-3.0+.

(From OE-Core rev: 1d6dab1dbbbfbcb32e58dba3111130157ef2b24f)

(From OE-Core rev: 652008fd9dc909836819e5c6808c63643eff6db6)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonativesdk-cmake: Adjust toolchain paths dynamically
Otavio Salvador [Tue, 21 Oct 2014 01:58:52 +0000 (23:58 -0200)]
nativesdk-cmake: Adjust toolchain paths dynamically

This patch adds a flexible way to configure the CMake in SDKs. It adds
a toolchain configuration script which supports subscripts for
extensions, as for example Qt5.

(From OE-Core rev: 484502e4e062fae1130a60626f39f5512af4c5c8)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: Use ${ROOT_HOME} instead of /root
Dan McGregor [Wed, 3 Sep 2014 19:49:28 +0000 (13:49 -0600)]
systemd: Use ${ROOT_HOME} instead of /root

systemd avoids using nss lookups for the root user, so
naturally it assumes that root's home directory is /root.
In OE that's not the case, and it can lead to long delays when
shutting down due to user shutdown unit failures.

(From OE-Core rev: e0e8a904cd287a23352e5713a93aeab3933e4563)

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: update to revision used in tizen-distro 0.9
Patrick Ohly [Fri, 9 Jan 2015 09:57:44 +0000 (01:57 -0800)]
bitbake: update to revision used in tizen-distro 0.9

First ran "combo-layer update meta-bitbake", then dropped
one patch not included yet in tizen-distro 0.9.

9 years agobitbake: progressbar: use '/usr/bin/env' in shebangs with python
Martin Hundebøll [Thu, 30 Oct 2014 10:43:24 +0000 (11:43 +0100)]
bitbake: progressbar: use '/usr/bin/env' in shebangs with python

To support yocto on systems with python3 as default version, scripts
should use /usr/bin/env python in the shebang, as this allows the use of
a fake env to mimic python2 as default version.

This patch simply replaces occurrences of #!/usr/bin/python with
 #!/usr/bin/env python and was done with this oneliner:

     git grep -lE '^#!/usr/bin/python' | xargs \
         sed -i 's|/usr/bin/python|/usr/bin/env python|'

(Bitbake rev: 0f9823adb7832c4ca3b2985391473aa6e8c22148)

Signed-off-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agobitbake: bitbake-worker: exit normally when SIGHUP
Robert Yang [Mon, 17 Nov 2014 10:27:36 +0000 (02:27 -0800)]
bitbake: bitbake-worker: exit normally when SIGHUP

Fixed:
1) Run "bitbake recipe" in the terminal
2) Close the terminal while building
3) $ ps aux | grep bitbake-worker
There will be many processes, and they will keep the resources (e.g.,
memory), and won't exit unless kill or kill -9.

(Bitbake rev: 72536d4e0cc3379001b730950afa012f7a96a79b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agobitbake: event: fix resetting class handlers object
Paul Eggleton [Mon, 8 Dec 2014 10:50:25 +0000 (10:50 +0000)]
bitbake: event: fix resetting class handlers object

If you don't explicitly specify to use a global variable when doing an
assignment, you will be setting a local variable instead, which means
this function wasn't working at all. It explains some odd behaviour we
have seen in the layer index where event handlers were sometimes
bleeding into other contexts where they should not have been.

(Bitbake rev: f12c738d3dc1f0fd105d457385511440024bffab)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agobitbake: data: Handle BASH_FUNC shellshock implication
Richard Purdie [Mon, 8 Dec 2014 16:37:26 +0000 (16:37 +0000)]
bitbake: data: Handle BASH_FUNC shellshock implication

The shellshock patches changed the way bash functions are exported.
Unfortunately different distros used slightly different formats,
Fedora went with BASH_FUNC_XXX()=() { echo foo; } and Ubuntu went with
BASH_FUNC_foo%%=() {  echo foo; }.

The former causes errors in dealing with out output from emit_env,
the functions are not exported in either case any more.

This patch handles things so the functions work as expected in either
case.

[YOCTO #6880]

(Bitbake rev: 4d4baf20487271aa83bd9f1a778e4ea9af6f6681)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agobitbake: runqueue: Fix 100% cpu use after keyboard interrupt
Richard Purdie [Mon, 8 Dec 2014 16:38:14 +0000 (16:38 +0000)]
bitbake: runqueue: Fix 100% cpu use after keyboard interrupt

After Ctrl+C is pressed to interrupt bitbake, it loops continually, running
at 100% cpu. This patch selects on the correct file descriptors resolving
the excess cpu usage.

(Bitbake rev: dca5d82830ef2838439e5272da9dac1f28954cf1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agobitbake: buildinfohelper: Make sure we use the orm defined value for loglevel
Michael Wood [Tue, 28 Oct 2014 17:47:12 +0000 (17:47 +0000)]
bitbake: buildinfohelper: Make sure we use the orm defined value for loglevel

We need to consistently use LogMessage.INFO/WARNING/ERROR to make sure toaster knows
how to categories these rather than passing in the "raw" loglevel value
which in best case comes from python logging but worst case any value.

[YOCTO 6885]

(Bitbake rev: 926235aad806232bc73e33d6dd8955dd26562e6b)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agobitbake: prserv: Use WAL mode
Richard Purdie [Wed, 5 Nov 2014 16:58:13 +0000 (16:58 +0000)]
bitbake: prserv: Use WAL mode

Ideally, we want the PR service to have minimal influence from
queued disk IO. sqlite tends to be paranoid about data loss and
locks/fsync calls. There is a "WAL mode" which changes the journalling
mechanism and would appear much better suited to our use case.

This patch therefore switches the database to use WAL mode. With this
change, write overhead appears significantly reduced.

(Bitbake rev: 90b05e79764b684b20ce8454e89f05763b02ac97)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agobitbake: prserv/serv: Ensure sync happens in the correct thread
Richard Purdie [Tue, 4 Nov 2014 14:02:32 +0000 (14:02 +0000)]
bitbake: prserv/serv: Ensure sync happens in the correct thread

The sync/commit calls are happening in the submission thread which can
race against the handler. The handler may start new transactions which
then causes the submission thread to error with "cannot start a
transaction within a transaction".

The fix is to move the calls to the correct thread.

(Bitbake rev: 08cf468ab751f4c6e4ffdab2d8e5d748f7698593)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agobitbake: prserv: don't wait until exit to sync
Ben Shelton [Mon, 27 Oct 2014 17:27:23 +0000 (12:27 -0500)]
bitbake: prserv: don't wait until exit to sync

In the commit 'prserv: Ensure data is committed', the PR server moved to
only committing transactions to the database when the PR server is
stopped.  This improves performance, but it means that if the machine
running the PR server loses power unexpectedly or if the PR server
process gets SIGKILL, the uncommitted package revision data is lost.

To fix this issue, sync the database periodically, once per 30 seconds
by default, if it has been marked as dirty.  To be safe, continue to
sync the database at exit regardless of its status.

(Bitbake rev: 973ac2cc63323ca9c3e916effa4765747db3564c)

Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agobitbake: bitbake-user-manual-metadata.xml: Updated do_package_write example
Robert P. J. Day [Sun, 10 Aug 2014 13:21:51 +0000 (16:21 +0300)]
bitbake: bitbake-user-manual-metadata.xml: Updated do_package_write example

Given that the "do_package_write" task doesn't exist in OE anymore,
steal another, existing example to demonstrate the "rdeptask" flag.

(Bitbake rev: d412d3680f78eebe0517e4f933d853b8973df711)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agobitbake: bitbake-user-manual-metadata.xml: Added [eventmask] flag information.
Scott Rifenbark [Fri, 15 Aug 2014 06:01:49 +0000 (09:01 +0300)]
bitbake: bitbake-user-manual-metadata.xml: Added [eventmask] flag information.

Reported-by: Laszlo Papp <lpapp@kde.org>
(Bitbake rev: 1c7788f5c9b4f600063908fe93bfc4e5dfb3960f)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agobitbake: bitbake-user-manual: Updated copyright to 2015.
Scott Rifenbark [Tue, 9 Dec 2014 17:53:15 +0000 (11:53 -0600)]
bitbake: bitbake-user-manual: Updated copyright to 2015.

(Bitbake rev: c2f68465dd97a8be0795384f971a3f8d05369416)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agobitbake: siggen: Fix shared work checksum mismatch/rebuild issues
Richard Purdie [Fri, 7 Nov 2014 17:47:37 +0000 (17:47 +0000)]
bitbake: siggen: Fix shared work checksum mismatch/rebuild issues

Similar to the last shared work task signature bug, we've found another
one. Looking at the improved output of diffsigs in this case:

runtaskdeps changed from [
'autoconf_2.69.bb.do_populate_sysroot:virtual:native',
'gnu-config_20120814.bb.do_populate_sysroot:virtual:native',
'libgcc-initial_4.9.bb.do_patch:virtual:nativesdk'
] to [
'autoconf_2.69.bb.do_populate_sysroot:virtual:native',
'gcc-crosssdk-initial_4.9.bb.do_patch',
'gnu-config_20120814.bb.do_populate_sysroot:virtual:native'
]

so we can get a different task hash since libgcc sorts before gnu-config
and gcc sorts after it. We could do with a way of fixing this, the best
I can come up with is to include a single parent directory. Since
recipes are never at the top of any metadata trees I've seen, this
should suffice for now.

I'm planning to burn the concept of shared work within bitbake
and do something at the metadata level in the 1.8 timeframe as its just
too fragile as things stand and hard to fix well.

(Bitbake rev: fc7ebf3835a206a5daafd4e1b73bac2549714ad3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agobitbake: data_smart.py: fix variable splitting at _remove mechanism
Stefan Müller-Klieser [Thu, 6 Nov 2014 12:03:38 +0000 (13:03 +0100)]
bitbake: data_smart.py: fix variable splitting at _remove mechanism

If we split variables only at whitespaces, a slipped in tab will render
a value unremovable.

(Bitbake rev: 0da22ba3e930fbb060b31fc423fd3333ca8843a0)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotizen-distro: switch to tracking Yocto 1.7 ("Dizzy")
Patrick Ohly [Fri, 9 Jan 2015 09:54:07 +0000 (01:54 -0800)]
tizen-distro: switch to tracking Yocto 1.7 ("Dizzy")

For now, Tizen uses Yocto 1.7 as base. Therefore switch to importing the
component branches for 1.7.

This works seamlessly because the current state of the tizen-distro repo
matches the branch points of each of these branches.

9 years agometa-qt5: update to revision used in tizen-distro 0.9
Patrick Ohly [Fri, 9 Jan 2015 07:32:51 +0000 (23:32 -0800)]
meta-qt5: update to revision used in tizen-distro 0.9

First ran "combo-layer update meta-qt5", then "git reset --hard"
to the commit corresponding to the code used in tizen-distro 0.9.

9 years agoqtwayland: re-enable cmake files they don't break build anymore
Andreas Müller [Tue, 16 Dec 2014 09:05:36 +0000 (10:05 +0100)]
qtwayland: re-enable cmake files they don't break build anymore

(From meta-qt5 rev: 8b040e58b263741ea19e1826308e22ab3cae585b)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqt5-opengles2-test: import from meta-webos-ports
Martin Jansa [Fri, 12 Dec 2014 17:04:02 +0000 (18:04 +0100)]
qt5-opengles2-test: import from meta-webos-ports

(From meta-qt5 rev: 38ddbf8b1945c657576cba4ec4a6e5199a0b7f33)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqt5-plugin-generic-vboxtouch: Import from meta-webos-ports
Martin Jansa [Fri, 12 Dec 2014 17:03:17 +0000 (18:03 +0100)]
qt5-plugin-generic-vboxtouch: Import from meta-webos-ports

(From meta-qt5 rev: a5d4f3d649b03c60108552a0df258f4b318a0e04)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqttools-native 5.4.0: align source checksums
Andreas Müller [Fri, 12 Dec 2014 09:58:36 +0000 (10:58 +0100)]
qttools-native 5.4.0: align source checksums

(From meta-qt5 rev: 393cdf866b138c8c5a0681f3faa3d18acfb46026)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbwebengine: fix build for qemux86-64
Martin Jansa [Thu, 11 Dec 2014 17:23:52 +0000 (18:23 +0100)]
qtbwebengine: fix build for qemux86-64

* it was applied only for qtwebengine_5.3.2+git.bb, then removed
  completely with 5.4.0 upgrade, but it's still needed for both
  versions

(From meta-qt5 rev: 8d9a1b8b61630bc14862d4862d1340059d6f9c16)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: add PACKAGECONFIG for cups
Martin Jansa [Thu, 11 Dec 2014 14:39:40 +0000 (15:39 +0100)]
qtbase: add PACKAGECONFIG for cups

(From meta-qt5 rev: d5d2aa57010a6d9488c60464b622051b3e72e705)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwebengine: Include resources in main package and add rdep on qmlplugins
Martin Jansa [Thu, 11 Dec 2014 12:22:04 +0000 (13:22 +0100)]
qtwebengine: Include resources in main package and add rdep on qmlplugins

(From meta-qt5 rev: 37e921db22689131144b453d53a8cce4a314aa48)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqt5-git: Update to 5.4.0+, latest revision in 5.4 branch
Martin Jansa [Thu, 11 Dec 2014 08:14:59 +0000 (09:14 +0100)]
qt5-git: Update to 5.4.0+, latest revision in 5.4 branch

(From meta-qt5 rev: 77f262d7c7013b452b6eba11d329bcb94efde944)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agorecipes: upgrade from 5.3.2 to 5.4.0
Jonathan Liu [Thu, 11 Dec 2014 04:52:18 +0000 (15:52 +1100)]
recipes: upgrade from 5.3.2 to 5.4.0

MJ: nativesdk-qtbase, nativesdk-qttools, qtbase-native: Drop unnecessary LICENSE/LIC_FILES_CHKSUM
MJ: qtwebkit: move leveldb dependency to .inc

(From meta-qt5 rev: 6566f728ab3d14a4908516fb13ad555dbfe04471)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agonativesdk-qtbase_git: re-add OEQt5Toolchain to SRC_URI
Denys Dmytriyenko [Fri, 14 Nov 2014 00:09:10 +0000 (19:09 -0500)]
nativesdk-qtbase_git: re-add OEQt5Toolchain to SRC_URI

The file is expected by do_install(), but _git version resets SRC_URI.

(From meta-qt5 rev: c9a1041cb956d94c04cbf635b00ca19725ffc129)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqt5-git: Update to rc1+, latest revision in 5.4 branch
Martin Jansa [Thu, 27 Nov 2014 12:48:38 +0000 (13:48 +0100)]
qt5-git: Update to rc1+, latest revision in 5.4 branch

* qtwebengine LIC_FILES_CHKSUM updated because of Copyright
  year update in chromium's LICENSE
  < // Copyright (c) 2013 The Chromium Authors. All rights reserved.
  and shortened the entry for qtwebengine LIC_FILES_CHKSUM, because
  it was including also few #include lines which were changed recently

(From meta-qt5 rev: 54c44443c34f077bfc2c5cc3a92d6db59d28343c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqmake5: set OE_QMAKE_INCDIR_QT
Anders Darander [Mon, 27 Oct 2014 11:31:42 +0000 (12:31 +0100)]
qmake5: set OE_QMAKE_INCDIR_QT

This is set when generation an SDK, and thus would be usefull to have also
when bitbaking. That allows us to use this in *.prf files which is used
both when bitbaking as well as when using the SDK.

(From meta-qt5 rev: 5b8f470597d4f163952f3b63a8ee39a2ccabfe4c)

Signed-off-by: Anders Darander <anders@chargestorm.se>
(cherry picked from commit 96e8d29fdbdf6fa656c854d9b55c5b0c213166a7)
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtsystems: Change branch from stable to 5.3
Diego Sueiro [Fri, 14 Nov 2014 09:58:33 +0000 (07:58 -0200)]
qtsystems: Change branch from stable to 5.3

Stable branch was removed on mainline and now 5.3
is used.

(From meta-qt5 rev: 54cf9e47a1a6b080e9154d0fe9120bf24e3a7726)

Signed-off-by: Diego Sueiro <diego.sueiro@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agonativesdk-qtbase: Fix path for mkspecs in SDK
Otavio Salvador [Fri, 31 Oct 2014 17:04:26 +0000 (15:04 -0200)]
nativesdk-qtbase: Fix path for mkspecs in SDK

The mkspecs file needs to use the QT_DIR_NAME variable to
have a proper path to the files, fix it.

(From meta-qt5 rev: c1f6332cceee80ad2c3b4655c23b2c40d0268a5d)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agonativesdk-qtbase: Add CMake toolchain configuration
Otavio Salvador [Tue, 21 Oct 2014 01:54:05 +0000 (23:54 -0200)]
nativesdk-qtbase: Add CMake toolchain configuration

This allow out of box use of CMake in a SDK; this includes the
subscript to properly set the host binaries path.

(From meta-qt5 rev: 05213cd7ba5d1347ae2c73d51fc52d7af1fb6938)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwebengine: whitelist supported architectures
Jonathan Liu [Sat, 25 Oct 2014 03:47:58 +0000 (14:47 +1100)]
qtwebengine: whitelist supported architectures

(From meta-qt5 rev: 80496565fbb084ceb0f0d976a356a8b109c62e42)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: fix path to external hostbindir binaries
Jonathan Liu [Mon, 13 Oct 2014 02:31:34 +0000 (13:31 +1100)]
qtbase: fix path to external hostbindir binaries

This fixes syncqt.pl not being included in qtbase-tools.

(From meta-qt5 rev: ca640377e57da285ea3572096a155ea06fe39e95)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwebengine: backport patches to fix ARM build failures
Jonathan Liu [Thu, 16 Oct 2014 04:44:05 +0000 (15:44 +1100)]
qtwebengine: backport patches to fix ARM build failures

(From meta-qt5 rev: 264f20883cae2c5e5222538b3f76e2145e72b1ab)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwebengine: simplify SRC_URI
Martin Jansa [Sat, 18 Oct 2014 11:20:03 +0000 (13:20 +0200)]
qtwebengine: simplify SRC_URI

* now when it was moved from qt-labs to qt prefix we can reuse the
  SRC_URI from qt5-git.bb

(From meta-qt5 rev: 01f1ab8ee8ca31b39d097a913f9f6f8de89f5fb5)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: delete mkspecs/macx-ios-clang to hide QA issue
Martin Jansa [Mon, 20 Oct 2014 13:49:00 +0000 (15:49 +0200)]
qtbase: delete mkspecs/macx-ios-clang to hide QA issue

(From meta-qt5 rev: 69e1a82939d9e0f1ee22ccc7fe9bf0aa9d4b6e8a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqt5: update LICENSE in git recipes
Martin Jansa [Sat, 18 Oct 2014 11:11:55 +0000 (13:11 +0200)]
qt5: update LICENSE in git recipes

* move common part to qt5-git.bb and add GPLv2 only
  in recipes which allow to use that
* for details about LGPLv3 read:
  http://blog.qt.digia.com/blog/2014/08/20/adding-lgpl-v3-to-qt/

(From meta-qt5 rev: c317b18d29de9e77941417b93d124c4bf781f7ff)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqt5: upgrade git recipes to 5.4-beta1
Martin Jansa [Sat, 18 Oct 2014 10:44:07 +0000 (12:44 +0200)]
qt5: upgrade git recipes to 5.4-beta1

(From meta-qt5 rev: 69b7d8f725b0c431d61a224dbf13a7575531404f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agomaliit-framework-qt5: Update SRCREV
Nikolay Nizov [Tue, 7 Oct 2014 18:44:21 +0000 (22:44 +0400)]
maliit-framework-qt5: Update SRCREV

This update is needed to include fix for segfaults when change keyboard
focus while having selection.
See http://issues.webos-ports.org/issues/673 for example.
This will update SRCREV for one(also the latest) commit from master branch.

(From meta-qt5 rev: 9a4c0b393bf031acace5c2cc00d625a24c639d1c)

Signed-off-by: Nikolay Nizov <nizovn@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agonativesdk-qtbase: make it possible to keep additional libraries
Anders Darander [Mon, 20 Oct 2014 06:32:10 +0000 (08:32 +0200)]
nativesdk-qtbase: make it possible to keep additional libraries

In some usecases for the nativesdk, you might need some build tools that are built upon Qt5. This means
that we're having a need to keep more of the libraries build by nativsdk-qtbase. This patch adds the
infrastructure to support that

(From meta-qt5 rev: b62bda97802a3c79586e4e1c7b31f95e617cc0c8)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agopackagegroup-qt5-toolchain-target: always include qttools packages
Jonathan Liu [Mon, 13 Oct 2014 01:35:02 +0000 (12:35 +1100)]
packagegroup-qt5-toolchain-target: always include qttools packages

The qttools packages were included only if the ruby layer was enabled
as it required qtwebkit. However, qttools now has a PACKAGECONFIG
option for qtwebkit and does not enable it by default so we can include
the qttools packages even if the ruby layer is not enabled.

(From meta-qt5 rev: c4de929f3824375cc4cc5a6c9082f101ea22bc84)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agonativesdk-qtbase: Fix qtconfig.pri
Otavio Salvador [Sat, 18 Oct 2014 18:52:47 +0000 (15:52 -0300)]
nativesdk-qtbase: Fix qtconfig.pri

The value used in the new environment subscript tried to use a target
variable which might not be accurate; use qmake to ask for the right
value for OE_QMAKE_QT_CONFIG variable.

(From meta-qt5 rev: 51a4cdf3fcdc132cc7b5af0e240c5d1007e43590)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoFix SDK environment setting
Otavio Salvador [Thu, 9 Oct 2014 15:45:06 +0000 (12:45 -0300)]
Fix SDK environment setting

Since the change to use a meta-environment canadian package in the
OE-Core, the SDK environment setting has been broken. This uses the
new subscript environment to fix it and also move the environment
generation to the nativesdk-qtbase recipe.

(From meta-qt5 rev: 2f1b8fe630ac76c8ff5d184f109449b10fde5a92)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: don't stage the fonts directory
Martin Jansa [Tue, 7 Oct 2014 03:18:28 +0000 (05:18 +0200)]
qtbase: don't stage the fonts directory

* the staged files conflict with fonts staged by qt4-embedded and we don't need
  them in sysroot at all

(From meta-qt5 rev: 478fe949a957471a4d20450f6e9375fe1d628591)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqt5: upgrade git recipes to 5.4-alpha1
Martin Jansa [Mon, 29 Sep 2014 03:48:44 +0000 (05:48 +0200)]
qt5: upgrade git recipes to 5.4-alpha1

* introduce 2nd set of qtwayland and qtwebengine recipes, because newer
  revision isn't compatible with 5.3.2 release

(From meta-qt5 rev: be2d4815efd7b8312700a426a5cafcd86a93666b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwayland-native: remove qtwaylandscanner symlink
Martin Jansa [Wed, 1 Oct 2014 18:12:10 +0000 (20:12 +0200)]
qtwayland-native: remove qtwaylandscanner symlink

* it doesn't seem to be required anymore

(From meta-qt5 rev: 096112d4ab8bad1c45ab0bc40354d9a9bb3e097d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: Drop dont-process configure option
Martin Jansa [Tue, 30 Sep 2014 05:06:46 +0000 (07:06 +0200)]
qtbase: Drop dont-process configure option

* it was removed completely in 5.4 with:
commit b7d86139772c3ce662ea7f092658699d351bbb1d
Author: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Date:   Thu Jun 19 11:46:10 2014 +0200

    nuke -process/-fully-process/-dont-process options

(From meta-qt5 rev: 6b83709072644663df6efbdaee566c3cf4b594fc)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqt*: refresh the patches
Martin Jansa [Mon, 29 Sep 2014 03:37:20 +0000 (05:37 +0200)]
qt*: refresh the patches

(From meta-qt5 rev: cfe122037d04fb78a8a21f7936e6822170916246)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbwebengine: fix build for qemux86-64
Martin Jansa [Sat, 4 Oct 2014 02:21:10 +0000 (04:21 +0200)]
qtbwebengine: fix build for qemux86-64

(From meta-qt5 rev: 3700c51c246f6aaf8ef6a3ce098578664873c096)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwebengine: update repository location
Martin Jansa [Mon, 29 Sep 2014 17:03:50 +0000 (19:03 +0200)]
qtwebengine: update repository location

* both were moved from qt-labs to qt and chromium repo was renamed to qtwebengine-chromium

(From meta-qt5 rev: c524da4747607a770bdef7ed6773bc1c1e48f346)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqt5: Add Qt 5.3.2 packages
coldnew [Sun, 28 Sep 2014 05:11:17 +0000 (13:11 +0800)]
qt5: Add Qt 5.3.2 packages

Qt 5.3.2 has been released in September 16th, 2014.

(From meta-qt5 rev: d45d3e58a954e41d97310833bc4397038d8263a7)

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwayland: Change module branch for 5.4
Otavio Salvador [Thu, 4 Sep 2014 18:33:45 +0000 (15:33 -0300)]
qtwayland: Change module branch for 5.4

This is to fix the fetcher failure as the "stable" branch has been
removed. We does not change the revision we are using so this is
a safe change.

(From meta-qt5 rev: 12dac2ea1306f2ab86f8cd7b79d3d438cc6d9115)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqttools: fix noqtwebkit option
Martin Jansa [Thu, 7 Aug 2014 19:20:48 +0000 (21:20 +0200)]
qttools: fix noqtwebkit option

* it's added to CONFIG variable not QT_CONFIG

* qtwebkit was still detected and linked against
  DEBUG: qttools-tools: Dependency libQt5WebKitWidgets.so.5 requires
  package qtwebkit (used by files:
  ['qttools/5.3.1-r0/packages-split/qttools-tools/usr/bin/qt5/assistant',
   'qttools/5.3.1-r0/packages-split/qttools-plugins/usr/lib/qt5/plugins/designer/libqwebview.so'])

  DEBUG: qttools-tools: Dependency libQt5WebKit.so.5 requires package
  qtwebkit (used by files:
  ['qttools/5.3.1-r0/packages-split/qttools-tools/usr/bin/qt5/assistant'])

  DEBUG: qttools-plugins: Dependency libQt5WebKitWidgets.so.5 requires
  package qtwebkit (used by files:
  ['qttools/5.3.1-r0/packages-split/qttools-tools/usr/bin/qt5/assistant',
   'qttools/5.3.1-r0/packages-split/qttools-plugins/usr/lib/qt5/plugins/designer/libqwebview.so'])

(From meta-qt5 rev: 02861e677ab95b537efb331fb7faea4e5851d2ea)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwebkit.inc: add PACKAGECONFIG for libwebp
Martin Jansa [Wed, 6 Aug 2014 21:46:46 +0000 (23:46 +0200)]
qtwebkit.inc: add PACKAGECONFIG for libwebp

(From meta-qt5 rev: 5d28f842570b3546eb5b34ffd57fa94ad2a542ba)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtimageformats: Make the dependencies deterministic
Martin Jansa [Mon, 4 Aug 2014 17:20:39 +0000 (19:20 +0200)]
qtimageformats: Make the dependencies deterministic

* jasper and libwebp were autodetected from sysroot

(From meta-qt5 rev: b0a32232e702970b7bce8b0ff1973f8e689cdff9)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agocinematicexperience: fix qt5.3 compatibility
Yen-Chin Lee [Wed, 23 Jul 2014 13:44:21 +0000 (21:44 +0800)]
cinematicexperience: fix qt5.3 compatibility

cinematicexperience will run failed on Qt5.3.0 and Qt5.3.1, error message
as below

------------------------------------------------------------
Qt5_CinematicExperience.qml:26:5: Type MainView unavailable
         MainView {
         ^
/content/MainView.qml:241:9: Type SettingsView unavailable
             SettingsView {
             ^
/content/SettingsView.qml:88:13: Type Switch unavailable
                 Switch {
                 ^
/content/Switch.qml:9:21: Cannot assign a value to a signal (expecting a script to be run)
         property string onText: "On"

                         ^
------------------------------------------------------------

This patch fix this issue and make cinematicexperience can run on qt5.3.

ref: http://wickwire2099.blogspot.tw/2014/05/qt-530-qt5-cinematic-experience.html

(From meta-qt5 rev: 6ce50bf97b3f3409c1dddb8d5e106e599d18e69a)

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: restore QOpenGLPaintDevice-sub-area-support.patch from 5.3.0
Martin Jansa [Tue, 22 Jul 2014 20:24:26 +0000 (22:24 +0200)]
qtbase: restore QOpenGLPaintDevice-sub-area-support.patch from 5.3.0

(From meta-qt5 rev: 5111e23ae280756ff7fe7838d3b26aa66912c9ef)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: fix 0003-Add-external-hostbindir-option.patch
Jonathan Liu [Thu, 10 Jul 2014 04:08:35 +0000 (14:08 +1000)]
qtbase: fix 0003-Add-external-hostbindir-option.patch

The isEmpty function takes a variable name instead of a value.
As $$[QT_EXTERNAL_HOST_BINS] is a built-in we need to assign it to a
variable to check if it is empty.

If QT_EXTERNAL_HOST_BINS is empty (as is the case for generated Qt 5
toolchains), we need to fallback to QT_HOST_BINS when determining
the path for tools such as moc otherwise you get the following error
when building a Qt project using the generated toolchain:
make[1]: /moc: Command not found

(From meta-qt5 rev: 0c5abb6ae5591be0ea26d828c95c049866d17624)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agotufao: Add recipe
Otavio Salvador [Sun, 6 Jul 2014 03:21:28 +0000 (00:21 -0300)]
tufao: Add recipe

Tufão is an asynchronous web framework for C++ built on top of Qt
inspired in Node.js.

(From meta-qt5 rev: 41ed13fbb5b9298c76dcf940e3ef77f2a9a57921)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqt5-demo-extrafiles: Create recipe to include extrafiles for qt5 demo.
Neena Busireddy [Mon, 30 Jun 2014 20:04:35 +0000 (15:04 -0500)]
qt5-demo-extrafiles: Create recipe to include extrafiles for qt5 demo.

This recipe has all the extra files required for Qt5 demo.

This recipe originated from the wandboard wiki page
http://wiki.wandboard.org/index.php/Integrate_Qt5_into_yocto_sato_image_on_Wandboard

(From meta-qt5 rev: 7f5c022e8cff05b18319f48b95bb94a0e0c8a3e6)

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoquitindicators: Create recipe to demonstrate qt5 example.
Neena Busireddy [Mon, 30 Jun 2014 20:04:34 +0000 (15:04 -0500)]
quitindicators: Create recipe to demonstrate qt5 example.

This example shows the implementation of QUITIndicators components.

This recipe originated from the wandboard wiki page
http://wiki.wandboard.org/index.php/Integrate_Qt5_into_yocto_sato_image_on_Wandboard

(From meta-qt5 rev: 1d046542b60e2230989ba42479d6d1918b7a836d)

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoquitbattery: Create recipe to demonstrate qt5 example.
Neena Busireddy [Mon, 30 Jun 2014 20:04:33 +0000 (15:04 -0500)]
quitbattery: Create recipe to demonstrate qt5 example.

This example demonstrates how QUItBattery could behave
in different situations.

This recipe originated from the wandboard wiki page
http://wiki.wandboard.org/index.php/Integrate_Qt5_into_yocto_sato_image_on_Wandboard

(From meta-qt5 rev: 723530340e8c58ba4573e0f50fcb168ff39f857f)

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqt5nmapper: Create recipe to demonstrate qt5 example.
Neena Busireddy [Mon, 30 Jun 2014 20:04:32 +0000 (15:04 -0500)]
qt5nmapper: Create recipe to demonstrate qt5 example.

NMapper is a small application to experiment with normal mapping on Qt5.

This recipe originated from the wandboard wiki page
http://wiki.wandboard.org/index.php/Integrate_Qt5_into_yocto_sato_image_on_Wandboard

(From meta-qt5 rev: 96fb1cadc56709c670ccb416969ebfd1571f941e)

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqt5nmapcarousedemo: Create recipe to demonstrate qt5 example.
Neena Busireddy [Mon, 30 Jun 2014 20:04:31 +0000 (15:04 -0500)]
qt5nmapcarousedemo: Create recipe to demonstrate qt5 example.

Qt5 Nmapcarousel demonstrates the normal mapping technique using Qt5

This recipe originated from the wandboard wiki page
http://wiki.wandboard.org/index.php/Integrate_Qt5_into_yocto_sato_image_on_Wandboard

(From meta-qt5 rev: ed02fe97c53d4401b610844106e2f0b29e2c2fb7)

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqt5ledscreen: Create recipe to demonstrate qt5 example.
Neena Busireddy [Mon, 30 Jun 2014 20:04:30 +0000 (15:04 -0500)]
qt5ledscreen: Create recipe to demonstrate qt5 example.

This is demonstration of simple LedScreen Component utilizing Qt5 QML.

This recipe originated from the wandboard wiki page
http://wiki.wandboard.org/index.php/Integrate_Qt5_into_yocto_sato_image_on_Wandboard

(From meta-qt5 rev: 74925c7347095aed7af484cf4e59e54cd9390b65)

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtsmarthome: Create recipe to demonstrate qt5 example.
Neena Busireddy [Mon, 30 Jun 2014 20:04:29 +0000 (15:04 -0500)]
qtsmarthome: Create recipe to demonstrate qt5 example.

This is the Smarthome QML demo application showing interface
to control an automated house.

This recipe originated from the wandboard wiki page
http://wiki.wandboard.org/index.php/Integrate_Qt5_into_yocto_sato_image_on_Wandboard

(From meta-qt5 rev: 655f71d3414696370181bcc531191ed5738502a1)

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqt5everywheredemo: Create recipe to demonstrate qt5 example.
Neena Busireddy [Mon, 30 Jun 2014 20:04:28 +0000 (15:04 -0500)]
qt5everywheredemo: Create recipe to demonstrate qt5 example.

Qt5 Everywhere Demo provides a quick tour of Qt 5.0, primarily
focusing on its graphical capabilities.

This recipe originated from the wandboard wiki page
http://wiki.wandboard.org/index.php/Integrate_Qt5_into_yocto_sato_image_on_Wandboard

(From meta-qt5 rev: 164f9aa413ce3dc93ebc5cfedecb366bcd984091)

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtmultimedia: Add gstremer-1.0 support
Martin Jansa [Sat, 5 Jul 2014 07:11:41 +0000 (09:11 +0200)]
qtmultimedia: Add gstremer-1.0 support

(From meta-qt5 rev: 9f802b01e54709773e0a070beefb78d8f9d5c01f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwebengine: Add 2 more patches to fix do_configure and fix QA warning
Martin Jansa [Tue, 1 Jul 2014 15:36:38 +0000 (17:36 +0200)]
qtwebengine: Add 2 more patches to fix do_configure and fix QA warning

* otherwise moc generated files have the same basename and do_configure fails with:
  core_generated.gyp:QtWebEngineCore#target has several files with the same basename:
  |   javascript_dialog_controller: javascript_dialog_controller.cpp
  | /OE/build/oe-core/tmp-eglibc/work/i586-oe-linux/qtwebengine/0.9.99+gitAUTOINC+21f6ce84ec-r0/git/src/core/.moc/moc_/OE/build/oe-core/tmp-eglibc/work/i586-oe-linux/qtwebengine/0.9.99+gitAUTOI.moc+21f6ce84ec-r0/git/src/core/javascript_dialog_controller.cpp
  ...

(From meta-qt5 rev: 26b7fee65a3c23a9c2447d549668f373bfa76bae)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwebengine: add initial recipe for git version only
Simon Busch [Wed, 25 Jun 2014 07:55:17 +0000 (09:55 +0200)]
qtwebengine: add initial recipe for git version only

(From meta-qt5 rev: 0663bcdddf0311329e607416cd51ce55b9557240)

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoninja-native: add recipe
Simon Busch [Wed, 25 Jun 2014 07:55:16 +0000 (09:55 +0200)]
ninja-native: add recipe

Needed to build qtwebengine. Taken from meta-browser.

(From meta-qt5 rev: a608ef4d63ddc58528eb7defa6a7f89c71ea7033)

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: fix 0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch
Martin Jansa [Wed, 2 Jul 2014 15:28:17 +0000 (17:28 +0200)]
qtbase: fix 0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch

* again resolves this kind of warnings:
  WARNING: QA Issue: qtxmlpatterns: The compile log indicates that host
    include and/or library paths were used. Please check the log
    '/OE/qtxmlpatterns/5.3.1-r0/temp/log.do_compile'
    for more information.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agorecipes: upgrade from 5.3.0 to 5.3.1
Martin Jansa [Wed, 25 Jun 2014 13:47:15 +0000 (15:47 +0200)]
recipes: upgrade from 5.3.0 to 5.3.1

(From meta-qt5 rev: b26453cd28ed913d68e6ab2a0da0a13b1ce40098)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agorecipes-git: upgrade to latest SRCREV in stable branch
Martin Jansa [Tue, 24 Jun 2014 13:26:03 +0000 (15:26 +0200)]
recipes-git: upgrade to latest SRCREV in stable branch

* this will be close to 5.3.1 release

(From meta-qt5 rev: 0d9ca1b1bd06a9f2221cbfd6b7364c74fd20f21a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqttools: make qtwebkit a PACKAGECONFIG and disable by default
Andreas Müller [Sat, 14 Jun 2014 00:01:57 +0000 (02:01 +0200)]
qttools: make qtwebkit a PACKAGECONFIG and disable by default

(From meta-qt5 rev: 82dbbfe81e6f85b7265f0b76b9682edf0acfbaea)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwayland: respect OE_QMAKE_PATH_QT_HEADERS and use QT_VERSION variable
Martin Jansa [Thu, 12 Jun 2014 02:26:30 +0000 (04:26 +0200)]
qtwayland: respect OE_QMAKE_PATH_QT_HEADERS and use QT_VERSION variable

* QT_VERSION allows to use 5.3.1 e.g. when overriding SRCREV
* ${includedir}/${QT_DIR_NAME} is the default value of OE_QMAKE_PATH_QT_HEADERS, but
  when it's changed by user we should respect it here

(From meta-qt5 rev: aa8588a72e9c611bf98c9318397bc9a1a26a2655)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwayland: Don't use bashisms in do_install
Martin Jansa [Tue, 10 Jun 2014 11:03:55 +0000 (13:03 +0200)]
qtwayland: Don't use bashisms in do_install

(From meta-qt5 rev: 890d699834f0294d3d25373dcb76205e5994302d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agomaliit-framework-qt5: Add patch to fix build with qt-5.3, remove unused files
Martin Jansa [Thu, 5 Jun 2014 20:17:17 +0000 (22:17 +0200)]
maliit-framework-qt5: Add patch to fix build with qt-5.3, remove unused files

(From meta-qt5 rev: 32b4764e9122531a581f46d318136b6769926d36)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: Refresh patches to match with stable* branches on github.com/meta-qt5
Martin Jansa [Wed, 4 Jun 2014 15:12:58 +0000 (17:12 +0200)]
qtbase: Refresh patches to match with stable* branches on github.com/meta-qt5

(From meta-qt5 rev: b4e270f9e2e5c632f0958af1a5131efb45bcd799)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: Refresh patches to match with b5.3.0* branches on github.com/meta-qt5
Martin Jansa [Wed, 4 Jun 2014 14:50:53 +0000 (16:50 +0200)]
qtbase: Refresh patches to match with b5.3.0* branches on github.com/meta-qt5

* move more patches to "shared" section

(From meta-qt5 rev: 06c25e6a6b9ff6f36f91412b2f8e10e8cd39bf3b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agorecipes-git: Use LIC_FILES_CHKSUM from .inc files
Martin Jansa [Fri, 30 May 2014 13:15:53 +0000 (15:15 +0200)]
recipes-git: Use LIC_FILES_CHKSUM from .inc files

* the old checksum was introduced in .inc files in upgrade of
  tarball recipes to 5.3.0, use that until it's updated in
  git recipes and then we'll have to move old checksum from .inc
  to release recipe only.

(From meta-qt5 rev: 96c33dfbedacb94a216f7aede7d6d654a7d27953)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>