1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY qtwebkit-major "5.9">
<!ENTITY qtwebkit-url "https://download.qt.io/community_releases/&qtwebkit-major;/&qtwebkit-version;-final">
<!ENTITY qtwebkit-download-http "&qtwebkit-url;/qtwebkit-opensource-src-&qtwebkit-version;.tar.xz">
<!ENTITY qtwebkit-download-ftp " ">
<!ENTITY qtwebkit-md5sum "1fc0ed873cc9326b823a8a83126714f5">
<!ENTITY qtwebkit-size "34 MB">
<!ENTITY qtwebkit-buildsize "668 MB (38 MB installed)">
<!ENTITY qtwebkit-time "11 SBU (using parallelism=4)">
]>
<sect1 id="qtwebkit5" xreflabel="QtWebkit-&qtwebkit-version;">
<?dbhtml filename="qtwebkit5.html" ?>
<title>QtWebkit-&qtwebkit-version;</title>
<indexterm zone="qtwebkit5">
<primary sortas="a-QtWebkit">QtWebkit</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to QtWebkit</title>
<para>
<application>Qtwebkit</application> is a Qt based web browser engine.
</para>
&lfs82_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&qtwebkit-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&qtwebkit-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &qtwebkit-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &qtwebkit-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &qtwebkit-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &qtwebkit-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Required patch:
<ulink
url="&patch-root;/qtwebkit-&qtwebkit-version;-icu_59-1.patch"/>
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Qtwebkit Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="icu"/>,
<xref linkend="libjpeg"/>,
<xref linkend="libpng"/>,
<xref linkend="libwebp"/>,
<xref linkend="libxslt"/>,
<xref linkend="qt5"/>,
<xref linkend="ruby"/>, and
<xref linkend="sqlite"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="gst10-plugins-base"/> (HTML5 Video Support)
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/qtwebkit"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Qtwebkit</title>
<para>
First, fix a build issue with <application>ICU</application> >= 59:
</para>
<screen><userinput>patch -Np1 -i ../qtwebkit-&qtwebkit-version;-icu_59-1.patch</userinput></screen>
<para>If desired, adjust the build settings to avoid literally thousands
of unneeded warning messages:</para>
<screen><userinput>sed -e '/CONFIG/a QMAKE_CXXFLAGS += -Wno-expansion-to-defined' \
-i Tools/qmake/mkspecs/features/unix/default_pre.prf</userinput></screen>
<para>
Install <application>Qtwebkit</application> by running the following commands:
</para>
<screen><userinput>mkdir -p build &&
cd build &&
qmake ../WebKit.pro &&
make</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
<note><para>The installation is automatically made to the
$QT5DIR directory tree.</para></note>
<para>
Remove references to the build directory from installed
profile include (pri) files by running the following
command as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>find $QT5DIR/ -name \*.prl \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<command>qmake</command>: is a Qt tool that automates the generation of
Makefiles.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
libQt5WebKit.so and
libQt5WebKitWidgets.so
</seg>
<seg>
$QT5PREFIX/qml/QtWebKit,
$QT5PREFIX/lib/cmake/Qt5WebKit{,Widgets},
$QT5PREFIX/include/QtWebKit{,Widgets), and
$QT5PREFIX/plugins/webkit
</seg>
</seglistitem>
</segmentedlist>
</sect2>
</sect1>
|