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 qtwebkit-major "5.7">
|
---|
8 | <!ENTITY qtwebkit-url "http://download.qt.io/community_releases/&qtwebkit-major;/&qtwebkit-version;">
|
---|
9 |
|
---|
10 | <!ENTITY qtwebkit-download-http "&qtwebkit-url;/qtwebkit-opensource-src-&qtwebkit-version;.tar.xz">
|
---|
11 | <!ENTITY qtwebkit-download-ftp " ">
|
---|
12 | <!ENTITY qtwebkit-md5sum "9379b8829639645c184fa63532035098">
|
---|
13 | <!ENTITY qtwebkit-size "34 MB">
|
---|
14 | <!ENTITY qtwebkit-buildsize "763 MB (37 MB installed)">
|
---|
15 | <!ENTITY qtwebkit-time "12.3 SBU (using parallelism=4)">
|
---|
16 | ]>
|
---|
17 |
|
---|
18 | <sect1 id="qtwebkit5" xreflabel="QtWebkit-&qtwebkit-version;">
|
---|
19 | <?dbhtml filename="qtwebkit5.html" ?>
|
---|
20 |
|
---|
21 | <sect1info>
|
---|
22 | <othername>$LastChangedBy$</othername>
|
---|
23 | <date>$Date$</date>
|
---|
24 | </sect1info>
|
---|
25 |
|
---|
26 | <title>QtWebkit-&qtwebkit-version;</title>
|
---|
27 |
|
---|
28 | <indexterm zone="qtwebkit5">
|
---|
29 | <primary sortas="a-QtWebkit">QtWebkit</primary>
|
---|
30 | </indexterm>
|
---|
31 |
|
---|
32 | <sect2 role="package">
|
---|
33 | <title>Introduction to QtWebkit</title>
|
---|
34 |
|
---|
35 | <para>
|
---|
36 | <application>Qtwebkit</application> is a Qt based web browser engine.
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | &lfs7a_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (HTTP): <ulink url="&qtwebkit-download-http;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download (FTP): <ulink url="&qtwebkit-download-ftp;"/>
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download MD5 sum: &qtwebkit-md5sum;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download size: &qtwebkit-size;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated disk space required: &qtwebkit-buildsize;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Estimated build time: &qtwebkit-time;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect3">Qtwebkit Dependencies</bridgehead>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
78 | <para role="required">
|
---|
79 | <xref linkend="icu"/>,
|
---|
80 | <xref linkend="libjpeg"/>,
|
---|
81 | <xref linkend="libpng"/>,
|
---|
82 | <xref linkend="libwebp"/>,
|
---|
83 | <xref linkend="libxslt"/>,
|
---|
84 | <xref linkend="qt5"/>,
|
---|
85 | <xref linkend="ruby"/>, and
|
---|
86 | <xref linkend="sqlite"/>
|
---|
87 | </para>
|
---|
88 |
|
---|
89 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
90 | <para role="recommended">
|
---|
91 | <xref linkend="gst10-plugins-base"/> (HTML5 Video Support)
|
---|
92 | </para>
|
---|
93 |
|
---|
94 | <para condition="html" role="usernotes">User Notes:
|
---|
95 | <ulink url="&blfs-wiki;/qtwebkit"/>
|
---|
96 | </para>
|
---|
97 | </sect2>
|
---|
98 |
|
---|
99 | <sect2 role="installation">
|
---|
100 | <title>Installation of Qtwebkit</title>
|
---|
101 |
|
---|
102 | <para>
|
---|
103 | Install <application>Qtwebkit</application> by running the following commands:
|
---|
104 | </para>
|
---|
105 |
|
---|
106 | <screen><userinput>SAVEPATH=$PATH &&
|
---|
107 | export PATH=$PWD/bin:$PATH &&
|
---|
108 |
|
---|
109 | mkdir -p build &&
|
---|
110 | cd build &&
|
---|
111 |
|
---|
112 | qmake ../WebKit.pro &&
|
---|
113 | make &&
|
---|
114 |
|
---|
115 | export PATH=$SAVEPATH &&
|
---|
116 | unset SAVEPATH </userinput></screen>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | This package does not come with a test suite.
|
---|
120 | </para>
|
---|
121 |
|
---|
122 | <para>
|
---|
123 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
124 | </para>
|
---|
125 |
|
---|
126 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
127 |
|
---|
128 | <note><para>The installation is automatically made to the
|
---|
129 | $QT5DIR directory tree.</para></note>
|
---|
130 |
|
---|
131 | <para>
|
---|
132 | Remove references to the build directory from the installed
|
---|
133 | <filename class="extension">.pc</filename> files by running
|
---|
134 | the following command as the
|
---|
135 | <systemitem class="username">root</systemitem> user:
|
---|
136 | </para>
|
---|
137 |
|
---|
138 | <screen role="root"><userinput>find $QT5DIR/lib/pkgconfig -name "*.pc" -exec perl -pi -e "s, -L$PWD/?\S+,,g" {} \;</userinput></screen>
|
---|
139 |
|
---|
140 | <para>
|
---|
141 | Remove references to the build directory from installed library
|
---|
142 | dependency (prl) and profile include (pri) files by running the following
|
---|
143 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
144 | </para>
|
---|
145 |
|
---|
146 | <screen role="root"><userinput>find $QT5DIR/ -name qt_lib_bootstrap_private.pri \
|
---|
147 | -exec sed -i -e "s:$PWD/qtbase:/$QT5DIR/lib/:g" {} \; &&
|
---|
148 |
|
---|
149 | find $QT5DIR/ -name \*.prl \
|
---|
150 | -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen>
|
---|
151 |
|
---|
152 | </sect2>
|
---|
153 |
|
---|
154 | <sect2 role="commands">
|
---|
155 | <title>Command Explanations</title>
|
---|
156 |
|
---|
157 | <para>
|
---|
158 | <command>export PATH=$PWD/bin:$PATH</command>: sets a temporary path needed
|
---|
159 | to complete the build and install process.
|
---|
160 | </para>
|
---|
161 |
|
---|
162 | <para>
|
---|
163 | <command>qmake</command>: is a Qt tool that automates the generation of
|
---|
164 | Makefiles.
|
---|
165 | </para>
|
---|
166 |
|
---|
167 | </sect2>
|
---|
168 |
|
---|
169 | <sect2 role="content">
|
---|
170 | <title>Contents</title>
|
---|
171 |
|
---|
172 | <segmentedlist>
|
---|
173 | <segtitle>Installed Programs</segtitle>
|
---|
174 | <segtitle>Installed Libraries</segtitle>
|
---|
175 | <segtitle>Installed Directories</segtitle>
|
---|
176 |
|
---|
177 | <seglistitem>
|
---|
178 | <seg>
|
---|
179 | None
|
---|
180 | </seg>
|
---|
181 |
|
---|
182 | <seg>
|
---|
183 | libQt5WebKit.so and
|
---|
184 | libQt5WebKitWidgets.so
|
---|
185 | </seg>
|
---|
186 |
|
---|
187 | <seg>
|
---|
188 | $QT5PREFIX/qml/QtWebKit,
|
---|
189 | $QT5PREFIX/lib/cmake/Qt5WebKit{,Widgets},
|
---|
190 | $QT5PREFIX/include/QtWebKit{,Widgets), and
|
---|
191 | $QT5PREFIX/plugins/webkit
|
---|
192 | </seg>
|
---|
193 | </seglistitem>
|
---|
194 | </segmentedlist>
|
---|
195 |
|
---|
196 | </sect2>
|
---|
197 |
|
---|
198 | </sect1>
|
---|