From: Denys Dmytriyenko <de...@konsulko.com>

When meta-python2 (dunfell) layer is present, qtwebengine can be built.

Enable "examples" flag to package them into qtwebengine-examples package.

Drop old inappropriate patch that no longer applies to Qt 5.14

Signed-off-by: Denys Dmytriyenko <de...@konsulko.com>
---
 meta-arago-distro/conf/distro/arago.conf           |  1 +
 ...-set-default-logging-level-back-to-LOG_FA.patch | 47 ----------------------
 .../recipes-qt/qt5/qtwebengine_git.bbappend        |  1 -
 3 files changed, 1 insertion(+), 48 deletions(-)
 delete mode 100644 
meta-arago-distro/recipes-qt/qt5/qtwebengine/0002-qtwebengine-set-default-logging-level-back-to-LOG_FA.patch

diff --git a/meta-arago-distro/conf/distro/arago.conf 
b/meta-arago-distro/conf/distro/arago.conf
index 7c70281..206e65e 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -132,6 +132,7 @@ PACKAGECONFIG_append_pn-qtscript = " examples"
 PACKAGECONFIG_append_pn-qtserialport = " examples"
 PACKAGECONFIG_append_pn-qtsvg = " examples"
 PACKAGECONFIG_append_pn-qtwayland = " examples"
+PACKAGECONFIG_append_pn-qtwebengine = " examples"
 
 # Prefer OpenSSL over GnuTLS for curl due to TSU exemptions
 PACKAGECONFIG_pn-curl = "${@bb.utils.contains("DISTRO_FEATURES", "ipv6", 
"ipv6", "", d)} ssl zlib"
diff --git 
a/meta-arago-distro/recipes-qt/qt5/qtwebengine/0002-qtwebengine-set-default-logging-level-back-to-LOG_FA.patch
 
b/meta-arago-distro/recipes-qt/qt5/qtwebengine/0002-qtwebengine-set-default-logging-level-back-to-LOG_FA.patch
deleted file mode 100644
index 1486d17..0000000
--- 
a/meta-arago-distro/recipes-qt/qt5/qtwebengine/0002-qtwebengine-set-default-logging-level-back-to-LOG_FA.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 7e2a1b06447693c588a0608cef22636bc6edb466 Mon Sep 17 00:00:00 2001
-From: Eric Ruei <e-ru...@ti.com>
-Date: Thu, 25 May 2017 16:55:38 -0400
-Subject: [PATCH 2/3] qtwebengine: set default logging level back to LOG_FATAL
-
-Suppress info, warning and error messages by default to be consistent
-with QT5.6.2 behavior
-
-Upstream-Status: Inappropriate
-It is clear that this workaround reverses the course of QT, but we do need
-this change as described above.
-
-Signed-off-by: Eric Ruei <e-ru...@ti.com>
----
- src/core/content_main_delegate_qt.cpp | 9 ++++++++-
- 1 file changed, 8 insertions(+), 1 deletion(-)
-
-diff --git a/src/core/content_main_delegate_qt.cpp 
b/src/core/content_main_delegate_qt.cpp
-index 8bd07ef..6d8cfb1 100644
---- a/src/core/content_main_delegate_qt.cpp
-+++ b/src/core/content_main_delegate_qt.cpp
-@@ -111,14 +111,21 @@ void ContentMainDelegateQt::PreSandboxStartup()
-     settings.logging_dest = DetermineLogMode(*parsedCommandLine);
-     logging::InitLogging(settings);
- 
-+    // Suppress info, warning and error messages per default.
-+    int logLevel = logging::LOG_FATAL;
-+
-     if (logging::GetMinLogLevel() >= logging::LOG_INFO) {
-         if (parsedCommandLine->HasSwitch(switches::kLoggingLevel)) {
-             std::string logLevelValue = 
parsedCommandLine->GetSwitchValueASCII(switches::kLoggingLevel);
-             int level = 0;
-             if (base::StringToInt(logLevelValue, &level) && level >= 
logging::LOG_INFO && level < logging::LOG_NUM_SEVERITIES)
--                logging::SetMinLogLevel(level);
-+                logLevel = level;
-+                //logging::SetMinLogLevel(level);
-         }
-     }
-+
-+    logging::SetMinLogLevel(logLevel);
-+
- }
- 
- content::ContentBrowserClient 
*ContentMainDelegateQt::CreateContentBrowserClient()
--- 
-1.9.1
-
diff --git a/meta-arago-distro/recipes-qt/qt5/qtwebengine_git.bbappend 
b/meta-arago-distro/recipes-qt/qt5/qtwebengine_git.bbappend
index 28ff601..c50b020 100644
--- a/meta-arago-distro/recipes-qt/qt5/qtwebengine_git.bbappend
+++ b/meta-arago-distro/recipes-qt/qt5/qtwebengine_git.bbappend
@@ -2,7 +2,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 PR_append = ".arago1"
 
 SRC_URI += " \
-    file://0002-qtwebengine-set-default-logging-level-back-to-LOG_FA.patch \
     file://0003-qtwebengine-HACK-disable-SECCOMP-BPF-Sandbox-at-star.patch \
 "
 
-- 
2.7.4

_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to