On 8.7.2015 2:35, [email protected] wrote:
Author: bdubbs
Date: Tue Jul 7 17:35:57 2015
New Revision: 16219
Log:
Archive gstreamer-0.x
Modified:
trunk/BOOK/x/lib/qt4.xml
Modified: trunk/BOOK/x/lib/qt4.xml
==============================================================================
--- trunk/BOOK/x/lib/qt4.xml Sun Jul 5 11:31:25 2015 (r16218)
+++ trunk/BOOK/x/lib/qt4.xml Tue Jul 7 17:35:57 2015 (r16219)
@@ -4,8 +4,11 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
- <!ENTITY qt4-major "4.8">
- <!ENTITY qt4-url
"http://download.qt-project.org/official_releases/qt/&qt4-major;">
+ <!ENTITY qt4-major "4.8">
+ <!ENTITY wk-major "2.3">
+ <!ENTITY wk-version "2.3.4">
+ <!ENTITY qt4-url
"http://download.qt-project.org/official_releases/qt/&qt4-major;">
+ <!ENTITY webkit-url
"http://http://download.kde.org/stable/qtwebkit-&wk-major;">
<!ENTITY qt4-download-http
"&qt4-url;/&qt4-version;/qt-everywhere-opensource-src-&qt4-version;.tar.gz">
<!ENTITY qt4-download-ftp " ">
@@ -13,6 +16,10 @@
<!ENTITY qt4-size "230 MB">
<!ENTITY qt4-buildsize "2.3 GB">
<!ENTITY qt4-time "12 SBU, using parallelism=4">
+
+ <!ENTITY qtwebkit-download
"&webkit-url;/&wk-version;/src/qtwebkit-&wk-version;.tar.gz">
+ <!ENTITY qtwebkit-md5sum "42ef76d0cf7d0c611ef83418e9f297ff">
+ <!ENTITY qtwebkit-size "50 MB">
Any reason you decided to add it as an additional download when it's a
separate package for a reason? I'm not really fond of having two
non-related packages on one page. See also [1]. Same thing applies to
dconf/dconf-editor and speex/speexdsp.
http://lists.linuxfromscratch.org/pipermail/blfs-dev/2014-January/026356.html
Also, having it as an additional download means that the package is
required if buliding Qt4, which isn't true. QtWebKit is the component
that takes longest to build and only BLFS user is KDE. Everything else
that depends on Qt doesn't use it. Again, same goes for speex/speexdsp
and dconf/dconf-editor (hell, dconf-editor isn't even needed for most of
the people).
]>
<sect1 id="qt4" xreflabel="Qt-&qt4-version;">
@@ -77,6 +84,30 @@
</listitem>
</itemizedlist>
+ <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+ <itemizedlist spacing="compact">
+ <listitem>
+ <para>
+ Recommended package: <ulink url="&qtwebkit-download;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download MD5 sum: &qtwebkit-md5sum;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download size: &qtwebkit-size;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Recommended patch: <ulink
url="&patch-root;/qtwebkit-&wk-version;-gcc5-1.patch"/>
+ </para>
+ </listitem>
+ </itemizedlist>
+
<bridgehead renderas="sect3">Qt Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
@@ -104,7 +135,7 @@
<para role="optional">
<xref linkend="cups"/>,
<xref linkend="gtk2"/> (GTK+ 2 theme support),
- <xref linkend="gst-plugins-base"/> (For QtWebKit HTML5 Video),
+ <xref linkend="gst10-plugins-base"/> (For QtWebKit HTML5 Video),
<xref linkend="mariadb"/> or <ulink
url="http://www.mysql.com/">MySQL</ulink>,
<xref linkend="postgresql"/>,
<xref linkend="pulseaudio"/>, and
@@ -222,6 +253,7 @@
-system-sqlite \
-no-phonon \
-no-phonon-backend \
+ -no-webkit \
-no-openvg \
-nomake demos \
-nomake examples \
@@ -259,6 +291,40 @@
-i $file
done</userinput></screen>
+ <bridgehead renderas="sect3">Building Qtwebkit</bridgehead>
+
+ <para>
+ The bundled version of qtwebkit in the main package requires an
+ obsolete version of the <application>gstreamer</application> package.
+ To overcome this, we use a more recent version available separately.
+ </para>
+
+ <para>To start, the upstream package is unusual in that it does not
+ come in a direcctory, so we have to create one before unpacking the
+ tarball. After that, we need to make the package compatable with the
+ latest version of gcc and use an included script to actually complete
+ the build. To do this, run the following instructions:</para>
+
+<screen><userinput>mkdir qtwebkit-&wk-version; &&
+cd qtwebkit-&wk-version; &&
+
+tar -xf ../../qtwebkit-&wk-version;.tar.gz &&
+patch -Np1 -i ../../qtwebkit-&wk-version;-gcc5-1.patch &&
+
+Tools/Scripts/build-webkit --qt --no-webkit2
--prefix=$QT4PREFIX</userinput></screen>
+
+ <para>If desired, the build process can use parallel processors by
+ adding the option <option>--makeargs=-j<number></option> to
+ the <command>build-webkit</command> instruction above.</para>
+
+ <para>
+ To install the package, as the <systemitem
class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>make INSTALL_ROOT=/tmp/webkitqt -C WebKitBuild/Release
install</userinput></screen>
+
^^^^^^^^^^^^^^^^^^^^^^^^^^
Intentional or?
+ <bridgehead renderas="sect3">Installing Auxillary Files</bridgehead>
+
<para>
Install images and create the menu entries for installed applications.
The <envar>QT4BINDIR</envar> variable is used here to point to the
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page