Commit Graph

543 Commits

Author SHA1 Message Date
Samuli Piippo
d5b0ba874e qtlocation: use correct dependencies
Update dependencies for QtLocation module based on the sync.profile

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 20:49:35 +02:00
Samuli Piippo
da30a706ac qtbase: remove dependency to sqlite
Qt defaults to bundled version of sqlite, so there is no need
to have dependency to sqlite3.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 20:49:35 +02:00
Samuli Piippo
a6df86ea4b qttools: use one recipe for all compilations
Instead of separate recipes for target, native and nativesdk, use
one recipe with BBCLASSEXTEND in place.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 20:49:29 +02:00
Samuli Piippo
22c28fee3c qt5: improve support for native and nativesdk modules
Change qmake.bbclass to support building native and nativesdk packages,
so that qmake or qt5-module can be inherited and BBCLASSEXTEND used to
create native and nativesdk packages.

qtxmlpatterns and qtdeclarative native and nativesdk modules are required
for Qt Quick Compiler.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-26 17:21:13 +02:00
Samuli Piippo
f969c48953 qt5: improve Qt module package handling
Make it simpler to add Qt modules to image and toolchain, without need
to specify each subpackage separately. All Qt modules should provide
the ${PN} package, so create it even if empty. Make the ${PN} package
also recommend all subpackages that are normally required at run time,
namely plugins. Do the same for ${PN}-dev and ${PN}-dbg packages.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-26 17:21:13 +02:00
Khem Raj
c44912563c qtbase: Package the 3rd party libs if built
Third-party libs e.g. libqtfreetype when built is not packaged and hence
goes missing in sysroot, then rest of qt components like qtwayland gets
its configuration from qtbase to enable it but then does not find the
internal version of libqtfreetype.a which is what qtbase directs it to
use and as a result it starts throwing linking errors e.g.

x86_64-angstrom-linux-ld.gold: error: cannot find -lqtfreetype

This patch installs the needed libs into dev packages

Remove a trailing whitespace as well while at it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Tested-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-26 17:20:45 +02:00
Khem Raj
813103e622 recipes, conf: Direct QT_GIT to use github mirrors
This helps in load balancing code.qt.io may be overloaded
and bails out occasionally when doing fresh clones

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-26 17:12:26 +02:00
Khem Raj
c16daba217 qtbase: Fix build with clang
This patch is a backport from upstream qt5 fixes building with clang
from meta-clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-26 17:12:26 +02:00
Jonathan Liu
c0cc4ff882 qtbase: replace host paths with qmake built-in properties in qconfig.pri
This avoids qconfig.pri in the Qt SDK incorrectly including paths from
the build host that may not exist on the SDK host. As the paths are
now correct, qmake can correctly detect system include paths and use
-isystem instead of -I for Qt's include directories which allows the
suppression of warnings from library headers when building Qt
applications.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-26 17:12:26 +02:00
Jonathan Liu
b758a8f660 populate_sdk_qt5.bbclass: set paths correctly in qt.conf
Set paths correctly in qt.conf so that $$[QT_SYSROOT] and
$$[QT_INSTALL_PREFIX] can be used from qmake.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-26 17:12:26 +02:00
Otavio Salvador
97ce05c0b2 Merge pull request #48 from devcurmudgeon/devcurmudgeon-patch-1
gitorious no longer exists: mention gitlab instead
2015-08-25 14:04:23 -03:00
Paul Sherwood
45bc689365 gitorious no longer exists: mention gitlab instead 2015-08-25 15:54:29 +01:00
Khem Raj
7981af76f9 README: Correct syntax for git send-email
Add some more help on sending more than 1 patch (if needed)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-25 11:56:33 +02:00
Samuli Piippo
a68699f666 qtbase: PACKAGECONFIGs for libinput
Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-25 11:56:33 +02:00
Jonathan Liu
08d5a648f9 qtbase: add PACKAGECONFIG for libproxy
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-25 11:56:33 +02:00
Martin Jansa
44d180c093 qtbase: refresh patches
* based on b5.5.0 branches in https://github.com/meta-qt5/qtbase

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-25 11:56:33 +02:00
Martin Jansa
40b7a93a3c qtquick1: allow to disable qtwebkit support
* qtwebkit is autodetected and in some setups it's no longer desired
  to build it

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-24 15:35:52 +02:00
Denys Dmytriyenko
380ecfd7fb qtbase_git: ensure fonts go into own subdir by creating it first
Sometimes, when ${OE_QMAKE_PATH_LIBS} is empty, "cp -a" ends up copying
font files there w/o preserving "fonts" directory, failing the following
chown command.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-24 14:38:10 +02:00
Belisko Marek
baa7320066 qt5.inc: Fix packaging of qtquickcontrols
Fixes following:
ERROR: QA Issue: qtquickcontrols: Files/directories were installed but not shipped
  /usr/lib/qt5/qml/QtQuick/Controls/Styles/Flat/.debug
  /usr/lib/qt5/qml/QtQuick/Controls/Styles/Flat/.debug/libqtquickextrasflatplugin.so
  /usr/lib/qt5/qml/QtQuick/Extras/designer/qtquickextras.metainfo
  /usr/lib/qt5/qml/QtQuick/Extras/designer/images
  /usr/lib/qt5/qml/QtQuick/Extras/designer/images/gauge-icon.png
  /usr/lib/qt5/qml/QtQuick/Extras/designer/images/statusindicator-icon16.png
  /usr/lib/qt5/qml/QtQuick/Extras/designer/images/dial-icon.png
  /usr/lib/qt5/qml/QtQuick/Extras/designer/images/statusindicator-icon.png
  /usr/lib/qt5/qml/QtQuick/Extras/designer/images/delaybutton-icon16.png
  /usr/lib/qt5/qml/QtQuick/Extras/designer/images/piemenu-icon.png
  /usr/lib/qt5/qml/QtQuick/Extras/designer/images/piemenu-icon16.png
  /usr/lib/qt5/qml/QtQuick/Extras/designer/images/togglebutton-icon16.png
  /usr/lib/qt5/qml/QtQuick/Extras/designer/images/circulargauge-icon16.png
  /usr/lib/qt5/qml/QtQuick/Extras/designer/images/picture-icon.png
  /usr/lib/qt5/qml/QtQuick/Extras/designer/images/picture-icon16.png
  /usr/lib/qt5/qml/QtQuick/Extras/designer/images/togglebutton-icon.png
  /usr/lib/qt5/qml/QtQuick/Extras/designer/images/delaybutton-icon.png
  /usr/lib/qt5/qml/QtQuick/Extras/designer/images/dial-icon16.png
  /usr/lib/qt5/qml/QtQuick/Extras/designer/images/tumbler-icon16.png
  /usr/lib/qt5/qml/QtQuick/Extras/designer/images/gauge-icon16.png
  /usr/lib/qt5/qml/QtQuick/Extras/designer/images/circulargauge-icon.png
  /usr/lib/qt5/qml/QtQuick/Extras/designer/images/tumbler-icon.png
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa

