Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/3] Qt WebEngine support
@ 2017-07-07  0:55 Gaël PORTAY
  2017-07-07  0:55 ` [Buildroot] [PATCH 1/3] rpi-userland: fix opengl library symlinks Gaël PORTAY
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Gaël PORTAY @ 2017-07-07  0:55 UTC (permalink / raw)
  To: buildroot

The purpose of this patch series is to continue the integration of Qt5 WebEngine
in buildroot; started long time ago by Akihiko Odaki [1] and Julien Corjon [2].

The first patch fixes the rpi-userland OpenGL libraries symlinks. WebEngine
eglfs backend is linked against libEGL.so.1 and libGLESv2.so.2.

	# ls -l /usr/lib/lib*GL*
	lrwxrwxrwx    1 root     root            11 Mar 21 17:24 /usr/lib/libEGL.so -> libEGL.so.1
	lrwxrwxrwx    1 root     root            15 Mar 21 17:24 /usr/lib/libEGL.so.1 -> libEGL.so.1.0.0
	-rwxr-xr-x    1 root     root        163152 Mar 22 14:56 /usr/lib/libEGL.so.1.0.0
	lrwxrwxrwx    1 root     root            14 Mar 21 17:24 /usr/lib/libGLESv2.so -> libGLESv2.so.2
	lrwxrwxrwx    1 root     root            18 Mar 21 17:24 /usr/lib/libGLESv2.so.2 -> libGLESv2.so.2.0.0
	-rwxr-xr-x    1 root     root         78788 Mar 22 14:56 /usr/lib/libGLESv2.so.2.0.0

The second patch provides the Qt WebEngine package.

The last patch is a special defconfig that provides a Qt WebEngine setup on
raspberrypi3.

With this patchset, one can run the Qt quicknanobrowser sample on a rpi3 with
the following options:
  - BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc" and
    BR2_TOOLCHAIN_BUILDROOT_CXX=y (Qt 5 needs a toolchain w/ wchar, NPTL, C++,
    dynamic library)
  - BR2_PACKAGE_LIBERATION (Qt 5.8 requires a least one font)
  - BR2_PACKAGE_RPI_USERLAND (to enable OpenGL backend)
  - BR2_PACKAGE_QT5BASE_LICENSE_APPROVED (to not prompt for license agreement;
    webengine takes many hours to be compiled (and maybe more!))
  - BR2_PACKAGE_QT5BASE_EXAMPLES (to install quicknanobrowser sample)
  - BR2_PACKAGE_QT5QUICKCONTROLS (needed by quicknanobrowser)
  - BR2_PACKAGE_QT5WEBENGINE (because it is what we want :))

To browse for HTTPS websites, please consider adding the following options as
well:
  - BR2_PACKAGE_CA_CERT (for certificates)
  - BR2_PACKAGE_NTPD (to sync date)

To run quicknanobrowser:
	# cd /usr/lib/qt/examples/webengine/quicknanobrowser/
	# ./quicknanobrowser

Enjoy ;)

Note: For now, quicknanobrowser will just display the qt website without any
input backend.

[1] https://patchwork.ozlabs.org/patch/640633/
[2] http://lists.busybox.net/pipermail/buildroot/2015-July/132010.html

Changes since RFC:
 - rebase to master (use SPDX licenses, remove license approved, update
   qt5_defconfig...)
 - remove the patch "prefer arm tune"
 - disable build with Qt 5.6 LTS (not working, waiting for 5.6.3 in August)
 - re-order patches

Ga?l PORTAY (3):
  rpi-userland: fix opengl library symlinks
  qt5webengine: new package
  configs: new raspberrypi3 qt5 config

 configs/raspberrypi3_qt5_defconfig                 |  47 ++++
 package/qt5/Config.in                              |   1 +
 .../qt5webengine/0001-change-default-ssl-dir.patch |  18 ++
 package/qt5/qt5webengine/Config.in                 |  50 +++++
 package/qt5/qt5webengine/chromium.inc              | 238 +++++++++++++++++++++
 package/qt5/qt5webengine/qt5webengine.hash         |   5 +
 package/qt5/qt5webengine/qt5webengine.mk           |  77 +++++++
 .../0001-Add-OpenGL-library-versioning.patch       |  36 ++++
 8 files changed, 472 insertions(+)
 create mode 100644 configs/raspberrypi3_qt5_defconfig
 create mode 100644 package/qt5/qt5webengine/0001-change-default-ssl-dir.patch
 create mode 100644 package/qt5/qt5webengine/Config.in
 create mode 100644 package/qt5/qt5webengine/chromium.inc
 create mode 100644 package/qt5/qt5webengine/qt5webengine.hash
 create mode 100644 package/qt5/qt5webengine/qt5webengine.mk
 create mode 100644 package/rpi-userland/0001-Add-OpenGL-library-versioning.patch

-- 
2.12.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 1/3] rpi-userland: fix opengl library symlinks
  2017-07-07  0:55 [Buildroot] [PATCH 0/3] Qt WebEngine support Gaël PORTAY
@ 2017-07-07  0:55 ` Gaël PORTAY
  2017-07-07 19:26   ` Gaël PORTAY
  2017-07-07  0:55 ` [Buildroot] [PATCH 2/3] qt5webengine: new package Gaël PORTAY
  2017-07-07  0:55 ` [Buildroot] [PATCH 3/3] configs: new raspberrypi3 qt5 config Gaël PORTAY
  2 siblings, 1 reply; 7+ messages in thread
From: Gaël PORTAY @ 2017-07-07  0:55 UTC (permalink / raw)
  To: buildroot

The Qt WebEngine module loads libEGL.so.1 and libGLESv2.so.2 libraries.
Their path are hard-coded [1].

This patch sets up cmake to create those library links.

	# ls -l /usr/lib/lib*GL*
	lrwxrwxrwx    1 root     root            11 Mar 21 17:24 /usr/lib/libEGL.so -> libEGL.so.1
	lrwxrwxrwx    1 root     root            15 Mar 21 17:24 /usr/lib/libEGL.so.1 -> libEGL.so.1.0.0
	-rwxr-xr-x    1 root     root        163152 Mar 22 14:56 /usr/lib/libEGL.so.1.0.0
	lrwxrwxrwx    1 root     root            14 Mar 21 17:24 /usr/lib/libGLESv2.so -> libGLESv2.so.2
	lrwxrwxrwx    1 root     root            18 Mar 21 17:24 /usr/lib/libGLESv2.so.2 -> libGLESv2.so.2.0.0
	-rwxr-xr-x    1 root     root         78788 Mar 22 14:56 /usr/lib/libGLESv2.so.2.0.0

[1] https://github.com/qt/qtwebengine/blob/5.8/src/core/surface_factory_qt.cpp#L76-L86

Signed-off-by: Ga?l PORTAY <gael.portay@savoirfairelinux.com>
---
 .../0001-Add-OpenGL-library-versioning.patch       | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 package/rpi-userland/0001-Add-OpenGL-library-versioning.patch

diff --git a/package/rpi-userland/0001-Add-OpenGL-library-versioning.patch b/package/rpi-userland/0001-Add-OpenGL-library-versioning.patch
new file mode 100644
index 000000000..0de7b8a72
--- /dev/null
+++ b/package/rpi-userland/0001-Add-OpenGL-library-versioning.patch
@@ -0,0 +1,36 @@
+From c0b5fce145b8b7aec42510d9759d100e92630c74 Mon Sep 17 00:00:00 2001
+From: =?utf-8?q?Ga=C3=ABl=20PORTAY?= <gael.portay@savoirfairelinux.com>
+Date: Fri, 3 Mar 2017 17:28:41 -0500
+Subject: [PATCH] Add OpenGL library versioning
+
+Some applications like QtWebEngine require specific library versions.
+Make them happy by providing that.
+
+https://wiki.qt.io/RaspberryPi2EGLFS
+---
+ host_applications/android/apps/vidtex/CMakeLists.txt | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+
+diff --git a/host_applications/android/apps/vidtex/CMakeLists.txt b/host_applications/android/apps/vidtex/CMakeLists.txt
+index 1f705ef..c91032a 100644
+--- a/host_applications/android/apps/vidtex/CMakeLists.txt
++++ b/host_applications/android/apps/vidtex/CMakeLists.txt
+@@ -10,3 +10,15 @@ set (VIDTEX_SOURCES
+    vidtex.c)
+ add_executable(vidtex ${VIDTEX_SOURCES})
+ target_link_libraries(vidtex GLESv2 EGL m bcm_host mmal_core mmal_components mmal_util mmal_vc_client vcos)
++
++set_target_properties(
++	GLESv2 PROPERTIES
++	VERSION "2.0.0"
++	SOVERSION "2"
++)
++
++set_target_properties(
++	EGL PROPERTIES
++	VERSION "1.0.0"
++	SOVERSION "1"
++)
+-- 
+2.10.2
+
-- 
2.12.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 2/3] qt5webengine: new package
  2017-07-07  0:55 [Buildroot] [PATCH 0/3] Qt WebEngine support Gaël PORTAY
  2017-07-07  0:55 ` [Buildroot] [PATCH 1/3] rpi-userland: fix opengl library symlinks Gaël PORTAY
