source: x/lib/qtwebkit5.xml@ 6d5acf3

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 6d5acf3 was d7c71b83, checked in by DJ Lucas <dj@…>, 7 years ago

Fix build issue with icu-59 for QTWebKit.

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

  • Property mode set to 100644
File size: 5.9 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 qtwebkit-major "5.8">
8 <!ENTITY qtwebkit-url "http://download.qt.io/community_releases/&qtwebkit-major;/&qtwebkit-version;-final">
9
10 <!ENTITY qtwebkit-download-http "&qtwebkit-url;/qtwebkit-opensource-src-&qtwebkit-version;.tar.xz">
11 <!ENTITY qtwebkit-download-ftp " ">
12 <!ENTITY qtwebkit-md5sum "60a6935aca4a7c553d0ec4646ceed3b4">
13 <!ENTITY qtwebkit-size "34 MB">
14 <!ENTITY qtwebkit-buildsize "766 MB (50 MB installed)">
15 <!ENTITY qtwebkit-time "11 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 &lfs80_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 First, fix a build issue with <application>ICU</application> &gt;= 59:
104 </para>
105
106<screen><userinput>sed -i 's/unsigned short/char16_t/' \
107 Source/JavaScriptCore/API/JSStringRef.h \
108 Source/WebKit2/Shared/API/c/WKString.h &amp;&amp;
109
110sed -i '/stdbool.h/ a#include &lt;uchar.h&gt;' \
111 Source/JavaScriptCore/API/JSBase.h</userinput></screen>
112
113 <para>
114 Install <application>Qtwebkit</application> by running the following commands:
115 </para>
116
117<screen><userinput>SAVEPATH=$PATH &amp;&amp;
118export PATH=$PWD/bin:$PATH &amp;&amp;
119
120mkdir -p build &amp;&amp;
121cd build &amp;&amp;
122
123qmake ../WebKit.pro &amp;&amp;
124make &amp;&amp;
125
126export PATH=$SAVEPATH &amp;&amp;
127unset SAVEPATH </userinput></screen>
128
129 <para>
130 This package does not come with a test suite.
131 </para>
132
133 <para>
134 Now, as the <systemitem class="username">root</systemitem> user:
135 </para>
136
137<screen role="root"><userinput>make install</userinput></screen>
138
139 <note><para>The installation is automatically made to the
140 $QT5DIR directory tree.</para></note>
141
142 <para>
143 Remove references to the build directory from the installed
144 <filename class="extension">.pc</filename> files by running
145 the following command as the
146 <systemitem class="username">root</systemitem> user:
147 </para>
148
149<screen role="root"><userinput>find $QT5DIR/lib/pkgconfig -name "*.pc" -exec perl -pi -e "s, -L$PWD/?\S+,,g" {} \;</userinput></screen>
150
151 <para>
152 Remove references to the build directory from installed library
153 dependency (prl) and profile include (pri) files by running the following
154 commands as the <systemitem class="username">root</systemitem> user:
155 </para>
156
157<screen role="root"><userinput>find $QT5DIR/ -name qt_lib_bootstrap_private.pri \
158 -exec sed -i -e "s:$PWD/qtbase:/$QT5DIR/lib/:g" {} \; &amp;&amp;
159
160find $QT5DIR/ -name \*.prl \
161 -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen>
162
163 </sect2>
164
165 <sect2 role="commands">
166 <title>Command Explanations</title>
167
168 <para>
169 <command>export PATH=$PWD/bin:$PATH</command>: sets a temporary path needed
170 to complete the build and install process.
171 </para>
172
173 <para>
174 <command>qmake</command>: is a Qt tool that automates the generation of
175 Makefiles.
176 </para>
177
178 </sect2>
179
180 <sect2 role="content">
181 <title>Contents</title>
182
183 <segmentedlist>
184 <segtitle>Installed Programs</segtitle>
185 <segtitle>Installed Libraries</segtitle>
186 <segtitle>Installed Directories</segtitle>
187
188 <seglistitem>
189 <seg>
190 None
191 </seg>
192
193 <seg>
194 libQt5WebKit.so and
195 libQt5WebKitWidgets.so
196 </seg>
197
198 <seg>
199 $QT5PREFIX/qml/QtWebKit,
200 $QT5PREFIX/lib/cmake/Qt5WebKit{,Widgets},
201 $QT5PREFIX/include/QtWebKit{,Widgets), and
202 $QT5PREFIX/plugins/webkit
203 </seg>
204 </seglistitem>
205 </segmentedlist>
206
207 </sect2>
208
209</sect1>
Note: See TracBrowser for help on using the repository browser.