From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:53694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVgsP-0001MZ-GZ for guix-patches@gnu.org; Tue, 28 May 2019 14:31:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVgsL-0005td-NP for guix-patches@gnu.org; Tue, 28 May 2019 14:31:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43549) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVgsH-0005rK-Pr for guix-patches@gnu.org; Tue, 28 May 2019 14:31:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hVgsH-0002Qb-Iv for guix-patches@gnu.org; Tue, 28 May 2019 14:31:01 -0400 Subject: [bug#35866] [PATCH] gnu: Add qtwebengine. Resent-Message-ID: From: mrosset@bufio.org References: <20190523062344.20601-1-mrosset@bufio.org> <87zhn7pq0r.fsf@gnu.org> Date: Tue, 28 May 2019 10:48:52 -0700 In-Reply-To: <87zhn7pq0r.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 27 May 2019 23:05:08 +0200") Message-ID: <87y32qii63.fsf@bufio.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: mike.rosset@gmail.com, 35866@debbugs.gnu.org Ludovic Court=C3=A8s writes: Hello Ludovic, thank you for looking at this. > > looks pretty exciting, which > motivates me to take a look at this patch. :-) This is my motivation for having this included with guix. the main URL is https://savannah.nongnu.org/projects/nomad/ and the main source is http://git.savannah.nongnu.org/cgit/nomad.git?h=3Dfeature-qt. Development is currently being done on the feature-qt branch. Nomad is still very much WIP. And some early documentation can be found here. http://git.savannah.nongnu.org/cgit/nomad.git/tree/org/README.txt?h= =3Dfeature-qt. In short Nomad is an extensible web browser that uses GNU guile as it's extension language. And is heavily modeled after Emacs. >> + (synopsis "Qt5WebEngine") >> + (description "Qt5WebEngine provides support for web >> +applications using the Chromium browser project.") > > As you may know, Guix contains a variant of =E2=80=98ungoogled-chromium= =E2=80=99, which > goes to great lengths to remove non-free software, DRM support, spyware, = etc. > > The problem is that QtWebEngine bundles Chromium. We would need to > =E2=80=9Cunbundle=E2=80=9D it and/or replace it with =E2=80=98ungoogled-c= hromium=E2=80=99. I=E2=80=99m not sure > how hard that is. I have done some research as to how best to handle the chromium sources that are distributed with qtwebengine. From my understanding so far. QT has similar goals as ungoogle-chromium. Based off of the information found here https://wiki.qt.io/QtWebEngine. Binaries are stripped from source tree. Services that talk to Google are removed. And the code is refactored to use system libraries like OpenSSL. There is a more in depth break down on the chromium rebase process found here. https://wiki.qt.io/QtWebEngine/Rebase_on_New_Chromium . It seems to me that QT is already doing the right thing here. Unfortunately I don't think it will be easy to reuse the ungoogle-chrome code base. It would probably require manually re-basing then applying qt patches. Also there is no clear benefit for it. Since updating ungoogle-chromium would not directly benefit qtwebengine. In short QT seems to already be doing the necessary work. I can though now, do my best to ensure that the least amount of 3rd party libraries are used. I'll update my patch as soon as possible. And I will explore the chromium source issue more in the process. Regards, Mike Rosset