@ 2017-07-07  0:55 ` Gaël PORTAY
  2017-07-10 12:02   ` Julien CORJON
  2017-07-07  0:55 ` [Buildroot] [PATCH 3/3] configs: new raspberrypi3 qt5 config Gaël PORTAY
  2 siblings, 1 reply; 7+ messages in thread
From: Gaël PORTAY @ 2017-07-07  0:55 UTC (permalink / raw)
  To: buildroot

This patch is based on works [1] and [2].

[1]: http://lists.busybox.net/pipermail/buildroot/2015-July/132010.html
[2]: https://patchwork.ozlabs.org/patch/640633/

Signed-off-by: Ga?l PORTAY <gael.portay@savoirfairelinux.com>
---
 package/qt5/Config.in                              |   1 +
 .../qt5webengine/0001-change-default-ssl-dir.patch |  18 ++
 package/qt5/qt5webengine/Config.in                 |  50 +++++
 package/qt5/qt5webengine/chromium.inc              | 238 +++++++++++++++++++++
 package/qt5/qt5webengine/qt5webengine.hash         |   5 +
 package/qt5/qt5webengine/qt5webengine.mk           |  77 +++++++
 6 files changed, 389 insertions(+)
 create mode 100644 package/qt5/qt5webengine/0001-change-default-ssl-dir.patch
 create mode 100644 package/qt5/qt5webengine/Config.in
 create mode 100644 package/qt5/qt5webengine/chromium.inc
 create mode 100644 package/qt5/qt5webengine/qt5webengine.hash
 create mode 100644 package/qt5/qt5webengine/qt5webengine.mk

diff --git a/package/qt5/Config.in b/package/qt5/Config.in
index cca04a6d3..7fabca272 100644
--- a/package/qt5/Config.in
+++ b/package/qt5/Config.in
@@ -79,6 +79,7 @@ source "package/qt5/qt5tools/Config.in"
 source "package/qt5/qt5virtualkeyboard/Config.in"
 source "package/qt5/qt5webchannel/Config.in"
 source "package/qt5/qt5webkit/Config.in"
+source "package/qt5/qt5webengine/Config.in"
 source "package/qt5/qt5websockets/Config.in"
 source "package/qt5/qt5x11extras/Config.in"
 source "package/qt5/qt5xmlpatterns/Config.in"
diff --git a/package/qt5/qt5webengine/0001-change-default-ssl-dir.patch b/package/qt5/qt5webengine/0001-change-default-ssl-dir.patch
new file mode 100644
index 000000000..35cc1902a
--- /dev/null
+++ b/package/qt5/qt5webengine/0001-change-default-ssl-dir.patch
@@ -0,0 +1,18 @@
+Change the default SSL directory, as buildroot ca-cert package is
+installed at /etc/ssl. That way, we don't have to use the SSL_CERT_DIR
+environment at runtime.
+
+Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
+
+diff -Nura qt5webengine-5.8.0.orig/src/core/qtwebengine_extras.gypi qt5webengine-5.8.0/src/core/qtwebengine_extras.gypi
+--- qt5webengine-5.8.0.orig/src/core/qtwebengine_extras.gypi	2017-01-03 05:35:11.000000000 -0500
++++ qt5webengine-5.8.0/src/core/qtwebengine_extras.gypi	2017-03-03 16:24:34.947416678 -0500
+@@ -103,7 +103,7 @@
+             'GL_GLEXT_PROTOTYPES',
+             'EGL_EGLEXT_PROTOTYPES',
+             # At runtime the env variable SSL_CERT_DIR can be used to override this
+-            'OPENSSLDIR="/usr/lib/ssl"',
++            'OPENSSLDIR="/etc/ssl"',
+             'OPENSSL_LOAD_CONF',
+             'EGL_API_FB=1',
+             'LINUX=1',
diff --git a/package/qt5/qt5webengine/Config.in b/package/qt5/qt5webengine/Config.in
new file mode 100644
index 000000000..cbc5e7f2e
--- /dev/null
+++ b/package/qt5/qt5webengine/Config.in
@@ -0,0 +1,50 @@
+comment "qt5webengine needs an Open(E)GL-capable backend"
+	depends on BR2_PACKAGE_QT5
+	depends on !BR2_PACKAGE_QT5_GL_AVAILABLE || !BR2_PACKAGE_HAS_LIBEGL
+
+comment "qt5webengine is not yet buildable with Qt 5.6"
+	depends on BR2_PACKAGE_QT5
+	depends on !BR2_PACKAGE_QT5_GL_AVAILABLE || !BR2_PACKAGE_HAS_LIBEGL
+	depends on BR2_PACKAGE_QT5_VERSION_5_6
+
+config BR2_PACKAGE_QT5WEBENGINE
+	bool "qt5webengine"
+	depends on BR2_PACKAGE_QT5
+	depends on BR2_PACKAGE_QT5_GL_AVAILABLE && BR2_PACKAGE_HAS_LIBEGL
+	depends on !BR2_PACKAGE_QT5_VERSION_5_6
+	select BR2_PACKAGE_LIBGLIB2
+	select BR2_PACKAGE_QT5BASE
+	select BR2_PACKAGE_QT5BASE_DBUS
+	select BR2_PACKAGE_QT5BASE_FONTCONFIG
+	select BR2_PACKAGE_QT5BASE_ICU
+	select BR2_PACKAGE_QT5BASE_GUI
+	select BR2_PACKAGE_QT5BASE_EGLFS
+	select BR2_PACKAGE_QT5BASE_WIDGETS
+	select BR2_PACKAGE_QT5DECLARATIVE
+	select BR2_PACKAGE_QT5DECLARATIVE_QUICK
+	select BR2_PACKAGE_QT5WEBCHANNEL
+	select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_QT5BASE_XCB
+	select BR2_PACKAGE_XLIB_LIBXCURSOR if BR2_PACKAGE_QT5BASE_XCB
+	select BR2_PACKAGE_XLIB_LIBXI if BR2_PACKAGE_QT5BASE_XCB
+	select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_QT5BASE_XCB
+	select BR2_PACKAGE_XLIB_LIBXSCRNSAVER if BR2_PACKAGE_QT5BASE_XCB
+	select BR2_PACKAGE_XLIB_LIBXTST if BR2_PACKAGE_QT5BASE_XCB
+	help
+	  The Qt WebEngine module provides a web browser engine that makes it
+	  easy to embed content from the World Wide Web into your Qt application
+	  on platforms that do not have a native web engine.
+
+	  Qt WebEngine provides C++ classes and QML types for rendering HTML,
+	  XHTML, and SVG documents, styled using Cascading Style Sheets (CSS)
+	  and scripted with JavaScript. HTML documents can be made fully
+	  editable by the user through the use of the contenteditable attribute
+	  on HTML elements.
+
+if BR2_PACKAGE_QT5WEBENGINE
+config BR2_PACKAGE_QT5WEBENGINE_PROPRIETARY_CODECS
+	bool "proprietary codecs"
+	help
+	  Qt WebEngine supports the MPEG-4 Part 14 (MP4) file format; which
+	  includes required proprietary audio and video codecs, such as H.264
+	  and MPEG layer-3 (MP3).
+endif
diff --git a/package/qt5/qt5webengine/chromium.inc b/package/qt5/qt5webengine/chromium.inc
new file mode 100644
index 000000000..14befcbf2
--- /dev/null
+++ b/package/qt5/qt5webengine/chromium.inc
@@ -0,0 +1,238 @@
+CHROMIUM_LICENSE_FILES = \
+	src/3rdparty/chromium/chrome/third_party/chromevox/third_party/closure-library/LICENSE \
+	src/3rdparty/chromium/chrome/third_party/chromevox/LICENSE \
+	src/3rdparty/chromium/v8/LICENSE.strongtalk \
+	src/3rdparty/chromium/v8/LICENSE.valgrind \
+	src/3rdparty/chromium/v8/LICENSE.v8 \
+	src/3rdparty/chromium/v8/LICENSE.fdlibm \
+	src/3rdparty/chromium/v8/LICENSE \
+	src/3rdparty/chromium/v8/src/third_party/vtune/LICENSE \
+	src/3rdparty/chromium/v8/src/third_party/fdlibm/LICENSE \
+	src/3rdparty/chromium/v8/src/third_party/valgrind/LICENSE \
+	src/3rdparty/chromium/testing/gtest/LICENSE \
+	src/3rdparty/chromium/testing/gmock/scripts/generator/LICENSE \
+	src/3rdparty/chromium/testing/gmock/LICENSE \
+	src/3rdparty/chromium/base/third_party/dynamic_annotations/LICENSE \
+	src/3rdparty/chromium/base/third_party/nspr/LICENSE \
+	src/3rdparty/chromium/base/third_party/libevent/LICENSE \
+	src/3rdparty/chromium/base/third_party/icu/LICENSE \
+	src/3rdparty/chromium/base/third_party/symbolize/LICENSE \
+	src/3rdparty/chromium/base/third_party/dmg_fp/LICENSE \
+	src/3rdparty/chromium/base/third_party/xdg_user_dirs/LICENSE \
+	src/3rdparty/chromium/base/third_party/superfasthash/LICENSE \
+	src/3rdparty/chromium/base/third_party/xdg_mime/LICENSE \
+	src/3rdparty/chromium/base/third_party/valgrind/LICENSE \
+	src/3rdparty/chromium/third_party/blimp_fonts/LICENSE.OFL \
+	src/3rdparty/chromium/third_party/blimp_fonts/LICENSE \
+	src/3rdparty/chromium/third_party/blimp_fonts/LICENSE.Apache \
+	src/3rdparty/chromium/third_party/decklink/LICENSE \
+	src/3rdparty/chromium/third_party/ced/LICENSE \
+	src/3rdparty/chromium/third_party/ced/src/LICENSE \
+	src/3rdparty/chromium/third_party/modp_b64/LICENSE \
+	src/3rdparty/chromium/third_party/ow2_asm/LICENSE \
+	src/3rdparty/chromium/third_party/isimpledom/LICENSE \
+	src/3rdparty/chromium/third_party/minigbm/LICENSE \
+	src/3rdparty/chromium/third_party/cros_system_api/MODULE_LICENSE_BSD \
+	src/3rdparty/chromium/third_party/cros_system_api/LICENSE \
+	src/3rdparty/chromium/third_party/gardiner_mod/LICENSE \
+	src/3rdparty/chromium/third_party/tlslite/LICENSE \
+	src/3rdparty/chromium/third_party/wayland/LICENSE \
+	src/3rdparty/chromium/third_party/webpagereplay/third_party/ipfw_win32/LICENSE \
+	src/3rdparty/chromium/third_party/webpagereplay/third_party/jsmin/LICENSE.txt \
+	src/3rdparty/chromium/third_party/webpagereplay/third_party/dns/LICENSE \
+	src/3rdparty/chromium/third_party/pyelftools/elftools/construct/LICENSE \
+	src/3rdparty/chromium/third_party/pyelftools/LICENSE \
+	src/3rdparty/chromium/third_party/closure_compiler/LICENSE \
+	src/3rdparty/chromium/third_party/libsync/LICENSE \
+	src/3rdparty/chromium/third_party/requests/LICENSE \
+	src/3rdparty/chromium/third_party/mach_override/LICENSE \
+	src/3rdparty/chromium/third_party/pymock/LICENSE.txt \
+	src/3rdparty/chromium/third_party/cardboard-java/LICENSE \
+	src/3rdparty/chromium/third_party/usb_ids/LICENSE \
+	src/3rdparty/chromium/third_party/checkstyle/LICENSE \
+	src/3rdparty/chromium/third_party/checkstyle/LICENSE.apache20 \
+	src/3rdparty/chromium/third_party/apache-portable-runtime/LICENSE \
+	src/3rdparty/chromium/third_party/zlib/LICENSE \
+	src/3rdparty/chromium/third_party/protobuf/LICENSE \
+	src/3rdparty/chromium/third_party/blanketjs/LICENSE \
+	src/3rdparty/chromium/third_party/vulkan/LICENSE \
+	src/3rdparty/chromium/third_party/pywebsocket/src/LICENSE \
+	src/3rdparty/chromium/third_party/gif_player/LICENSE \
+	src/3rdparty/chromium/third_party/py_trace_event/src/LICENSE \
+	src/3rdparty/chromium/third_party/woff2/LICENSE \
+	src/3rdparty/chromium/third_party/lzma_sdk/LICENSE \
+	src/3rdparty/chromium/third_party/pdfium/third_party/bigint/LICENSE \
+	src/3rdparty/chromium/third_party/pdfium/third_party/pymock/LICENSE.txt \
+	src/3rdparty/chromium/third_party/pdfium/LICENSE \
+	src/3rdparty/chromium/third_party/tcmalloc/LICENSE \
+	src/3rdparty/chromium/third_party/x86inc/LICENSE \
+	src/3rdparty/chromium/third_party/mt19937ar/LICENSE \
+	src/3rdparty/chromium/third_party/closure_linter/LICENSE \
+	src/3rdparty/chromium/third_party/mesa/LICENSE \
+	src/3rdparty/chromium/third_party/mesa/src/src/gallium/drivers/radeon/LICENSE.TXT \
+	src/3rdparty/chromium/third_party/Python-Markdown/LICENSE.md \
+	src/3rdparty/chromium/third_party/jmake/LICENSE \
+	src/3rdparty/chromium/third_party/motemplate/LICENSE \
+	src/3rdparty/chromium/third_party/fontconfig/LICENSE \
+	src/3rdparty/chromium/third_party/iaccessible2/LICENSE \
+	src/3rdparty/chromium/third_party/class-dump/LICENSE \
+	src/3rdparty/chromium/third_party/icu/scripts/LICENSE \
+	src/3rdparty/chromium/third_party/icu/LICENSE \
+	src/3rdparty/chromium/third_party/webdriver/LICENSE \
+	src/3rdparty/chromium/third_party/libyuv/third_party/gflags/LICENSE \
+	src/3rdparty/chromium/third_party/libyuv/LICENSE \
+	src/3rdparty/chromium/third_party/libyuv/LICENSE_THIRD_PARTY \
+	src/3rdparty/chromium/third_party/hwcplus/LICENSE \
+	src/3rdparty/chromium/third_party/boringssl/src/third_party/android-cmake/LICENSE \
+	src/3rdparty/chromium/third_party/boringssl/src/LICENSE \
+	src/3rdparty/chromium/third_party/ffmpeg/LICENSE.md \
+	src/3rdparty/chromium/third_party/mozilla/LICENSE \
+	src/3rdparty/chromium/third_party/sqlite/LICENSE \
+	src/3rdparty/chromium/third_party/webrtc/LICENSE \
+	src/3rdparty/chromium/third_party/webrtc/LICENSE_THIRD_PARTY \
+	src/3rdparty/chromium/third_party/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/LICENSE \
+	src/3rdparty/chromium/third_party/webrtc/examples/androidapp/third_party/autobanh/LICENSE.md \
+	src/3rdparty/chromium/third_party/webrtc/examples/androidapp/third_party/autobanh/LICENSE \
+	src/3rdparty/chromium/third_party/khronos/LICENSE \
+	src/3rdparty/chromium/third_party/drmemory/LICENSE \
+	src/3rdparty/chromium/third_party/skia/platform_tools/android/third_party/ashmem/LICENSE \
+	src/3rdparty/chromium/third_party/skia/third_party/libpng/LICENSE \
+	src/3rdparty/chromium/third_party/skia/third_party/etc1/LICENSE \
+	src/3rdparty/chromium/third_party/skia/LICENSE \
+	src/3rdparty/chromium/third_party/javax_inject/LICENSE \
+	src/3rdparty/chromium/third_party/glslang/LICENSE \
+	src/3rdparty/chromium/third_party/robolectric/LICENSE \
+	src/3rdparty/chromium/third_party/netty4/LICENSE \
+	src/3rdparty/chromium/third_party/accessibility_test_framework/LICENSE \
+	src/3rdparty/chromium/third_party/libvpx/source/libvpx/third_party/x86inc/LICENSE \
+	src/3rdparty/chromium/third_party/libvpx/source/libvpx/third_party/googletest/src/LICENSE \
+	src/3rdparty/chromium/third_party/libvpx/source/libvpx/third_party/libwebm/LICENSE.TXT \
+	src/3rdparty/chromium/third_party/libvpx/source/libvpx/LICENSE \
+	src/3rdparty/chromium/third_party/sqlite4java/LICENSE \
+	src/3rdparty/chromium/third_party/libFuzzer/LICENSE.TXT \
+	src/3rdparty/chromium/third_party/jsoncpp/LICENSE \
+	src/3rdparty/chromium/third_party/haha/LICENSE \
+	src/3rdparty/chromium/third_party/hamcrest/LICENSE \
+	src/3rdparty/chromium/third_party/dom_distiller_js/LICENSE \
+	src/3rdparty/chromium/third_party/xdg-utils/LICENSE \
+	src/3rdparty/chromium/third_party/iccjpeg/LICENSE \
+	src/3rdparty/chromium/third_party/wds/LICENSE \
+	src/3rdparty/chromium/third_party/sinonjs/LICENSE \
+	src/3rdparty/chromium/third_party/mockito/LICENSE \
+	src/3rdparty/chromium/third_party/proguard/LICENSE \
+	src/3rdparty/chromium/third_party/web-animations-js/LICENSE \
+	src/3rdparty/chromium/third_party/molokocacao/LICENSE \
+	src/3rdparty/chromium/third_party/libXNVCtrl/LICENSE \
+	src/3rdparty/chromium/third_party/apple_apsl/LICENSE \
+	src/3rdparty/chromium/third_party/libsecret/LICENSE \
+	src/3rdparty/chromium/third_party/libwebp/LICENSE \
+	src/3rdparty/chromium/third_party/ply/LICENSE \
+	src/3rdparty/chromium/third_party/custom_tabs_client/LICENSE \
+	src/3rdparty/chromium/third_party/polymer/v1_0/components-chromium/polymer/LICENSE.txt \
+	src/3rdparty/chromium/third_party/markupsafe/LICENSE \
+	src/3rdparty/chromium/third_party/shaderc/LICENSE \
+	src/3rdparty/chromium/third_party/shaderc/src/third_party/LICENSE.glslang \
+	src/3rdparty/chromium/third_party/shaderc/src/third_party/LICENSE.spirv-tools \
+	src/3rdparty/chromium/third_party/shaderc/src/LICENSE \
+	src/3rdparty/chromium/third_party/libpng/LICENSE \
+	src/3rdparty/chromium/third_party/swiftshader/LICENSE \
+	src/3rdparty/chromium/third_party/ots/LICENSE \
+	src/3rdparty/chromium/third_party/mocha/LICENSE \
+	src/3rdparty/chromium/third_party/bspatch/LICENSE \
+	src/3rdparty/chromium/third_party/ub-uiautomator/LICENSE \
+	src/3rdparty/chromium/third_party/guava/LICENSE \
+	src/3rdparty/chromium/third_party/crashpad/crashpad/third_party/apple_cf/APPLE_LICENSE \
+	src/3rdparty/chromium/third_party/crashpad/crashpad/third_party/apple_cctools/cctools/APPLE_LICENSE \
+	src/3rdparty/chromium/third_party/crashpad/crashpad/third_party/getopt/LICENSE \
+	src/3rdparty/chromium/third_party/crashpad/crashpad/LICENSE \
+	src/3rdparty/chromium/third_party/grpc/third_party/rake-compiler-dock/LICENSE.txt \
+	src/3rdparty/chromium/third_party/grpc/LICENSE \
+	src/3rdparty/chromium/third_party/grpc/src/php/ext/grpc/LICENSE \
+	src/3rdparty/chromium/third_party/libjpeg/LICENSE \
+	src/3rdparty/chromium/third_party/re2/LICENSE \
+	src/3rdparty/chromium/third_party/re2/src/LICENSE \
+	src/3rdparty/chromium/third_party/catapult/tracing/third_party/jszip/LICENSE.markdown \
+	src/3rdparty/chromium/third_party/catapult/tracing/third_party/gl-matrix/LICENSE.md \
+	src/3rdparty/chromium/third_party/catapult/tracing/third_party/chai/LICENSE \
+	src/3rdparty/chromium/third_party/catapult/tracing/third_party/mocha/LICENSE \
+	src/3rdparty/chromium/third_party/catapult/tracing/third_party/css-element-queries/LICENSE \
+	src/3rdparty/chromium/third_party/catapult/tracing/third_party/d3/LICENSE \
+	src/3rdparty/chromium/third_party/catapult/third_party/py_vulcanize/third_party/rcssmin/bench/LICENSE.cssmin \
+	src/3rdparty/chromium/third_party/catapult/third_party/py_vulcanize/third_party/rcssmin/LICENSE \
+	src/3rdparty/chromium/third_party/catapult/third_party/py_vulcanize/third_party/rjsmin/LICENSE \
+	src/3rdparty/chromium/third_party/opus/src/LICENSE_PLEASE_READ.txt \
+	src/3rdparty/chromium/third_party/leakcanary/LICENSE \
+	src/3rdparty/chromium/third_party/flot/LICENSE.txt \
+	src/3rdparty/chromium/third_party/pexpect/LICENSE \
+	src/3rdparty/chromium/third_party/bintrees/LICENSE.txt \
+	src/3rdparty/chromium/third_party/usrsctp/LICENSE \
+	src/3rdparty/chromium/third_party/usrsctp/usrsctplib/LICENSE.md \
+	src/3rdparty/chromium/third_party/simplejson/LICENSE.txt \
+	src/3rdparty/chromium/third_party/wayland-protocols/LICENSE \
+	src/3rdparty/chromium/third_party/WebKit/LICENSE_FOR_ABOUT_CREDITS \
+	src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/cm_modes/LICENSE \
+	src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/cm/LICENSE \
+	src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/cm/LICENSE_python \
+	src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/acorn/LICENSE \
+	src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/gonzales/MIT-LICENSE.txt \
+	src/3rdparty/chromium/third_party/WebKit/Source/wtf/dtoa/LICENSE \
+	src/3rdparty/chromium/third_party/WebKit/Source/core/LICENSE-APPLE \
+	src/3rdparty/chromium/third_party/WebKit/Source/core/LICENSE-LGPL-2 \
+	src/3rdparty/chromium/third_party/WebKit/Source/core/LICENSE-LGPL-2.1 \
+	src/3rdparty/chromium/third_party/WebKit/LICENSE \
+	src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/tools/wptserve/LICENSE \
+	src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/tools/LICENSE \
+	src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/LICENSE \
+	src/3rdparty/chromium/third_party/libaddressinput/LICENSE \
+	src/3rdparty/chromium/third_party/libaddressinput/src/cpp/LICENSE.chromium \
+	src/3rdparty/chromium/third_party/libaddressinput/src/LICENSE \
+	src/3rdparty/chromium/third_party/brotli/LICENSE \
+	src/3rdparty/chromium/third_party/apache_velocity/LICENSE \
+	src/3rdparty/chromium/third_party/d3/src/LICENSE \
+	src/3rdparty/chromium/third_party/flatbuffers/LICENSE \
+	src/3rdparty/chromium/third_party/flatbuffers/src/LICENSE.txt \
+	src/3rdparty/chromium/third_party/openh264/src/LICENSE \
+	src/3rdparty/chromium/third_party/SPIRV-Tools/LICENSE \
+	src/3rdparty/chromium/third_party/SPIRV-Tools/src/LICENSE \
+	src/3rdparty/chromium/third_party/sudden_motion_sensor/LICENSE \
+	src/3rdparty/chromium/third_party/netty-tcnative/LICENSE \
+	src/3rdparty/chromium/third_party/bouncycastle/LICENSE \
+	src/3rdparty/chromium/third_party/icu4j/LICENSE \
+	src/3rdparty/chromium/third_party/libwebm/source/LICENSE.TXT \
+	src/3rdparty/chromium/third_party/jinja2/LICENSE \
+	src/3rdparty/chromium/third_party/v4l2capture/LICENSE \
+	src/3rdparty/chromium/third_party/ijar/LICENSE \
+	src/3rdparty/chromium/third_party/openmax_dl/LICENSE \
+	src/3rdparty/chromium/third_party/chaijs/LICENSE \
+	src/3rdparty/chromium/third_party/leveldatabase/src/LICENSE \
+	src/3rdparty/chromium/third_party/libsrtp/srtp/LICENSE \
+	src/3rdparty/chromium/third_party/libudev/LICENSE \
+	src/3rdparty/chromium/third_party/appurify-python/LICENSE \
+	src/3rdparty/chromium/third_party/espresso/LICENSE \
+	src/3rdparty/chromium/third_party/errorprone/LICENSE \
+	src/3rdparty/chromium/third_party/freetype2/src/docs/LICENSE.TXT \
+	src/3rdparty/chromium/third_party/pyftpdlib/src/LICENSE \
+	src/3rdparty/chromium/third_party/typ/LICENSE \
+	src/3rdparty/chromium/third_party/pycoverage/LICENSE \
+	src/3rdparty/chromium/third_party/qunit/LICENSE \
+	src/3rdparty/chromium/third_party/freetype-android/src/docs/LICENSE.TXT \
+	src/3rdparty/chromium/third_party/angle/LICENSE \
+	src/3rdparty/chromium/third_party/angle/src/third_party/murmurhash/LICENSE \
+	src/3rdparty/chromium/third_party/angle/src/third_party/libXNVCtrl/LICENSE \
+	src/3rdparty/chromium/third_party/angle/src/third_party/compiler/LICENSE \
+	src/3rdparty/chromium/third_party/libjpeg_turbo/LICENSE.md \
+	src/3rdparty/chromium/third_party/smhasher/LICENSE \
+	src/3rdparty/chromium/LICENSE.chromium_os \
+	src/3rdparty/chromium/tools/page_cycler/acid3/LICENSE \
+	src/3rdparty/chromium/tools/win/ChromeDebug/ChromeDebug/LICENSE \
+	src/3rdparty/chromium/tools/origin_trials/third_party/ed25519/LICENSE \
+	src/3rdparty/chromium/tools/gyp/LICENSE \
+	src/3rdparty/chromium/LICENSE \
+	src/3rdparty/chromium/mojo/public/LICENSE \
+	src/3rdparty/chromium/url/third_party/mozilla/LICENSE.txt \
+	src/3rdparty/chromium/ppapi/LICENSE \
+	src/3rdparty/chromium/net/third_party/nss/LICENSE \
+	src/3rdparty/chromium/net/third_party/mozilla_security_manager/LICENSE \
+	src/3rdparty/chromium/buildtools/third_party/libc++abi/trunk/LICENSE.TXT \
+	src/3rdparty/chromium/buildtools/third_party/libc++/trunk/LICENSE.TXT \
+	src/3rdparty/chromium/buildtools/LICENSE
diff --git a/package/qt5/qt5webengine/qt5webengine.hash b/package/qt5/qt5webengine/qt5webengine.hash
new file mode 100644
index 000000000..053021d6e
--- /dev/null
+++ b/package/qt5/qt5webengine/qt5webengine.hash
@@ -0,0 +1,5 @@
+# Hash from: http://download.qt.io/official_releases/qt/5.6/5.6.2/submodules/qtwebengine-opensource-src-5.6.2.tar.xz
+sha256 2f0a1648e1a8b22bad0134f2b37d69d185074393c398c1a3c6a83b910ff39740  qtwebengine-opensource-src-5.6.2.tar.xz
+
+# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtwebengine-opensource-src-5.8.0.tar.xz
+sha256 223d22f1660811e60677afe0a85f2f385823e25157689561489700c5d1da79be  qtwebengine-opensource-src-5.8.0.tar.xz
diff --git a/package/qt5/qt5webengine/qt5webengine.mk b/package/qt5/qt5webengine/qt5webengine.mk
new file mode 100644
index 000000000..e358cc4ea
--- /dev/null
+++ b/package/qt5/qt5webengine/qt5webengine.mk
@@ -0,0 +1,77 @@
+################################################################################
+#
+# qt5webengine
+#
+################################################################################
+
+QT5WEBENGINE_VERSION = $(QT5_VERSION)
+QT5WEBENGINE_SITE = $(QT5_SITE)
+QT5WEBENGINE_SOURCE = qtwebengine-opensource-src-$(QT5WEBENGINE_VERSION).tar.xz
+QT5WEBENGINE_DEPENDENCIES = qt5base qt5declarative qt5webchannel host-gperf \
+	host-python
+QT5WEBENGINE_INSTALL_STAGING = YES
+
+include package/qt5/qt5webengine/chromium.inc
+QT5WEBENGINE_LICENSE = GPL-2.0 or LGPL-3.0 or GPL-3.0 or GPL-3.0 with exception
+QT5WEBENGINE_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT \
+	LICENSE.GPLv3 LICENSE.LGPL3 $(CHROMIUM_LICENSE_FILES)
+
+ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y)
+QT5WEBENGINE_DEPENDENCIES += xlib_libXScrnSaver xlib_libXcomposite \
+	xlib_libXcursor xlib_libXi xlib_libXrandr xlib_libXtst
+endif
+
+ifeq ($(BR2_PACKAGE_QT5WEBENGINE_PROPRIETARY_CODECS),y)
+QMAKEFLAGS += WEBENGINE_CONFIG+=use_proprietary_codecs
+endif
+
+# QtWebengine's build system uses python, but only supports python2. We work
+# around this by forcing python2 early in the PATH, via a python->python2
+# symlink.
+QT5WEBENGINE_ENV = PATH=$(@D)/host-bin:$(BR_PATH)
+define QT5WEBENGINE_PYTHON2_SYMLINK
+	mkdir -p $(@D)/host-bin
+	ln -sf $(HOST_DIR)/usr/bin/python2 $(@D)/host-bin/python
+endef
+QT5WEBENGINE_PRE_CONFIGURE_HOOKS += QT5WEBENGINE_PYTHON2_SYMLINK
+
+define QT5WEBENGINE_CONFIGURE_CMDS
+	(cd $(@D); $(TARGET_MAKE_ENV) $(QT5WEBENGINE_ENV) $(HOST_DIR)/usr/bin/qmake $(QMAKEFLAGS))
+endef
+
+define QT5WEBENGINE_BUILD_CMDS
+	$(QT5WEBENGINE_ENV) $(MAKE) -C $(@D)
+endef
+
+define QT5WEBENGINE_INSTALL_STAGING_CMDS
+	$(TARGET_MAKE_ENV) $(QT5WEBENGINE_ENV) $(MAKE) -C $(@D) install
+	$(QT5_LA_PRL_FILES_FIXUP)
+endef
+
+define QT5WEBENGINE_INSTALL_TARGET_QMLS
+	cp -dpfr $(STAGING_DIR)/usr/qml/QtWebEngine $(TARGET_DIR)/usr/qml/
+endef
+
+ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
+define QT5WEBENGINE_INSTALL_TARGET_EXAMPLES
+	cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/webengine* $(TARGET_DIR)/usr/lib/qt/examples/
+endef
+endif
+
+ifneq ($(BR2_STATIC_LIBS),y)
+define QT5WEBENGINE_INSTALL_TARGET_LIBS
+	cp -dpf $(STAGING_DIR)/usr/lib/libQt5WebEngine*.so.* $(TARGET_DIR)/usr/lib
+	cp -dpf $(STAGING_DIR)/usr/libexec/QtWebEngineProcess $(TARGET_DIR)/usr/libexec/
+	cp -dpfr $(STAGING_DIR)/usr/resources/ $(TARGET_DIR)/usr/
+	mkdir -p $(TARGET_DIR)/usr/translations/qtwebengine_locales/
+	cp -dpfr $(STAGING_DIR)/usr/translations/qtwebengine_locales $(TARGET_DIR)/usr/translations/qtwebengine_locales/
+endef
+endif
+
+define QT5WEBENGINE_INSTALL_TARGET_CMDS
+	$(QT5WEBENGINE_INSTALL_TARGET_LIBS)
+	$(QT5WEBENGINE_INSTALL_TARGET_QMLS)
+	$(QT5WEBENGINE_INSTALL_TARGET_EXAMPLES)
+endef
+
+$(eval $(generic-package))
-- 
2.12.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 3/3] configs: new raspberrypi3 qt5 config
  2017-07-07  0:55 [Buildroot] [PATCH 0/3] Qt WebEngine support Gaël PORTAY
  2017-07-07  0:55 ` [Buildroot] [PATCH 1/3] rpi-userland: fix opengl library symlinks Gaël PORTAY
  2017-07-07  0:55 ` [Buildroot] [PATCH 2/3] qt5webengine: new package Gaël PORTAY
@ 2017-07-07  0:55 ` Gaël PORTAY
  2 siblings, 0 replies; 7+ messages in thread
From: Gaël PORTAY @ 2017-07-07  0:55 UTC (permalink / raw)
  To: buildroot

This config sets Qt WebEngine for raspberrypi 3.

Signed-off-by: Ga?l PORTAY <gael.portay@savoirfairelinux.com>
---
 configs/raspberrypi3_qt5_defconfig | 47 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
 create mode 100644 configs/raspberrypi3_qt5_defconfig

diff --git a/configs/raspberrypi3_qt5_defconfig b/configs/raspberrypi3_qt5_defconfig
new file mode 100644
index 000000000..119de3962
--- /dev/null
+++ b/configs/raspberrypi3_qt5_defconfig
@@ -0,0 +1,47 @@
+BR2_arm=y
+BR2_cortex_a7=y
+BR2_ARM_FPU_NEON_VFPV4=y
+
+BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
+BR2_TOOLCHAIN_BUILDROOT_CXX=y
+
+BR2_SYSTEM_DHCP="eth0"
+
+# Linux headers same as kernel, a 4.9 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
+
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="5e4ee836560d4c0371e109bf469e1ad808ae7a44"
+BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
+
+# Build the DTB from the kernel sources
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b bcm2710-rpi-cm3"
+
+# Build Qt WebEngine module
+BR2_PACKAGE_LIBERATION=y
+BR2_PACKAGE_QT5=y
+BR2_PACKAGE_QT5BASE_EXAMPLES=y
+BR2_PACKAGE_QT5QUICKCONTROLS=y
+BR2_PACKAGE_QT5WEBENGINE=y
+BR2_PACKAGE_QT5WEBENGINE_PROPRIETARY_CODECS=y
+BR2_PACKAGE_RPI_FIRMWARE=y
+BR2_PACKAGE_RPI_USERLAND=y
+BR2_PACKAGE_CA_CERTIFICATES=y
+BR2_PACKAGE_NTP=y
+
+# Required tools to create the SD image
+BR2_PACKAGE_HOST_DOSFSTOOLS=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_MTOOLS=y
+
+# Filesystem / image
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_BLOCKS=300000
+# BR2_TARGET_ROOTFS_TAR is not set
+BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3/post-build.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3/post-image.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="--add-pi3-miniuart-bt-overlay"
-- 
2.12.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 1/3] rpi-userland: fix opengl library symlinks
  2017-07-07  0:55 ` [Buildroot] [PATCH 1/3] rpi-userland: fix opengl library symlinks Gaël PORTAY
@ 2017-07-07 19:26   ` Gaël PORTAY
  0 siblings, 0 replies; 7+ messages in thread
