Author: andy Date: 2012-03-27 11:36:31 -0600 (Tue, 27 Mar 2012) New Revision: 9789
Modified: trunk/BOOK/x/lib/webkitgtk.xml Log: removed the unneeded --with-gtk=3.0 from the webkitgtk page Modified: trunk/BOOK/x/lib/webkitgtk.xml =================================================================== --- trunk/BOOK/x/lib/webkitgtk.xml 2012-03-27 17:35:24 UTC (rev 9788) +++ trunk/BOOK/x/lib/webkitgtk.xml 2012-03-27 17:36:31 UTC (rev 9789) @@ -4,7 +4,8 @@ <!ENTITY % general-entities SYSTEM "../../general.ent"> %general-entities; - <!ENTITY webkitgtk-download-http "http://webkitgtk.org/webkit-&webkitgtk-version;.tar.gz"> + <!ENTITY webkitgtk-download-http + "http://webkitgtk.org/webkit-&webkitgtk-version;.tar.gz"> <!ENTITY webkitgtk-download-ftp " "> <!ENTITY webkitgtk-md5sum "c11743694b1b71dad287b2e7a9e73b05"> <!ENTITY webkitgtk-size "9.7 MB"> @@ -29,31 +30,45 @@ <sect2 role="package"> <title>Introduction to WebKitGTK+</title> - <para>The <application>WebKitGTK+</application> package is the port of the - portable web rendering engine <application>WebKit</application> to the - <application>GTK+</application> platform.</para> + <para> + The <application>WebKitGTK+</application> package is the port of the + portable web rendering engine <application>WebKit</application> to the + <application>GTK+</application> platform. + </para> &lfs71_checked; <bridgehead renderas="sect3">Package Information</bridgehead> <itemizedlist spacing="compact"> <listitem> - <para>Download (HTTP): <ulink url="&webkitgtk-download-http;"/></para> + <para> + Download (HTTP): <ulink url="&webkitgtk-download-http;"/> + </para> </listitem> <listitem> - <para>Download (FTP): <ulink url="&webkitgtk-download-ftp;"/></para> + <para> + Download (FTP): <ulink url="&webkitgtk-download-ftp;"/> + </para> </listitem> <listitem> - <para>Download MD5 sum: &webkitgtk-md5sum;</para> + <para> + Download MD5 sum: &webkitgtk-md5sum; + </para> </listitem> <listitem> - <para>Download size: &webkitgtk-size;</para> + <para> + Download size: &webkitgtk-size; + </para> </listitem> <listitem> - <para>Estimated disk space required: &webkitgtk-buildsize;</para> + <para> + Estimated disk space required: &webkitgtk-buildsize; + </para> </listitem> <listitem> - <para>Estimated build time: &webkitgtk-time;</para> + <para> + Estimated build time: &webkitgtk-time; + </para> </listitem> </itemizedlist> @@ -70,77 +85,90 @@ <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead> <bridgehead renderas="sect4">Required</bridgehead> - <para role="required"><xref linkend="gperf"/>, <xref linkend="libjpeg"/>, - <xref linkend="libpng"/>, <xref linkend="icu"/>, <xref linkend="libxslt"/>, - <xref linkend="gtk2"/> or <xref linkend="gtk3"/> (if both are installed - configure defaults to using gtk+-3), <xref linkend="libsoup"/>, - <xref linkend="gst-plugins-base"/>, <xref linkend="which"/> - and <xref linkend="sqlite"/></para> + <para role="required"> + <xref linkend="gperf"/>, + <xref linkend="libjpeg"/>, + <xref linkend="libpng"/>, + <xref linkend="icu"/>, + <xref linkend="libxslt"/>, + <xref linkend="gtk2"/> or <xref linkend="gtk3"/> (configure defaults to + using gtk+-3), + <xref linkend="libsoup"/>, + <xref linkend="gst-plugins-base"/>, + <xref linkend="which"/> and + <xref linkend="sqlite"/>. + </para> <bridgehead renderas="sect4">Optional</bridgehead> - <para role="optional"><xref linkend="curl"/>, <xref linkend="enchant"/>, - <ulink - url="http://www.freedesktop.org/wiki/Software/GeoClue">GeoClue</ulink>, - <xref linkend="gobject-introspection"/> (required if building - <application>epiphany</application>), <xref linkend="gtk-doc"/> and - <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>.</para> + <para role="optional"> + <xref linkend="curl"/>, + <xref linkend="enchant"/>, + <ulink url="http://www.freedesktop.org/wiki/Software/GeoClue">GeoClue</ulink>, + <xref linkend="gobject-introspection"/> (required if building + <application>epiphany</application>), + <xref linkend="gtk-doc"/> and + <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>. + </para> - <para condition="html" role="usernotes">User Notes: - <ulink url="&blfs-wiki;/webkitgtk"/></para> - + <para condition="html" role="usernotes"> + User Notes: <ulink url="&blfs-wiki;/webkitgtk"/> + </para> </sect2> <sect2 role="installation"> <title>Installation of WebKitGTK+</title> - <para>These instructions assume you are installing - <application>WebKitGTK+</application> to support a - <application>GNOME</application> desktop - if not, please review the - explanations for the various optional parameters.</para> + <para> + These instructions assume you are installing + <application>WebKitGTK+</application> to support a + <application>GNOME</application> desktop - if not, please review the + explanations for the various optional parameters. + </para> - <para>Install <application>WebKitGTK+</application> by running the - following commands:</para> + <para> + Install <application>WebKitGTK+</application> by running the following + commands: + </para> <screen><userinput>patch -p1 < ../webkitgtk-&webkitgtk-version;_gcc-4.7-1.patch && -./configure --prefix=/usr --with-gtk=3.0 \ - --enable-introspection && +./configure --prefix=/usr --enable-introspection && make</userinput></screen> - <para>To test the results, issue: <command>make check</command> (you must be - in an xterm or similar to do this, because it launches some windows).</para> + <para> + To test the results, issue: <command>make check</command> (you must be in + an xterm or similar to do this, because it launches some windows). + </para> - <para>Now, as the <systemitem class="username">root</systemitem> - user:</para> + <para> + Now, as the <systemitem class="username">root</systemitem> user: + </para> <screen role="root"><userinput>make install</userinput></screen> - </sect2> <sect2 role="commands"> <title>Command Explanations</title> - <para><parameter>--with-gtk=3.0</parameter>: This switch forces - <application>Webkit</application> to compile against - <application>Gtk+-3</application> and is required for a - <application>GNOME</application> desktop.</para> + <para> + <option>--with-gtk=2.0</option>: This option forces + <application>Webkit</application> to compile against + <application>Gtk+-2</application>, even if + <application>Gtk+-3</application> is also installed. With + <application>Gtk+-2</application>, everything + <application>Webkit</application> installs is suffixed with 1.0. When it + is compiled against <application>Gtk+-3</application> everything it + installs is suffixed with 3.0. Both versions can be installed alongside + one another with no namespace conflicts. + </para> - <para><option>--with-gtk=2.0</option>: This option forces - <application>Webkit</application> to compile against - <application>Gtk+-2</application>, even if - <application>Gtk+-3</application> is also installed. With - <application>Gtk+-2</application>, everything - <application>Webkit</application> installs is suffixed with 1.0. When it is - compiled against <application>Gtk+-3</application> everything it installs - is suffixed with 3.0. Both versions can be installed alongside one another - with no namespace conflicts.</para> + <para> + <option>--enable-introspection</option>: This option enables support for + gobject-introspection and is required for a + <application>GNOME</application> desktop. + </para> - <para><option>--enable-introspection</option>: This option enables support - for gobject-introspection and is required for a - <application>GNOME</application> desktop.</para> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../../xincludes/gtk-doc-rebuild.xml"/> - </sect2> <sect2 role="content"> @@ -152,14 +180,20 @@ <segtitle>Installed Directories</segtitle> <seglistitem> - <seg>jsc-1 or jsc-3 (depending on whether you installed the gtk+-2 or - gtk+-3 version of webkit)</seg> - <seg>libwebkit-1.0.so and libjavascriptcoregtk-1.0.so or - libwebkit-3.0.so and libjavascriptcoregtk-3.0.so (depending on whether - you installed the gtk+-2 or gtk+-3 version of webkit)</seg> - <seg>/usr/include/webkit-1.0 and /usr/share/webkit-1.0 or - /usr/include/webkit-3.0 and /usr/share/webkit-3.0 (depending on whether - you installed the gtk+-2 or gtk+-3 version of webkit)</seg> + <seg> + jsc-1 or jsc-3 (depending on whether you installed the gtk+-2 or + gtk+-3 version of webkit) + </seg> + <seg> + libwebkit-1.0.so and libjavascriptcoregtk-1.0.so or libwebkit-3.0.so + and libjavascriptcoregtk-3.0.so (depending on whether you installed + the gtk+-2 or gtk+-3 version of webkit) + </seg> + <seg> + /usr/include/webkit-1.0 and /usr/share/webkit-1.0 or + /usr/include/webkit-3.0 and /usr/share/webkit-3.0 (depending on + whether you installed the gtk+-2 or gtk+-3 version of webkit) + </seg> </seglistitem> </segmentedlist> @@ -171,8 +205,10 @@ <varlistentry id="jsc"> <term><command>jsc-1</command> or <command>jsc-3</command></term> <listitem> - <para>is a command-line utility that allows you to run JavaScript - programs outside of the context of a web browser.</para> + <para> + is a command-line utility that allows you to run JavaScript programs + outside of the context of a web browser. + </para> <indexterm zone="webkitgtk jsc"> <primary sortas="b-jsc">jsc</primary> </indexterm> @@ -182,8 +218,10 @@ <varlistentry id="libwebkit-1.0"> <term><filename class="libraryfile">libwebkit-1.0.so</filename></term> <listitem> - <para>contains the <application>WebKitGTK+</application> API - functions for <application>gtk+-2</application>.</para> + <para> + contains the <application>WebKitGTK+</application> API functions for + <application>gtk+-2</application>. + </para> <indexterm zone="webkitgtk libwebkit-1.0"> <primary sortas="c-libwebkit-1.0">libwebkit-1.0.so</primary> </indexterm> @@ -193,8 +231,10 @@ <varlistentry id="libwebkit-3.0"> <term><filename class="libraryfile">libwebkit-3.0.so</filename></term> <listitem> - <para>contains the <application>WebKitGTK+</application> API - functions for <application>gtk+-3</application>.</para> + <para> + contains the <application>WebKitGTK+</application> API functions for + <application>gtk+-3</application>. + </para> <indexterm zone="webkitgtk libwebkit-3.0"> <primary sortas="c-libwebkit-3.0">libwebkit-3.0.so</primary> </indexterm> @@ -205,8 +245,9 @@ <term><filename class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term> <listitem> - <para>contains functions that are used by - <command>jsc-1</command></para> + <para> + contains functions that are used by <command>jsc-1</command>. + </para> <indexterm zone="webkitgtk libjavascriptcoregtk-1.0"> <primary sortas="c-libjavascriptcoregtk-1.0">libjavascriptcoregtk-1.0.so</primary> @@ -218,8 +259,9 @@ <term><filename class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term> <listitem> - <para>contains functions that are used by - <command>jsc-3</command></para> + <para> + contains functions that are used by <command>jsc-3</command>. + </para> <indexterm zone="webkitgtk libjavascriptcoregtk-3.0"> <primary sortas="c-libjavascriptcoregtk-3.0">libjavascriptcoregtk-3.0.so</primary> @@ -227,7 +269,5 @@ </listitem> </varlistentry> </variablelist> - </sect2> - </sect1> -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
