qt5: add choice between version 5.6.2 and 5.8.0
authorNaumann Andreas <ANaumann@ultratronik.de>
Tue, 31 Jan 2017 07:59:03 +0000 (08:59 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 7 Feb 2017 16:46:48 +0000 (17:46 +0100)
commitaa1c40ba3729b73618c28e82f89dbee82c34ff76
treeb46bd339f12e4d82532f66d2aee86b0b95493e9f
parent61c8273e2357f6aab202f6c8653f85f21c3c4f7a
qt5: add choice between version 5.6.2 and 5.8.0

For 5.8.0
- add hashes
- qt5 need C++11 compliant compiler since 5.7 ([1])
- use different licenses: since version 5.7 Qt removed the LGPL v2.1 option in favor
  of v3 with a different exception
- qt5base: renamed library to EglFSDeviceIntegration ([2])
- qt5base: remove ras-pi patch, commit c0cc5052097c723d0331a7619d686af9eb93d33c fix it ([3])
- qt5base: remove 0007-eglfs-fix-eglfs_mali-compile-for-odroid-mali.patch (upstream committed [3b])
- qt5base: remove obsolete config-option -large ([4])
- qt5base: gstreamer support fully moved to qt5multimedia, so gstreamer
  related options are no longer passed ([5])
- add patch for python-pyqt5 to fix the build with Qt 5.8
- add tweak in libv4l to fix the build with Qt 5.8, originally provided
  by Peter Seiderer
- add patch from Peter Seiderer fixing a build issue with freetype

For 5.6.2
- moved patches to subdir, and renumber patches

[1]  http://blog.qt.io/blog/2016/06/16/qt-5-7-released/
[2]  https://code.qt.io/cgit/qt/qtbase.git/commit/?id=ec4eb4db61094179bc6a9ec26ec68fb710177053
[3]  https://codereview.qt-project.org/#/c/167172/
[3b] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=f1b4bd4790860e1ff5afcec111a359bc3a91cfda
[4]  https://code.qt.io/cgit/qt/qtbase.git/commit/?id=84d3a21c9efe7efb2cce6d3bd14af1f9580b1108
[5]  https://code.qt.io/cgit/qt/qtbase.git/commit/?id=7d4da559afb62a779b3d90a65fb679cb5433f203

Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
[Thomas:
 - tweak commit log about GStreamer related changes, suggested by Arnout
 - move the gcc 4.8 dependency from the main qt5 option to just the
   qt5.8 selection, so that qt5.6 can still be built if gcc < 4.8 is
   used. Noticed by Arnout.
 - rename the options of the version selection to not include the
   version number itself so that we don't have to keep legacy
   symbols. Noticed by Arnout.
 - introduce changes to qt5quickcontrols2.mk needed to handle qt5.6
   vs. qt5.8, borrowed from a later patch in the series.
 - add patch for python-pyqt5 to fix the build with Qt 5.8.
 - add fix to libv4l.mk from Peter Seiderer to fix the build with Qt
   5.8.
 - renumber patches for 5.6.2, suggested by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
47 files changed:
package/libv4l/libv4l.mk
package/python-pyqt5/0003-remove-WindowOkButtonHint-and-WindowCancelButtonHint.patch [new file with mode: 0644]
package/qt5/Config.in
package/qt5/qt5.mk
package/qt5/qt53d/qt53d.hash
package/qt5/qt5base/0006-eglfs-rasp-pi-header-inclusion.patch [deleted file]
package/qt5/qt5base/0007-eglfs-fix-eglfs_mali-compile-for-odroid-mali.patch [deleted file]
package/qt5/qt5base/5.6.2/0001-eglfs-rasp-pi-header-inclusion.patch [new file with mode: 0644]
package/qt5/qt5base/5.6.2/0002-eglfs-fix-eglfs_mali-compile-for-odroid-mali.patch [new file with mode: 0644]
package/qt5/qt5base/5.8.0/0001-fix-parallel-builds-with-qt-freetype-system-libpng.patch [new file with mode: 0644]
package/qt5/qt5base/qt5base.hash
package/qt5/qt5base/qt5base.mk
package/qt5/qt5canvas3d/qt5canvas3d.hash
package/qt5/qt5connectivity/qt5connectivity.hash
package/qt5/qt5connectivity/qt5connectivity.mk
package/qt5/qt5declarative/qt5declarative.hash
package/qt5/qt5declarative/qt5declarative.mk
package/qt5/qt5graphicaleffects/qt5graphicaleffects.hash
package/qt5/qt5graphicaleffects/qt5graphicaleffects.mk
package/qt5/qt5imageformats/qt5imageformats.hash
package/qt5/qt5imageformats/qt5imageformats.mk
package/qt5/qt5location/qt5location.hash
package/qt5/qt5location/qt5location.mk
package/qt5/qt5multimedia/qt5multimedia.hash
package/qt5/qt5multimedia/qt5multimedia.mk
package/qt5/qt5quickcontrols/qt5quickcontrols.hash
package/qt5/qt5quickcontrols2/qt5quickcontrols2.hash
package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk
package/qt5/qt5script/qt5script.hash
package/qt5/qt5sensors/qt5sensors.hash
package/qt5/qt5sensors/qt5sensors.mk
package/qt5/qt5serialbus/qt5serialbus.hash
package/qt5/qt5serialport/qt5serialport.hash
package/qt5/qt5serialport/qt5serialport.mk
package/qt5/qt5svg/qt5svg.hash
package/qt5/qt5svg/qt5svg.mk
package/qt5/qt5tools/qt5tools.hash
package/qt5/qt5tools/qt5tools.mk
package/qt5/qt5webchannel/qt5webchannel.hash
package/qt5/qt5webchannel/qt5webchannel.mk
package/qt5/qt5webkit/qt5webkit.hash
package/qt5/qt5websockets/qt5websockets.hash
package/qt5/qt5websockets/qt5websockets.mk
package/qt5/qt5x11extras/qt5x11extras.hash
package/qt5/qt5x11extras/qt5x11extras.mk
package/qt5/qt5xmlpatterns/qt5xmlpatterns.hash
package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk