scm/bb/tizen-distro.git
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>
9 years agoqtbase: Remove examples.pro file from packages
Otavio Salvador [Mon, 26 May 2014 14:00:09 +0000 (11:00 -0300)]
qtbase: 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: 6302f024037605f9ffd09009850c902f378809b1)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agopackagegroup-qt5-toolchain-target: Don't require qtquickcontrols-qmlplugins
Otavio Salvador [Sat, 24 May 2014 22:50:59 +0000 (19:50 -0300)]
packagegroup-qt5-toolchain-target: Don't require qtquickcontrols-qmlplugins

The qtquickcontrols-qmlplugins requirement has been move to a runtime
recommendation so we don't fail in case it is not available.

(From meta-qt5 rev: 7dd1fcdecb4c20156fa88edf8d3f090b9b8692cd)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agopopulate_sdk_qt5.bbclass: Fix PACKAGE_GROUP deprecation warning
Jacob Kroon [Tue, 15 Apr 2014 17:12:45 +0000 (19:12 +0200)]
populate_sdk_qt5.bbclass: Fix PACKAGE_GROUP deprecation warning

Fixes the following warning:

WARNING: PACKAGE_GROUP is deprecated, please use FEATURE_PACKAGES instead

(From meta-qt5 rev: 05ed65d22578296d5ef145ec20e6e7bb7b434c9b)

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: add xcb-util-renderutil to xcb PACKAGECONFIG
Martin Jansa [Tue, 6 May 2014 20:14:38 +0000 (22:14 +0200)]
qtbase: add xcb-util-renderutil to xcb PACKAGECONFIG

* also force xcb-xlib and system-xcb just for consistency (configure script
  will disable xcb-xlib when compile-test fails)
* fixes test-dependencies issue:
  qtbase/qtbase-plugins/latest lost dependency on  libxcb-render xcb-util-renderutil

