Changeset 96a0bdc3 for x/lib


Ignore:
Timestamp:
06/20/2024 04:27:33 AM (3 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.2, gimp3, lazarus, trunk, xry111/for-12.3, xry111/spidermonkey128
Children:
829cbf1a
Parents:
8087ca44
git-author:
Xi Ruoyao <xry111@…> (06/20/2024 04:19:18 AM)
git-committer:
Xi Ruoyao <xry111@…> (06/20/2024 04:27:33 AM)
Message:

qt5: Remove qtlocation

Let's just get rid of this particularly problematic module instead of
using a long list of sed's.

Note that "s;c++14;c++17;" is just incorrect: mapbox-gl-native really
uses C++ features *removed* (not simply "deprecated") in C++ 17. Thus
it just happens to work and it may break any time when we update GCC
again. And it's bad from the educational perspective to tell the users
doing this.

Also remove it from the qt5-component page. The qt5-component page
already says if qtlocation is needed it will be mentioned explicitly in
the dependency section, and "grep qtlocation" returns nothing else than
the qt5-component page itself. This suggests nothing in BLFS ever needs
qtlocation so removing it shouldn't cause any trouble (we can revert if
something unexpected happens...)

Location:
x/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • x/lib/qt5-components.xml

    r8087ca44 r96a0bdc3  
    125125      These are
    126126      <emphasis role="bold">qtimageformats</emphasis>,
    127       <emphasis role="bold">qtlocation</emphasis>,
    128127      <emphasis role="bold">qtwebchannel</emphasis>,
    129128      <emphasis role="bold">qtdoc</emphasis>, and
     
    139138
    140139<screen><userinput remap="pre">patch -Np1 -i ../qt-everywhere-opensource-src-&qt5-version;-kf5-1.patch</userinput></screen>
    141 
    142     <para>
    143       Next, if you are installing <emphasis role="bold">qtlocation</emphasis>,
    144       fix the build with GCC-13:
    145     </para>
    146 
    147 <screen><userinput>sed -e "/pragma once/a#include &lt;cstdint&gt;"                                      \
    148     -i qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp \
    149        qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/string.hpp   \
    150        qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/gl/stencil_mode.hpp</userinput></screen>
    151 
    152     <para>
    153       Next, if you are installing <emphasis role="bold">qtlocation</emphasis>,
    154       fix the build with ICU-75:
    155     </para>
    156 
    157 <screen><userinput>sed -e "/c++1z/s;^CONFIG;#CONFIG;" \
    158     -e "s;c++14;c++17;"            \
    159     -i qtlocation/src/3rdparty/mapbox-gl-native/native-gl-native.pro</userinput></screen>
    160140
    161141    <para>
  • x/lib/qt5.xml

    r8087ca44 r96a0bdc3  
    305305
    306306    <para>
    307       Add another fix for building with GCC-13:
    308     </para>
    309 
    310 <screen><userinput>sed -e "/pragma once/a#include &lt;cstdint&gt;"                                      \
    311     -i qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp \
    312        qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/string.hpp   \
    313        qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/gl/stencil_mode.hpp</userinput></screen>
    314 
    315     <para>
    316       Add a fix for building with ICU-75:
    317     </para>
    318 
    319 <screen><userinput>sed -e "/c++1z/s;^CONFIG;#CONFIG;" \
    320     -e "s;c++14;c++17;"            \
    321     -i qtlocation/src/3rdparty/mapbox-gl-native/mapbox-gl-native.pro</userinput></screen>
    322 
    323     <para>
    324307      Fix a security vulnerability in qtbase:
    325308    </para>
     
    342325            -no-rpath                                 \
    343326            -syslog                                   \
     327            -skip qtlocation                          \
    344328            -skip qtwebengine                         &amp;&amp;
    345329make</userinput></screen>
     
    356340            -no-rpath                                 \
    357341            -journald                                 \
     342            -skip qtlocation                          \
    358343            -skip qtwebengine                         &amp;&amp;
    359344make</userinput></screen>
     
    517502      <parameter>-journald</parameter>: This switch allows to send Qt messages
    518503      to the <command>journald</command> logging system.
     504    </para>
     505
     506    <para>
     507      <parameter>-skip qtlocation</parameter>: This switch disables building
     508      the Qt5 location module.  Some dependencies of this module are
     509      shipped in the tarball but the copies are outdated, so these
     510      dependencies won't build with <xref linkend='gcc'/> and
     511      <xref linkend='icu'/>.  Nothing in BLFS needs this module.
    519512    </para>
    520513
Note: See TracChangeset for help on using the changeset viewer.