Signed-off-by: Marek Belisko <marek.belisko@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-24 14:38:10 +02:00
Andreas Müller
055a45440d add libx11-locale to qtbase-plugins RRECOMMENDS
fixes:

| Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-24 14:38:09 +02:00
Martin Jansa
3e25acd943 qt5-plugin-generic-vboxtouch: add -Wno-narrowing to fix build with gcc-5.2
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-24 14:38:07 +02:00
Martin Jansa
18741e4838 recipes-git: upgrade to 5.5
* based on my WIP patch + fixes from John Mullen
* I was trying to get rhid of 0003-Add-external-hostbindir-option.patch
  and 0010-Add-external-hostbindir-option-for-native-sdk.patch by using
  upstream configure parameter added in some previous version, but I've
  failed, so now good-old -external-hostbindir parameter is back

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-18 12:07:34 +02:00
Jonathan Liu
d2c05c81e8 libconnman-qt5: update to 1.0.91
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-31 16:23:35 +02:00
Jonathan Liu
bafd17e351 quazip: new recipe
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-02 12:25:14 +02:00
Jonathan Liu
0a010fa309 libconnman-qt5: new recipe
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-02 12:25:02 +02:00
Andre McCurdy
2066c0beab qtwebkit: remove false dependency on leveldb
The qtwebkit configure test never succeeds in finding system leveldb
(ie qtwebkit internal copy of leveldb is always used) so leveldb is a
false dependency.

This change allows qtwebkit to be built in a disto which enables
security_flags.inc (it's otherwise blocked since the leveldb recipe
fails to build when security_flags.inc is used).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-02 12:24:35 +02:00
Andreas Müller
7962d022d1 qt5-creator: add missing RRECOMMENDS for instant usage
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-02 12:24:15 +02:00
Andreas Müller
6d9e2a6dfc qt5-opengles2-test: update to last commit
* don't segfault in case qtsensors does not find accelerometer values

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-02 12:23:26 +02:00
Khem Raj
d9d1d04760 qtbase: Fix build with musl
This is a generic fix to accomodate musl which is adhering to posix
and doesnt have legacy to carry, so lets invert the conditional so the
special legacy case of glibc is checked and else part then covers rest
of cases which are newer glibc/uclibc and musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-02 12:23:26 +02:00
Khem Raj
eedb3e6413 qtwebkit: Fix build with musl
Make backtrace() API conditional to glibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-02 12:23:26 +02:00
Otavio Salvador
5509fa944c qtwebengine: Use QT_GIT for SRC_URI
The recipe was pointing to gitorious, which is dead. Update it to use
QT_GIT variable to allow for easier change in future of the Git server
to use.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-06-18 17:11:03 -03:00
Martin Jansa
9925146ee7 qt3d: fix DEPENDS
* nativesdk dependencies were incorrectly introduced in:
  commit 48ee17af94
  Author: Martin Jansa <Martin.Jansa@gmail.com>
  Date:   Thu May 28 14:58:06 2015 +0200
  Subject: qt5: merge .inc and _git.bb files

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-06-05 13:11:06 +02:00
Andre McCurdy
1d856bbaa8 qtwebkit-examples: fix missing qtxmlpatterns dependency
The webkitwidgets/xmlpatterns examples depend on qtxmlpatterns.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-06-05 10:51:27 +02:00
Andre McCurdy
661c3d36b6 qtwebengine: use x86 over-ride instead of i586
Support i686 without needing to duplicate the i586 over-ride.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-06-05 10:50:01 +02:00
Khem Raj
32c199d8ab qtwayland: Bump QT_VERSION to "5.4.3"
We pin the recipe at 182488129c3f6a67a7e781fdb7c0147777191991
and upstream changed the MODULE_VERSION = 5.4.3 in that commit

Fixes
| install: cannot stat
'/mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/q
twayland/5.4.2+gitAUTOINC+182488129c-r0/build/include/QtCompositor/5.4.2/QtCompositor/private/qwayland-server-*.h':
No such fil
e or directory

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-06-05 10:49:51 +02:00
Martin Jansa
82b211aa42 qt5: upgrade to latest revision in 5.4 branches
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-06-04 12:24:48 +02:00
Martin Jansa
48ee17af94 qt5: merge .inc and _git.bb files
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-28 21:16:50 +02:00
Martin Jansa
3208763b8b qt5: rename <module>-git directories with patches to just <module>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-28 14:52:48 +02:00
Martin Jansa
3fa7bb148e qt5: drop recipes for 5.4.1 version
* we don't plan to keep 2 versions, one from tarballs and one from git
  now there is 5.4.2 in git recipes and 5.4.1 tarballs aren't very useful
  anymore

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-28 14:50:37 +02:00
Martin Jansa
17eb158c6d qtbase-native: add CLEANBROKEN
* otherwise do_configure fails with:
  make[2]: *** No rule to make target 'cmake-clean', needed by 'sub-installed_cmake-clean'.  Stop.
  make[2]: *** Waiting for unfinished jobs....
  hidden very far in log.do_configure

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-28 14:47:51 +02:00
Khem Raj
5ebbfedbc7 qtwebkit: Backport fix to build with gcc5
This is already committed upstream to 5.4 branch
may be next minor upgrade will get it but until then
we need it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2015-05-21 14:12:35 +02:00
Khem Raj
8525f31981 qt5-opengles2-test: Upgrade to latest tip
Fix dependencies on the way

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-21 14:12:35 +02:00
Andrey Rusalin
378dfc20ad qtbase: fix dependency for sql-mysql PACKAGECONFIG
Signed-off-by: Andrey Rusalin <arusalin@dev.rtsoft.ru>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-18 08:54:37 +02:00
Julien Brianceau \(jbriance\)
bb20ed60fc qtbase-native: speed up configure task
* Use parallel make to speed up build of qmake during configure task
* Take the opportunity to use clean configure parameters to use
  opensource license instead of "(echo o; echo yes) |" trick.

Signed-off-by: Julien Brianceau <jbriance@cisco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-13 14:40:52 +02:00
Martin Jansa
80de39d556 ninja-native: upgrade to 1.5.3
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-13 14:40:52 +02:00
Martin Jansa
04240161ef git-recipes: upgrade to latest revision in 5.4 branch
* this gets us close to 5.4.2 for people who want to test it in advance
* I plan to apply this to fido branch (as well as final upgrade to 5.4.2
  recipes
* I'm preparing similar patch for 5.5 revisions, which will be applied
  only in master branch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-29 00:07:14 +02:00
Martin Jansa
932b32c1c9 qtscript,qtwebking: disable thumb
* qemuarm builds fail when thumb is enabled

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-29 00:07:14 +02:00
Martin Jansa
933bffb61f qtbase: remove 2nd BSD from LICENSE
* BSD is now in default LICENSE variable:
  recipes-qt/qt5/qt5-5.4.1.inc:LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | LGPL-3.0)"
  recipes-qt/qt5/qt5-git.inc:LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | LGPL-3.0)"

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-29 00:07:14 +02:00
Martin Jansa
7d53151d26 qtsystems: add packageconfig for bluez4 and disable it by default
* bluez5 is now enabled by default and conflicts with bluez4

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-29 00:07:13 +02:00
Martin Jansa
5a67ecd3d7 qtconnectivity: improve PACKAGECONFIG handling
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-29 00:07:13 +02:00