Commit Graph

492 Commits

Author SHA1 Message Date
Rui Sebastiao
e45c559151 qtwebchannel: update LIC_FILES_CHKSUM
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-29 19:14:50 +02:00
Martin Jansa
0ac32269e7 licenses: Add LGPL_Exception texts and reference them from LICENSE
* add the license text as they appear in qtbase 5.4 and 5.5
* The-Qt-Company-Qt-LGPL-Exception-1.1 will be used in 5.5 beta recipes
  I'll introduce shortly
* based on patch from Herb Kuta

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-20 12:25:19 +02:00
Denys Dmytriyenko
137ff099c8 qt5.inc: suppress QA warnings about examples libs not in libdir
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-16 13:12:04 +02:00
Martin Jansa
1be461f1b3 qtwebkit: Fix build with newer glib-2.0
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-16 13:11:09 +02:00
Neena Busireddy
831c66e4c2 qt5nmapper: Fix compatibility issue
qt5nmapper app fails to run with the following error:

file:///usr/share/qt5nmapper-1.0/Qt5_NMapper.qml:34:5: Type Panel unavailable
         Panel {
         ^
file:///usr/share/qt5nmapper-1.0/content/Panel.qml:118:9: Type Switch unavailable
             Switch {
             ^
file:///usr/share/qt5nmapper-1.0/content/Switch.qml:8:21: Cannot assign a value to a signal (expecting a script to be run)
         property string onText: "On"

This patch changes the string from onText to onTextstring which was
introduced with Qt 5.3

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-15 17:37:57 -03:00
Andre McCurdy
8723582545 qt5: add QT_GIT to define git repo for Qt core components
Replace duplicated git URIs with a single definition in layer.conf.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-17 13:07:34 +01:00
Frederico Cadete
22c431e7a1 qt5-git, *qtbase*, qt5everywheredemo: Fetch from code.qt.io
* Gitorious disabled the git:// protocol, breaking fetches.
* Also, this service is scheduled to stop in May 2015, so move to
  code.qt.io.
* qt5everywheredemo needs different SRCREV because this repo was
  recreated in code.qt.io and SRCREV
  9a868f96ee63c21ceda890d8dfc9d33f093d1b6d doesn't exist on code.qt.io

  It was initial commit in gitorious repo:
  commit 9a868f96ee63c21ceda890d8dfc9d33f093d1b6d
  Author: Sergio Ahumada <sergio.ahumada@digia.com>
  Date:   Wed Jul 3 12:09:40 2013 +0200

      Initial commit

  This is exactly matching with this commit in code.qt.io:
  commit c17fe9e0ec0882ac4c4dc1168095f569acab5d09
  Author: Kimmo Ollila <kimmo.ollila@digia.com>
  Date:   Wed Jun 19 13:02:05 2013 +0300

       Fixed radio crash on application close

Signed-off-by: Frederico Cadete <frederico@cadete.eu>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-12 12:47:53 +01:00
Heikki Sarkanen
c3cb6426cd qt5: fix current git version
Bitbake doesn't detect lower git version:
NOTE: preferred version 5.4.0+git% of qtbase-native not available (for item qtbase-native)
NOTE: versions of qtbase-native available: 5.4.1 5.4.1+gitAUTOINC+a782369071

Signed-off-by: Heikki Sarkanen <heikki.sarkanen@tamtron.fi>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-10 18:30:09 +01:00
Jonathan Liu
1fd5df421e qtserialport: backport patch to silence Valgrind warning
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-10 14:43:15 +01:00
Jonathan Liu
5d9286ab81 qt5-base: fix file ownership of fonts
The file ownership needs to be explicitly set otherwise it inherits
the user and group id of the build user.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-10 14:43:08 +01:00
Martin Jansa
936d70288f qtwebengine: Fix build with accessibility enabled
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-06 11:04:22 +01:00
Andreas Müller
b6c10d7c7e qt5-creator: update to 3.3.1
* LGPL_EXCEPTION.TXT: 'Digia' -> 'The Qt Company'
* LICENSE.LGPLv3: Preamble added
* LICENSE.LGPLv21: Preamble added

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-05 11:47:34 +01:00
Andreas Müller
fb880b1c60 qt5-creator: add qtquick1 to DEPENDS
| qt5-creator-3.3.0: qt5-creator rdepends on qtquick1, but it isn't a build dependency? [build-deps]

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-05 11:47:34 +01:00
Stephan Binner
a1a62c871a qtwebengine: Fix build if qtbase has no accessibility
* backport patch from 5.4 branch to 5.4.1 release
* bump SRCREV in git recipe to use newer revision from 5.4 which
  already includes this patch

Signed-off-by: Stephan Binner <stephan.binner@basyskom.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-05 11:47:31 +01:00
Denys Dmytriyenko
7a65ba6089 nativesdk-qtbase.inc: avoid removing directories, namely /usr/lib itself
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-03 08:32:08 +01:00
Andy Nichols
89fc70e465 qtwebengine: change license to LGPL-3.0
The opensource license for qtwebegine as of Qt 5.4.0-beta
has been changed to only be available under LGPL-3.0. The
checksum for this license is already for the LGPL-3.0 version
so no need to update.

Signed-off-by: Andy Nichols <andy.nichols@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-02 17:40:11 +01:00
Martin Jansa
f072467269 qtbase: fix security issue in processing BMP files
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-01 15:00:08 +01:00
Martin Jansa
ca1042b8fe qtwebengine: fix executing config tests instead of ignoring libcap test failure
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-27 21:01:43 +01:00
Martin Jansa
acbb72d884 recipes-git: update to latest revisions in 5.4 branch
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-27 19:56:34 +01:00
Martin Jansa
ceb2a0b2a9 qtdeclarative, qtmultimedia, qtscript, qtsvl: Drop GPLv2
* LICENSE.GPLv2 was removed in 5.4.1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-27 19:56:33 +01:00
Martin Jansa
f8c39026aa qtwebengine: refresh patches
* drop 0001-eLinux-build-ffmpegsumo-as-well.patch which is already included in 5.4.1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-27 19:56:24 +01:00
Martin Jansa
4d4a34c5d2 recipes: Refresh patches to match git recipes
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-27 18:28:08 +01:00
Martin Jansa
fa52146724 qtsystems: rename to 5.4.1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-27 18:28:08 +01:00
Martin Jansa
b5d4990c1c qtbase.inc: mention that qtwebengine requires qtbase with accessibility enabled
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-27 17:50:32 +01:00
Stephan Binner
aa11ed05ca Add qttranslations to qt5-versions.inc and packagegroups
Signed-off-by: Stephan Binner <stephan.binner@basyskom.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-27 17:50:32 +01:00
Stephan Binner
b47a9525ca fix build of qtbase with "gles2" package config
Signed-off-by: Stephan Binner <stephan.binner@basyskom.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-27 17:50:32 +01:00
Stephan Binner
e87cd44fba recipes: upgrade from 5.4.0 to 5.4.1
Signed-off-by: Stephan Binner <stephan.binner@basyskom.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-27 17:50:32 +01:00
Jonathan Liu
085df473cf qtwebkit.inc: add PACKAGECONFIG for qtwebchannel
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-27 17:50:31 +01:00
Otavio Salvador
d02ea33262 Revert "qtbase: remove patches required for native(-sdk) only"
This reverts commit b4be9ded11.

The change breaks qtxmlpatterns like:

,----
| ERROR: QA Issue: qtxmlpatterns: The compile log indicates that
|     host include and/or library paths were used.
|          Please check the log
|          '.../tmp/work/.../qtxmlpatterns/5.4.0-r0/temp/log.do_compile'
|          for more information. [compile-host-path]
`----

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-27 13:41:19 -03:00
Andre McCurdy
a137e6e8b4 qtwebkit: fix textrel QA warnings when building qtwebkit for x86
WARNING: QA Issue: ELF binary '/home/andre/rdk/rdk-master/build-vbox32/tmp/work/core2-32-rdk-linux/qtwebkit/5.4.0-r0/packages-split/qtwebkit/usr/lib/libQt5WebKit.so.5.4.0' has relocations in .text [textrel]

Patch from upstream webkit:

  https://bugs.webkit.org/show_bug.cgi?id=70610

Minor refresh required to apply cleanly to the older webkit sources used
by qtwebkit. Specifically, the patch needed to be modified to account
for PLATFORM(MAC) -> OS(DARWIN) renaming in recent webkit which is not
part of qtwebkit yet ( https://bugs.webkit.org/show_bug.cgi?id=99683 ).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-19 15:55:39 +01:00
Alexandre Belloni
d9c741cce2 qmake5: don't always look in directories recursively
QT needs to be compiled without the -r parameter from the qmake command
line. This is necessary to avoid those errors when building
qtdeclarative or qt3d without opengl for example:
Project ERROR: Unknown module(s) in QT: quick-private
or
Project ERROR: Unknown module(s) in QT: quick

Also update comments regarding the dependencies.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-19 15:55:39 +01:00
Martin Jansa
f90537a7de qtdeclarative, *qtbase*: upgrade to latest revision in 5.4 branch
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-19 15:55:34 +01:00
Andreas Müller
9d17546d56 add gdb append to enable python packageconfig
debugging with qt-creator on target requires gdb build with python support

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-18 16:52:52 +01:00
Andreas Müller
dfea51574b qt5-creator: add 3.3.0 of qt-creator
* this is the first version which dropped qt4 support
* rename recipe to avoid conflicts with meta-oe's qt-creator
* Desktop file was based on [1]

[1] http://pkgs.fedoraproject.org/cgit/qt-creator.git/tree/qtcreator.desktop

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-18 16:52:52 +01:00
Andreas Müller
ce88fc4221 qtbase: build qmake for target with paths aligned
Proper qmake operation was tested with qt5-creator.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-18 16:52:01 +01:00
Andreas Müller
92b7b49934 qtbase/EXTERNAL_HOST_BINS: split out code only required for native-(sdk)
* code was moved from 0003-Add-external-hostbindir-option.patch to
  0014-Add-external-hostbindir-option-native.patch
* only native(-sdk) versions of qtbase apply
  0014-Add-external-hostbindir-option-native.patch

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-18 16:49:53 +01:00
Andreas Müller
b4be9ded11 qtbase: remove patches required for native(-sdk) only
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-18 16:46:09 +01:00
Martin Jansa
2de53bec67 qt5-plugin-generic-vboxtouch: fix unpackaged cmake file
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-16 19:01:18 +01:00
Otavio Salvador
a0fb559512 qtmultimedia: Easy use of GStreamer 1.0 support
This rework how we add the GStreamer 1.0 support in the code. A new
PACKAGECONFIG option called 'gstreamer' has been added for it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-13 10:16:12 -02:00
Otavio Salvador
41fb141aa6 qtmultimedia: Use 'bb.utils.contains' function
The 'base_contains' function is deprecated and we should to use the
bb.utils.contains one instead. Update the code accordingly.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-13 10:16:12 -02:00
Otavio Salvador
98740e63b0 qtmultimedia: Use 'qtCompileTest' mechanism for GStreamer
We can use the 'done_config_openal' and 'done_config_gstreamer' trick
to avoid the respective features it to be enabled.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-13 10:16:12 -02:00
Otavio Salvador
0732449ee4 qtmultimedia: Fix floating dependency gst-plugins-bad
When using GStreamer 0.10 support, QMake detects if GStreamer
Photography interface is available. To avoid a floating dependency we
add the gst-plugins-bad as dependency so it is always present.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-13 10:16:12 -02:00
Carlos Rafael Giani
41772b3372 qtwebengine: Enable ffmpegsumo for HTML5 video
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-13 10:16:12 -02:00
Otavio Salvador
6eeeeb2025 qtwebengine: Add missing runtime dependencies for examples
The qtdeclarative-qmlplugins and qtquickcontrols-qmlplugins are
required for the examples to run. Add them as rdepends.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-13 10:16:12 -02:00
Otavio Salvador
61eb1c40d3 qtwebengine: Add a missing build dependency on libcap
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-13 10:16:12 -02:00
Otavio Salvador
247aeca877 qt5.inc: Fix packaging of architecture independent data
The architecture independent data were being added to the '-dev'
package however it shouldn't be. For example the QtWebEngine had the
translation and the resources package were not being installed with
the main package, as it should be.

This commit changes the qttools and qttranslations recipes as well so
those keep its contents in the respective packages:

 qttools: add the phrasebooks in the qttools-tools package
 qttranslations: add a new subpackage for qtquickcontrols

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-13 10:16:12 -02:00
Stephan Binner
7b615428cf qtwebchannel: Add recipes for 5.4.0 and Git
Signed-off-by: Stephan Binner <stephan.binner@basyskom.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-13 10:16:12 -02:00
Tobias Olausson
adeaa6128b qt3d: change to 'dev' branch
The master branch of qt3d has been removed by the Qt project, and
the commit pointed to by the SRCREV is now in the 'dev' branch.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-15 16:46:10 +01:00
Otavio Salvador
ec50df68b8 qtmultimedia: Add support to enable/disable PulseAudio and ALSA
The way QtMultimedia use to detect the PulseAudio and ALSA makes it
non obvious how to disable it. After researching how Gentoo does it
the 'done_config_<flag>' has been found. So now, we respect the distro
support for PulseAudio and ALSA.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-12 15:45:28 +01:00
kkelly87
a7fa426daa qttranslations: adding recipes for qt specific translations
The meta-qt5 layer is missing a recipe for the qttranslation submodule so qt specific items like
the OK or Cancel button had no associated translations. This submission is for master while my previous patch
 will work as a backport to dizzy.

Signed-off-by: Kevin Kelly <kaneda18@hotmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-12 15:45:28 +01:00