(From meta-qt5 rev: 381717aa35f5e489fab40b06619d42348a5b1d7e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: xinput2 depends on libxi
Andreas Oberritter [Fri, 25 Apr 2014 22:51:40 +0000 (00:51 +0200)]
qtbase: xinput2 depends on libxi

| ../../../../qtbase-opensource-src-5.2.1/config.tests/x11/xinput2/xinput2.cpp:43:36: fatal error: X11/extensions/XInput2.h: No such file or directory
|  #include <X11/extensions/XInput2.h>
|                                     ^
| compilation terminated.
| make: *** [xinput2.o] Error 1
| XInput2 disabled.
| XInput2 support cannot be enabled due to functionality tests!

(From meta-qt5 rev: 6b1ad9ef455e048802f41b5d446cc3ac9c3bdfb6)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: enable xkb by default if x11 is in DISTRO_FEATURES
Andreas Oberritter [Fri, 25 Apr 2014 22:51:39 +0000 (00:51 +0200)]
qtbase: enable xkb by default if x11 is in DISTRO_FEATURES

Fixes "Error: -no-xkbcommon is not supported on XCB platform plugin."

(From meta-qt5 rev: 3d2eca97d6439aad6b34654bc8fd67834b764572)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agocmake: remove .bbappends, resolved in oe-core
Martin Jansa [Sun, 20 Apr 2014 14:51:37 +0000 (16:51 +0200)]
cmake: remove .bbappends, resolved in oe-core

* it's included in daisy and master branches
  http://git.openembedded.org/openembedded-core/commit/?h=daisy&id=4f2dee0d8c2c3f60cb8f8021343e973cae31fc50

(From meta-qt5 rev: 17f240dfa98e49f14637fd146ba1de20416d0971)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtlocation: add packageconfig for geoclue and gypsy
Jonathan Liu [Sun, 20 Apr 2014 14:01:23 +0000 (00:01 +1000)]
qtlocation: add packageconfig for geoclue and gypsy

(From meta-qt5 rev: 12a40b841225b0d669b330dbdec1a01b0a99ddaa)

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 agoqtwebkit: fix packageconfig
Andreas Oberritter [Thu, 10 Apr 2014 22:15:44 +0000 (00:15 +0200)]
qtwebkit: fix packageconfig

Arguments passed to the qmake command-line were ignored by prf
files, which get evaluated first. QtWebKit offers QMAKE_CACHE_EVAL,
which can be used to inject a qmake snippet before anything else
gets parsed.

(From meta-qt5 rev: 7a8f5fe098c4a553249710f6869c01bac888d398)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwebkit: add packageconfig for qtmultimedia
Jonathan Liu [Sun, 30 Mar 2014 13:22:52 +0000 (00:22 +1100)]
qtwebkit: add packageconfig for qtmultimedia

(From meta-qt5 rev: c49617bd7a7c0f4e9539e64e2468d6ed281540d7)

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 agopackagegroup-qt5-toolchain-target: include all modules for development
Jonathan Liu [Wed, 12 Mar 2014 22:52:40 +0000 (09:52 +1100)]
packagegroup-qt5-toolchain-target: include all modules for development

This adds the necessary target packages for development with all of the
Qt 5 modules.

(From meta-qt5 rev: 4b000961f3aa3da0717062e7dc0f54cfe0a0288c)

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 agoqtimageformats: allow empty qtimageformats package
Jonathan Liu [Wed, 12 Mar 2014 22:52:39 +0000 (09:52 +1100)]
qtimageformats: allow empty qtimageformats package

This fixes installing qtimageformats-dev with opkg as it depends on the
qtimageformats package which wasn't created.

The qtimageformats package was not created as it is empty and BitBake
avoids producing empty packages by default. The installed files consist
of source files split into qtimageformats-dbg, CMake files split into
qtimageformats-dev, plugins split into qtimageformats-plugins and
debug build of plugins split into qtimageformats-plugins-dbg.

(From meta-qt5 rev: c9c0b501f69e3fc5ea92bf36a06d7c701a988014)

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 agolicenses: rename NOKIA-TPLA-2.4 to DIGIA-TPLA-2.4
Jonathan Liu [Sat, 15 Mar 2014 14:54:39 +0000 (01:54 +1100)]
licenses: rename NOKIA-TPLA-2.4 to DIGIA-TPLA-2.4

The license agreement doesn't mention Nokia anymore after Qt was
acquired by Digia.

(From meta-qt5 rev: 1fa7f364f682e5cfaa9d6e565b7ae6b8ec2a90ff)

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 agolicenses: Fix WARNING: qt3d: No generic license file exists for: PREVIEW.COMMERCIAL...
Khem Raj [Fri, 14 Mar 2014 14:47:26 +0000 (07:47 -0700)]
licenses: Fix WARNING: qt3d: No generic license file exists for: PREVIEW.COMMERCIAL in any provider

* Provide the license text

(From meta-qt5 rev: 79fcaa9d61fbecdcf2d75efb00682b66ba9deeb6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: move 0015-Fix-linuxfb-argument-mmsize-parsing.patch to 5.2.1 recipe
Martin Jansa [Fri, 7 Mar 2014 00:39:24 +0000 (01:39 +0100)]
qtbase: move 0015-Fix-linuxfb-argument-mmsize-parsing.patch to 5.2.1 recipe

(From meta-qt5 rev: 818cc2d11b02ceb02ac27401fedcaf1e1db91d36)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtdeclarative_git: drop 0003-Fix-wrong-calculation-of-viewPort-for-transitions.patch
Martin Jansa [Mon, 24 Feb 2014 22:55:52 +0000 (23:55 +0100)]
qtdeclarative_git: drop 0003-Fix-wrong-calculation-of-viewPort-for-transitions.patch

* drop 0003-Fix-wrong-calculation-of-viewPort-for-transitions.patch
  because it's already applied in upstream commit:
  commit d765ad8e3dabe44f276db9084b1d16164c4535e7
  Author: Florian Hänel <florian.haenel@basyskom.com>
  Date:   Wed Jun 5 19:23:32 2013 +0200
  Subject: Fix wrong calculation of viewPort for transitions

(From meta-qt5 rev: a93ebb736bb02c1c74bb8a4bd14476c725905ea3)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqt5-git: bump SRCREVs to latest in 'release' branch
Martin Jansa [Mon, 24 Feb 2014 20:20:58 +0000 (21:20 +0100)]
qt5-git: bump SRCREVs to latest in 'release' branch

* in some components there was just
  Bump MODULE_VERSION to 5.2.2
  commit but bump them all for consistencty

* we're testing newer revisions in order to narrow some QML issues
  we're seeing in runtime

(From meta-qt5 rev: fbf9216fb9753e32618f1bf986e136423171b313)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: Replace 0012-qtbase-allow-build-of-examples.patch with -compile-examples...
Martin Jansa [Mon, 24 Feb 2014 20:02:34 +0000 (21:02 +0100)]
qtbase: Replace 0012-qtbase-allow-build-of-examples.patch with -compile-examples option

* -compile-examples option was added in upstream commit:
  commit 8ea19caacf281240411541b5af37c2f9a103a7d1
  Author: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
  Date:   Tue May 7 17:10:22 2013 +0200
  Subject: add -compile-examples configure option

(From meta-qt5 rev: a036792a6270f18c971baeb72f92abbb91c4d73e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase.inc: set virtual/mesa and virtual/egl as dependency in PACKAGECONFIG[kms]
Andreas Müller [Tue, 25 Feb 2014 17:16:54 +0000 (18:16 +0100)]
qtbase.inc: set virtual/mesa and virtual/egl as dependency in PACKAGECONFIG[kms]

* there is no kms around
* mesa is the default implementation for (lib)gbm (see config.tests/qpa/kms)
* in configure we find:
  | if [ "$CFG_KMS" = "yes" ]; then
  |     if [ "$CFG_EGL" = "no" ]; then
  |         echo "The KMS plugin requires EGL support and cannot be built"
  |         exit 101
  |     fi
  | fi

(From meta-qt5 rev: fc06fb8ceb8eec4fe64463234ce6aaadd5f8a852)

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: prevent artifacts on raster windows using eglfs plugin
Jonathan Liu [Tue, 4 Mar 2014 22:09:39 +0000 (09:09 +1100)]
qtbase: prevent artifacts on raster windows using eglfs plugin

(From meta-qt5 rev: 201b3b2c89d77a6ef8ea6e5f6b63929429184994)

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 mmsize argument parsing for linuxfb plugin
Jonathan Liu [Tue, 4 Mar 2014 22:09:00 +0000 (09:09 +1100)]
qtbase: fix mmsize argument parsing for linuxfb plugin

(From meta-qt5 rev: 8c3c6fda694f8d86347d51978d345d476addf59f)

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 agocmake: rename .bbappend to match new version from OE-core
Jonathan Liu [Mon, 3 Mar 2014 10:59:53 +0000 (21:59 +1100)]
cmake: rename .bbappend to match new version from OE-core

(From meta-qt5 rev: ea5d8e0c1b04719e1606d823292d0beb1bae7cc2)

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 agoqttools: add missing DEPENDS
Jonathan Liu [Mon, 3 Mar 2014 07:00:03 +0000 (18:00 +1100)]
qttools: add missing DEPENDS

(From meta-qt5 rev: c63c48b3ca8d7fd824b471fbac5e96bc1600e380)

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 agoqtwebkit: add packageconfig for gstreamer, qtlocation and qtsensors
Andreas Oberritter [Fri, 28 Feb 2014 20:15:07 +0000 (21:15 +0100)]
qtwebkit: add packageconfig for gstreamer, qtlocation and qtsensors

Use gstreamer for 1.x, gstreamer010 for 0.10.x.

(From meta-qt5 rev: 2bf30ae1d5321803acc0f15f49935dac50089dde)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtdeclarative: drop qtsvg dependency, add packageconfig for qtxmlpatterns
Andreas Oberritter [Fri, 28 Feb 2014 20:15:06 +0000 (21:15 +0100)]
qtdeclarative: drop qtsvg dependency, add packageconfig for qtxmlpatterns

The dependency on qtsvg seems to be a leftover from an old version.
Version 5.2.1 of qtdeclarative doesn't include any reference to it.

Depend on qtbase in case qtxmlpatterns gets disabled.

(From meta-qt5 rev: c9e332597bd461de03dbb0eed429ecbe0c9a05a5)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase/qtwebkit: drop ICU variable
Andreas Oberritter [Fri, 28 Feb 2014 20:15:05 +0000 (21:15 +0100)]
qtbase/qtwebkit: drop ICU variable

Pango doesn't seem to be a drop-in replacement for ICU, so
using it as a dependency for the -icu option won't work.

QtWebKit has a hard dependency on icu.

(From meta-qt5 rev: 69d2f31df603244dff240163df04133756a1a0d3)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agopopulate_sdk_qt5.bbclass: Add support for qtcreator-debug
Otavio Salvador [Thu, 20 Feb 2014 17:34:01 +0000 (14:34 -0300)]
populate_sdk_qt5.bbclass: Add support for qtcreator-debug

This adds a new image feature for easier remote debugging with
QtCreator.

The qtcreator-debug needs to be added as a valid item for image
features and having it inside the populate_sdk_qt5 is too late. User
will see a parser error as OE-Core images does not inherit the classs.
The possible workaround for it is to include it inside layer.conf file
until a kind of "bbclassappend" support is in place.

(From meta-qt5 rev: deb2473ee91c014c655098f20b9f8b33ff9a8bc1)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Giulian Vivan <giulian@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agopackagegroup-qt5-qtcreator-debug: Add package group
Otavio Salvador [Thu, 20 Feb 2014 17:31:13 +0000 (14:31 -0300)]
packagegroup-qt5-qtcreator-debug: Add package group

This allow for easy installation of needed packages for remote
debugging using QtCreator. The qtdeclarative-plugins package provides
the needed infrastructure to remotely debug QML application.

(From meta-qt5 rev: 53242713da6ae01f2b1f7e674b00517390fe2bcb)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Giulian Vivan <giulian@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agonativesdk-qtbase-tools: disable Debian-style package renaming
Jacob Kroon [Fri, 28 Feb 2014 09:33:52 +0000 (10:33 +0100)]
nativesdk-qtbase-tools: disable Debian-style package renaming

Since commit 8da5017712a7ddcb8488e095b9aa03b0273f23e9, libQt5*.so files
are included in the nativesdk-qtbase-tools package. However, this together
with the fact that the binaries are placed in a subdir "qt5" of bin will
confuse the Debian-style package renaming logic in debian.bbclass, causing the
resulting ipk package to be created as "nativesdk-libqt5core5".

(From meta-qt5 rev: cee2a75ad66080a1b8694238ee5cfe2570225e4d)

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agopopulate_sdk_qt5.bbclass: Fix symlink location for QtCreator use
Otavio Salvador [Mon, 24 Feb 2014 15:39:34 +0000 (12:39 -0300)]
populate_sdk_qt5.bbclass: Fix symlink location for QtCreator use

The QtCreator is quite broken regarding finding the mkspecs files; so
to workaround it we must to add a symlink to it. The workaround was in
place but in the wrong sysroot, it must to be in the /native/ one.

(From meta-qt5 rev: e55d3ef36a98574e7d4535bb03b56c9a05e6578a)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqsiv: add the qsiv 1.1 example app
Giulian Gonçalves Vivan [Tue, 18 Feb 2014 20:44:55 +0000 (17:44 -0300)]
qsiv: add the qsiv 1.1 example app

This provides a simple image viewer for demonstration purposes.

(From meta-qt5 rev: 0d20b53eb8b4c8d09ee8281efbd045aa1561b08c)

Signed-off-by: Giulian Gonçalves Vivan <giulian@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agomallit-plugins-qt5: Don't set OE_QMAKE_PATH_HEADERS
Otavio Salvador [Thu, 20 Feb 2014 17:22:32 +0000 (14:22 -0300)]
mallit-plugins-qt5: Don't set OE_QMAKE_PATH_HEADERS

The qmake class now respects the QT_DIR_NAME setting when setting the
headers path, so this change is not needed anymore.

(From meta-qt5 rev: 9b4dc4d2cf9de6e037df70684d7f6cfee7e4905b)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agomallit-framework-qt5: Don't set OE_QMAKE_PATH_HEADERS
Otavio Salvador [Thu, 20 Feb 2014 17:21:23 +0000 (14:21 -0300)]
mallit-framework-qt5: Don't set OE_QMAKE_PATH_HEADERS

The qmake class now respects the QT_DIR_NAME setting when setting the
headers path, so this change is not needed anymore.

(From meta-qt5 rev: 8222990922ac75f805f649499a2be803da6b6a3b)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqmake5_paths.bbclass: Use Qt version path for headers
Otavio Salvador [Tue, 18 Feb 2014 17:03:49 +0000 (14:03 -0300)]
qmake5_paths.bbclass: Use Qt version path for headers

When looking for Qt5 headers we ought to use the Qt5 specific path. In
case the distribution wants to have a flat tree it can set QT_DIR_NAME
and it will still works as expected.

(From meta-qt5 rev: 2bd5fba34dd350807ac07828cd883d5b6c7ec631)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwayland: Fix xcomposite-glx and examples build
Martin Jansa [Sat, 22 Feb 2014 16:27:23 +0000 (17:27 +0100)]
qtwayland: Fix xcomposite-glx and examples build

* egl was building fine, but glx was failing to find
  qwaylandintegration.h
* one example cannot be built without gles2, so make it
  conditional

(From meta-qt5 rev: d8b22f3d4ad6e15ab666b714fa0911a1bc289434)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtdeclarative: Fix build with tests enabled
Martin Jansa [Sat, 22 Feb 2014 16:26:42 +0000 (17:26 +0100)]
qtdeclarative: Fix build with tests enabled

(From meta-qt5 rev: 1279a21d9db9c497efbdaef7bb45f313a06df44b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: Fix PACKAGECONFIG[tests]
Martin Jansa [Sat, 22 Feb 2014 13:18:06 +0000 (14:18 +0100)]
qtbase: Fix PACKAGECONFIG[tests]

* at least in 5.2.1 tests aren't enabled by default:
  QT_ALL_BUILD_PARTS=" libs tools examples tests "
  QT_DEFAULT_BUILD_PARTS="libs tools examples"
  so without -make option they weren't enabled even with tests in
  PACKAGECONFIG

* add options for other build parts just for completeness

(From meta-qt5 rev: 6ec88245642cfe16bdd21abdbb8f3fabe13c96b9)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: Move remaining few by default enabled options to PACKAGECONFIG_DEFAULT
Martin Jansa [Sat, 22 Feb 2014 08:14:12 +0000 (09:14 +0100)]
qtbase: Move remaining few by default enabled options to PACKAGECONFIG_DEFAULT

* more and more people don't want to redefine whole PACKAGECONFIG variable

(From meta-qt5 rev: 04013e13b1368d86dfa6567807a3345b1de1dc6b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwebkit-examples: add RDEPENDS for ca-certificates
Andre McCurdy [Sat, 22 Feb 2014 05:30:07 +0000 (21:30 -0800)]
qtwebkit-examples: add RDEPENDS for ca-certificates

If qtbase is configured with openssl support then the
qtwebkit browser example apps require CA certificates.

(From meta-qt5 rev: e6f2641311118bc2169a9a43f2ff2d21a18f4572)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: configure with -openssl-linked instead of -openssl
Andre McCurdy [Sat, 22 Feb 2014 05:30:06 +0000 (21:30 -0800)]
qtbase: configure with -openssl-linked instead of -openssl

Configure qtbase with -openssl-linked (instead of -openssl) to ensure
that run-time dependencies on libcryto and libssl are detected.

(From meta-qt5 rev: b7b624386cb736b0f9ff5529e92059fb97d9787d)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: Make it easier to change [release|debug] PACKAGECONFIG
Mikko Levonmaa [Fri, 21 Feb 2014 22:49:56 +0000 (14:49 -0800)]
qtbase: Make it easier to change [release|debug] PACKAGECONFIG

Also add -developer-build to PACKAGECONFIG

(From meta-qt5 rev: 5d4479d19ddccbab0efec2c85b646b35a2f7c2bc)

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agonativesdk-qtbase: do qmake replacement in ${D} instead of ${B}
Denys Dmytriyenko [Thu, 20 Feb 2014 17:12:11 +0000 (12:12 -0500)]
nativesdk-qtbase: do qmake replacement in ${D} instead of ${B}

* This way we don't mangle ${B} and can repeat do_install if necessary. And
  previously it would require running do_compile again to restore the proper
  state of ${B}.
* Need to bump PR, since do_compile isn't changing, but needs to re-run to
  re-populate qmake-real binary.

(From meta-qt5 rev: 5599656cda1728b7262a9ae7154759dcd40a874e)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase-native: explicitly disable icu
Martin Jansa [Tue, 18 Feb 2014 15:36:44 +0000 (16:36 +0100)]
qtbase-native: explicitly disable icu

* Jonathan Liu reported that qtbase-native was failing to build for him
  and it looks like qtbase-native was trying to link against icu from his
  host (instead of icu-native because it isn't in DEPENDS)

(From meta-qt5 rev: 4375b28f7c70b033ee416df153498e9f76396025)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: add PACKAGECONFIG for mtdev
Martin Jansa [Tue, 18 Feb 2014 10:26:05 +0000 (11:26 +0100)]
qtbase: add PACKAGECONFIG for mtdev

(From meta-qt5 rev: d0a83ac45e108aba76c96a432d4629f382686383)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase.inc: don't force ARM_INSTRUCTION_SET to arm
Andre McCurdy [Tue, 18 Feb 2014 08:01:28 +0000 (00:01 -0800)]
qtbase.inc: don't force ARM_INSTRUCTION_SET to arm

Forcing ARM_INSTRUCTION_SET to arm when building qtbase no longer
seems to be required.

Confirmed by forcing ARM_INSTRUCTION_SET to thumb and building
qtbase 5.1.1 and 5.2.1 tuned for both armv4t and cortexa9thf-neon.

(From meta-qt5 rev: 0d9f550f68f27ebbdf8856693b1078bbb3049849)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agolibQt5*.la references OE build directories
Jacob Kroon [Sat, 18 Jan 2014 11:09:20 +0000 (12:09 +0100)]
libQt5*.la references OE build directories

I'm trying to get the .la-files for Qt5 dev-packages correct.

What I've come up with so far is attached in the patch (to be applied in
top of "jansa-qt5-5.2.0", b8a236df79c25802c1f2eb2525e8a534e73e608e)

With the patch applied I can still build both an image and an SDK, and
also the resulting SDK can be used to build my QT5 autotools projects. But
I get these warnings when building for instance "qtxmlpatterns":

WARNING: QA Issue: qtxmlpatterns: The compile log indicates that host
include and/or library paths were used.

(From meta-qt5 rev: dc0073bb4586077ec1cc5204cca9029c656997b4)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: eglfs: fix egl error for platforms only supporting one window/surface
Andreas Müller [Wed, 5 Feb 2014 19:35:11 +0000 (20:35 +0100)]
qtbase: eglfs: fix egl error for platforms only supporting one window/surface

(From meta-qt5 rev: 52e39c35ee227a9eb1b1a182f9a873c4e7e55825)

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.inc: fix QA warnings
Andreas Müller [Mon, 10 Feb 2014 20:45:00 +0000 (21:45 +0100)]
qtwayland.inc: fix QA warnings

WARNING: QA Issue: qtwayland: Files/directories were installed but not shipped
  /usr/lib/qt5/plugins/wayland-graphics-integration
  /usr/lib/qt5/plugins/wayland-graphics-integration/client
  /usr/lib/qt5/plugins/wayland-graphics-integration/server
  /usr/lib/qt5/plugins/wayland-graphics-integration/client/libwayland-egl.so
  /usr/lib/qt5/plugins/wayland-graphics-integration/client/.debug
  /usr/lib/qt5/plugins/wayland-graphics-integration/client/.debug/libwayland-egl.so
  /usr/lib/qt5/plugins/wayland-graphics-integration/server/libwayland-egl.so
  /usr/lib/qt5/plugins/wayland-graphics-integration/server/.debug
  /usr/lib/qt5/plugins/wayland-graphics-integration/server/.debug/libwayland-egl.so

(From meta-qt5 rev: 47ec6dbcba57b0b0f7dbeb00bef24f8d85112947)

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: Upgrade from 5.2.0 to 5.2.1
Martin Jansa [Fri, 7 Feb 2014 03:10:06 +0000 (04:10 +0100)]
qt5: Upgrade from 5.2.0 to 5.2.1

* qtwayland: Use default LICENSE and LIC_FILES_CHKSUM
  * license texts were added in qtwayland commit 26bdc66fe6c4499332b2ead886a806d09aa07a8a
* qtdeclarative, qtserialport: Update QT_MODULE_BRANCH
  * SHA-1 of v5.2.1 tag is only in release branch

(From meta-qt5 rev: 4b7182a3be2b591e8190ff15b7a121191e4b201f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agonativesdk-qtbase, nativesdk-qttools: Fix file search paths
Gabe Johnson [Mon, 3 Feb 2014 20:14:14 +0000 (14:14 -0600)]
nativesdk-qtbase, nativesdk-qttools: Fix file search paths

* this is useful for using newer meta-qt5 with older oe-core
  release

(From meta-qt5 rev: 79944bda32a7e4799e7e73ea5b0dfc71ff1fc172)

Signed-off-by: Gabe Johnson <gjohnson@agleader.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agonativesdk-qtbase: Remove the datadir as it is not installed
Otavio Salvador [Tue, 18 Feb 2014 13:04:05 +0000 (10:04 -0300)]
nativesdk-qtbase: Remove the datadir as it is not installed

Fixes:

ERROR: QA Issue: nativesdk-qtbase: Files/directories were installed but not shipped
  /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/share

(From meta-qt5 rev: 6e71d92786b1560f12c5f0bb06d62ad2d0e601b5)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agonativesdk-qttools.inc: Fix installation and packaging
Otavio Salvador [Mon, 17 Feb 2014 19:58:14 +0000 (16:58 -0300)]
nativesdk-qttools.inc: Fix installation and packaging

We must to fix the installation paths as did in nativesdk-qtbase.inc
and remove the files unused from the packages. This fixes the
packaging errors and allows for a successful build for SDK.

(From meta-qt5 rev: 32cee0b6d18a9e8ae2977accf2c8d32f303827d7)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqmake5_base.bbclass: Fix mkspec path when building nativesdk binaries
Otavio Salvador [Mon, 17 Feb 2014 18:01:31 +0000 (15:01 -0300)]
qmake5_base.bbclass: Fix mkspec path when building nativesdk binaries

When building nativesdk binaries we ought to rely in the native
mkspecs.

(From meta-qt5 rev: 578657f7b6468af31ba399b02a4dac3c353db71b)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agonativesdk-qtbase.inc: Fix build failure removal of include and mkspecs
Otavio Salvador [Mon, 17 Feb 2014 14:30:58 +0000 (11:30 -0300)]
nativesdk-qtbase.inc: Fix build failure removal of include and mkspecs

The 7d8f8d6 change (nativesdk-qtbase.inc: Remove unused contents)
introduced a build failure that was not catch in my test. This patch
fixes it avoiding removing the headers and mkspecs files which are
need for the nativesdk-qttools recipe.

(From meta-qt5 rev: 8da5017712a7ddcb8488e095b9aa03b0273f23e9)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agonativesdk-qtbase.inc: Remove unused contents
Otavio Salvador [Fri, 14 Feb 2014 21:00:40 +0000 (19:00 -0200)]
nativesdk-qtbase.inc: Remove unused contents

Fixes:

ERROR: QA Issue: nativesdk-qtbase: Files/directories were installed but not shipped
  /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/lib
  /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/include
  /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/share
  /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/lib/libQt5Test.so
  /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/lib/libQt5Network.so
  ...

(From meta-qt5 rev: 7d8f8d6b5a00af7a212cce41350f4e1c5989aabd)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agonativesdk-qtbase: Fix install error in case install task is rerun
Otavio Salvador [Fri, 14 Feb 2014 20:58:40 +0000 (18:58 -0200)]
nativesdk-qtbase: Fix install error in case install task is rerun

In case changes are done in do_install and the sstate checksums
change, the task would fail as the qmake binary has already been
replaced. Avoid this error checking for the original filename.

(From meta-qt5 rev: 7c5306107c60b1a1e0bb8c4c3b8b80afa59a426a)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agometa-toolchain-qt5: add Qt5 SDK standalone meta recipe
Denys Dmytriyenko [Mon, 10 Feb 2014 21:16:55 +0000 (16:16 -0500)]
meta-toolchain-qt5: add Qt5 SDK standalone meta recipe

(From meta-qt5 rev: db9d6b401c101685dfb89557e06e451dcc0af1f0)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agopopulate_sdk_qt5.bbclass: Allow generation of toolchain
Otavio Salvador [Thu, 6 Feb 2014 11:09:01 +0000 (09:09 -0200)]
populate_sdk_qt5.bbclass: Allow generation of toolchain

This allow the toolchain generation using '-c populate_sdk' as it
includes the need host libraries into the SDK.

(From meta-qt5 rev: f803570841608ec5e81675e4b85613fbf0062839)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agopackagegroup-qt5-toolchain-target: Add packagegroup
Otavio Salvador [Fri, 7 Feb 2014 13:38:17 +0000 (11:38 -0200)]
packagegroup-qt5-toolchain-target: Add packagegroup

Allow easy inclusion of target packages for the Qt5 SDK or external
toolchain.

The list of the target package is based on the Arago Project, which
has been contribute by Denys Dmytriyenko <denys@ti.com>.

(From meta-qt5 rev: 3cc5613d226d95f5f4e802856f507efaf44cb968)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agonativesdk-packagegroup-qt5-toolchain-host: Add packagegroup
Otavio Salvador [Thu, 6 Feb 2014 01:05:21 +0000 (23:05 -0200)]
nativesdk-packagegroup-qt5-toolchain-host: Add packagegroup

Allow easy inclusion of host packages for the Qt5 standalone SDK or
external toolchain.

(From meta-qt5 rev: d768d975282b8a230314880ab6acd334440a6214)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoREADME: Reword the section about github forking
Otavio Salvador [Fri, 7 Feb 2014 12:50:59 +0000 (10:50 -0200)]
README: Reword the section about github forking

This splits the lines in 80 cols and rework the text a little bit to
easy reading.

(From meta-qt5 rev: 91ac66d5e4867d7e400bbffe5b31caa8ed660fbb)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwebkit: drop obsolete patch 0001-jsc-Add-licuuc-licui18n-LIBS.patch
Andreas Oberritter [Tue, 28 Jan 2014 20:19:01 +0000 (21:19 +0100)]
qtwebkit: drop obsolete patch 0001-jsc-Add-licuuc-licui18n-LIBS.patch

This patch caused a linker error:

| linking ../../bin/jsc
| [...]ld: cannot find -licuuc -licui18n

The linker command-line contains:

| [...] -licuuc\ -licui18n [...] -licui18n -licuuc -licudata [...]

So the problem gets caused by the backslash, making the actual library
name "libicuuc -licui18n.so". This may have been caused be the double
quotes used in the patch. However, since both libs are already part
of the command-line, the patch can just get dropped. The patch indicates,
that it was created for a beta version, so I assume that this was
fixed before the 5.2 release.

(From meta-qt5 rev: a317282d25c1355e085de80b71a0b199c773bb8b)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtmultimedia.inc: Fix duplicating '{'
Martin Jansa [Wed, 29 Jan 2014 15:23:30 +0000 (16:23 +0100)]
qtmultimedia.inc: Fix duplicating '{'

(From meta-qt5 rev: 7cca3003fa653447d814ead3fd805bd87c5872fd)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agocmake-native: disable test for Qt5Core
Andreas Oberritter [Fri, 24 Jan 2014 00:02:55 +0000 (01:02 +0100)]
cmake-native: disable test for Qt5Core

Fixes the same build error as 671313d, but for the -native recipe.

(From meta-qt5 rev: 0b8e8124ed8e6573516efa244b67b70a39874de8)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtmultimedia: Use PACKAGECONFIG for gstremer-0.10 and change it to disabled by default
Martin Jansa [Sun, 19 Jan 2014 11:09:14 +0000 (12:09 +0100)]
qtmultimedia: Use PACKAGECONFIG for gstremer-0.10 and change it to disabled by default

* it doesn't support gst-1.x like qtwebkit yet, disable it by default to
  build images without gst-0.10 where possible.

(From meta-qt5 rev: faad8d1df1aee67f9d1a7e9ea3c13f92d04baf8e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqttools: add target build
Andreas Müller [Fri, 17 Jan 2014 14:59:18 +0000 (15:59 +0100)]
qttools: add target build

this does not build much yet but I was looking for qdbus

(From meta-qt5 rev: fc289452b6465009a4c7ae6aa70060e55779a81c)

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: Fix cmake config files
Martin Jansa [Sun, 12 Jan 2014 13:55:37 +0000 (14:55 +0100)]
qt5: Fix cmake config files

* without syncqt cmake config files have empty PRIVATE_INCLUDE_DIRS
  remove pregenerated header files and create .git dir to let qmake
  call syncqt and generate headers like when building from git recipes

(From meta-qt5 rev: b8a236df79c25802c1f2eb2525e8a534e73e608e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: remove gstreamer packageconfig
Andreas Müller [Tue, 17 Dec 2013 10:44:22 +0000 (11:44 +0100)]
qtbase: remove gstreamer packageconfig

Nothing in qtbase uses gstreamer so the configure option was removed on the way
to 5.2 [1]. Fixes:

| -no-gstreamer: invalid command-line switch

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

(From meta-qt5 rev: 0b4bdeb6c195b3e1abf32e96354e4401d596ec0a)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqt5: upgrade to 5.2.0
Martin Jansa [Sat, 2 Nov 2013 18:06:14 +0000 (19:06 +0100)]
qt5: upgrade to 5.2.0

* drop 0027-Fix-misaligned-selection-region-with-text-when-cente.patch
  resolved in upstream commit 5d8a882c11201a29475c5ea71cfb76c9de6573f5
* drop 0020-Use-BGRA-extension-in-bindTexture.patch
  resolved in upstream commit e1325cf26e146b68725cc1a0a02b274ce3dfbe5c
* drop 0008-wayland-scanner-disable-silent-rules.patch
  resolved upstream in:
  commit 2ff2a7c32d76b9e58b800f12469f112cfdb6ad3c
  Author: Jan Arne Petersen <jan.petersen@kdab.com>
  Date:   Fri Jul 19 14:35:19 2013 +0200
  Fix wayland-scanner to work with CONFIG+=silent

* squash to match more with structure of
  https://github.com/meta-qt5/qtbase/tree/stable

* qtmodules: bump SRCREVs for 5.2.0 tags
  now all modules using qt5-git should be newer than any 5.1.* version
* qtbase: fix paths in packageconfig *.pc files
  include- and lib-paths contained build-sysroot paths
* qtwebkit: Explicitly add ICU libraries to LIBS
  fails to build without this
* qtjsbackend: remove for git versions
  Found in [1]:
  Qt Qml is now using its own built-in Javascript engine and does not depend on
  V8 anymore. As such the QtJSBackend shared library has disappeared.
  [1] http://blog.qt.digia.com/blog/2013/09/30/qt-5-2-alpha-available/
* qt5: Upgrade 5.1.1 recipes to 5.2.0 to match git recipes
  qtjsbackend is now completely gone
  it allows to share more .patch files and configuration in .inc again

(From meta-qt5 rev: c908fe4ebd5a04813be0b83c173fae182bb22728)

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 agoqtwebkit: Depend on gstreamer-1.0 instead of 0.10
Martin Jansa [Tue, 31 Dec 2013 11:07:29 +0000 (12:07 +0100)]
qtwebkit: Depend on gstreamer-1.0 instead of 0.10

* since this commit:
  commit e0debe138cb59c140ebbc69755d36028d2b89459
  Author: Allan Sandfeld Jensen <allan.jensen@digia.com>
  Date:   Thu Feb 28 13:42:27 2013 +0100
  Subject: Switch QtWebKit to GStreamer 1.0.

  qtwebkit supports 1.0 and will use that by default when found

(From meta-qt5 rev: 775d77e482f1ea203c78003cccd2547075fd720f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqt5.inc: allow to set the package arch globally
André Draszik [Tue, 3 Dec 2013 15:20:55 +0000 (16:20 +0100)]
qt5.inc: allow to set the package arch globally

If Qt5 (qtbase) is machine specific, then all packages depending
on qtbase will also be machine specific, because the (initial)
qtbase configuration becomes part of Qt5/qmake, thus affecting
builds of packages built against this specific version of qtbase.

Since it is not feasible to add PACKAGE_ARCH=... to each and every
recipe that is built using qmake and depends on Qt5, we introduce
a new variable, QT_PACKAGES_ARCH, that can be set by the machine
configuration as needed.

We have to be careful though to only change the architecture of the
resulting packages if we're not compiling a 'native' package.

(From meta-qt5 rev: 57709a4ee2213a3c352b9cedce1d4b16a1b35042)

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtlocation, qtsystems: Fix QT_MODULE_BRANCH
Martin Jansa [Thu, 12 Dec 2013 13:41:46 +0000 (14:41 +0100)]
qtlocation, qtsystems: Fix QT_MODULE_BRANCH

(From meta-qt5 rev: 72ca958ebfb61640c614ec865196d68fba2576c2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqttools-native: remove previous license workaround
Denys Dmytriyenko [Tue, 26 Nov 2013 04:33:44 +0000 (23:33 -0500)]
qttools-native: remove previous license workaround

Previously license files were missing for qttools module, so we used to point
to generic files with same license.

(From meta-qt5 rev: 343101669c91d03d92e714a8cb2ff55a8bb4c924)

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 agonativesdk-qttools: add nativesdk version of qttools necessary for SDK tools
Denys Dmytriyenko [Tue, 26 Nov 2013 04:33:37 +0000 (23:33 -0500)]
nativesdk-qttools: add nativesdk version of qttools necessary for SDK tools

(From meta-qt5 rev: 512c859380a36b753b5fcca21a31aea4d85a1737)

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 agonativesdk-qtbase: add nativesdk version of qtbase necessary for SDK tools
Denys Dmytriyenko [Tue, 26 Nov 2013 01:47:57 +0000 (20:47 -0500)]
nativesdk-qtbase: add nativesdk version of qtbase necessary for SDK tools

(From meta-qt5 rev: 7b898fdc664ca04d50becddb7f57570436bd717e)

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 agocmake: Rename .bbappend to match new version from oe-core
Martin Jansa [Fri, 15 Nov 2013 17:52:03 +0000 (18:52 +0100)]
cmake: Rename .bbappend to match new version from oe-core

(From meta-qt5 rev: 662ff3043a4a308e09e7628bf11260aa60341937)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwayland: Fix Project ERROR: Module v8 has no public API
Martin Jansa [Mon, 4 Nov 2013 22:12:21 +0000 (23:12 +0100)]
qtwayland: Fix Project ERROR: Module v8 has no public API

(From meta-qt5 rev: 7327781083aea593b4911b6da7105e4984e28c68)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agomaliit-framework-qt5: Add missing dependency on qtdeclarative
Martin Jansa [Mon, 4 Nov 2013 11:13:11 +0000 (12:13 +0100)]
maliit-framework-qt5: Add missing dependency on qtdeclarative

* it needs also quick and qml, so qtbase wasn't enough

(From meta-qt5 rev: a6753fa646f714bd0a794d270bd77e951d8204ac)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agomaliit-framework-qt5: Add missing dependency on qtbase
Martin Jansa [Sat, 2 Nov 2013 13:21:44 +0000 (14:21 +0100)]
maliit-framework-qt5: Add missing dependency on qtbase

(From meta-qt5 rev: d6c3d39a70609c9ce81649af4a923db7185b2b7e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agocmake: Rename and update .bbappend to match new version from oe-core
Martin Jansa [Tue, 29 Oct 2013 11:16:06 +0000 (12:16 +0100)]
cmake: Rename and update .bbappend to match new version from oe-core

(From meta-qt5 rev: faa07fc3a61f16a5de5b548f74c155a81dd86190)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtx11extras: Add recipe
Iktwo Sh [Tue, 22 Oct 2013 01:54:55 +0000 (18:54 -0700)]
qtx11extras: Add recipe

(From meta-qt5 rev: f11778340c574de8cf46b9980a4f8c5b1fa50410)

Signed-off-by: Iktwo Sh <elmaildeliktwo@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtwebkit-examples: add missing RDEPENDS for qmlplugins
Nicolas Dechesne [Tue, 22 Oct 2013 15:38:01 +0000 (15:38 +0000)]
qtwebkit-examples: add missing RDEPENDS for qmlplugins

Some examples require qtwebkit-qmlplugins (flickerview, youtubeview),
and this dependency is not automatically added. Without this patch,
and without manually adding qtwekbit-qmlplugins, we get errors like
this:

qrc:///flickrview.qml:42:1: module "QtWebKit" is not installed

(From meta-qt5 rev: ffe8a0e0ad7e8594ace8c36abb11503bd1668658)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtconnectivity: Add recipe.
Kristofer Hansson Aspman [Fri, 25 Oct 2013 15:26:27 +0000 (15:26 +0000)]
qtconnectivity: Add recipe.

(From meta-qt5 rev: 9f0f1dc647f1097058218cd2e31ed5d054d5164f)

Signed-off-by: Kristofer Hansson Aspman <kristofer.hansson-aspman@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: add upstream QTBUG-34218/QTBUG-34234 misaligned selection patch
Jonathan Liu [Thu, 24 Oct 2013 10:56:37 +0000 (10:56 +0000)]
qtbase: add upstream QTBUG-34218/QTBUG-34234 misaligned selection patch

(From meta-qt5 rev: c36be1724a71f2f62cc09c28e34547165a80cce7)

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 agomaliit-framework-qt5: package only ${libdir}/qt5/mkspecs within ${PN}-dev
Simon Busch [Sun, 20 Oct 2013 16:48:55 +0000 (16:48 +0000)]
maliit-framework-qt5: package only ${libdir}/qt5/mkspecs within ${PN}-dev

When we're building maliit with it's input context plugin enable it gets installed into
${libdir}/qt5/plugins/platforminputcontexts which couldn't be added to ${PN} cause it's
already in ${PN}-dev and the only part which should go into ${PN}-dev is
${libdir}/qt5/mksepcs and nothing else from ${libdir}/qt5.

(From meta-qt5 rev: 84cd4be2491895b0c3a0af64e4c83d58910d1f6c)

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 agomaliit-plugins-qt5: add dependency on libqt5svg-plugins
Simon Busch [Sat, 19 Oct 2013 12:15:00 +0000 (12:15 +0000)]
maliit-plugins-qt5: add dependency on libqt5svg-plugins

(From meta-qt5 rev: a5de4e3856ad77b0e1ad9a4181ccbd3a91a87f31)

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 agomaliit-framework-qt5: don't replace directory names for maliit-defines.prf
Simon Busch [Sat, 19 Oct 2013 12:11:49 +0000 (12:11 +0000)]
maliit-framework-qt5: don't replace directory names for maliit-defines.prf

The values from maliit-defines.prf are only used at runtime and not at compilation time so
we don't have to replace them with the proper staging paths.

(From meta-qt5 rev: 3763998ed02ea127c62bba0e7478e817c282d57b)

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 agomaliit-frameworks-qt5: provide ${datadir} also by EXTRA_QMAKEVARS_PRE
Simon Busch [Sat, 19 Oct 2013 12:11:48 +0000 (12:11 +0000)]
maliit-frameworks-qt5: provide ${datadir} also by EXTRA_QMAKEVARS_PRE

(From meta-qt5 rev: 5ecfb7dc5457059bef8a5906f80550c90063ab56)

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: Use bundled freetype by default
Martin Jansa [Fri, 11 Oct 2013 20:12:19 +0000 (22:12 +0200)]
qtbase: Use bundled freetype by default

* system freetype works only together with fontconfig
* building qbasicfontdatabase fails with system freetype and without
  fontconfig or with freetype completely disabled
  | /home/jenkins/webos-ports/workspace/webos-ports/tmp-eglibc/sysroots/a500/usr/include/ft2build.h:56:38:
    fatal error: freetype/config/ftheader.h: No such file or directory
  |  #include <freetype/config/ftheader.h>
  |                                       ^
  | compilation terminated.
  | make[2]: *** [.obj/release-shared/qbasicfontdatabase.o] Error 1
  | make[2]: *** Waiting for unfinished jobs....

(From meta-qt5 rev: e1d2257f60272df30bf182396d5b1e81b1196581)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: Disable freetype by default
Martin Jansa [Fri, 11 Oct 2013 20:12:19 +0000 (22:12 +0200)]
qtbase: Disable freetype by default

* building qbasicfontdatabase fails without fontconfig enabled
  | /home/jenkins/webos-ports/workspace/webos-ports/tmp-eglibc/sysroots/a500/usr/include/ft2build.h:56:38:
    fatal error: freetype/config/ftheader.h: No such file or directory
  |  #include <freetype/config/ftheader.h>
  |                                       ^
  | compilation terminated.
  | make[2]: *** [.obj/release-shared/qbasicfontdatabase.o] Error 1
  | make[2]: *** Waiting for unfinished jobs....

(From meta-qt5 rev: 4c177a661fd1ef599835de56776b0ebda6d78e3c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: Disable fontconfig by default
Martin Jansa [Thu, 10 Oct 2013 10:37:26 +0000 (12:37 +0200)]
qtbase: Disable fontconfig by default

* it was explicitly disabled in
  commit 1b14686657cddcc5bb37a5c7db8a35f1c4903ee3
  Author: Philip Craig <phil@blackmoth.com.au>
  Date:   Wed Jun 26 02:13:02 2013 +0000
  Subject: qtbase: disable fontconfig support by default
* and then accidentaly enabled with PACKAGECONFIG changes
  commit ebdd83f6b7e5c3296e5ebd3b7b0c1e0defe5aba5
  Author: Martin Jansa <Martin.Jansa@gmail.com>
  Date:   Sat Jul 20 00:02:57 2013 +0200
  Subject: qtbase: explicitly enable or disable all deps
* Thanks to Nicolas Dechesne for reporting it

(From meta-qt5 rev: af6014e3bc82b0f9998978819e217b6e020ccdc0)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase_git: restore 0025-QHttpMultiPart-fix-data-corruption-in-readData-metho.patch...
Martin Jansa [Thu, 10 Oct 2013 10:35:42 +0000 (12:35 +0200)]
qtbase_git: restore 0025-QHttpMultiPart-fix-data-corruption-in-readData-metho.patch in SRC_URI

* commit 105ad2a18e20f2b07d20a1640917e69950c8496b
  Author: Eric B<C3><A9>nard <eric@eukrea.com>
  Date:   Mon Oct 7 22:54:12 2013 +0200
  Subject: qtbase: update to 5.1.1
  removed it from SRC_URI in qtbase.inc, but it's still needed for
  qtbase_git

(From meta-qt5 rev: 3e95350611d0e58e4e773c9b3b004a7a161f94f7)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtbase: add upstream QTBUG-31579 patch for QPainter regression
Jonathan Liu [Wed, 9 Oct 2013 13:20:56 +0000 (13:20 +0000)]
qtbase: add upstream QTBUG-31579 patch for QPainter regression

(From meta-qt5 rev: 096a380851bcd17f0f9a20dc42589d431a47f555)

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.inc: extend FILES_${PN}-examples-*
Eric BENARD [Tue, 8 Oct 2013 15:18:16 +0000 (15:18 +0000)]
qt5.inc: extend FILES_${PN}-examples-*

this fix :
ERROR: QA Issue: non debug package contains .debug directory: qtquick1-examples path
/work/armv7a-vfp-neon-oe-linux-gnueabi/qtquick1/5.1.1-r0/packages-split/qtquick1-examples/
usr/share/qt5/examples/declarative/cppextensions/plugins/org/qtproject/TimeExample/.debug/libqmlqtimeexampleplugin.so

(From meta-qt5 rev: ee4ef2a303ffb1f7da8e84f15b27ff72d609df59)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtjsondb: Remove unsupported module
Martin Jansa [Tue, 8 Oct 2013 10:10:10 +0000 (12:10 +0200)]
qtjsondb: Remove unsupported module

* https://bugreports.qt-project.org/browse/QTBUG-31741

(From meta-qt5 rev: 040dd25bedf46da3399f40c17ea2473a30fa2963)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqtgraphicaleffects, qtquickcontrols: Don't use PN in PN-dev RDEPENDS
Andreas Müller [Thu, 26 Sep 2013 09:45:47 +0000 (09:45 +0000)]
qtgraphicaleffects, qtquickcontrols: Don't use PN in PN-dev RDEPENDS

* fix do_rootfs for images with dev-pkgs in IMAGE_FEATURES
  | Collected errors:
  |  * satisfy_dependencies_for: Cannot satisfy the following dependencies for qtquickcontrols-dev:
  |  *     qtquickcontrols (= 5.1.0-r0) *
  |  * opkg_install_cmd: Cannot install package qtquickcontrols-dev.

(From meta-qt5 rev: 2ecccc2ca2eb017b32db3697f2750b9e7aec78e8)

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: PACKAGECONFIG[linuxfb] shouldn't depend on nonexistent linuxfb package
Denys Dmytriyenko [Tue, 8 Oct 2013 04:07:46 +0000 (04:07 +0000)]
qtbase.inc: PACKAGECONFIG[linuxfb] shouldn't depend on nonexistent linuxfb package

(From meta-qt5 rev: 67be00639756dd0193b090da5d759b134b2e9436)

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 agoqtwebkit-examples: enable building and packaging of examples by default
Denys Dmytriyenko [Tue, 8 Oct 2013 04:35:14 +0000 (04:35 +0000)]
qtwebkit-examples: enable building and packaging of examples by default

Note: binaries will go into ${PN}-examples, which is qtwebkit-examples-examples

(From meta-qt5 rev: 0cf24787efdc1d20f846fd5838ec5d5b4e8ac9cf)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
9 years agoqt: use 5.1.1 by default
Eric Bénard [Mon, 7 Oct 2013 22:32:07 +0000 (00:32 +0200)]
qt: use 5.1.1 by default

(From meta-qt5 rev: 35a7c923cc280e188c287e0825ed4f2b6e1b9e08)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>