Changeset 3fde159 for x/lib


Ignore:
Timestamp:
11/05/2023 03:00:44 PM (6 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
34165e6b
Parents:
39eb0f1
Message:

qtwebengine: Fix building w/o system ffmpeg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/lib/qtwebengine.xml

    r39eb0f1 r3fde159  
    352352
    353353    <para>
    354       Apply a patch that resolves problems when building with ffmpeg-5 and later:
     354      If building with system <xref linkend='ffmpeg'/> as the editors
     355      recommand, apply a patch that resolves problems when building with
     356      ffmpeg-5 and later:
    355357    </para>
    356358
    357359<screen><userinput remap="pre">patch -Np1 -i ../qtwebengine-&qtwebengine-version;-ffmpeg5_fixes-1.patch</userinput></screen>
    358 <!--
    359     <para>
    360       Apply a patch that resolves problems when building with icu-73 and later:
    361     </para>
    362 
    363 <screen><userinput remap="pre">patch -Np1 -i ../qtwebengine-&qtwebengine-version;-icu_73-1.patch</userinput></screen>
    364 
    365 -->
     360
     361    <!-- The ffmpeg commit effadce6c756247ea8bae32dc13bb3e6f464f0eb
     362         already in system ffmpeg, but not this old shipped copy.
     363         Not marked nodump because it won't affect the build with system
     364         ffmpeg anyway.  -->
     365    <para>
     366      Otherwise, fix an issue in shipped ffmpeg causing it fail to build
     367      with Binutils 2.41 or later:
     368    </para>
     369
     370<screen><userinput remap="pre">sed 's/(uint8_t)\(([^)]*)\|shift\)/\1 \&amp; 0x1F/' \
     371    -i src/3rdparty/chromium/third_party/ffmpeg/libavcodec/x86/mathops.h</userinput></screen>
     372
    366373<!-- start of commands for git versions only -->
    367374    <para>
     
    512519      system icu is automatically used (only) by Qt5Core if it is available, but
    513520      unless this option is used webengine will always use its shipped copy of icu,
    514       adding time and space to the build.
     521      adding time and space to the build.  Remove the
     522      <parameter>-system-ffmpeg</parameter> switch if you don't have
     523      <xref linkend='ffmpeg'/> installed and want to build this package
     524      with an internal copy of ffmpeg.
    515525    </para>
    516526
Note: See TracChangeset for help on using the changeset viewer.