source: x/lib/qtwebengine.xml@ ebea689

10.0 10.1 11.0 11.1 11.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus perl-modules plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since ebea689 was ebea689, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Include some missing sed instructions in qtwebengine

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

  • Property mode set to 100644
File size: 10.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY qtwebengine-major "5.11">
8 <!ENTITY qtwebengine-download-http "https://download.qt.io/archive/qt/&qtwebengine-major;/&qtwebengine-version;/submodules/qtwebengine-everywhere-src-&qtwebengine-version;.tar.xz">
9 <!ENTITY qtwebengine-download-ftp " ">
10 <!ENTITY qtwebengine-md5sum "551a09ea35270c259223f1a4e69e67f3">
11 <!ENTITY qtwebengine-size "223 MB">
12 <!ENTITY qtwebengine-buildsize "3.5 GB (137 MB installed)">
13 <!ENTITY qtwebengine-time "28 SBU (using 4 cores)">
14]>
15
16<sect1 id="qtwebengine" xreflabel="qtwebengine-&qtwebengine-version;">
17 <?dbhtml filename="qtwebengine.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>QtWebEngine-&qtwebengine-version;</title>
25
26 <indexterm zone="qtwebengine">
27 <primary sortas="a-qtwebengine">qtwebengine</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to QtWebEngine</title>
32
33 <para>
34 <application>QtWebEngine</application> integrates
35 <application>chromium</application>&quot;s web capabilities into Qt. It
36 ships with its own copy of ninja which it uses for the build if it cannot
37 find a system copy, and various copies of libraries from ffmpeg, icu,
38 libvpx, and zlib (including libminizip) which have been forked by the
39 <application>chromium</application> developers.
40 </para>
41
42 &lfs82_checked;
43
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>
48
49 <bridgehead renderas="sect3">Package Information</bridgehead>
50 <itemizedlist spacing="compact">
51 <listitem>
52 <para>
53 Download (HTTP): <ulink url="&qtwebengine-download-http;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download (FTP): <ulink url="&qtwebengine-download-ftp;"/>
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download MD5 sum: &qtwebengine-md5sum;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Download size: &qtwebengine-size;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated disk space required: &qtwebengine-buildsize;
74 </para>
75 </listitem>
76 <listitem>
77 <para>
78 Estimated build time: &qtwebengine-time;
79 </para>
80 </listitem>
81 </itemizedlist>
82
83 <bridgehead renderas="sect3">qtwebengine Dependencies</bridgehead>
84
85 <bridgehead renderas="sect4">Required</bridgehead>
86 <!-- the qmake output tends to be misleading. 'khr' is from Mesa -->
87 <para role="required">
88 <xref linkend="nss"/>,
89 <xref linkend="pulseaudio"/>, and
90 <xref linkend='qt5'/>
91 </para>
92
93 <bridgehead renderas="sect4">Recommended</bridgehead>
94 <note>
95 <para>
96 If these packages are not installed, the build process will compile and
97 install its own (perhaps older) version, with the side effect of
98 increasing build and installed disk space and build time.
99 </para>
100 </note>
101
102 <para role="recommended">
103 <xref linkend="libwebp"/>,
104 <xref linkend="libxslt"/>, and
105 <xref linkend="opus"/>
106 </para>
107
108 <bridgehead renderas="sect4">Optional</bridgehead>
109 <para role="optional">
110 <xref linkend="libevent"/>,
111 <ulink url="https://github.com/open-source-parsers/jsoncpp/releases">jsoncpp</ulink>,
112 <ulink url="https://github.com/cisco/libsrtp/releases">libsrtp</ulink>,
113 <ulink url="http://google.github.io/snappy/">snappy</ulink>
114 </para>
115
116 <para condition="html" role="usernotes">
117 User Notes: <ulink url="&blfs-wiki;/qtwebengine"/>
118 </para>
119 </sect2>
120
121 <sect2 role="installation">
122 <title>Installation of qtwebengine</title>
123
124 <para>
125 First, make some fixes to make gcc8 happy:
126 </para>
127
128<screen><userinput>sed -i '/kPaddingSize/s/32/64/' \
129 src/3rdparty/chromium/media/base/decoder_buffer.h &amp;&amp;
130
131D=src/3rdparty/chromium/mojo/public/cpp/bindings &amp;&amp;
132sed -i '/explicit/s/return handle_/return (bool) handle_/' \
133 $D/associated_interface_ptr_info.h \
134 $D/associated_interface_request.h \
135 $D/interface_request.h &amp;&amp;
136unset D</userinput></screen>
137
138 <para>
139 Install <application>qtwebengine</application> by running the following
140 commands:
141 </para>
142
143<screen><userinput>mkdir build &amp;&amp;
144cd build &amp;&amp;
145
146qmake .. &amp;&amp;
147make</userinput></screen>
148<!--
149 <para>
150 if you wish to build the HTML documentation, issue:
151 </para>
152
153<screen><userinput>make docs</userinput></screen>
154-->
155 <para>
156 This package does not come with a test suite.
157 </para>
158
159 <para>
160 Now, as the <systemitem class="username">root</systemitem> user:
161 </para>
162
163<screen role="root"><userinput>make install</userinput></screen>
164<!--
165 <para>
166 If you built the HTML documentation, install it with:
167 </para>
168
169<screen role="root"><userinput>make install_docs</userinput></screen>
170-->
171 <para>
172 Remove references to the build directory from installed library
173 dependency (prl) files by running the following
174 commands as the <systemitem class="username">root</systemitem> user:
175 </para>
176
177<screen role="root"><userinput>find $QT5DIR/ -name \*.prl \
178 -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen>
179 </sect2>
180
181 <sect2 role="commands">
182 <title>Command Explanations</title>
183
184 <para>
185 <command>qmake</command>: This will build the included copy of
186 <application>ninja</application> if it is not already installed
187 and use it to configure the build.
188 </para>
189
190 <para>
191 <option>NINJAJOBS=4 make</option>: If you patched system ninja in LFS to
192 recognize the NINJAJOBS environment variable, this command will run system
193 ninja with the specified number of jobs (i.e. 4). Among the reasons why
194 you might want to do this are: building on a subset of CPUs, either to
195 measure the build time for that number of processors or to run other
196 CPU-intensive tasks on other cores, or to improve the build speed on a
197 less-well endowed 4-core machine. On a machine with a powerful CPU and
198 plenty of RAM, running N+2 jobs (the ninja default for 4+ cores) for the
199 large working sets of the C++ compiles in this package is typically only
200 marginally slower than running 4 jobs at a time. But for a machine with
201 less memory it might be much slower.
202 </para>
203
204 </sect2>
205
206 <sect2 role="content">
207 <title>Contents</title>
208
209 <segmentedlist>
210 <segtitle>Installed Programs</segtitle>
211 <segtitle>Installed Libraries</segtitle>
212 <segtitle>Installed Directories</segtitle>
213
214 <seglistitem>
215 <seg>
216 qtwebengine_convert_dict and
217 QtWebEngineProcess
218 </seg>
219 <seg>
220 libQt5WebEngineCore.so,
221 libQt5WebEngine.so, and
222 libQt5WebEngineWidgets.so
223 </seg>
224 <seg>
225 $QT5PREFIX/doc/qtwebengine,
226 $QT5PREFIX/includeQtWebEngine,
227 $QT5PREFIX/include/QtWebEngineCore, and
228 $QT5PREFIX/include/QtWebEngineWidgets
229 </seg>
230 </seglistitem>
231 </segmentedlist>
232
233 <variablelist>
234 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
235 <?dbfo list-presentation="list"?>
236 <?dbhtml list-presentation="table"?>
237
238 <varlistentry id="qtwebengine_convert_dict">
239 <term><command>qtwebengine_convert_dict</command></term>
240 <listitem>
241 <para>
242 converts hunspell dictionaries (<literal>.dic</literal>) to chromium
243 format (<literal>.bdic</literal>)
244 </para>
245 <indexterm zone="qtwebengine qtwebengine_convert_dict">
246 <primary sortas="b-qtwebengine_convert_dict">qtwebengine_convert_dict</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 <varlistentry id="QtWebEngineProcess">
252 <term><command>QtWebEngineProcess</command></term>
253 <listitem>
254 <para>
255 is a libexec program which runs a zygote process (one that listens
256 for spawn requests from a master process and will fork itself in
257 response).
258 </para>
259 <indexterm zone="qtwebengine QtWebEngineProcess">
260 <primary sortas="b-QtWebEngineProcess">QtWebEngineProcess</primary>
261 </indexterm>
262 </listitem>
263 </varlistentry>
264
265 <varlistentry id="libQtWebEngine-lib">
266 <term><filename class="libraryfile">libQtWebEngine.so</filename></term>
267 <listitem>
268 <para>
269 provides QML types for rendering web content within a QML application.
270 </para>
271 <indexterm zone="qtwebengine libQtWebEngine-lib">
272 <primary sortas="c-libQtWebEngine">libQtWebEngine.so</primary>
273 </indexterm>
274 </listitem>
275 </varlistentry>
276
277 <varlistentry id="libQtWebEngineCore">
278 <term><filename class="libraryfile">libQtWebEngineCore.so</filename></term>
279 <listitem>
280 <para>
281 provides public API shared by both QtWebEngine and QtWebEngineWidgets.
282 </para>
283 <indexterm zone="qtwebengine libQtWebEngineCore">
284 <primary sortas="c-libQtWebEngineCore">libQtWebEngineCore.so</primary>
285 </indexterm>
286 </listitem>
287 </varlistentry>
288
289 <varlistentry id="libQtWebEngineWidgets">
290 <term><filename class="libraryfile">libQtWebEngineWidgets.so</filename></term>
291 <listitem>
292 <para>
293 provides a web browser engine as well as C++ classes to render and
294 interact with web content.
295 </para>
296 <indexterm zone="qtwebengine libQtWebEngineWidgets">
297 <primary sortas="c-libQtWebEngineWidgets">libQtWebEngineWidgets.so</primary>
298 </indexterm>
299 </listitem>
300 </varlistentry>
301
302 </variablelist>
303 </sect2>
304</sect1>
Note: See TracBrowser for help on using the repository browser.