All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Tammana, Gowtham" <g-tammana@ti.com>
To: Denys Dmytriyenko <denis@denix.org>,
	"meta-arago@arago-project.org" <meta-arago@arago-project.org>
Cc: Denys Dmytriyenko <denys@konsulko.com>
Subject: Re: [EXTERNAL] [dunfell/master][PATCH 4/4] qtwebengine: fix building latest qtwebengine with meta-python2
Date: Wed, 24 Mar 2021 14:30:24 +0000	[thread overview]
Message-ID: <6fdbcfdcaf3c488b901199e9397815ed@ti.com> (raw)
In-Reply-To: <1616534107-46438-4-git-send-email-denis@denix.org>



>-----Original Message-----
>From: meta-arago-bounces@arago-project.org <meta-arago-bounces@arago-
>project.org> On Behalf Of Denys Dmytriyenko
>Sent: Tuesday, March 23, 2021 4:15 PM
>To: meta-arago@arago-project.org
>Cc: Denys Dmytriyenko <denys@konsulko.com>
>Subject: [EXTERNAL] [meta-arago] [dunfell/master][PATCH 4/4] qtwebengine:
>fix building latest qtwebengine with meta-python2
>
>From: Denys Dmytriyenko <denys@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 <denys@konsulko.com>

Reviewed-by: Gowtham Tammana <g-tammana@ti.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-ruei1@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-ruei1@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	other threads:[~2021-03-24 14:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-23 21:15 [dunfell/master][PATCH 1/4] chromium: apply bbappend with fix dynamically based on "browser-layer" presence Denys Dmytriyenko
2021-03-23 21:15 ` [dunfell/master][PATCH 2/4] images/packagegroups: add extra browser-layer check when including chromium Denys Dmytriyenko
2021-03-24 22:44   ` [EXTERNAL] " Tammana, Gowtham
2021-03-23 21:15 ` [dunfell/master][PATCH 3/4] chromium: fix building of version 75 against more recent pulseaudio Denys Dmytriyenko
2021-03-23 21:15 ` [dunfell/master][PATCH 4/4] qtwebengine: fix building latest qtwebengine with meta-python2 Denys Dmytriyenko
2021-03-24 14:30   ` Tammana, Gowtham [this message]
2021-05-03 21:12 ` [dunfell/master][PATCH 1/4] chromium: apply bbappend with fix dynamically based on "browser-layer" presence Denys Dmytriyenko
2021-05-03 21:29   ` Bajjuri, Praneeth
2021-05-03 21:32     ` Denys Dmytriyenko
2021-05-03 21:37       ` Bajjuri, Praneeth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6fdbcfdcaf3c488b901199e9397815ed@ti.com \
    --to=g-tammana@ti.com \
    --cc=denis@denix.org \
    --cc=denys@konsulko.com \
    --cc=meta-arago@arago-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.