Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/lib/qt5.xml

    r0318335 r3f2db3a6  
    88  <!ENTITY qt5-url   "https://download.qt.io/archive/qt/&qt5-major;/&qt5-version;/single">
    99
    10   <!ENTITY qt5-download-http "&qt5-url;/qt-everywhere-src-&qt5-version;.tar.xz">
     10  <!ENTITY qt5-download-http "&qt5-url;/qt-everywhere-opensource-src-&qt5-version;.tar.xz">
    1111  <!ENTITY qt5-download-ftp  " ">
    12   <!ENTITY qt5-md5sum        "e1447db4f06c841d8947f0a6ce83a7b5">
    13   <!ENTITY qt5-size          "560 MB">
    14   <!ENTITY qt5-buildsize     "15 GB (257 MB installed)">
    15   <!ENTITY qt5-time          "22 SBU (using parallelism=4)">
     12  <!ENTITY qt5-md5sum        "b30147f4fd91c8dc1b7e61cbc7e6b8a6">
     13  <!ENTITY qt5-size          "595 MB">
     14  <!ENTITY qt5-buildsize     "15 GB (268 MB installed)">
     15  <!ENTITY qt5-time          "29 SBU (using parallelism=4)">
    1616]>
    1717
     
    1919  <?dbhtml filename="qt5.html" ?>
    2020
    21   <sect1info>
    22     <date>$Date$</date>
    23   </sect1info>
    2421
    2522  <title>Qt-&qt5-version;</title>
     
    4239    </para>
    4340
    44     &lfs110a_checked;
     41    &lfs112_checked;
    4542
    4643    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    8279      <listitem>
    8380        <para>
     81          Now that <application>Qt5</application> updates are restricted to
     82          commercial customers, upstream patches for the various modules are
     83          being curated at kde.
     84          Patches for the modules required by packages in BLFS have been
     85          aggregated for the non-modular Qt5 build we use.
     86        </para>
     87        <para>
    8488          Required patch:
    85           <ulink url="&patch-root;/qt-everywhere-src-&qt5-version;-CVE-2021-3481-1.patch"/>
     89          <ulink url="&patch-root;/qt-everywhere-opensource-src-&qt5-version;-kf5-1.patch"/>
     90        </para>
     91        <para>
     92          Details of the kde curation can be found at
     93          <ulink url="https://dot.kde.org/2021/04/06/announcing-kdes-qt-5-patch-collection"/>
     94          and <ulink url="https://community.kde.org/Qt5PatchCollection"/>.
    8695        </para>
    8796      </listitem>
     
    100109      <xref linkend="make-ca"/>,
    101110      <xref linkend="cups"/>,
     111      <xref linkend="double-conversion"/>,
    102112      <xref linkend="glib2"/>,
    103113      <xref linkend="gst10-plugins-base"/> (QtMultimedia backend),
     
    112122      <xref linkend="libxkbcommon"/>,
    113123      <xref linkend="mesa"/>,
    114       <xref linkend="mitkrb"/>,
    115124      <xref linkend="mtdev"/>,
    116125      <xref linkend="pcre2"/>,
     
    132141      <xref linkend="libinput"/>, <!-- needs -libinput switch -->
    133142      <xref linkend="mariadb"/>
    134         or <ulink url="http://www.mysql.com/">MySQL</ulink>,
    135       <xref linkend="pciutils"/> (required for QtWebEngine),
     143        or <ulink url="https://www.mysql.com/">MySQL</ulink>,
     144      <xref linkend="pciutils"/>,
    136145      <xref linkend="postgresql"/>,
    137       <xref linkend="python2"/> (required for QtWebEngine),
     146      <!-- we handle QtWebEngine separately
     147      <xref linkend="python2"/> (required for QtWebEngine), -->
    138148      <xref linkend="pulseaudio"/>,
    139149      <xref linkend="sdl2"/>,
     
    141151      <ulink url="https://www.assimp.org/">assimp</ulink>,
    142152      <ulink url="http://www.festvox.org/flite/">Flite</ulink>,
    143       <ulink url="http://www.firebirdsql.org/">Firebird</ulink>,
    144       <ulink url="http://www.freetds.org/">FreeTDS</ulink>,
     153      <ulink url="https://www.firebirdsql.org/">Firebird</ulink>,
     154      <ulink url="https://www.freetds.org/">FreeTDS</ulink>,
    145155      <ulink url="https://libproxy.github.io/libproxy/">libproxy</ulink>,
    146156      <ulink url="https://openal.org/">OpenAL</ulink>,
     
    257267
    258268    <para>
    259       First apply a patch to fix an Out Of Bounds read in QtSVG:
    260     </para>
    261 
    262 <screen><userinput remap="pre">patch -Np1 -i ../qt-everywhere-src-&qt5-version;-CVE-2021-3481-1.patch</userinput></screen>
    263 
    264     <para>
    265       Next fix some issues using gcc-11:
    266     </para>
    267 
    268 <screen><userinput>sed -i '/utility/a #include &lt;limits&gt;'     qtbase/src/corelib/global/qglobal.h         &amp;&amp;
    269 sed -i '/string/a #include &lt;limits&gt;'      qtbase/src/corelib/global/qfloat16.h        &amp;&amp;
    270 sed -i '/qbytearray/a #include &lt;limits&gt;'  qtbase/src/corelib/text/qbytearraymatcher.h &amp;&amp;
    271 sed -i '/type_traits/a #include &lt;limits&gt;' qtdeclarative/src/qmldebug/qqmlprofilerevent_p.h</userinput></screen>
     269      First apply a patch to pull in the fixes curated by kde for those
     270      modules which are required by packages mentioned in this book:
     271    </para>
     272
     273<screen><userinput remap="pre">patch -Np1 -i ../qt-everywhere-opensource-src-&qt5-version;-kf5-1.patch</userinput></screen>
    272274
    273275    <para>
     
    487489
    488490    <sect3 id="qt5-config">
    489      <!-- <title>Configuration Information</title>-->
    490 
    491     <title>If you installed Qt5 in /usr</title>
     491      <title>Configuration Information</title>
     492
     493      <para>
     494        If <xref linkend="sudo"/> is installed, QT5DIR should be available to
     495        the super user as well. Execute the following commands as the
     496        <systemitem class="username">root</systemitem> user:
     497      </para>
     498
     499<screen role="root"><userinput>cat &gt; /etc/sudoers.d/qt &lt;&lt; "EOF"
     500<literal>Defaults env_keep += QT5DIR</literal>
     501EOF</userinput></screen>
     502
     503      <bridgehead renderas="sect4">If you installed Qt5 in /usr</bridgehead>
    492504
    493505      <para>
     
    508520EOF</userinput></screen>
    509521
    510       <para>
    511         If <xref linkend="sudo"/> is installed, QT5DIR should be available to
    512         the super user as well. Execute the following commands as the
    513         <systemitem class="username">root</systemitem> user:
    514       </para>
    515 
    516 <screen role="root"><userinput>cat &gt; /etc/sudoers.d/qt &lt;&lt; "EOF"
    517 <literal>Defaults env_keep += QT5DIR</literal>
    518 EOF</userinput></screen>
    519      
    520     <bridgehead renderas="sect4">If you did not install Qt5 in /usr</bridgehead>
     522      <bridgehead renderas="sect4">If you did not install Qt5 in /usr</bridgehead>
    521523
    522524      <para>
     
    585587          qhelpgenerator, qlalr, qmake, qml, qmlcachegen,
    586588          qmleasing, qmlformat, qmlimportscanner, qmllint, qmlmin, qmlplugindump,
    587           qmlpreview, qmlprofiler, qmlscene, qmltestrunner, qscxmlc,
     589          qmlpreview, qmlprofiler, qmlscene, qmltestrunner, qmltime,
     590          qmltyperegistrar, qscxmlc,
    588591          qtattributionscanner, qtdiag, qtpaths, qtplugininfo,
    589592          qtwaylandscanner, qvkgen, rcc, repc, sdpscanner, syncqt.pl, tracegen,
Note: See TracChangeset for help on using the changeset viewer.