Changeset 55a55f1 for x


Ignore:
Timestamp:
12/30/2018 03:21:39 AM (5 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.4, 9.0, 9.1, bdubbs/svn, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
7626db56
Parents:
81a2d06d
Message:

Qt-5.12.0 and corresponding QtWebEngine. Thanks to Waleed Hamra for clarifying the linkage problem to me. Unfortunately, the new version of gn in webengine uses Python2 to create one of the headers.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20891 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
x/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • x/lib/qt5.xml

    r81a2d06d r55a55f1  
    55  %general-entities;
    66
    7   <!ENTITY qt5-major "5.11">
     7  <!ENTITY qt5-major "5.12">
    88  <!ENTITY qt5-url   "https://download.qt.io/archive/qt/&qt5-major;/&qt5-version;/single">
    99
    1010  <!ENTITY qt5-download-http "&qt5-url;/qt-everywhere-src-&qt5-version;.tar.xz">
    1111  <!ENTITY qt5-download-ftp  " ">
    12   <!ENTITY qt5-md5sum        "02b353bfe7a40a8dc4274e1d17226d2b">
    13   <!ENTITY qt5-size          "468 MB">
    14   <!ENTITY qt5-buildsize     "11 GB (234 MB installed)">
    15   <!ENTITY qt5-time          "48 SBU (using parallelism=4)">
     12  <!ENTITY qt5-md5sum        "af569de3eb42da4457b0897e5759dc91">
     13  <!ENTITY qt5-size          "487 MB">
     14  <!ENTITY qt5-buildsize     "12 GB (260 MB installed)">
     15  <!ENTITY qt5-time          "31 SBU (using parallelism=4)">
    1616]>
    1717
     
    124124    <bridgehead renderas="sect4">Optional</bridgehead>
    125125    <para role="optional">
    126       <xref role="runtime" linkend="bluez"/> (runtime, used by QtConnectivity
    127       module),
     126      <xref role="runtime" linkend="bluez"/> (for sdpscanner, and at runtime for
     127      QtConnectivity module),
    128128      <xref linkend="ibus"/>,
    129129      <xref linkend="libinput"/>, <!-- needs -libinput switch -->
     
    422422    <para>
    423423      <parameter>-system-harfbuzz</parameter>: This switch enables use
    424       of the system version of <application>Harfbuzz</application>
    425       which fixes some font rendering issues in
    426       <application>Qt5</application> applications but doesn't have all the
    427       features that the included one has.
     424      of the system version of <application>Harfbuzz</application>.
    428425    </para>
    429426
     
    524521          assistant, canbusutil, designer, fixqt4headers.pl, lconvert, linguist,
    525522          lrelease, lupdate, moc, pixeltool, qdbuscpp2xml, qdbus, qdbusviewer,
    526           qdbusxml2cpp, qdoc, ggltf, qhelpgenerator, qlalr, qmake, gmlcachegen,
     523          qdbusxml2cpp, qdoc, qdistancefieldgenerator, qgltf, qhelpgenerator,
     524          qlalr, qmake, gmlcachegen,
    527525          qmleasing, qmlimportscanner, qmllint, qmlmin, qmlplugindump,
    528           qmlprofiler, qml, qmlscene, qmltestrunner, qtdiag, qtpaths,
    529           qtplugininfo, qtwaylandscanner,qvkgen, rcc, syncqt.pl, uic,
     526          qmlpreview, qmlprofiler, qml, qmlscene, qmltestrunner, qtdiag, qtpaths,
     527          qtplugininfo, qtwaylandscanner,qvkgen, rcc, sdpscanner, syncqt.pl, uic,
    530528          xmlpatterns, and xmlpatternsvalidator
    531529        </seg>
     
    558556          libQt5SerialPort.so, libQt5ServiceSupport.a, libQt5Sql.so,
    559557          libQt5Svg.so, libQt5Test.so, libQt5TextToSpeech.so,
    560           libQt5ThemeSupport.a, libQt5UiTools.a, libQt5WaylandClient.so,
    561           libQt5WaylandCompositor.so, libQt5WebChannel.so,
     558          libQt5ThemeSupport.a, libQt5UiTools.a, libQt5VirtualKeyboard.so,
     559          libQt5WaylandClient.so, libQt5WaylandCompositor.so, libQt5WebChannel.so,
    562560          libQt5WebSockets.so, libQt5WebView.so, libQt5Widgets.so,
    563561          libQt5X11Extras.so, libQt5XmlPatterns.so libQt5XcbOpa.so,
     
    778776      </varlistentry>
    779777
     778      <varlistentry id="qdistancefieldgenerator-qt5">
     779        <term><command>qdistancefieldgenerator</command></term>
     780        <listitem>
     781          <para>
     782            allows a font cache to be pregenerated for Text.QtRendering to speed
     783            up an application's startup if the user interface has a lot of text,
     784            or multiple fonts, or a large amount of distinct characters, e.g. in
     785            CJK writing systems.
     786          </para>
     787          <indexterm zone="qt5 qdistancefieldgenerator-qt5">
     788            <primary sortas="b-qdistancefieldgenerator-qt5">qdistancefieldgenerator</primary>
     789          </indexterm>
     790        </listitem>
     791      </varlistentry>
     792
    780793     <varlistentry id="qgltf">
    781794        <term><command>qgltf</command></term>
     
    903916      </varlistentry>
    904917
     918      <varlistentry id="qmlpreview-qt5">
     919        <term><command>qmlpreview</command></term>
     920        <listitem>
     921          <para>
     922            is a tool used to analyze QML applications.
     923          </para>
     924          <indexterm zone="qt5 qmlpreview-qt5">
     925            <primary sortas="b-qmlpreviewr-qt5">qmlpreview</primary>
     926          </indexterm>
     927        </listitem>
     928      </varlistentry>
     929
    905930      <varlistentry id="qmlprofiler-qt5">
    906931        <term><command>qmlprofiler</command></term>
    907932        <listitem>
    908933          <para>
    909             is a tool used to analyze QML applications.
     934            is a tool which watches QML and JavaScript files on disk and
     935            updates the application live with any changes.
    910936          </para>
    911937          <indexterm zone="qt5 qmlprofiler-qt5">
     
    10021028      </varlistentry>
    10031029
     1030     <varlistentry id="sdpscanner-qt5">
     1031        <term><command>sdpscanner</command></term>
     1032        <listitem>
     1033          <para>
     1034            performs a Session Description Protocol scan on a remote device,
     1035            using the SDP server represented by the local Bluetooth device.
     1036          </para>
     1037          <indexterm zone="qt5 sdpscanner-qt5">
     1038            <primary sortas="b-sdpscanner-qt5">sdpscanner</primary>
     1039          </indexterm>
     1040        </listitem>
     1041      </varlistentry>
     1042
    10041043     <varlistentry id="syncqt.pl-qt5">
    10051044        <term><command>syncqt.pl</command></term>
  • x/lib/qtwebengine.xml

    r81a2d06d r55a55f1  
    55  %general-entities;
    66
    7   <!ENTITY qtwebengine-major "5.11">
     7  <!ENTITY qtwebengine-major "5.12">
    88  <!ENTITY qtwebengine-download-http "https://download.qt.io/archive/qt/&qtwebengine-major;/&qtwebengine-version;/submodules/qtwebengine-everywhere-src-&qtwebengine-version;.tar.xz">
    99  <!ENTITY qtwebengine-download-ftp  " ">
    10   <!ENTITY qtwebengine-md5sum        "c3c086fd2bc0b25fce9737b3a1fe63fb">
    11   <!ENTITY qtwebengine-size          "223 MB">
    12   <!ENTITY qtwebengine-buildsize     "3.6 GB (139 MB installed)">
    13   <!ENTITY qtwebengine-time          "56 SBU (using 4 cores)">
     10  <!ENTITY qtwebengine-md5sum        "53d74f6ed0c188ee106381d9cba99e94">
     11  <!ENTITY qtwebengine-size          "241 MB">
     12  <!ENTITY qtwebengine-buildsize     "3.3 GB (134 MB installed)">
     13  <!ENTITY qtwebengine-time          "36 SBU (using 4 cores)">
    1414]>
    1515
     
    3333    <para>
    3434      <application>QtWebEngine</application> integrates
    35       <application>chromium</application>&quot;s web capabilities into Qt. It
     35      <application>chromium</application>'s web capabilities into Qt. It
    3636      ships with its own copy of ninja which it uses for the build if it cannot
    3737      find a system copy, and various copies of libraries from ffmpeg, icu,
     
    4242    &lfs83_checked;
    4343
    44     <note><para>By default, ninja will use all online CPUs +2 (if at least
    45     4 exist), even if they are not available to the current task because the
    46     build terminal has been restricted with 'taskset'.  To work around this,
    47     see the Command Explanations below.</para></note>
     44    <note>
     45      <para>
     46        By default, ninja will use all online CPUs +2 (if at least 4 exist),
     47        even if they are not available to the current task because the build
     48        terminal has been restricted with 'taskset'.  To work around this, see
     49        the Command Explanations below.
     50      </para>
     51
     52      <para>
     53        Unusually, the shipped GN build system (used to create the Ninja files)
     54        requires a static <filename class="libraryfile">libstdc++.a</filename>
     55        although the installed libraries correctly use the shared version. If
     56        that static library is not present, the build will fail quite quickly.
     57        Please note that if you try to build webengine as part of <xref
     58        linkend="qt5"/> and the static library is not available, that build will
     59        either complete without installing webengine, or else fail during the
     60        install (both variants have been observed).
     61      </para>
     62    </note>
    4863
    4964    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    87102    <para role="required">
    88103      <xref linkend="nss"/>,
    89       <xref linkend="pulseaudio"/>, and
     104      <xref linkend="python2"/>, and
    90105      <xref linkend='qt5'/>
    91106    </para>
     
    101116
    102117    <para role="recommended">
     118      either <xref linkend="alsa-lib"/> or
     119      <xref linkend="pulseaudio"/> (or both),
     120      <xref linkend="ffmpeg"/>,
     121      <xref linkend="icu"/>,
    103122      <xref linkend="libwebp"/>,
    104       <xref linkend="libxslt"/>, and 
     123      <xref linkend="libxslt"/>, and
    105124      <xref linkend="opus"/>
    106125    </para>
     
    127146    </para>
    128147
     148    <para>
     149      First, ensure that the local headers are available when not building as
     150      part of the complete <xref linkend="qt5"/>:
     151    </para>
     152
     153<screen><userinput>find -type f -name "*.pr[io]" |
     154  xargs sed -i -e 's|INCLUDEPATH += |&amp;$$QTWEBENGINE_ROOT/include |'</userinput></screen>
     155
     156    <para>
     157      If an older version of the package's main library has been installed,
     158      when the package is built separately it will link to that in preference
     159      to its own not-yet-installed version, and fail because of missing symbols.
     160      Prevent that by, as the <systemitem class="username">root</systemitem>
     161      user, moving the symlink out of the way.:
     162    </para>
     163
     164<screen role="root"><userinput>mv -v ${QT5DIR}/lib/libQtWebEngineCore.so{,.old}</userinput></screen>
     165
    129166<screen><userinput>mkdir build &amp;&amp;
    130167cd    build &amp;&amp;
    131168
    132 qmake ..    &amp;&amp;
     169qmake -- -system-ffmpeg -webengine-icu .. &amp;&amp;
    133170make</userinput></screen>
    134171<!--
     
    172209      <application>ninja</application> if it is not already installed
    173210      and use it to configure the build.
     211    </para>
     212
     213    <para>
     214      <command>-- -system-ffmpeg -webengine-icu ..</command>: If any options are
     215      passed to qmake ithey must come after '--' and before the '..' which points
     216      to the main directory. The options here cause it to use system ffmpeg and
     217      system icu.  If built as part of full Qt5, the system icu is automatically
     218      used (only) by Qt5Core if it is available, but unless this option is used
     219      webengine will always use its shipped copy of icu, adding time and space
     220      to the build.
    174221    </para>
    175222
     
    189236
    190237  </sect2>
     238
     239  <sect2 role="configuration">
     240    <title>Configuring QtWebEngine</title>
     241
     242    <sect3 id="qtwebengine-config">
     243      <title>Configuration Information</title>
     244
     245      <para>
     246        If you are upgrading from an older minor version of this
     247        application, for some webpages to load you may need to
     248        clear the <emphasis>browser</emphasis> caches, e.g. for
     249        <application>falkon</application> they will be found in
     250        <filename class="directory">~/.cache/falkon/</filename>.
     251        You will need to do this if the browser starts to render
     252        the page and then changes to a blank tab with a message
     253        that something went wrong, and a button to Retry. Even
     254        after removing the old caches, you may need to retry a
     255        few times for each affected tab.
     256      </para>
     257
     258    </sect3>
     259
     260  </sect2>
     261
    191262
    192263  <sect2 role="content">
Note: See TracChangeset for help on using the changeset viewer.