scm/bb/tizen-distro.git
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>
9 years agorecipes-git: Upgrade to latest origin/stable
Martin Jansa [Fri, 30 May 2014 12:37:26 +0000 (14:37 +0200)]
recipes-git: Upgrade to latest origin/stable

* qtbase: Fix undefined reference to qt_blend_argb32_on_argb32_ssse3

(From meta-qt5 rev: cf2c7816fd053ff16a41abdc6f2a89fe9ff7a7ff)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agopackagegroup-qt5-toolchain-target: Add qtenginio, qtwebsockets
Jonathan Liu [Fri, 30 May 2014 11:05:21 +0000 (13:05 +0200)]
packagegroup-qt5-toolchain-target: Add qtenginio, qtwebsockets

(From meta-qt5 rev: a0da57e5ce2862758e10b82c30c200e365b29f46)

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 agoqtenginio: Add new module
Jonathan Liu [Fri, 30 May 2014 11:05:21 +0000 (13:05 +0200)]
qtenginio: Add new module

(From meta-qt5 rev: 28e4936d70da85c5641e2f7ae38eb0793ddfc40a)

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 agoqtwebsockets: Add new module
Jonathan Liu [Fri, 30 May 2014 11:05:21 +0000 (13:05 +0200)]
qtwebsockets: Add new module

(From meta-qt5 rev: e47180cf1f010547d682bf5ca04b3287b14161f2)

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 agoqt5: upgrade from 5.2.1 to 5.3.0
Jonathan Liu [Thu, 29 May 2014 14:54:38 +0000 (00:54 +1000)]
qt5: upgrade from 5.2.1 to 5.3.0

(From meta-qt5 rev: e9ad98bbed6065989ef4648e724f27275b35b838)

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 agorecipes-git: Upgrade from latest origin/release to latest origin/stable
Martin Jansa [Wed, 19 Mar 2014 14:30:56 +0000 (15:30 +0100)]
recipes-git: Upgrade from latest origin/release to latest origin/stable

* there wont be 5.2.2 release, so start preparation for 5.3.0
* probably latest 5.3.0-beta1 snapshot was released yesterday, so this
  should be reasonably close
* probably wont be merged before creating new release branch for Yocto 1.6
* qtbase: Fix build with X.h included from egl.h
* nativesdk-qt*: Add git recipes
  5.2.1 isn't compatible with qtbase-native from git
* qtbase: upgrade to latest stable revision
  * 0006-configure-make-pulseaudio-alsa-freetype-a-configurab.patch
    was upstreamed in:
    0c3301f configure: make pulseaudio and alsa configurable options
  * 0005-qt_module-Fix-pkgconfig-replacement.patch
    is hopefully resolved in:
    eaefbe3 snuff -L/-I with system paths when installing meta files
    a33afed de-duplicate setup of libdir replacement in prl files
    aa20e7f reshuffle code for clarity
    ee86ce8 don't attempt to replace include paths in meta files
    but this needs to be double checked
* recipes-git: Upgrade to latest origin/stable
* qt5-git.inc: update LICENSE.LGPL checksum
  * only year was updated:
    - The Qt Toolkit is Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
    + The Qt Toolkit is Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
* qtbase: add 2 patches to fix build issues
* LIC_FILES_CHKSUM: update other git recipes
* qtlocation: bump SRCREV and add to qt5-versions
* qt5-versions.inc: Add line for qttools and fix it for nativesdk-qttools
* qtquick1: fix LIC_FILES_CHKSUM
* qttools: update LIC_FILES_CHKSUM and patches
  * new qtdiag needs to be disabled as well because it depends on gui which isn't enabled
    in qtbase-native, disable qtpaths as well

(From meta-qt5 rev: 6374736f37378501793a5191b48545c1fecc0c48)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqt5.inc: Fix packaging of plugins
Otavio Salvador [Fri, 6 Jun 2014 15:02:05 +0000 (12:02 -0300)]
qt5.inc: Fix packaging of plugins

The qtmultimedia module install the plugins in a sub-directory however
those were not being packaged. This patch fixes following QA error:

ERROR: QA Issue: qtmultimedia: Files/directories were installed but not shipped
  /usr/lib/qt5/plugins/video
  /usr/lib/qt5/plugins/video/videonode
  /usr/lib/qt5/plugins/video/videonode/libimx6vivantevideonode.so
  /usr/lib/qt5/plugins/video/videonode/.debug
  /usr/lib/qt5/plugins/video/videonode/.debug/libimx6vivantevideonode.so

Reported-by: Lauren Post <lauren.post@freescale.com>
(From meta-qt5 rev: 9957ec5d0176912e189cf7e243617ed9c3cde57a)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwayland: install created private headers, v2
Andreas Müller [Tue, 13 May 2014 14:48:48 +0000 (16:48 +0200)]
qtwayland: install created private headers, v2

* I've accidentaly merged v1 of this patch, so this is just
  missing part from PATCHv2.

(From meta-qt5 rev: ed05b91f137cb229e9ebababf9f72748aece1bf3)

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: install created private headers
Andreas Müller [Mon, 12 May 2014 09:41:38 +0000 (11:41 +0200)]
qtwayland: install created private headers

buildhistory diff:

(From meta-qt5 rev: 790d43aae5d55d2695b7a1406f425ffca01068b2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwayland-native: make qtwayland find qtwaylandscanner
Andreas Müller [Mon, 12 May 2014 09:41:37 +0000 (11:41 +0200)]
qtwayland-native: make qtwayland find qtwaylandscanner

bindir/qt5 causes not building QtWaylandClient files.
See [1] for further explanation. This error was discoverd by building
hawaii-shell failing with:

| /home/superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/qt5/QtCompositor/5.3.0/QtCompositor/private/qwlinputdevice_p.h:56:58: fatal error: QtCompositor/private/qwayland
|  #include <QtCompositor/private/qwayland-server-wayland.h>
|                                                           ^
| compilation terminated.

[1] https://qt.gitorious.org/qt/qtbase/commit/0e1ce36ae67de940b2d499ec7f23e520dce0f112

(From meta-qt5 rev: 925fcf4ecfe5f0e8f6dd76a1cf6e4b719551e493)

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: move to latest revision
Andreas Müller [Mon, 12 May 2014 09:41:36 +0000 (11:41 +0200)]
qtwayland: move to latest revision

latest hawaii has moved to frame-sync support

(From meta-qt5 rev: bb39cdb7cc2a964d1cecd1a4109cfae50dba964b)

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 agoqtbase.inc: add -no-xkbcommon
Thomas Senyk [Thu, 27 Mar 2014 14:33:07 +0000 (15:33 +0100)]
qtbase.inc: add -no-xkbcommon

If one builds with xkb, both -no-xkb and
-no-xkbcommon should be set.
Without -no-xkbcommon you'll get link-errors
for libcomposeplatforminputcontextplugin.so

(From meta-qt5 rev: 82595860225ee056e1291282c7bd4b0d4ed8036d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtsystems: Remove examples.pro file from packages
Otavio Salvador [Mon, 26 May 2014 14:01:18 +0000 (11:01 -0300)]
qtsystems: Remove examples.pro file from packages

The examples.pro file is useless as we don't deploy the
source code. Remove it from the packages.

(From meta-qt5 rev: 48311c05e264ee52d6a8cb7ef8d004345777dfda)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>