Changeset a7787e3


Ignore:
Timestamp:
07/22/2024 03:57:57 PM (8 weeks ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
12.2, lazarus, trunk, xry111/for-12.3, xry111/spidermonkey128
Children:
3981c8d
Parents:
1d706cd2
Message:

Allow QtWebEngine to use the system version of ffmpeg.

This required a patch and a sed to work correctly, the patch being
required for ffmpeg support and the sed being because the BLFS build of
ffmpeg does not use OpenH264

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r1d706cd2 ra7787e3  
    4242      <para>July 22nd, 2024</para>
    4343      <itemizedlist>
     44        <listitem>
     45          <para>[renodr] - Adapt QtWebEngine to use system ffmpeg. Fixes
     46          <ulink url="&blfs-ticket-root;20102">#20102</ulink>.</para>
     47        </listitem>
    4448        <listitem>
    4549          <para>[bdubbs] - Update to intel-media-24.2.5/intel-gmmlib-22.4.1. Fixes
  • x/lib/qtwebengine.xml

    r1d706cd2 ra7787e3  
    115115    </itemizedlist>
    116116
    117 <!--
    118117    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    119118    <itemizedlist spacing="compact">
     119          <!-- keep links for releases and git versions as a reminder
     120               that the tarball names names differ
     121          <ulink url="&patch-root;/qtwebengine-everywhere-src-&qtwebengine-version;-ICU68-2.patch"/>-->
     122          <!--<ulink url="&patch-root;/qtwebengine-&qtwebengine-version;-5.15.7-1.patch"/>-->
    120123      <listitem>
    121124        <para>
    122125          Required patch:
    123           <!\-\- keep links for releases and git versions as a reminder
    124                that the tarball names names differ
    125           <ulink url="&patch-root;/qtwebengine-everywhere-src-&qtwebengine-version;-ICU68-2.patch"/> \-\->
    126 
    127           <ulink url="&patch-root;/qtwebengine-&qtwebengine-version;-5.15.7-1.patch"/>
    128         </para>
    129       </listitem>
    130       <listitem>
    131         <para>
    132           Required patch:
    133           <ulink url="&patch-root;/qtwebengine-&qtwebengine-version;-build_fixes-2.patch"/>
    134         </para>
    135       </listitem>
    136       <listitem>
    137         <para>
    138           Required patch:
    139           <ulink url="&patch-root;/qtwebengine-&qtwebengine-version;-ffmpeg5_fixes-1.patch"/>
    140         </para>
    141       </listitem>
    142  
    143       <listitem>
    144         <para>
    145           Required patch:
    146           <ulink url="&patch-root;/qtwebengine-&qtwebengine-version;-icu_73-1.patch"/>
     126          <ulink url="&patch-root;/qtwebengine-&qtwebengine-version;-ffmpeg7_fixes-1.patch"/>
    147127        </para>
    148128      </listitem>
    149129    </itemizedlist>
    150 -->
     130
    151131
    152132    <bridgehead renderas="sect3">qtwebengine Dependencies</bridgehead>
     
    197177  <sect2 role="installation">
    198178    <title>Installation of qtwebengine</title>
     179
     180    <para>
     181     First, adapt the bundled copy of Chromium to the latest version of ffmpeg:
     182    </para>
     183
     184<screen><userinput remap="pre">patch -Np1 -d src/3rdparty/chromium &lt; ../qtwebengine-&qtwebengine-version;-ffmpeg7_fixes-1.patch</userinput></screen>
     185
     186    <para>
     187      Next, fix a build failure that occurs because the BLFS build of ffmpeg
     188      does not use OpenH264:
     189    </para>
     190
     191<screen><userinput remap="pre">sed -e '189 s/=/&amp; false/' \
     192    -e '190 d'            \
     193    -i.orig src/3rdparty/chromium/third_party/webrtc/webrtc.gni</userinput></screen>
     194
    199195    <para>
    200196      Install <application>qtwebengine</application> by running the following
     
    202198    </para>
    203199
    204 
    205 <!-- Note to whoever is updating this next, test to see if it FTBFS/Runtime Errors with
    206 system FFMpeg, I can't get it to work on 6.7.0 and FFMpeg 7.0 [rahul] -->
    207200<screen><userinput>mkdir build &amp;&amp;
    208201cd    build &amp;&amp;
    209202
    210203cmake -D CMAKE_MESSAGE_LOG_LEVEL=STATUS             \
    211       -D QT_FEATURE_webengine_system_ffmpeg=OFF     \
     204      -D QT_FEATURE_webengine_system_ffmpeg=ON      \
    212205      -D QT_FEATURE_webengine_system_icu=ON         \
    213206      -D QT_FEATURE_webengine_system_libevent=ON    \
Note: See TracChangeset for help on using the changeset viewer.