source: x/lib/qtwebkit5.xml@ d67a6ac6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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
Last change on this file since d67a6ac6 was d67a6ac6, checked in by DJ Lucas <dj@…>, 7 years ago

Provide complete fix for qtwebkit.

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

  • Property mode set to 100644
File size: 6.0 KB
RevLine 
[6b237ce]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
[11eb2ca6]7 <!ENTITY qtwebkit-major "5.8">
8 <!ENTITY qtwebkit-url "http://download.qt.io/community_releases/&qtwebkit-major;/&qtwebkit-version;-final">
[6b237ce]9
10 <!ENTITY qtwebkit-download-http "&qtwebkit-url;/qtwebkit-opensource-src-&qtwebkit-version;.tar.xz">
11 <!ENTITY qtwebkit-download-ftp " ">
[11eb2ca6]12 <!ENTITY qtwebkit-md5sum "60a6935aca4a7c553d0ec4646ceed3b4">
[6b237ce]13 <!ENTITY qtwebkit-size "34 MB">
[11eb2ca6]14 <!ENTITY qtwebkit-buildsize "766 MB (50 MB installed)">
[83d05304]15 <!ENTITY qtwebkit-time "11 SBU (using parallelism=4)">
[6b237ce]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
[714105e]39 &lfs80_checked;
[6b237ce]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
[d67a6ac6]75 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
76 <itemizedlist spacing="compact">
77 <listitem>
78 <para>
79 Required patch:
80 <ulink
81 url="&patch-root;/qtwebkit-&qtwebkit-version;-icu_59-1.patch"/>
82 </para>
83 </listitem>
84 </itemizedlist>
85
[6b237ce]86 <bridgehead renderas="sect3">Qtwebkit Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Required</bridgehead>
89 <para role="required">
[272858d]90 <xref linkend="icu"/>,
[6b237ce]91 <xref linkend="libjpeg"/>,
92 <xref linkend="libpng"/>,
[272858d]93 <xref linkend="libwebp"/>,
94 <xref linkend="libxslt"/>,
95 <xref linkend="qt5"/>,
96 <xref linkend="ruby"/>, and
[6b237ce]97 <xref linkend="sqlite"/>
98 </para>
99
[272858d]100 <bridgehead renderas="sect4">Recommended</bridgehead>
101 <para role="recommended">
102 <xref linkend="gst10-plugins-base"/> (HTML5 Video Support)
103 </para>
104
[6b237ce]105 <para condition="html" role="usernotes">User Notes:
106 <ulink url="&blfs-wiki;/qtwebkit"/>
107 </para>
108 </sect2>
109
110 <sect2 role="installation">
111 <title>Installation of Qtwebkit</title>
112
[d7c71b83]113 <para>
114 First, fix a build issue with <application>ICU</application> &gt;= 59:
115 </para>
116
[d67a6ac6]117<screen><userinput>patch -Np1 -i ../qtwebkit-&qtwebkit-version;-icu_59-1.patch</userinput></screen>
[d7c71b83]118
[6b237ce]119 <para>
120 Install <application>Qtwebkit</application> by running the following commands:
121 </para>
122
[789e7a2]123<screen><userinput>SAVEPATH=$PATH &amp;&amp;
124export PATH=$PWD/bin:$PATH &amp;&amp;
125
126mkdir -p build &amp;&amp;
127cd build &amp;&amp;
128
129qmake ../WebKit.pro &amp;&amp;
130make &amp;&amp;
131
132export PATH=$SAVEPATH &amp;&amp;
133unset SAVEPATH </userinput></screen>
[6b237ce]134
135 <para>
136 This package does not come with a test suite.
137 </para>
138
139 <para>
140 Now, as the <systemitem class="username">root</systemitem> user:
141 </para>
142
143<screen role="root"><userinput>make install</userinput></screen>
144
145 <note><para>The installation is automatically made to the
146 $QT5DIR directory tree.</para></note>
147
148 <para>
149 Remove references to the build directory from the installed
150 <filename class="extension">.pc</filename> files by running
151 the following command as the
152 <systemitem class="username">root</systemitem> user:
153 </para>
154
155<screen role="root"><userinput>find $QT5DIR/lib/pkgconfig -name "*.pc" -exec perl -pi -e "s, -L$PWD/?\S+,,g" {} \;</userinput></screen>
156
157 <para>
158 Remove references to the build directory from installed library
159 dependency (prl) and profile include (pri) files by running the following
160 commands as the <systemitem class="username">root</systemitem> user:
161 </para>
162
163<screen role="root"><userinput>find $QT5DIR/ -name qt_lib_bootstrap_private.pri \
164 -exec sed -i -e "s:$PWD/qtbase:/$QT5DIR/lib/:g" {} \; &amp;&amp;
165
166find $QT5DIR/ -name \*.prl \
167 -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen>
168
169 </sect2>
170
171 <sect2 role="commands">
172 <title>Command Explanations</title>
173
174 <para>
[789e7a2]175 <command>export PATH=$PWD/bin:$PATH</command>: sets a temporary path needed
176 to complete the build and install process.
[6b237ce]177 </para>
178
179 <para>
180 <command>qmake</command>: is a Qt tool that automates the generation of
181 Makefiles.
182 </para>
183
184 </sect2>
185
186 <sect2 role="content">
187 <title>Contents</title>
188
189 <segmentedlist>
190 <segtitle>Installed Programs</segtitle>
191 <segtitle>Installed Libraries</segtitle>
192 <segtitle>Installed Directories</segtitle>
193
194 <seglistitem>
195 <seg>
196 None
197 </seg>
198
199 <seg>
200 libQt5WebKit.so and
201 libQt5WebKitWidgets.so
202 </seg>
203
204 <seg>
205 $QT5PREFIX/qml/QtWebKit,
206 $QT5PREFIX/lib/cmake/Qt5WebKit{,Widgets},
207 $QT5PREFIX/include/QtWebKit{,Widgets), and
208 $QT5PREFIX/plugins/webkit
209 </seg>
210 </seglistitem>
211 </segmentedlist>
212
213 </sect2>
214
215</sect1>
Note: See TracBrowser for help on using the repository browser.