Commit Graph

484 Commits

Author SHA1 Message Date
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
Martin Jansa
e2e1864dca qt5-opengles2-test: exclude from world because of gles2 dependency
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-12 15:45:28 +01:00
Martin Jansa
e2f5adc92c qmake5_base: add *.prf to SSTATE_SCAN_FILES
* e.g. maliit-framework-qt5 is staging sysroot specific paths in
  sysroot-destdir/usr/lib/qt5/mkspecs/features/maliit-plugins.prf
  sysroot-destdir/usr/lib/qt5/mkspecs/features/maliit-framework.prf
  make sure they are replaced with correct ones on sstate reuse

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-06 15:58:55 +01:00
Julien Brianceau \(jbriance\)
ad958ec947 qtbase: Add gcc to QMAKE_COMPILER variable.
According to mkspecs/features/spec_post.prf, QMAKE_COMPILER variable should at least contain gcc for linux-oe-g++ platform.

This patch fixes a crash issue in QtWebKit introduced in v5.4.0 by:
34d4628b98

Signed-off-by: Julien Brianceau <jbriance@cisco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-05 14:08:24 +01:00
Mingtao Qu
46c76e43e7 qtmultimedia: Fix crash when use Gstreamer 0.10 plugin
In QVideoSurfaceGstSink::get_caps(), when use 0.10 version Gstreamer,
It create GstCap with a wrong type (G_TYPE_STRING) of parameter 'format',
a g_strcpy exception will be found.
This patch fixes the parameter type to use GST_TYPE_FOURCC as expacted.

Signed-off-by: Mingtao Qu <zarelaky@hotmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-31 16:24:44 +01:00
Andreas Müller
bb6049fbe1 qtbase: Make libraries build with cmake find gl(es) headers
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-31 16:24:22 +01:00
Andreas Müller
8b040e58b2 qtwayland: re-enable cmake files they don't break build anymore
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-17 14:18:37 +01:00
Martin Jansa
38ddbf8b19 qt5-opengles2-test: import from meta-webos-ports
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-17 14:18:37 +01:00
Martin Jansa
a5d4f3d649 qt5-plugin-generic-vboxtouch: Import from meta-webos-ports
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-17 14:18:37 +01:00