summaryrefslogtreecommitdiffstats
path: root/package/qt5
Commit message (Collapse)AuthorAgeFilesLines
* package/qt5base: add optional dependency on udevYann E. MORIN2016-06-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Qt5 can optionally enable udev support, especially to enumerate input devices dynamically. Without udev, devices are not properly enumerated, and any device that is not present at launch time is never seen (there is no support for hotplug, that is). Currently, Qt5base has no explicit dependency on udev, so it will all depend on the build order. Sometimes, a package that requires udev will be built before qt5base and Qt5 will have support for udev, sometime no such package is built before qt5base and Qt5 will not have support for udev. Add an explicit dependency on udev, but only if it is enabled. Note: this only really requires libudev, but we do not yet have a separate libudev; we still only have a udev provider (be it eudev or systemd). Signed-off-by: "Yann E. MORIN" <yann.morin@orange.com> Cc: Cedric Chedaleux <cedric.chedaleux@orange.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> [Thomas: drop comment, as suggested by Arnout.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5base: fix build with ALSA >= 1.1.xJiri Novotny2016-06-112-0/+2
| | | | | | | | | This commit adds an upstream qtbase commit that fixes the detection of ALSA versions >= 1.1.x, as we have in Buildroot. Signed-off-by: Jiri Novotny <jiri.novotny@logicelements.cz> [Thomas: change to use the upstream commit directly, using <pkg>_PATCH.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5connectivity: add bluez5_utils option for QtBluetooth submoduleJulien CORJON2016-06-032-5/+7
| | | | | | Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> [Thomas: simplify ifneq conditions in the .mk file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5connectivity: add QtNfc submoduleJulien CORJON2016-06-032-15/+31
| | | | | | | | | | | | Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> [Thomas: - remove useless 'depends on' on toolchain features, since we now depend on bluez_utils/neard - remove the QT5CONNECTIVITY_INSTALL_TARGET_QMLS variable, and directly use QT5CONNECTIVITY_INSTALL_TARGET_BLUETOOTH_QMLS and QT5CONNECTIVITY_INSTALL_TARGET_NFC_QMLS in QT5CONNECTIVITY_INSTALL_TARGET_CMDS.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5serialbus: depend on toolchain headers >= 3.6Yegor Yefremov2016-05-241-0/+4
| | | | | | | | | | | qt5serialbus requires CAN FD support, that was introduced in kernel 3.6. Add appropriate toolchain headers dependency. Fixes: http://autobuild.buildroot.net/results/617/6176a24799b5d80312be954089efbbb498fa1571/ Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5multimedia: select Qt5OpenGL module in case OpenGL support is enabledPeter Seiderer2016-05-171-0/+1
| | | | | | | | | | | | | Qt5Multimedia needs Qt5OpenGL module in case OpenGL support is enabled. Fixes bug reported by Marco Trapanese ([1]). [1] http://lists.busybox.net/pipermail/buildroot/2016-May/161288.html Signed-off-by: Peter Seiderer <ps.report@gmx.net> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt5base: fix sparc glibc libatomic link problemPeter Seiderer2016-04-241-0/+51
| | | | | | | | | | | | | | | Fixes [1]: undefined reference to `__atomic_fetch_add_4' Upstream patch from QTBUG-51621 ([2], [3]). [1] http://autobuild.buildroot.net/results/8e7/8e7ff74abdd6274c257a928113e50f534a142650 [2] https://bugreports.qt.io/browse/QTBUG-51621 [3] https://codereview.qt-project.org/#/c/151273/3 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5webkit: restore packageGary Bisson2016-04-188-0/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | Although this package has been removed from the official release packages since Qt5.6.0, it is still available for users to build it from source. This is useful for platforms without GPU since its successor (QtWebEngine) requires OpenGL support. The package now matches the community-based meta-qt5 Yocto layer, using the exact same revision of the qtwebkit source from github: https://github.com/meta-qt5/meta-qt5/commit/e434995a Here is the project source tree: https://github.com/qtproject/qtwebkit All the patches have been pulled from Yocto as well. Since we are now using the source from the git repository, we need to create an empty .git/ folder to force the headers re-generation. https://github.com/meta-qt5/meta-qt5/blob/jethro/recipes-qt/qt5/qt5.inc#L33 Note that GPLv3 license option has been added with this release. Reviewed-by: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> [Thomas: fix license to be LGPLv2.1+, not LGPLv2+.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5serialbus: new packageYegor Yefremov2016-04-184-0/+64
| | | | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Reviewed-by: Julien Corjon <corjon.j@ecagroup.com> [Thomas: better handling for !shared case.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5quickcontrols2: new packagePeter Seiderer2016-04-184-0/+61
| | | | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5canvas3d: new packageJulien Corjon2016-04-184-0/+58
| | | | | Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5location: new packageJulien Corjon2016-04-184-0/+74
| | | | | Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5connectivity: add sdpscanner tool for Qt5BluetoothJulien Corjon2016-04-131-0/+1
| | | | | | Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5tools: disable qdoc, which needs qtdeclarativePeter Seiderer2016-03-291-0/+30
| | | | | | | | | | | | Fixes [1]: Project ERROR: Unknown module(s) in QT: qmldevtools-private Makefile:63: recipe for target 'sub-qdoc-qmake_all' failed [1] http://autobuild.buildroot.net/results/b0a/b0a5641beae14ff79a9d5a628bb41957826eb623 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5: add GPLv3 and GFDLv1.3 licensing informationsJulien CORJON2016-03-2618-36/+36
| | | | | | | | All Qt5 packages gained the GPLv3 license option and all the documentation is now under GFDLv1.3 license (except qt5websocket and qt53d) Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5base: disable c++ standard compiler flags for the host buildYegor Yefremov2016-03-241-0/+44
| | | | | | | | | | | | Apply upstream patch, that disables c++ standard compiler flags unconditionally for host builds. Fixes: http://autobuild.buildroot.net/results/895/8958cfb71efdd3ce32b2145237e865ca8a6a6a7f/ Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Reviewed-by: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5: bump version to 5.6.0Julien CORJON2016-03-2027-394/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove upstream committed patches (qt5base): - 0001-Force_egl_visual_ID_33.patch (see [1], [2]) - 0003-xcb-egl-fixes.patch (see [3]) - 0005-forkd-disable-eventfd-for-uclibc.patch (see [4], [5]) - 0009-fix-eglfs-for-sunxi-mali.patch (see [6]) - 0014-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch (see [7]) Remove MX6_WORKAROUND from qt5base.mk since we do not need to tweak EGL visual ID to 33. Remove upstream committed patch (qt5webchannel): - 0001-Fix-builds-without-qml-module.patch (see [8], [9]) Fix Qt5Enginio to 1.6.0 version (see [10]) [1] https://bugreports.qt.io/browse/QTBUG-44290 [2] https://codereview.qt-project.org/#/c/108849/ [3] https://codereview.qt-project.org/#/c/115438/ [4] https://bugreports.qt.io/browse/QTBUG-47337 [5] https://codereview.qt-project.org/#/c/121988/ [6] https://codereview.qt-project.org/#/c/125837/ [7] https://codereview.qt-project.org/#/c/126725/ [8] https://bugreports.qt.io/browse/QTBUG-47360 [9] https://codereview.qt-project.org/#/c/122086/ [10] https://bugreports.qt.io/browse/QTBUG-50111 Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/qt5webkit-examples: remove obsolete packageJulien CORJON2016-03-205-97/+0
| | | | | | Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> [Thomas: add removed option to Config.in.legacy.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/qt5webkit: remove obsolete packageJulien CORJON2016-03-204-84/+0
| | | | | | Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> [Thomas: add removed option to Config.in.legacy.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/qt5quick1: remove obsolete packageJulien CORJON2016-03-204-70/+0
| | | | | | Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> [Thomas: add removed option to Config.in.legacy.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5tools: qtdiag needs BR2_PACKAGE_QT5BASE_GUIPeter Seiderer2016-03-081-0/+1
| | | | | | | | | | | | Fixes [1]: /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-3/output/build/qt5tools-5.5.1/src/qtdiag make[2]: *** No targets specified and no makefile found. Stop. [1] http://autobuild.buildroot.net/results/4ee/4eee2a7cee8fce63b0419668da8bd55b3cfd00af Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5tools: new packagePeter Seiderer2016-02-284-0/+111
| | | | | | | | - host programs: lconvert, lrelease and lupdate - target programs: pixeltool, qtdiag, qtpath and qtplugininfo Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt53d: enable assimpsceneparser pluginPeter Seiderer2016-02-232-0/+7
| | | | | | | | | | | | - add hint to help text - add assimp dependency - always install the gltf (and any future) sceneparser to target. Signed-off-by: Peter Seiderer <ps.report@gmx.net> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> [Thomas: update commit message as suggested by Arnout.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/qt5/qt5base: fix musl buildBernd Kuhls2016-02-071-0/+40
| | | | | | | | | | Fixes http://autobuild.buildroot.net/results/a15/a1586717154efb6495dfcdb5c7ce11a047dd68db/ http://autobuild.buildroot.net/results/363/3636ddcc0efa974c674f36d3c65eea5beb32af52/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5: bump version to 5.5.1Peter Seiderer2016-02-0324-243/+41
| | | | | | | | | | | | | | | | | | Reduce hash lists to strongest only (sha256). Remove upstream committed patches (qt5base): - 0004-no-gold-linker-for-host-build.patch (see [1], [2]) - 0007-big_endian-fix_destformat.patch (see [3]) - 0008-QtGui-force-image-dir-in-include_path.patch (see [4], [5]) [1] https://bugreports.qt.io/browse/QTBUG-46125 [2] https://codereview.qt-project.org/#/c/113563/ [3] https://codereview.qt-project.org/#/c/120654/ [4] https://bugreports.qt.io/browse/QTBUG-47400 [5] https://codereview.qt-project.org/#/c/122145/ Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* icu: remove BR2_ARCH_HAS_ATOMICS dependencyThomas Petazzoni2016-01-262-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The BR2_ARCH_HAS_ATOMICS was added because on ARC, atomic instructions may not be provided by the architecture and therefore the compiler does not provide the __sync_*() built-ins. However, since then, icu was changed and is now able to use C++11 atomics, or even no atomic operations at all. In fact, icu will: * If possible, it will use C++11 atomics, which internally rely on the __atomic built-ins. These are available since gcc 4.7, and all architectures provide it. On some architectures, you *must* link with libatomic, on some other architectures, they are available built-in, but in all cases, linking against libatomic does not harm. Thanks to this, even ARC with no atomic support (which was the original reason for adding the BR2_ARCH_HAS_ATOMICS) dependency builds fine, provided -latomic is added to LIBS. * If C++11 atomics are not available, then it falls back to __sync_*() built-ins, which allows compilers older than 4.7 to be supported. * If really no atomic mechanism is available, then it falls back to a basic implementation based on a mutex. Conclusion: - The BR2_ARCH_HAS_ATOMICS dependency is no longer needed. - We need to link with -latomic when gcc >= 4.7 is used. Note that reverse dependencies of icu are also changed accordingly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5webchannel: indentation cleanupJerzy Grzegorek2015-12-291-1/+1
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5/qt5webchannel: add qwebchannel.js installation in /var/wwwJulien CORJON2015-12-231-0/+6
| | | | | | | | | To use webchannel in an application qwebchannel.js is needed but this file was not installed. Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5/qt53d: new packagePeter Seiderer2015-12-184-0/+63
| | | | | | | | | | | [Thomas: - order packages alphabetically - use tabs for indentation in Config.in - add missing BR2_PACKAGE_QT5_JSCORE_AVAILABLE dependency for the comment.] Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5base: support OVERRIDE_SRCDIRPeter Korsgaard2015-11-264-41/+29
| | | | | | | | | With OVERRIDE_SRCDIR we don't apply any of the qt5base patches, but the custom specs files are needed to be able to build - So install these in the configure step instead of having them as a patch. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* qt5base: use 'depends on' for directfbPeter Korsgaard2015-11-181-4/+3
| | | | | | | This is the only package where we select directfb. Change it to use depends on to match what we do for the X11 backend. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt5base: Patch Qt config to detect sunxi-maliDaniel Nyström2015-11-171-0/+109
| | | | | | | | | | | | | | | | | | | | | Currently Qt 5.5 only detects and build the eglfs_mali device integration if the commercial Mali driver package from ARM is used. This patch makes sure the Qt configure script also test for the sunxi-mali driver package. It also removes the dependency of the proprietary fbdev_window.h. This issue is set to be fixed in upcoming Qt 5.6: https://codereview.qt-project.org/#/c/125837/ [Thomas: renumber patch from 0010 to 0009.] Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se> Tested-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [Thomas: build tested before the patch, verified that indeed the eglfs-mali plugin doesn't get built, and that after the patch it gets built as expected.]
* qt5multimedia: drop broken gstreamer 0.10 supportPeter Korsgaard2015-10-251-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The gstreamer 0.10 support code seems to have bitrotten as the build fails with undefined references to various functions: .obj/qgstreameraudiodecodersession.o: In function `QGstreamerAudioDecoderSession::read()': qgstreameraudiodecodersession.cpp:(.text+0x13a0): undefined reference to `QGstUtils::audioFormatForBuffer(_GstBuffer*)' collect2: error: ld returned 1 exit status Makefile:111: recipe for target '../../../../plugins/mediaservice/libgstaudiodecoder.so' failed make[6]: *** [../../../../plugins/mediaservice/libgstaudiodecoder.so] Error 1 Makefile:45: recipe for target 'sub-audiodecoder-make_first' failed make[5]: *** [sub-audiodecoder-make_first] Error 2 make[5]: *** Waiting for unfinished jobs.... .obj/qgstreamercapturesession.o: In function `QGstreamerCaptureSession::probeBuffer(_GstBuffer*) [clone .part.30]': qgstreamercapturesession.cpp:(.text+0x3fc8): undefined reference to `QGstUtils::bufferToImage(_GstBuffer*)' collect2: error: ld returned 1 exit status Makefile:153: recipe for target '../../../../plugins/mediaservice/libgstmediacapture.so' failed make[6]: *** [../../../../plugins/mediaservice/libgstmediacapture.so] Error 1 Makefile:95: recipe for target 'sub-mediacapture-make_first' failed make[5]: *** [sub-mediacapture-make_first] Error 2 .obj/qgstreamerplayersession.o: In function `QGstreamerPlayerSession::QGstreamerPlayerSession(QObject*)': qgstreamerplayersession.cpp:(.text+0xecc): undefined reference to `gst_video_connector_get_type' .obj/qgstreamerplayersession.o: In function `QGstreamerPlayerSession::processBusMessage(QGstreamerMessage const&)': qgstreamerplayersession.cpp:(.text+0x5b4c): undefined reference to `QGstUtils::gstTagListToMap(_GstStructure const*)' collect2: error: ld returned 1 exit status Makefile:129: recipe for target '../../../../plugins/mediaservice/libgstmediaplayer.so' failed make[6]: *** [../../../../plugins/mediaservice/libgstmediaplayer.so] Error 1 Makefile:70: recipe for target 'sub-mediaplayer-make_first' failed make[5]: *** [sub-mediaplayer-make_first] Error 2 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt5base: add optional gstreamer1 supportPeter Korsgaard2015-10-251-0/+8
| | | | | | | | | | | | | | | | | Indirectly fixes: http://autobuild.buildroot.net/results/773/773d9996bd3da283eed6b75083b8bab6469d0423/ http://autobuild.buildroot.net/results/069/069f564fde821b55e710fbe93fe30a5cf11a6da5/ http://autobuild.buildroot.net/results/456/456d380f8b4478245e89f711c33fe0c2d23aaa3a/ http://autobuild.buildroot.net/results/7c8/7c8ebfc93a5b11e40251495715d742520b3b8291/ And many more, as qt5multimedia needs qt5base to be built with gstreamer1 support as well. While qt5 has some gstreamer 0.10 support, it doesn't seem to be used much any more and E.G. the 0.10 fallback code in qt5multimedia is broken so only enable it for the 1.x series. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* q5base: use TARGET_MAKE_ENVPeter Korsgaard2015-10-251-2/+3
| | | | | | So our tools (E.G. pkg-config) in $(HOST_DIR) are found. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt5base: Fix compile errors in qurl.h / qeglplatformscreen.cppMarc2015-10-171-2/+20
| | | | | | | | | | | | | | | | | | | Update the already existing fix for EGL/X11 header issue to fix an additional problem encountered on my system where I had compile errors in qeglplatformscreen.cpp. The problem was related to the wrong order of includes. The X11 headers must always be included last, as indicated in http://lists.qt-project.org/pipermail/development/2013-March/010511.html The fix is done in the existing 0003-xcb-egl-fixes.patch patch, since it is an additional fix for the same problem. [Thomas: tweak commit log, and adjust SoB details as suggested by Arnout.] Signed-off-by: Marc Andre <marc.andre@netline.ch> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5base: remove now-redundant ccache handlingArnout Vandecappelle2015-10-043-52/+4
| | | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* directfb: mark as available only for gcc >= 4.5Thomas Petazzoni2015-09-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | The new DirectFB version does not build with gcc 4.3 from the Blackfin toolchain. One of the reason is that va_copy has some issues, which were fixed in gcc 4.4.0 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36799). There are also some other issues, which were fixed by a patch proposed by Peter Seiderer at http://lists.busybox.net/pipermail/buildroot/2015-February/120281.html. However, it probably doesn't make a lot of sense to carry patches that are not upstream for such old compilers. Instead, this commit takes the action of making DirectFB available only on toolchains using gcc >= 4.5, which was tested with the Arago toolchain. gcc 4.4 could potentially work, but wasn't tested (it is no longer supported by the internal toolchain backend, and we don't have any toolchain based on gcc 4.4), so we take the safe decision of requiring at least gcc 4.5. [Peter: add comment explaining toolchain dependenc as suggested by Vincente] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/qt5/qt5base: fix build with ccacheBenoît Thébaudeau2015-08-281-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | Building with ccache failed with: Running configuration tests... Failed to process makespec for platform 'devices/linux-buildroot-g++' Project ERROR: Compiler <path_to_output_dir>/host/usr/bin/ccache <path_to_output_dir>/host/usr/bin/<cross_compile>-g++ not found. Check the value of CROSS_COMPILE -device-option Could not read qmake configuration file <path_to_output_dir>/build/qt5base-5.5.0/mkspecs/devices/linux-buildroot-g++/qmake.conf. Error processing project file: /dev/null This was caused by Buildroot setting this in qt5base-5.5.0/mkspecs/devices/linux-buildroot-g++/qmake.conf: QMAKE_CXX = $${BR_CCACHE} $${CROSS_COMPILE}g++ But qt5base-5.5.0/mkspecs/features/device_config.prf expects QMAKE_CXX to be a single valid (absolute or QMAKE_PATH_ENV-relative) path to an existing file, which is not possible if using ccache as above. Add a patch fixing this by testing only the first value in QMAKE_CXX. Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/qt5/qt5multimedia: fix gstreamer1 supportBenoît Thébaudeau2015-08-271-1/+4
| | | | | | | | | | | | | | Fix the missing gstreamer1 build dependencies, which could possibly prevent the configuration of qt5multimedia from detecting the supported gstreamer1 features. Fix the missing gstreamer1 install rules, which resulted in the following runtime error: defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer" Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5: disable for static-only buildsThomas Petazzoni2015-08-262-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Even though we have some specific code to support building Qt5 for static-only configurations, it doesn't work. The first problem is that our custom qmake.conf always passes -ldl, which makes a number of Qt5 config.tests fail at configure time. Once this problem is fixed by removing -ldl from QMAKE_LIBS and adding it to QMAKE_LIBS_DYNLOAD instead, the next problem is that the plugin infrastructure of Qt5 assumes that Linux has dynamic library support: the qlibrary_unix.cpp file includes <dlfcn.h>, and the only condition for this file to not be included is: Until recently, building Qt5 statically was working because our C library was not built static-only: it provided <dlfcn.h> and libdl.so. But now that we have a really static only toolchain, Qt5 no longer builds. The easiest solution is to simply make Qt5 depend on dynamic library support. Fixes: http://autobuild.buildroot.net/results/538/538e0325adba9fabbe4ec8e550fbb6a7219f5e7a/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt5base: install libQt5XcbQpa.so for xcb backendMatthew Shyu2015-08-191-0/+1
| | | | | | | | | | | When the XCB backend is selected, the libqxcb.so plugin is installed, and is linked against libQt5XcbQpa.so. However, until, Buildroot was not installing this library. This commit fixes this. [Thomas: tweak commit log.] Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/qt5quickcontrols: fix licensing informationYann E. MORIN2015-08-081-2/+2
| | | | | | | | | | | | | | | | | | | | Since the bump to 5.5.0, the LGPv2.1-with-exception has been dropped, with only the LGPLv3 or GPLv2 as alternatives. Drop LGPLv2.1-with-exception. Add GFDL (GNU Free Documentation License) as it is explicitly referenced in the source tree. Fixes: http://autobuild.buildroot.org/results/0dc/0dc96010cc81a34d2363eb4fe1a155db0e3769fd/ http://autobuild.buildroot.org/results/2b0/2b0b4c170dfa0d95c10bf030e6f249b3305dd318/ [Thomas: add version to GFDL specification.] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Julien CORJON <corjon.j@ecagroup.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5base: fix activation of i.MX visual ID workaroundJérôme Pouiller2015-07-281-3/+4
| | | | | | | | | | | The workaround implemented in 0001-Force_egl_visual_ID_33.patch has to be enabled as soon as gpu_vivante/xorg is used. This does not depends on eglfs option. [Thomas: minor commit log tweaks.] Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5base: Fix INCLUDE_PATH when no JPEG/PNG supportJulien CORJON2015-07-281-0/+89
| | | | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/4be77432390c4cfb557c3f2cc52cf732de037949/ http://autobuild.buildroot.net/results/255a77e01d8af4090e03acb82f9ad93b7c4dd212/ http://autobuild.buildroot.net/results/7844e6a3eeecf67dc29277b73bfe714e4d8f0d85/ http://autobuild.buildroot.net/results/b941f35b6c8e1cf3b2c4b046dfcce98700d8f408/ http://autobuild.buildroot.net/results/c64b640a39285f59cde47cb8d06ab70a5ac97c8b/ http://autobuild.buildroot.net/results/f6d24b50f58251c8051d39bc1d09b5b43f81f441/ http://autobuild.buildroot.net/results/30acea45fb497942129ca57c143bab6174e14609/ http://autobuild.buildroot.net/results/f0891474fe2cd3e47b1489f147e31f698dbd013f/ Upstream-Status: https://codereview.qt-project.org/#/c/122145/ Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5/qtwebsocket: remove GPLv2 licenseJulien CORJON2015-07-261-4/+2
| | | | | | | | | | | This module loose his GPLv2 licensing option. Remains the LGPLv2.1 with exception and LGPLv3 as the possible open-source licenses. Fixes: http://autobuild.buildroot.net/results/6c80ba0669a7fc8cc60baaa849044fd65a78ce87/ Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5: remove GPLv2 license from qt5declarative, qt5script and qt5svgThomas Petazzoni2015-07-223-6/+6
| | | | | | | | Since Qt 5.5, those three modules have lost their GPLv2 licensing option. Remains the LGPLv2.1 with exception and LGPLv3 as the possible open-source licenses. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt/qt5webchannel: new packageJulien CORJON2015-07-225-0/+138
| | | | | Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt/qt5base: Fix big endian image conversionJulien CORJON2015-07-221-0/+34
| | | | | Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt/qt5quick1, qt/qt5script, qt/qt5webkit: tag as legacy compatibilityJulien CORJON2015-07-215-4/+21
| | | | | Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud