glfs/archive/qtwebkit5.xml
Bruce Dubbs 66966b2526 Archive qtwebkit5.
Tags for printing and X libraries.


git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20405 af4574ff-66df-0310-9fd7-8a98e5e911e0
2018-08-26 19:11:33 +00:00

199 lines
5.4 KiB
XML

<?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" ?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<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> &gt;= 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 &amp;&amp;
cd build &amp;&amp;
qmake ../WebKit.pro &amp;&amp;
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>