From: Gaël PORTAY @ 2017-07-07 19:26 UTC (permalink / raw)
  To: buildroot

Hi all,

My bad, I forgot to update this patch.

I have a new version that avoid to break existing compiled binaries, and which
satisfies the needs for qtwebengine.

I have replaved the following code

	set_target_properties(
		GLESv2 PROPERTIES
		VERSION "2.0.0"
		SOVERSION "2"
	)

	set_target_properties(
		EGL PROPERTIES
		VERSION "1.0.0"
		SOVERSION "1"
	)

into

	set(DESTDIR \$ENV{DESTDIR})
	include(GNUInstallDirs)
	install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink libEGL.so ${DESTDIR}/${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/libEGL.so.1)")
	install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink libGLESv2.so ${DESTDIR}/${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/libGLESv2.so.2)")

I will update this in v2.

Regards,
Ga?l

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 2/3] qt5webengine: new package
  2017-07-07  0:55 ` [Buildroot] [PATCH 2/3] qt5webengine: new package Gaël PORTAY
@ 2017-07-10 12:02   ` Julien CORJON
  2017-07-10 21:01     ` Peter Seiderer
  0 siblings, 1 reply; 7+ messages in thread
From: Julien CORJON @ 2017-07-10 12:02 UTC (permalink / raw)
  To: buildroot

Ga?l,

I've not worked on qt5webengine integration since a while but here are 
few comments extracted from my pending work.

First i remembered to use following patch on libxml2 in order to get 
qt5webengine compiled (probably when libxslt is selected in BR)

diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk
index 2a7153ad1..866f6c45e 100644
--- a/package/libxml2/libxml2.mk
+++ b/package/libxml2/libxml2.mk
@@ -23,6 +23,13 @@ LIBXML2_DEPENDENCIES = host-pkgconf

  HOST_LIBXML2_CONF_OPTS = --without-zlib --without-lzma --without-python

+ifeq ($(BR2_PACKAGE_ICU),y)
+LIBXML2_DEPENDENCIES += icu
+LIBXML2_CONF_OPTS += --with-icu
+else
+LIBXML2_CONF_OPTS += --without-icu
+endif
+
  ifeq ($(BR2_PACKAGE_ZLIB),y)
  LIBXML2_DEPENDENCIES += zlib
  LIBXML2_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr

Le 07/07/2017 ? 02:55, Ga?l PORTAY a ?crit :
> This patch is based on works [1] and [2].
> 
> [1]: http://lists.busybox.net/pipermail/buildroot/2015-July/132010.html
> [2]: https://patchwork.ozlabs.org/patch/640633/
> 
> Signed-off-by: Ga?l PORTAY <gael.portay@savoirfairelinux.com>
> ---
>   package/qt5/Config.in                              |   1 +
>   .../qt5webengine/0001-change-default-ssl-dir.patch |  18 ++
>   package/qt5/qt5webengine/Config.in                 |  50 +++++
>   package/qt5/qt5webengine/chromium.inc              | 238 +++++++++++++++++++++
>   package/qt5/qt5webengine/qt5webengine.hash         |   5 +
>   package/qt5/qt5webengine/qt5webengine.mk           |  77 +++++++
>   6 files changed, 389 insertions(+)
>   create mode 100644 package/qt5/qt5webengine/0001-change-default-ssl-dir.patch
>   create mode 100644 package/qt5/qt5webengine/Config.in
>   create mode 100644 package/qt5/qt5webengine/chromium.inc
>   create mode 100644 package/qt5/qt5webengine/qt5webengine.hash
>   create mode 100644 package/qt5/qt5webengine/qt5webengine.mk
> 
> diff --git a/package/qt5/Config.in b/package/qt5/Config.in
> index cca04a6d3..7fabca272 100644
> --- a/package/qt5/Config.in
> +++ b/package/qt5/Config.in
> @@ -79,6 +79,7 @@ source "package/qt5/qt5tools/Config.in"
>   source "package/qt5/qt5virtualkeyboard/Config.in"
>   source "package/qt5/qt5webchannel/Config.in"
>   source "package/qt5/qt5webkit/Config.in"
> +source "package/qt5/qt5webengine/Config.in"
>   source "package/qt5/qt5websockets/Config.in"
>   source "package/qt5/qt5x11extras/Config.in"
>   source "package/qt5/qt5xmlpatterns/Config.in"
> diff --git a/package/qt5/qt5webengine/0001-change-default-ssl-dir.patch b/package/qt5/qt5webengine/0001-change-default-ssl-dir.patch
> new file mode 100644
> index 000000000..35cc1902a
> --- /dev/null
> +++ b/package/qt5/qt5webengine/0001-change-default-ssl-dir.patch
> @@ -0,0 +1,18 @@
> +Change the default SSL directory, as buildroot ca-cert package is
> +installed at /etc/ssl. That way, we don't have to use the SSL_CERT_DIR
> +environment at runtime.
> +
> +Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>

You should add you SoB here in order to comply with Buildroot license.

> +
> +diff -Nura qt5webengine-5.8.0.orig/src/core/qtwebengine_extras.gypi qt5webengine-5.8.0/src/core/qtwebengine_extras.gypi
> +--- qt5webengine-5.8.0.orig/src/core/qtwebengine_extras.gypi	2017-01-03 05:35:11.000000000 -0500
> ++++ qt5webengine-5.8.0/src/core/qtwebengine_extras.gypi	2017-03-03 16:24:34.947416678 -0500
> +@@ -103,7 +103,7 @@
> +             'GL_GLEXT_PROTOTYPES',
> +             'EGL_EGLEXT_PROTOTYPES',
> +             # At runtime the env variable SSL_CERT_DIR can be used to override this
> +-            'OPENSSLDIR="/usr/lib/ssl"',
> ++            'OPENSSLDIR="/etc/ssl"',
> +             'OPENSSL_LOAD_CONF',
> +             'EGL_API_FB=1',
> +             'LINUX=1',
> diff --git a/package/qt5/qt5webengine/Config.in b/package/qt5/qt5webengine/Config.in
> new file mode 100644
> index 000000000..cbc5e7f2e
> --- /dev/null
> +++ b/package/qt5/qt5webengine/Config.in
> @@ -0,0 +1,50 @@

qt5webengine have a lot of requirements :
   - GCC > 4.7 [1]
   - ARCH = i386 || x86-64 || arm || arm64 || mips || mips64 [2]

> +comment "qt5webengine needs an Open(E)GL-capable backend"
> +	depends on BR2_PACKAGE_QT5
> +	depends on !BR2_PACKAGE_QT5_GL_AVAILABLE || !BR2_PACKAGE_HAS_LIBEGL
> +
> +comment "qt5webengine is not yet buildable with Qt 5.6"
> +	depends on BR2_PACKAGE_QT5
> +	depends on !BR2_PACKAGE_QT5_GL_AVAILABLE || !BR2_PACKAGE_HAS_LIBEGL
> +	depends on BR2_PACKAGE_QT5_VERSION_5_6
> + > +config BR2_PACKAGE_QT5WEBENGINE
> +	bool "qt5webengine"
> +	depends on BR2_PACKAGE_QT5
> +	depends on BR2_PACKAGE_QT5_GL_AVAILABLE && BR2_PACKAGE_HAS_LIBEGL
> +	depends on !BR2_PACKAGE_QT5_VERSION_5_6
> +	select BR2_PACKAGE_LIBGLIB2
> +	select BR2_PACKAGE_QT5BASE
> +	select BR2_PACKAGE_QT5BASE_DBUS
> +	select BR2_PACKAGE_QT5BASE_FONTCONFIG
> +	select BR2_PACKAGE_QT5BASE_ICU
> +	select BR2_PACKAGE_QT5BASE_GUI
> +	select BR2_PACKAGE_QT5BASE_EGLFS
> +	select BR2_PACKAGE_QT5BASE_WIDGETS
> +	select BR2_PACKAGE_QT5DECLARATIVE
> +	select BR2_PACKAGE_QT5DECLARATIVE_QUICK
> +	select BR2_PACKAGE_QT5WEBCHANNEL
> +	select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_QT5BASE_XCB
> +	select BR2_PACKAGE_XLIB_LIBXCURSOR if BR2_PACKAGE_QT5BASE_XCB
> +	select BR2_PACKAGE_XLIB_LIBXI if BR2_PACKAGE_QT5BASE_XCB
> +	select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_QT5BASE_XCB
> +	select BR2_PACKAGE_XLIB_LIBXSCRNSAVER if BR2_PACKAGE_QT5BASE_XCB
> +	select BR2_PACKAGE_XLIB_LIBXTST if BR2_PACKAGE_QT5BASE_XCB
> +	help
> +	  The Qt WebEngine module provides a web browser engine that makes it
> +	  easy to embed content from the World Wide Web into your Qt application
> +	  on platforms that do not have a native web engine.
> +
> +	  Qt WebEngine provides C++ classes and QML types for rendering HTML,
> +	  XHTML, and SVG documents, styled using Cascading Style Sheets (CSS)
> +	  and scripted with JavaScript. HTML documents can be made fully
> +	  editable by the user through the use of the contenteditable attribute
> +	  on HTML elements.
> +
> +if BR2_PACKAGE_QT5WEBENGINE
> +config BR2_PACKAGE_QT5WEBENGINE_PROPRIETARY_CODECS
> +	bool "proprietary codecs"
> +	help
> +	  Qt WebEngine supports the MPEG-4 Part 14 (MP4) file format; which
> +	  includes required proprietary audio and video codecs, such as H.264
> +	  and MPEG layer-3 (MP3).
> +endif
> diff --git a/package/qt5/qt5webengine/chromium.inc b/package/qt5/qt5webengine/chromium.inc
> new file mode 100644
> index 000000000..14befcbf2
> --- /dev/null
> +++ b/package/qt5/qt5webengine/chromium.inc
> @@ -0,0 +1,238 @@
> +CHROMIUM_LICENSE_FILES = \
> +	src/3rdparty/chromium/chrome/third_party/chromevox/third_party/closure-library/LICENSE \
> +	src/3rdparty/chromium/chrome/third_party/chromevox/LICENSE \
> +	src/3rdparty/chromium/v8/LICENSE.strongtalk \
> +	src/3rdparty/chromium/v8/LICENSE.valgrind \
> +	src/3rdparty/chromium/v8/LICENSE.v8 \
> +	src/3rdparty/chromium/v8/LICENSE.fdlibm \
> +	src/3rdparty/chromium/v8/LICENSE \
> +	src/3rdparty/chromium/v8/src/third_party/vtune/LICENSE \
> +	src/3rdparty/chromium/v8/src/third_party/fdlibm/LICENSE \
> +	src/3rdparty/chromium/v8/src/third_party/valgrind/LICENSE \
> +	src/3rdparty/chromium/testing/gtest/LICENSE \
> +	src/3rdparty/chromium/testing/gmock/scripts/generator/LICENSE \
> +	src/3rdparty/chromium/testing/gmock/LICENSE \
> +	src/3rdparty/chromium/base/third_party/dynamic_annotations/LICENSE \
> +	src/3rdparty/chromium/base/third_party/nspr/LICENSE \
> +	src/3rdparty/chromium/base/third_party/libevent/LICENSE \
> +	src/3rdparty/chromium/base/third_party/icu/LICENSE \
> +	src/3rdparty/chromium/base/third_party/symbolize/LICENSE \
> +	src/3rdparty/chromium/base/third_party/dmg_fp/LICENSE \
> +	src/3rdparty/chromium/base/third_party/xdg_user_dirs/LICENSE \
> +	src/3rdparty/chromium/base/third_party/superfasthash/LICENSE \
> +	src/3rdparty/chromium/base/third_party/xdg_mime/LICENSE \
> +	src/3rdparty/chromium/base/third_party/valgrind/LICENSE \
> +	src/3rdparty/chromium/third_party/blimp_fonts/LICENSE.OFL \
> +	src/3rdparty/chromium/third_party/blimp_fonts/LICENSE \
> +	src/3rdparty/chromium/third_party/blimp_fonts/LICENSE.Apache \
> +	src/3rdparty/chromium/third_party/decklink/LICENSE \
> +	src/3rdparty/chromium/third_party/ced/LICENSE \
> +	src/3rdparty/chromium/third_party/ced/src/LICENSE \
> +	src/3rdparty/chromium/third_party/modp_b64/LICENSE \
> +	src/3rdparty/chromium/third_party/ow2_asm/LICENSE \
> +	src/3rdparty/chromium/third_party/isimpledom/LICENSE \
> +	src/3rdparty/chromium/third_party/minigbm/LICENSE \
> +	src/3rdparty/chromium/third_party/cros_system_api/MODULE_LICENSE_BSD \
> +	src/3rdparty/chromium/third_party/cros_system_api/LICENSE \
> +	src/3rdparty/chromium/third_party/gardiner_mod/LICENSE \
> +	src/3rdparty/chromium/third_party/tlslite/LICENSE \
> +	src/3rdparty/chromium/third_party/wayland/LICENSE \
> +	src/3rdparty/chromium/third_party/webpagereplay/third_party/ipfw_win32/LICENSE \
> +	src/3rdparty/chromium/third_party/webpagereplay/third_party/jsmin/LICENSE.txt \
> +	src/3rdparty/chromium/third_party/webpagereplay/third_party/dns/LICENSE \
> +	src/3rdparty/chromium/third_party/pyelftools/elftools/construct/LICENSE \
> +	src/3rdparty/chromium/third_party/pyelftools/LICENSE \
> +	src/3rdparty/chromium/third_party/closure_compiler/LICENSE \
> +	src/3rdparty/chromium/third_party/libsync/LICENSE \
> +	src/3rdparty/chromium/third_party/requests/LICENSE \
> +	src/3rdparty/chromium/third_party/mach_override/LICENSE \
> +	src/3rdparty/chromium/third_party/pymock/LICENSE.txt \
> +	src/3rdparty/chromium/third_party/cardboard-java/LICENSE \
> +	src/3rdparty/chromium/third_party/usb_ids/LICENSE \
> +	src/3rdparty/chromium/third_party/checkstyle/LICENSE \
> +	src/3rdparty/chromium/third_party/checkstyle/LICENSE.apache20 \
> +	src/3rdparty/chromium/third_party/apache-portable-runtime/LICENSE \
> +	src/3rdparty/chromium/third_party/zlib/LICENSE \
> +	src/3rdparty/chromium/third_party/protobuf/LICENSE \
> +	src/3rdparty/chromium/third_party/blanketjs/LICENSE \
> +	src/3rdparty/chromium/third_party/vulkan/LICENSE \
> +	src/3rdparty/chromium/third_party/pywebsocket/src/LICENSE \
> +	src/3rdparty/chromium/third_party/gif_player/LICENSE \
> +	src/3rdparty/chromium/third_party/py_trace_event/src/LICENSE \
> +	src/3rdparty/chromium/third_party/woff2/LICENSE \
> +	src/3rdparty/chromium/third_party/lzma_sdk/LICENSE \
> +	src/3rdparty/chromium/third_party/pdfium/third_party/bigint/LICENSE \
> +	src/3rdparty/chromium/third_party/pdfium/third_party/pymock/LICENSE.txt \
> +	src/3rdparty/chromium/third_party/pdfium/LICENSE \
> +	src/3rdparty/chromium/third_party/tcmalloc/LICENSE \
> +	src/3rdparty/chromium/third_party/x86inc/LICENSE \
> +	src/3rdparty/chromium/third_party/mt19937ar/LICENSE \
> +	src/3rdparty/chromium/third_party/closure_linter/LICENSE \
> +	src/3rdparty/chromium/third_party/mesa/LICENSE \
> +	src/3rdparty/chromium/third_party/mesa/src/src/gallium/drivers/radeon/LICENSE.TXT \
> +	src/3rdparty/chromium/third_party/Python-Markdown/LICENSE.md \
> +	src/3rdparty/chromium/third_party/jmake/LICENSE \
> +	src/3rdparty/chromium/third_party/motemplate/LICENSE \
> +	src/3rdparty/chromium/third_party/fontconfig/LICENSE \
> +	src/3rdparty/chromium/third_party/iaccessible2/LICENSE \
> +	src/3rdparty/chromium/third_party/class-dump/LICENSE \
> +	src/3rdparty/chromium/third_party/icu/scripts/LICENSE \
> +	src/3rdparty/chromium/third_party/icu/LICENSE \
> +	src/3rdparty/chromium/third_party/webdriver/LICENSE \
> +	src/3rdparty/chromium/third_party/libyuv/third_party/gflags/LICENSE \
> +	src/3rdparty/chromium/third_party/libyuv/LICENSE \
> +	src/3rdparty/chromium/third_party/libyuv/LICENSE_THIRD_PARTY \
> +	src/3rdparty/chromium/third_party/hwcplus/LICENSE \
> +	src/3rdparty/chromium/third_party/boringssl/src/third_party/android-cmake/LICENSE \
> +	src/3rdparty/chromium/third_party/boringssl/src/LICENSE \
> +	src/3rdparty/chromium/third_party/ffmpeg/LICENSE.md \
> +	src/3rdparty/chromium/third_party/mozilla/LICENSE \
> +	src/3rdparty/chromium/third_party/sqlite/LICENSE \
> +	src/3rdparty/chromium/third_party/webrtc/LICENSE \
> +	src/3rdparty/chromium/third_party/webrtc/LICENSE_THIRD_PARTY \
> +	src/3rdparty/chromium/third_party/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/LICENSE \
> +	src/3rdparty/chromium/third_party/webrtc/examples/androidapp/third_party/autobanh/LICENSE.md \
> +	src/3rdparty/chromium/third_party/webrtc/examples/androidapp/third_party/autobanh/LICENSE \
> +	src/3rdparty/chromium/third_party/khronos/LICENSE \
> +	src/3rdparty/chromium/third_party/drmemory/LICENSE \
> +	src/3rdparty/chromium/third_party/skia/platform_tools/android/third_party/ashmem/LICENSE \
> +	src/3rdparty/chromium/third_party/skia/third_party/libpng/LICENSE \
> +	src/3rdparty/chromium/third_party/skia/third_party/etc1/LICENSE \
> +	src/3rdparty/chromium/third_party/skia/LICENSE \
> +	src/3rdparty/chromium/third_party/javax_inject/LICENSE \
> +	src/3rdparty/chromium/third_party/glslang/LICENSE \
> +	src/3rdparty/chromium/third_party/robolectric/LICENSE \
> +	src/3rdparty/chromium/third_party/netty4/LICENSE \
> +	src/3rdparty/chromium/third_party/accessibility_test_framework/LICENSE \
> +	src/3rdparty/chromium/third_party/libvpx/source/libvpx/third_party/x86inc/LICENSE \
> +	src/3rdparty/chromium/third_party/libvpx/source/libvpx/third_party/googletest/src/LICENSE \
> +	src/3rdparty/chromium/third_party/libvpx/source/libvpx/third_party/libwebm/LICENSE.TXT \
> +	src/3rdparty/chromium/third_party/libvpx/source/libvpx/LICENSE \
> +	src/3rdparty/chromium/third_party/sqlite4java/LICENSE \
> +	src/3rdparty/chromium/third_party/libFuzzer/LICENSE.TXT \
> +	src/3rdparty/chromium/third_party/jsoncpp/LICENSE \
> +	src/3rdparty/chromium/third_party/haha/LICENSE \
> +	src/3rdparty/chromium/third_party/hamcrest/LICENSE \
> +	src/3rdparty/chromium/third_party/dom_distiller_js/LICENSE \
> +	src/3rdparty/chromium/third_party/xdg-utils/LICENSE \
> +	src/3rdparty/chromium/third_party/iccjpeg/LICENSE \
> +	src/3rdparty/chromium/third_party/wds/LICENSE \
> +	src/3rdparty/chromium/third_party/sinonjs/LICENSE \
> +	src/3rdparty/chromium/third_party/mockito/LICENSE \
> +	src/3rdparty/chromium/third_party/proguard/LICENSE \
> +	src/3rdparty/chromium/third_party/web-animations-js/LICENSE \
> +	src/3rdparty/chromium/third_party/molokocacao/LICENSE \
> +	src/3rdparty/chromium/third_party/libXNVCtrl/LICENSE \
> +	src/3rdparty/chromium/third_party/apple_apsl/LICENSE \
> +	src/3rdparty/chromium/third_party/libsecret/LICENSE \
> +	src/3rdparty/chromium/third_party/libwebp/LICENSE \
> +	src/3rdparty/chromium/third_party/ply/LICENSE \
> +	src/3rdparty/chromium/third_party/custom_tabs_client/LICENSE \
> +	src/3rdparty/chromium/third_party/polymer/v1_0/components-chromium/polymer/LICENSE.txt \
> +	src/3rdparty/chromium/third_party/markupsafe/LICENSE \
> +	src/3rdparty/chromium/third_party/shaderc/LICENSE \
> +	src/3rdparty/chromium/third_party/shaderc/src/third_party/LICENSE.glslang \
> +	src/3rdparty/chromium/third_party/shaderc/src/third_party/LICENSE.spirv-tools \
> +	src/3rdparty/chromium/third_party/shaderc/src/LICENSE \
> +	src/3rdparty/chromium/third_party/libpng/LICENSE \
> +	src/3rdparty/chromium/third_party/swiftshader/LICENSE \
> +	src/3rdparty/chromium/third_party/ots/LICENSE \
> +	src/3rdparty/chromium/third_party/mocha/LICENSE \
> +	src/3rdparty/chromium/third_party/bspatch/LICENSE \
> +	src/3rdparty/chromium/third_party/ub-uiautomator/LICENSE \
> +	src/3rdparty/chromium/third_party/guava/LICENSE \
> +	src/3rdparty/chromium/third_party/crashpad/crashpad/third_party/apple_cf/APPLE_LICENSE \
> +	src/3rdparty/chromium/third_party/crashpad/crashpad/third_party/apple_cctools/cctools/APPLE_LICENSE \
> +	src/3rdparty/chromium/third_party/crashpad/crashpad/third_party/getopt/LICENSE \
> +	src/3rdparty/chromium/third_party/crashpad/crashpad/LICENSE \
> +	src/3rdparty/chromium/third_party/grpc/third_party/rake-compiler-dock/LICENSE.txt \
> +	src/3rdparty/chromium/third_party/grpc/LICENSE \
> +	src/3rdparty/chromium/third_party/grpc/src/php/ext/grpc/LICENSE \
> +	src/3rdparty/chromium/third_party/libjpeg/LICENSE \
> +	src/3rdparty/chromium/third_party/re2/LICENSE \
> +	src/3rdparty/chromium/third_party/re2/src/LICENSE \
> +	src/3rdparty/chromium/third_party/catapult/tracing/third_party/jszip/LICENSE.markdown \
> +	src/3rdparty/chromium/third_party/catapult/tracing/third_party/gl-matrix/LICENSE.md \
> +	src/3rdparty/chromium/third_party/catapult/tracing/third_party/chai/LICENSE \
> +	src/3rdparty/chromium/third_party/catapult/tracing/third_party/mocha/LICENSE \
> +	src/3rdparty/chromium/third_party/catapult/tracing/third_party/css-element-queries/LICENSE \
> +	src/3rdparty/chromium/third_party/catapult/tracing/third_party/d3/LICENSE \
> +	src/3rdparty/chromium/third_party/catapult/third_party/py_vulcanize/third_party/rcssmin/bench/LICENSE.cssmin \
> +	src/3rdparty/chromium/third_party/catapult/third_party/py_vulcanize/third_party/rcssmin/LICENSE \
> +	src/3rdparty/chromium/third_party/catapult/third_party/py_vulcanize/third_party/rjsmin/LICENSE \
> +	src/3rdparty/chromium/third_party/opus/src/LICENSE_PLEASE_READ.txt \
> +	src/3rdparty/chromium/third_party/leakcanary/LICENSE \
> +	src/3rdparty/chromium/third_party/flot/LICENSE.txt \
> +	src/3rdparty/chromium/third_party/pexpect/LICENSE \
> +	src/3rdparty/chromium/third_party/bintrees/LICENSE.txt \
> +	src/3rdparty/chromium/third_party/usrsctp/LICENSE \
> +	src/3rdparty/chromium/third_party/usrsctp/usrsctplib/LICENSE.md \
> +	src/3rdparty/chromium/third_party/simplejson/LICENSE.txt \
> +	src/3rdparty/chromium/third_party/wayland-protocols/LICENSE \
> +	src/3rdparty/chromium/third_party/WebKit/LICENSE_FOR_ABOUT_CREDITS \
> +	src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/cm_modes/LICENSE \
> +	src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/cm/LICENSE \
> +	src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/cm/LICENSE_python \
> +	src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/acorn/LICENSE \
> +	src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/gonzales/MIT-LICENSE.txt \
> +	src/3rdparty/chromium/third_party/WebKit/Source/wtf/dtoa/LICENSE \
> +	src/3rdparty/chromium/third_party/WebKit/Source/core/LICENSE-APPLE \
> +	src/3rdparty/chromium/third_party/WebKit/Source/core/LICENSE-LGPL-2 \
> +	src/3rdparty/chromium/third_party/WebKit/Source/core/LICENSE-LGPL-2.1 \
> +	src/3rdparty/chromium/third_party/WebKit/LICENSE \
> +	src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/tools/wptserve/LICENSE \
> +	src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/tools/LICENSE \
> +	src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/LICENSE \
> +	src/3rdparty/chromium/third_party/libaddressinput/LICENSE \
> +	src/3rdparty/chromium/third_party/libaddressinput/src/cpp/LICENSE.chromium \
> +	src/3rdparty/chromium/third_party/libaddressinput/src/LICENSE \
> +	src/3rdparty/chromium/third_party/brotli/LICENSE \
> +	src/3rdparty/chromium/third_party/apache_velocity/LICENSE \
> +	src/3rdparty/chromium/third_party/d3/src/LICENSE \
> +	src/3rdparty/chromium/third_party/flatbuffers/LICENSE \
> +	src/3rdparty/chromium/third_party/flatbuffers/src/LICENSE.txt \
> +	src/3rdparty/chromium/third_party/openh264/src/LICENSE \
> +	src/3rdparty/chromium/third_party/SPIRV-Tools/LICENSE \
> +	src/3rdparty/chromium/third_party/SPIRV-Tools/src/LICENSE \
> +	src/3rdparty/chromium/third_party/sudden_motion_sensor/LICENSE \
> +	src/3rdparty/chromium/third_party/netty-tcnative/LICENSE \
> +	src/3rdparty/chromium/third_party/bouncycastle/LICENSE \
> +	src/3rdparty/chromium/third_party/icu4j/LICENSE \
> +	src/3rdparty/chromium/third_party/libwebm/source/LICENSE.TXT \
> +	src/3rdparty/chromium/third_party/jinja2/LICENSE \
> +	src/3rdparty/chromium/third_party/v4l2capture/LICENSE \
> +	src/3rdparty/chromium/third_party/ijar/LICENSE \
> +	src/3rdparty/chromium/third_party/openmax_dl/LICENSE \
> +	src/3rdparty/chromium/third_party/chaijs/LICENSE \
> +	src/3rdparty/chromium/third_party/leveldatabase/src/LICENSE \
> +	src/3rdparty/chromium/third_party/libsrtp/srtp/LICENSE \
> +	src/3rdparty/chromium/third_party/libudev/LICENSE \
> +	src/3rdparty/chromium/third_party/appurify-python/LICENSE \
> +	src/3rdparty/chromium/third_party/espresso/LICENSE \
> +	src/3rdparty/chromium/third_party/errorprone/LICENSE \
> +	src/3rdparty/chromium/third_party/freetype2/src/docs/LICENSE.TXT \
> +	src/3rdparty/chromium/third_party/pyftpdlib/src/LICENSE \
> +	src/3rdparty/chromium/third_party/typ/LICENSE \
> +	src/3rdparty/chromium/third_party/pycoverage/LICENSE \
> +	src/3rdparty/chromium/third_party/qunit/LICENSE \
> +	src/3rdparty/chromium/third_party/freetype-android/src/docs/LICENSE.TXT \
> +	src/3rdparty/chromium/third_party/angle/LICENSE \
> +	src/3rdparty/chromium/third_party/angle/src/third_party/murmurhash/LICENSE \
> +	src/3rdparty/chromium/third_party/angle/src/third_party/libXNVCtrl/LICENSE \
> +	src/3rdparty/chromium/third_party/angle/src/third_party/compiler/LICENSE \
> +	src/3rdparty/chromium/third_party/libjpeg_turbo/LICENSE.md \
> +	src/3rdparty/chromium/third_party/smhasher/LICENSE \
> +	src/3rdparty/chromium/LICENSE.chromium_os \
> +	src/3rdparty/chromium/tools/page_cycler/acid3/LICENSE \
> +	src/3rdparty/chromium/tools/win/ChromeDebug/ChromeDebug/LICENSE \
> +	src/3rdparty/chromium/tools/origin_trials/third_party/ed25519/LICENSE \
> +	src/3rdparty/chromium/tools/gyp/LICENSE \
> +	src/3rdparty/chromium/LICENSE \
> +	src/3rdparty/chromium/mojo/public/LICENSE \
> +	src/3rdparty/chromium/url/third_party/mozilla/LICENSE.txt \
> +	src/3rdparty/chromium/ppapi/LICENSE \
> +	src/3rdparty/chromium/net/third_party/nss/LICENSE \
> +	src/3rdparty/chromium/net/third_party/mozilla_security_manager/LICENSE \
> +	src/3rdparty/chromium/buildtools/third_party/libc++abi/trunk/LICENSE.TXT \
> +	src/3rdparty/chromium/buildtools/third_party/libc++/trunk/LICENSE.TXT \
> +	src/3rdparty/chromium/buildtools/LICENSE

Licencing is a mess, I'm almost sure that we can simplify it including 
only src/3rdparty/chromium/LICENSE (take a look at meta-qt5[3]).

> diff --git a/package/qt5/qt5webengine/qt5webengine.hash b/package/qt5/qt5webengine/qt5webengine.hash
> new file mode 100644
> index 000000000..053021d6e
> --- /dev/null
> +++ b/package/qt5/qt5webengine/qt5webengine.hash
> @@ -0,0 +1,5 @@
> +# Hash from: http://download.qt.io/official_releases/qt/5.6/5.6.2/submodules/qtwebengine-opensource-src-5.6.2.tar.xz

Hash is form : 
http://download.qt.io/official_releases/qt/5.6/5.6.2/submodules/qtwebengine-opensource-src-5.6.2.tar.xz.mirrorlist

> +sha256 2f0a1648e1a8b22bad0134f2b37d69d185074393c398c1a3c6a83b910ff39740  qtwebengine-opensource-src-5.6.2.tar.xz
> +
> +# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtwebengine-opensource-src-5.8.0.tar.xz

ditto

> +sha256 223d22f1660811e60677afe0a85f2f385823e25157689561489700c5d1da79be  qtwebengine-opensource-src-5.8.0.tar.xz
> diff --git a/package/qt5/qt5webengine/qt5webengine.mk b/package/qt5/qt5webengine/qt5webengine.mk
> new file mode 100644
> index 000000000..e358cc4ea
> --- /dev/null
> +++ b/package/qt5/qt5webengine/qt5webengine.mk
> @@ -0,0 +1,77 @@
> +################################################################################
> +#
> +# qt5webengine
> +#
> +################################################################################
> +
> +QT5WEBENGINE_VERSION = $(QT5_VERSION)
> +QT5WEBENGINE_SITE = $(QT5_SITE)
> +QT5WEBENGINE_SOURCE = qtwebengine-opensource-src-$(QT5WEBENGINE_VERSION).tar.xz
> +QT5WEBENGINE_DEPENDENCIES = qt5base qt5declarative qt5webchannel host-gperf \
> +	host-python
> +QT5WEBENGINE_INSTALL_STAGING = YES
> +
> +include package/qt5/qt5webengine/chromium.inc
> +QT5WEBENGINE_LICENSE = GPL-2.0 or LGPL-3.0 or GPL-3.0 or GPL-3.0 with exception
> +QT5WEBENGINE_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT \
> +	LICENSE.GPLv3 LICENSE.LGPL3 $(CHROMIUM_LICENSE_FILES)
> +
> +ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y)
> +QT5WEBENGINE_DEPENDENCIES += xlib_libXScrnSaver xlib_libXcomposite \
> +	xlib_libXcursor xlib_libXi xlib_libXrandr xlib_libXtst
> +endif
> +
> +ifeq ($(BR2_PACKAGE_QT5WEBENGINE_PROPRIETARY_CODECS),y)
> +QMAKEFLAGS += WEBENGINE_CONFIG+=use_proprietary_codecs
> +endif

In my previous work i worked on something like this :

+QT5WEBENGINE_DEPENDENCIES   += $(if $(BR2_PACKAGE_FLAC),flac)
+QT5WEBENGINE_CONFIGURE_OPTS += $(if 
$(BR2_PACKAGE_FLAC),WEBENGINE_CONFIG+=use_system_flac)
+
+QT5WEBENGINE_DEPENDENCIES   += $(if $(BR2_PACKAGE_FFMPEG),ffmpeg)
+QT5WEBENGINE_CONFIGURE_OPTS += $(if 
$(BR2_PACKAGE_FFMPEG),WEBENGINE_CONFIG+=use_system_ffmpeg)
+
+QT5WEBENGINE_DEPENDENCIES   += $(if $(BR2_PACKAGE_ICU),icu)
+QT5WEBENGINE_CONFIGURE_OPTS += $(if 
$(BR2_PACKAGE_ICU),WEBENGINE_CONFIG+=use_system_icu)
+
+QT5WEBENGINE_DEPENDENCIES   += $(if $(BR2_PACKAGE_JSONCPP),jsoncpp)
+QT5WEBENGINE_CONFIGURE_OPTS += $(if 
$(BR2_PACKAGE_JSONCPP),WEBENGINE_CONFIG+=use_system_jsoncpp)
+
+QT5WEBENGINE_DEPENDENCIES   += $(if $(BR2_PACKAGE_LIBEVENT),libevent)
+QT5WEBENGINE_CONFIGURE_OPTS += $(if 
$(BR2_PACKAGE_LIBEVENT),WEBENGINE_CONFIG+=use_system_libevent)
+
+QT5WEBENGINE_DEPENDENCIES   += $(if $(BR2_PACKAGE_LIBSRTP),libsrtp)
+QT5WEBENGINE_CONFIGURE_OPTS += $(if 
$(BR2_PACKAGE_LIBSRTP),WEBENGINE_CONFIG+=use_system_libsrtp)
+
+QT5WEBENGINE_DEPENDENCIES   += $(if $(BR2_PACKAGE_LIBVPX),libvpx)
+QT5WEBENGINE_CONFIGURE_OPTS += $(if 
$(BR2_PACKAGE_LIBVPX),WEBENGINE_CONFIG+=use_system_libvpx)
+
+QT5WEBENGINE_DEPENDENCIES   += $(if $(BR2_PACKAGE_LIBXSLT),libxslt)
+QT5WEBENGINE_CONFIGURE_OPTS += $(if 
$(BR2_PACKAGE_LIBXSLT),WEBENGINE_CONFIG+=use_system_libxslt)
+
+QT5WEBENGINE_DEPENDENCIES   += $(if $(BR2_PACKAGE_LIBNSS),libnss)
+QT5WEBENGINE_CONFIGURE_OPTS += $(if 
$(BR2_PACKAGE_LIBNSS),WEBENGINE_CONFIG+=use_nss)
+
+QT5WEBENGINE_DEPENDENCIES   += $(if $(BR2_PACKAGE_OPUS),opus)
+QT5WEBENGINE_CONFIGURE_OPTS += $(if 
$(BR2_PACKAGE_OPUS),WEBENGINE_CONFIG+=use_system_opus)
+
+QT5WEBENGINE_DEPENDENCIES   += $(if $(BR2_PACKAGE_PROTOBUF),protobuf)
+QT5WEBENGINE_CONFIGURE_OPTS += $(if 
$(BR2_PACKAGE_PROTOBUF),WEBENGINE_CONFIG+=use_system_protobuf)
+
+QT5WEBENGINE_DEPENDENCIES   += $(if $(BR2_PACKAGE_PULSEAUDIO),pulseaudio)
+QT5WEBENGINE_CONFIGURE_OPTS += $(if 
$(BR2_PACKAGE_PULSEAUDIO),WEBENGINE_CONFIG+=use_pulseaudio)
+
+QT5WEBENGINE_DEPENDENCIES   += $(if $(BR2_PACKAGE_SNAPPY),snappy)
+QT5WEBENGINE_CONFIGURE_OPTS += $(if 
$(BR2_PACKAGE_SNAPPY),WEBENGINE_CONFIG+=use_system_snappy)
+
+QT5WEBENGINE_DEPENDENCIES   += $(if $(BR2_PACKAGE_SPEEX),speex)
+QT5WEBENGINE_CONFIGURE_OPTS += $(if 
$(BR2_PACKAGE_SPEEX),WEBENGINE_CONFIG+=use_system_speex)
+
+QT5WEBENGINE_DEPENDENCIES   += $(if $(BR2_PACKAGE_WEBP_DEMUX),webp)
+QT5WEBENGINE_CONFIGURE_OPTS += $(if 
$(BR2_PACKAGE_WEBP_DEMUX),WEBENGINE_CONFIG+=use_system_libwebp)
+
+QT5WEBENGINE_DEPENDENCIES   += $(if $(BR2_PACKAGE_ALSA),alsa)
+QT5WEBENGINE_DEPENDENCIES   += $(if $(BR2_PACKAGE_MINIZIP),minizip)
+QT5WEBENGINE_DEPENDENCIES   += $(if $(BR2_PACKAGE_QT5LOCATION),qt5location)
+

> +
> +# QtWebengine's build system uses python, but only supports python2. We work
> +# around this by forcing python2 early in the PATH, via a python->python2
> +# symlink.
> +QT5WEBENGINE_ENV = PATH=$(@D)/host-bin:$(BR_PATH)
> +define QT5WEBENGINE_PYTHON2_SYMLINK
> +	mkdir -p $(@D)/host-bin
> +	ln -sf $(HOST_DIR)/usr/bin/python2 $(@D)/host-bin/python
> +endef
> +QT5WEBENGINE_PRE_CONFIGURE_HOOKS += QT5WEBENGINE_PYTHON2_SYMLINK
> +
> +define QT5WEBENGINE_CONFIGURE_CMDS
> +	(cd $(@D); $(TARGET_MAKE_ENV) $(QT5WEBENGINE_ENV) $(HOST_DIR)/usr/bin/qmake $(QMAKEFLAGS))
> +endef
> +
> +define QT5WEBENGINE_BUILD_CMDS
> +	$(QT5WEBENGINE_ENV) $(MAKE) -C $(@D)
> +endef
> +
> +define QT5WEBENGINE_INSTALL_STAGING_CMDS
> +	$(TARGET_MAKE_ENV) $(QT5WEBENGINE_ENV) $(MAKE) -C $(@D) install
> +	$(QT5_LA_PRL_FILES_FIXUP)
> +endef
> +
> +define QT5WEBENGINE_INSTALL_TARGET_QMLS
> +	cp -dpfr $(STAGING_DIR)/usr/qml/QtWebEngine $(TARGET_DIR)/usr/qml/
> +endef
> +
> +ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
> +define QT5WEBENGINE_INSTALL_TARGET_EXAMPLES
> +	cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/webengine* $(TARGET_DIR)/usr/lib/qt/examples/
> +endef
> +endif
> +
> +ifneq ($(BR2_STATIC_LIBS),y)
> +define QT5WEBENGINE_INSTALL_TARGET_LIBS
> +	cp -dpf $(STAGING_DIR)/usr/lib/libQt5WebEngine*.so.* $(TARGET_DIR)/usr/lib
> +	cp -dpf $(STAGING_DIR)/usr/libexec/QtWebEngineProcess $(TARGET_DIR)/usr/libexec/
> +	cp -dpfr $(STAGING_DIR)/usr/resources/ $(TARGET_DIR)/usr/
> +	mkdir -p $(TARGET_DIR)/usr/translations/qtwebengine_locales/
> +	cp -dpfr $(STAGING_DIR)/usr/translations/qtwebengine_locales $(TARGET_DIR)/usr/translations/qtwebengine_locales/
> +endef
> +endif
> +
> +define QT5WEBENGINE_INSTALL_TARGET_CMDS
> +	$(QT5WEBENGINE_INSTALL_TARGET_LIBS)
> +	$(QT5WEBENGINE_INSTALL_TARGET_QMLS)
> +	$(QT5WEBENGINE_INSTALL_TARGET_EXAMPLES)
> +endef
> +
> +$(eval $(generic-package))
> 

[1] http://doc.qt.io/qt-5/qtwebengine-platform-notes.html
[2] 
http://code.qt.io/cgit/qt/qtwebengine.git/tree/mkspecs/features/functions.prf#n81
[3] 
https://github.com/meta-qt5/meta-qt5/blob/master/recipes-qt/qt5/qtwebengine_git.bb

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 2/3] qt5webengine: new package
  2017-07-10 12:02   ` Julien CORJON
