Author: renodr
Date: Wed Jul 24 07:49:55 2019
New Revision: 21859

Log:
Fix QtWebEngine's background rendering and multimedia crash problems, as well 
as adapt it to Linux 5.2+ API
Typo fix in 'Notes on Building Software'

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/important/building-notes.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/x/lib/qtwebengine.xml

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent      Tue Jul 23 20:31:03 2019        (r21858)
+++ trunk/BOOK/general.ent      Wed Jul 24 07:49:55 2019        (r21859)
@@ -1,12 +1,12 @@
 <!-- $LastChangedBy$ $Date$ -->
 
-<!ENTITY day          "23">                   <!-- Always 2 digits -->
+<!ENTITY day          "24">                   <!-- Always 2 digits -->
 <!ENTITY month        "07">                   <!-- Always 2 digits -->
 <!ENTITY year         "2019">
 <!ENTITY copyrightdate "2001-&year;">
 <!ENTITY copyholder   "The BLFS Development Team">
 <!ENTITY version      "&year;-&month;-&day;">
-<!ENTITY releasedate  "July 23rd, &year;">
+<!ENTITY releasedate  "July 24th, &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
 <!ENTITY lfs-version  "development">          <!-- x.y|development -->

Modified: trunk/BOOK/introduction/important/building-notes.xml
==============================================================================
--- trunk/BOOK/introduction/important/building-notes.xml        Tue Jul 23 
20:31:03 2019        (r21858)
+++ trunk/BOOK/introduction/important/building-notes.xml        Wed Jul 24 
07:49:55 2019        (r21859)
@@ -724,7 +724,7 @@
       <para>
         Even on desktop systems, there are still a lot of exploitable
         vulnerabilities. For many of these, the attack comes via javascript
-        in a browser. Often, a seris of vulnerabilities are used to gain
+        in a browser. Often, a series of vulnerabilities are used to gain
         access to data (or sometimes to pwn, i.e. own, the machine and
         install rootkits).  Most commercial distros will apply various
         hardening measures.

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Tue Jul 23 20:31:03 
2019        (r21858)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Wed Jul 24 07:49:55 
2019        (r21859)
@@ -40,7 +40,19 @@
         </listitem>
       </itemizedlist>
     </listitem>
-    -->
+       -->
+    <listitem>
+      <para>July 24th, 2019</para>
+      <itemizedlist>
+        <listitem>
+          <para>[renodr] - Adapt QtWebEngine to API changes in Linux 5.2+ and
+          fix background rendering issues in Falkon, as well as crashes on
+          multimedia heavy sites.
+          <ulink url="&blfs-ticket-root;12296">#12296</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>July 23rd, 2019</para>
       <itemizedlist>

Modified: trunk/BOOK/x/lib/qtwebengine.xml
==============================================================================
--- trunk/BOOK/x/lib/qtwebengine.xml    Tue Jul 23 20:31:03 2019        (r21858)
+++ trunk/BOOK/x/lib/qtwebengine.xml    Wed Jul 24 07:49:55 2019        (r21859)
@@ -95,17 +95,16 @@
       </listitem>
     </itemizedlist>
 
-<!-- The patch is not needed anymore for 5.12.1
     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     <itemizedlist spacing="compact">
       <listitem>
         <para>
-          Required patch (if building on i686):
-          <ulink 
url="&patch-root;/qtwebengine-&qtwebengine-version;-i686_alignof_fix-1.patch"/>
+          Required patch:
+          <ulink 
url="&patch-root;/qtwebengine-&qtwebengine-version;-background_rendering_fix-1.patch"/>
         </para>
       </listitem>
     </itemizedlist>
--->
+
     <bridgehead renderas="sect3">qtwebengine Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -161,6 +160,13 @@
   xargs sed -i -e 's|INCLUDEPATH += |&amp;$$QTWEBENGINE_ROOT/include 
|'</userinput></screen>
 
     <para>
+      Next, apply a patch that fixes background rendering issues in Falkon,
+      and crashes on multimedia-heavy sites.
+    </para>
+
+<screen><userinput remap="pre">patch -Np1 -i 
../qtwebengine-&qtwebengine-version;-background_rendering_fix-1.patch</userinput></screen>
+    
+    <para>
       If an older version of the package's main library has been installed,
       when the package is built separately it will link to that in preference
       to its own not-yet-installed version, and fail because of missing 
symbols.
@@ -172,22 +178,14 @@
   mv -v ${QT5DIR}/lib/libQtWebEngineCore.so{,.old}
 fi</userinput></screen>
 
-<!-- Not needed for 5.12.1
-    <para>
-      If you are building on a 32-bit i686 system, GCC changed the alignof
-      operator to optimize the ABI. Unfortunately, this makes the alignof()
-      operator return an incorrect number (4 instead of 8). Apply a patch to
-      fix this:
-    </para>
-
-<screen><userinput>patch -Np1 -i 
../qtwebengine-&qtwebengine-version;-i686_alignof_fix-1.patch</userinput></screen>
--->
     <para>
       Install <application>qtwebengine</application> by running the following
       commands:
     </para>
 
-<screen><userinput>mkdir build &amp;&amp;
+<screen><userinput>sed -i 's/SIOCGSTAMP/0x8906/' \
+src/3rdparty/chromium/third_party/webrtc/rtc_base/physical_socket_server.cc 
&amp;&amp;
+mkdir build &amp;&amp;
 cd    build &amp;&amp;
 
 qmake .. -- -system-ffmpeg -webengine-icu &amp;&amp;
@@ -246,6 +244,9 @@
       to the build.
     </para>
 
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
+       href="../../xincludes/SIOCGSTAMP.xml"/>
+
     <para>
       <option>NINJAJOBS=4 make</option>: If you patched system ninja in LFS to
       recognize the NINJAJOBS environment variable, this command will run 
system
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to