@ 2017-07-10 21:01     ` Peter Seiderer
  0 siblings, 0 replies; 7+ messages in thread
From: Peter Seiderer @ 2017-07-10 21:01 UTC (permalink / raw)
  To: buildroot

Hello Julien, *,

On Mon, 10 Jul 2017 12:02:57 +0000, Julien CORJON <corjon.j@ecagroup.com> wrote:

[...]
> > diff --git a/package/qt5/qt5webengine/chromium.inc b/package/qt5/qt5webengine/chromium.inc
> > new file mode 100644
> > index 000000000..14befcbf2
> > --- /dev/null
> > +++ b/package/qt5/qt5webengine/chromium.inc
> > @@ -0,0 +1,238 @@
> > +CHROMIUM_LICENSE_FILES = \
> > +	src/3rdparty/chromium/chrome/third_party/chromevox/third_party/closure-library/LICENSE \
> > +	src/3rdparty/chromium/chrome/third_party/chromevox/LICENSE \
> > +	src/3rdparty/chromium/v8/LICENSE.strongtalk \
> > +	src/3rdparty/chromium/v8/LICENSE.valgrind \
> > +	src/3rdparty/chromium/v8/LICENSE.v8 \
> > +	src/3rdparty/chromium/v8/LICENSE.fdlibm \
> > +	src/3rdparty/chromium/v8/LICENSE \
> > +	src/3rdparty/chromium/v8/src/third_party/vtune/LICENSE \
> > +	src/3rdparty/chromium/v8/src/third_party/fdlibm/LICENSE \
> > +	src/3rdparty/chromium/v8/src/third_party/valgrind/LICENSE \
> > +	src/3rdparty/chromium/testing/gtest/LICENSE \
> > +	src/3rdparty/chromium/testing/gmock/scripts/generator/LICENSE \
> > +	src/3rdparty/chromium/testing/gmock/LICENSE \
> > +	src/3rdparty/chromium/base/third_party/dynamic_annotations/LICENSE \
> > +	src/3rdparty/chromium/base/third_party/nspr/LICENSE \
> > +	src/3rdparty/chromium/base/third_party/libevent/LICENSE \
> > +	src/3rdparty/chromium/base/third_party/icu/LICENSE \
> > +	src/3rdparty/chromium/base/third_party/symbolize/LICENSE \
> > +	src/3rdparty/chromium/base/third_party/dmg_fp/LICENSE \
> > +	src/3rdparty/chromium/base/third_party/xdg_user_dirs/LICENSE \
> > +	src/3rdparty/chromium/base/third_party/superfasthash/LICENSE \
> > +	src/3rdparty/chromium/base/third_party/xdg_mime/LICENSE \
> > +	src/3rdparty/chromium/base/third_party/valgrind/LICENSE \
> > +	src/3rdparty/chromium/third_party/blimp_fonts/LICENSE.OFL \
> > +	src/3rdparty/chromium/third_party/blimp_fonts/LICENSE \
> > +	src/3rdparty/chromium/third_party/blimp_fonts/LICENSE.Apache \
> > +	src/3rdparty/chromium/third_party/decklink/LICENSE \
> > +	src/3rdparty/chromium/third_party/ced/LICENSE \
> > +	src/3rdparty/chromium/third_party/ced/src/LICENSE \
> > +	src/3rdparty/chromium/third_party/modp_b64/LICENSE \
> > +	src/3rdparty/chromium/third_party/ow2_asm/LICENSE \
> > +	src/3rdparty/chromium/third_party/isimpledom/LICENSE \
> > +	src/3rdparty/chromium/third_party/minigbm/LICENSE \
> > +	src/3rdparty/chromium/third_party/cros_system_api/MODULE_LICENSE_BSD \
> > +	src/3rdparty/chromium/third_party/cros_system_api/LICENSE \
> > +	src/3rdparty/chromium/third_party/gardiner_mod/LICENSE \
> > +	src/3rdparty/chromium/third_party/tlslite/LICENSE \
> > +	src/3rdparty/chromium/third_party/wayland/LICENSE \
> > +	src/3rdparty/chromium/third_party/webpagereplay/third_party/ipfw_win32/LICENSE \
> > +	src/3rdparty/chromium/third_party/webpagereplay/third_party/jsmin/LICENSE.txt \
> > +	src/3rdparty/chromium/third_party/webpagereplay/third_party/dns/LICENSE \
> > +	src/3rdparty/chromium/third_party/pyelftools/elftools/construct/LICENSE \
> > +	src/3rdparty/chromium/third_party/pyelftools/LICENSE \
> > +	src/3rdparty/chromium/third_party/closure_compiler/LICENSE \
> > +	src/3rdparty/chromium/third_party/libsync/LICENSE \
> > +	src/3rdparty/chromium/third_party/requests/LICENSE \
> > +	src/3rdparty/chromium/third_party/mach_override/LICENSE \
> > +	src/3rdparty/chromium/third_party/pymock/LICENSE.txt \
> > +	src/3rdparty/chromium/third_party/cardboard-java/LICENSE \
> > +	src/3rdparty/chromium/third_party/usb_ids/LICENSE \
> > +	src/3rdparty/chromium/third_party/checkstyle/LICENSE \
> > +	src/3rdparty/chromium/third_party/checkstyle/LICENSE.apache20 \
> > +	src/3rdparty/chromium/third_party/apache-portable-runtime/LICENSE \
> > +	src/3rdparty/chromium/third_party/zlib/LICENSE \
> > +	src/3rdparty/chromium/third_party/protobuf/LICENSE \
> > +	src/3rdparty/chromium/third_party/blanketjs/LICENSE \
> > +	src/3rdparty/chromium/third_party/vulkan/LICENSE \
> > +	src/3rdparty/chromium/third_party/pywebsocket/src/LICENSE \
> > +	src/3rdparty/chromium/third_party/gif_player/LICENSE \
> > +	src/3rdparty/chromium/third_party/py_trace_event/src/LICENSE \
> > +	src/3rdparty/chromium/third_party/woff2/LICENSE \
> > +	src/3rdparty/chromium/third_party/lzma_sdk/LICENSE \
> > +	src/3rdparty/chromium/third_party/pdfium/third_party/bigint/LICENSE \
> > +	src/3rdparty/chromium/third_party/pdfium/third_party/pymock/LICENSE.txt \
> > +	src/3rdparty/chromium/third_party/pdfium/LICENSE \
> > +	src/3rdparty/chromium/third_party/tcmalloc/LICENSE \
> > +	src/3rdparty/chromium/third_party/x86inc/LICENSE \
> > +	src/3rdparty/chromium/third_party/mt19937ar/LICENSE \
> > +	src/3rdparty/chromium/third_party/closure_linter/LICENSE \
> > +	src/3rdparty/chromium/third_party/mesa/LICENSE \
> > +	src/3rdparty/chromium/third_party/mesa/src/src/gallium/drivers/radeon/LICENSE.TXT \
> > +	src/3rdparty/chromium/third_party/Python-Markdown/LICENSE.md \
> > +	src/3rdparty/chromium/third_party/jmake/LICENSE \
> > +	src/3rdparty/chromium/third_party/motemplate/LICENSE \
> > +	src/3rdparty/chromium/third_party/fontconfig/LICENSE \
> > +	src/3rdparty/chromium/third_party/iaccessible2/LICENSE \
> > +	src/3rdparty/chromium/third_party/class-dump/LICENSE \
> > +	src/3rdparty/chromium/third_party/icu/scripts/LICENSE \
> > +	src/3rdparty/chromium/third_party/icu/LICENSE \
> > +	src/3rdparty/chromium/third_party/webdriver/LICENSE \
> > +	src/3rdparty/chromium/third_party/libyuv/third_party/gflags/LICENSE \
> > +	src/3rdparty/chromium/third_party/libyuv/LICENSE \
> > +	src/3rdparty/chromium/third_party/libyuv/LICENSE_THIRD_PARTY \
> > +	src/3rdparty/chromium/third_party/hwcplus/LICENSE \
> > +	src/3rdparty/chromium/third_party/boringssl/src/third_party/android-cmake/LICENSE \
> > +	src/3rdparty/chromium/third_party/boringssl/src/LICENSE \
> > +	src/3rdparty/chromium/third_party/ffmpeg/LICENSE.md \
> > +	src/3rdparty/chromium/third_party/mozilla/LICENSE \
> > +	src/3rdparty/chromium/third_party/sqlite/LICENSE \
> > +	src/3rdparty/chromium/third_party/webrtc/LICENSE \
> > +	src/3rdparty/chromium/third_party/webrtc/LICENSE_THIRD_PARTY \
> > +	src/3rdparty/chromium/third_party/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/LICENSE \
> > +	src/3rdparty/chromium/third_party/webrtc/examples/androidapp/third_party/autobanh/LICENSE.md \
> > +	src/3rdparty/chromium/third_party/webrtc/examples/androidapp/third_party/autobanh/LICENSE \
> > +	src/3rdparty/chromium/third_party/khronos/LICENSE \
> > +	src/3rdparty/chromium/third_party/drmemory/LICENSE \
> > +	src/3rdparty/chromium/third_party/skia/platform_tools/android/third_party/ashmem/LICENSE \
> > +	src/3rdparty/chromium/third_party/skia/third_party/libpng/LICENSE \
> > +	src/3rdparty/chromium/third_party/skia/third_party/etc1/LICENSE \
> > +	src/3rdparty/chromium/third_party/skia/LICENSE \
> > +	src/3rdparty/chromium/third_party/javax_inject/LICENSE \
> > +	src/3rdparty/chromium/third_party/glslang/LICENSE \
> > +	src/3rdparty/chromium/third_party/robolectric/LICENSE \
> > +	src/3rdparty/chromium/third_party/netty4/LICENSE \
> > +	src/3rdparty/chromium/third_party/accessibility_test_framework/LICENSE \
> > +	src/3rdparty/chromium/third_party/libvpx/source/libvpx/third_party/x86inc/LICENSE \
> > +	src/3rdparty/chromium/third_party/libvpx/source/libvpx/third_party/googletest/src/LICENSE \
> > +	src/3rdparty/chromium/third_party/libvpx/source/libvpx/third_party/libwebm/LICENSE.TXT \
> > +	src/3rdparty/chromium/third_party/libvpx/source/libvpx/LICENSE \
> > +	src/3rdparty/chromium/third_party/sqlite4java/LICENSE \
> > +	src/3rdparty/chromium/third_party/libFuzzer/LICENSE.TXT \
> > +	src/3rdparty/chromium/third_party/jsoncpp/LICENSE \
> > +	src/3rdparty/chromium/third_party/haha/LICENSE \
> > +	src/3rdparty/chromium/third_party/hamcrest/LICENSE \
> > +	src/3rdparty/chromium/third_party/dom_distiller_js/LICENSE \
> > +	src/3rdparty/chromium/third_party/xdg-utils/LICENSE \
> > +	src/3rdparty/chromium/third_party/iccjpeg/LICENSE \
> > +	src/3rdparty/chromium/third_party/wds/LICENSE \
> > +	src/3rdparty/chromium/third_party/sinonjs/LICENSE \
> > +	src/3rdparty/chromium/third_party/mockito/LICENSE \
> > +	src/3rdparty/chromium/third_party/proguard/LICENSE \
> > +	src/3rdparty/chromium/third_party/web-animations-js/LICENSE \
> > +	src/3rdparty/chromium/third_party/molokocacao/LICENSE \
> > +	src/3rdparty/chromium/third_party/libXNVCtrl/LICENSE \
> > +	src/3rdparty/chromium/third_party/apple_apsl/LICENSE \
> > +	src/3rdparty/chromium/third_party/libsecret/LICENSE \
> > +	src/3rdparty/chromium/third_party/libwebp/LICENSE \
> > +	src/3rdparty/chromium/third_party/ply/LICENSE \
> > +	src/3rdparty/chromium/third_party/custom_tabs_client/LICENSE \
> > +	src/3rdparty/chromium/third_party/polymer/v1_0/components-chromium/polymer/LICENSE.txt \
> > +	src/3rdparty/chromium/third_party/markupsafe/LICENSE \
> > +	src/3rdparty/chromium/third_party/shaderc/LICENSE \
> > +	src/3rdparty/chromium/third_party/shaderc/src/third_party/LICENSE.glslang \
> > +	src/3rdparty/chromium/third_party/shaderc/src/third_party/LICENSE.spirv-tools \
> > +	src/3rdparty/chromium/third_party/shaderc/src/LICENSE \
> > +	src/3rdparty/chromium/third_party/libpng/LICENSE \
> > +	src/3rdparty/chromium/third_party/swiftshader/LICENSE \
> > +	src/3rdparty/chromium/third_party/ots/LICENSE \
> > +	src/3rdparty/chromium/third_party/mocha/LICENSE \
> > +	src/3rdparty/chromium/third_party/bspatch/LICENSE \
> > +	src/3rdparty/chromium/third_party/ub-uiautomator/LICENSE \
> > +	src/3rdparty/chromium/third_party/guava/LICENSE \
> > +	src/3rdparty/chromium/third_party/crashpad/crashpad/third_party/apple_cf/APPLE_LICENSE \
> > +	src/3rdparty/chromium/third_party/crashpad/crashpad/third_party/apple_cctools/cctools/APPLE_LICENSE \
> > +	src/3rdparty/chromium/third_party/crashpad/crashpad/third_party/getopt/LICENSE \
> > +	src/3rdparty/chromium/third_party/crashpad/crashpad/LICENSE \
> > +	src/3rdparty/chromium/third_party/grpc/third_party/rake-compiler-dock/LICENSE.txt \
> > +	src/3rdparty/chromium/third_party/grpc/LICENSE \
> > +	src/3rdparty/chromium/third_party/grpc/src/php/ext/grpc/LICENSE \
> > +	src/3rdparty/chromium/third_party/libjpeg/LICENSE \
> > +	src/3rdparty/chromium/third_party/re2/LICENSE \
> > +	src/3rdparty/chromium/third_party/re2/src/LICENSE \
> > +	src/3rdparty/chromium/third_party/catapult/tracing/third_party/jszip/LICENSE.markdown \
> > +	src/3rdparty/chromium/third_party/catapult/tracing/third_party/gl-matrix/LICENSE.md \
> > +	src/3rdparty/chromium/third_party/catapult/tracing/third_party/chai/LICENSE \
> > +	src/3rdparty/chromium/third_party/catapult/tracing/third_party/mocha/LICENSE \
> > +	src/3rdparty/chromium/third_party/catapult/tracing/third_party/css-element-queries/LICENSE \
> > +	src/3rdparty/chromium/third_party/catapult/tracing/third_party/d3/LICENSE \
> > +	src/3rdparty/chromium/third_party/catapult/third_party/py_vulcanize/third_party/rcssmin/bench/LICENSE.cssmin \
> > +	src/3rdparty/chromium/third_party/catapult/third_party/py_vulcanize/third_party/rcssmin/LICENSE \
> > +	src/3rdparty/chromium/third_party/catapult/third_party/py_vulcanize/third_party/rjsmin/LICENSE \
> > +	src/3rdparty/chromium/third_party/opus/src/LICENSE_PLEASE_READ.txt \
> > +	src/3rdparty/chromium/third_party/leakcanary/LICENSE \
> > +	src/3rdparty/chromium/third_party/flot/LICENSE.txt \
> > +	src/3rdparty/chromium/third_party/pexpect/LICENSE \
> > +	src/3rdparty/chromium/third_party/bintrees/LICENSE.txt \
> > +	src/3rdparty/chromium/third_party/usrsctp/LICENSE \
> > +	src/3rdparty/chromium/third_party/usrsctp/usrsctplib/LICENSE.md \
> > +	src/3rdparty/chromium/third_party/simplejson/LICENSE.txt \
> > +	src/3rdparty/chromium/third_party/wayland-protocols/LICENSE \
> > +	src/3rdparty/chromium/third_party/WebKit/LICENSE_FOR_ABOUT_CREDITS \
> > +	src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/cm_modes/LICENSE \
> > +	src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/cm/LICENSE \
> > +	src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/cm/LICENSE_python \
> > +	src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/acorn/LICENSE \
> > +	src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/gonzales/MIT-LICENSE.txt \
> > +	src/3rdparty/chromium/third_party/WebKit/Source/wtf/dtoa/LICENSE \
> > +	src/3rdparty/chromium/third_party/WebKit/Source/core/LICENSE-APPLE \
> > +	src/3rdparty/chromium/third_party/WebKit/Source/core/LICENSE-LGPL-2 \
> > +	src/3rdparty/chromium/third_party/WebKit/Source/core/LICENSE-LGPL-2.1 \
> > +	src/3rdparty/chromium/third_party/WebKit/LICENSE \
> > +	src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/tools/wptserve/LICENSE \
> > +	src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/tools/LICENSE \
> > +	src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/LICENSE \
> > +	src/3rdparty/chromium/third_party/libaddressinput/LICENSE \
> > +	src/3rdparty/chromium/third_party/libaddressinput/src/cpp/LICENSE.chromium \
> > +	src/3rdparty/chromium/third_party/libaddressinput/src/LICENSE \
> > +	src/3rdparty/chromium/third_party/brotli/LICENSE \
> > +	src/3rdparty/chromium/third_party/apache_velocity/LICENSE \
> > +	src/3rdparty/chromium/third_party/d3/src/LICENSE \
> > +	src/3rdparty/chromium/third_party/flatbuffers/LICENSE \
> > +	src/3rdparty/chromium/third_party/flatbuffers/src/LICENSE.txt \
> > +	src/3rdparty/chromium/third_party/openh264/src/LICENSE \
> > +	src/3rdparty/chromium/third_party/SPIRV-Tools/LICENSE \
> > +	src/3rdparty/chromium/third_party/SPIRV-Tools/src/LICENSE \
> > +	src/3rdparty/chromium/third_party/sudden_motion_sensor/LICENSE \
> > +	src/3rdparty/chromium/third_party/netty-tcnative/LICENSE \
> > +	src/3rdparty/chromium/third_party/bouncycastle/LICENSE \
> > +	src/3rdparty/chromium/third_party/icu4j/LICENSE \
> > +	src/3rdparty/chromium/third_party/libwebm/source/LICENSE.TXT \
> > +	src/3rdparty/chromium/third_party/jinja2/LICENSE \
> > +	src/3rdparty/chromium/third_party/v4l2capture/LICENSE \
> > +	src/3rdparty/chromium/third_party/ijar/LICENSE \
> > +	src/3rdparty/chromium/third_party/openmax_dl/LICENSE \
> > +	src/3rdparty/chromium/third_party/chaijs/LICENSE \
> > +	src/3rdparty/chromium/third_party/leveldatabase/src/LICENSE \
> > +	src/3rdparty/chromium/third_party/libsrtp/srtp/LICENSE \
> > +	src/3rdparty/chromium/third_party/libudev/LICENSE \
> > +	src/3rdparty/chromium/third_party/appurify-python/LICENSE \
> > +	src/3rdparty/chromium/third_party/espresso/LICENSE \
> > +	src/3rdparty/chromium/third_party/errorprone/LICENSE \
> > +	src/3rdparty/chromium/third_party/freetype2/src/docs/LICENSE.TXT \
> > +	src/3rdparty/chromium/third_party/pyftpdlib/src/LICENSE \
> > +	src/3rdparty/chromium/third_party/typ/LICENSE \
> > +	src/3rdparty/chromium/third_party/pycoverage/LICENSE \
> > +	src/3rdparty/chromium/third_party/qunit/LICENSE \
> > +	src/3rdparty/chromium/third_party/freetype-android/src/docs/LICENSE.TXT \
> > +	src/3rdparty/chromium/third_party/angle/LICENSE \
> > +	src/3rdparty/chromium/third_party/angle/src/third_party/murmurhash/LICENSE \
> > +	src/3rdparty/chromium/third_party/angle/src/third_party/libXNVCtrl/LICENSE \
> > +	src/3rdparty/chromium/third_party/angle/src/third_party/compiler/LICENSE \
> > +	src/3rdparty/chromium/third_party/libjpeg_turbo/LICENSE.md \
> > +	src/3rdparty/chromium/third_party/smhasher/LICENSE \
> > +	src/3rdparty/chromium/LICENSE.chromium_os \
> > +	src/3rdparty/chromium/tools/page_cycler/acid3/LICENSE \
> > +	src/3rdparty/chromium/tools/win/ChromeDebug/ChromeDebug/LICENSE \
> > +	src/3rdparty/chromium/tools/origin_trials/third_party/ed25519/LICENSE \
> > +	src/3rdparty/chromium/tools/gyp/LICENSE \
> > +	src/3rdparty/chromium/LICENSE \
> > +	src/3rdparty/chromium/mojo/public/LICENSE \
> > +	src/3rdparty/chromium/url/third_party/mozilla/LICENSE.txt \
> > +	src/3rdparty/chromium/ppapi/LICENSE \
> > +	src/3rdparty/chromium/net/third_party/nss/LICENSE \
> > +	src/3rdparty/chromium/net/third_party/mozilla_security_manager/LICENSE \
> > +	src/3rdparty/chromium/buildtools/third_party/libc++abi/trunk/LICENSE.TXT \
> > +	src/3rdparty/chromium/buildtools/third_party/libc++/trunk/LICENSE.TXT \
> > +	src/3rdparty/chromium/buildtools/LICENSE
> 
> Licencing is a mess, I'm almost sure that we can simplify it including 
> only src/3rdparty/chromium/LICENSE (take a look at meta-qt5[3]).
> 

Maybe the yocto meta-qt5 layer is smart enough to use only yocto provided libraries
(I do not believe so)?

Otherwise there is no difference regarding the license requirements in case
provided inside qtwebengine or outside qtwebengine (as buildroot package),
you should list all licenses for the used (sub-)packages...

Regards,
Peter


> [3] 
> https://github.com/meta-qt5/meta-qt5/blob/master/recipes-qt/qt5/qtwebengine_git.bb

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-07-10 21:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-07  0:55 [Buildroot] [PATCH 0/3] Qt WebEngine support Gaël PORTAY
2017-07-07  0:55 ` [Buildroot] [PATCH 1/3] rpi-userland: fix opengl library symlinks Gaël PORTAY
2017-07-07 19:26   ` Gaël PORTAY
2017-07-07  0:55 ` [Buildroot] [PATCH 2/3] qt5webengine: new package Gaël PORTAY
2017-07-10 12:02   ` Julien CORJON
2017-07-10 21:01     ` Peter Seiderer
2017-07-07  0:55 ` [Buildroot] [PATCH 3/3] configs: new raspberrypi3 qt5 config Gaël PORTAY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox