Changeset 4ac4aea for x


Ignore:
Timestamp:
03/29/2012 11:35:14 AM (12 years ago)
Author:
Andrew Benton <andy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
11daca34
Parents:
76c1053
Message:

Webkitgtk+ 1.8.0

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/lib/webkitgtk.xml

    r76c1053 r4ac4aea  
    7373    </itemizedlist>
    7474
    75     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    76     <itemizedlist spacing="compact">
    77       <listitem>
    78         <para>
    79           Required patch if you're using <application>GCC-4.7</application>:
    80           <ulink url="&patch-root;/webkitgtk-&webkitgtk-version;_gcc-4.7-1.patch"/>
    81         </para>
    82       </listitem>
    83     </itemizedlist>
    84 
    8575    <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
    8676
     
    9282      <xref linkend="icu"/>,
    9383      <xref linkend="libxslt"/>,
    94       <xref linkend="gtk2"/> or <xref linkend="gtk3"/> (configure defaults to
    95       using gtk+-3),
     84      <xref linkend="gtk2"/> or <xref linkend="gtk3"/>
     85      (<command>configure</command> defaults to using gtk+-3),
    9686      <xref linkend="libsoup"/>,
    9787      <xref linkend="gst-plugins-base"/>,
     88      <ulink url="https://launchpad.net/geoclue/">GeoClue</ulink>,
    9889      <xref linkend="which"/> and
    9990      <xref linkend="sqlite"/>.
     
    10495      <xref linkend="curl"/>,
    10596      <xref linkend="enchant"/>,
    106       <ulink url="https://launchpad.net/geoclue/">GeoClue</ulink>,
    10797      <xref linkend="gobject-introspection"/> (required if building
    10898      <application>epiphany</application>),
     
    120110
    121111    <para>
    122       These instructions assume you are installing
    123       <application>WebKitGTK+</application> to support a
    124       <application>GNOME</application> desktop - if not, please review the
    125       explanations for the various optional parameters.
    126     </para>
    127 
    128     <para>
    129       Install <application>WebKitGTK+</application> by running the following
     112      <application>WebKit</application> takes a long time to compile, so if you
     113      have a multicore CPU it can be useful to speed up the build by running
     114      make with multiple jobs.
     115    </para>
     116
     117    <para>
     118      If you want to run make with just one job, install
     119      <application>WebKit</application> by running the following commands:
     120    </para>
     121
     122<screen><userinput>./configure --prefix=/usr --enable-introspection &amp;&amp;
     123make</userinput></screen>
     124
     125    <para>
     126      If you have a multicore CPU and want to run make with multiple jobs,
     127      install <application>WebKit</application> by running the following
    130128      commands:
    131129    </para>
    132130
    133 <screen><userinput>patch -p1 &lt; ../webkitgtk-&webkitgtk-version;_gcc-4.7-1.patch &amp;&amp;
    134 ./configure --prefix=/usr --enable-introspection &amp;&amp;
    135 make</userinput></screen>
    136 
     131<screen><userinput>./configure --prefix=/usr --enable-introspection &amp;&amp;
     132until make -j$(getconf _NPROCESSORS_ONLN)
     133do echo "Let's try that again..."
     134done</userinput></screen>
     135
     136    <para>
     137      This package does not have a working testsuite.
     138    </para>
     139<!--
    137140    <para>
    138141      To test the results, issue: <command>make check</command> (you must be in
    139142      an xterm or similar to do this, because it launches some windows).
    140     </para>
     143      Requires <xref linkend="pygobject2"/>.
     144    </para>
     145-->
    141146
    142147    <para>
     
    149154  <sect2 role="commands">
    150155    <title>Command Explanations</title>
     156
     157    <para>
     158      <option>--enable-introspection</option>: This option enables support for
     159      <application>Gobject-Introspection</application> and is required for a
     160      <application>GNOME</application> desktop.
     161    </para>
     162
     163    <para>
     164      <command>until make -j$(getconf _NPROCESSORS_ONLN)</command>). Sadly
     165      there are race conditions in the makefiles that will cause the build to
     166      fail if you run make with multiple jobs. This simple hack works around
     167      that, <command>until</command> will keep running <command>make</command>
     168      until it succeeds. <command>$(getconf _NPROCESSORS_ONLN)</command> prints
     169      the number of cores your computer seems to have.
     170    </para>
    151171
    152172    <para>
     
    162182    </para>
    163183
    164     <para>
    165       <option>--enable-introspection</option>: This option enables support for
    166       gobject-introspection and is required for a
    167       <application>GNOME</application> desktop.
    168     </para>
    169 
    170184    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    171185    href="../../xincludes/gtk-doc-rebuild.xml"/>
     
    182196      <seglistitem>
    183197        <seg>
    184           jsc-1 or jsc-3 (depending on whether you installed the gtk+-2 or
    185           gtk+-3 version of webkit)
     198          jsc-1 or jsc-3 (depending on whether you installed the
     199          <application>Gtk+-2</application> or <application>Gtk+-3</application>
     200          version of <application>WebKit</application>).
    186201        </seg>
    187202        <seg>
    188203          libwebkit-1.0.so and libjavascriptcoregtk-1.0.so or libwebkit-3.0.so
    189204          and libjavascriptcoregtk-3.0.so (depending on whether you installed
    190           the gtk+-2 or gtk+-3 version of webkit)
     205          the <application>Gtk+-2</application> or
     206          <application>Gtk+-3</application> version of
     207          <application>WebKit</application>).
    191208        </seg>
    192209        <seg>
    193210          /usr/include/webkit-1.0 and /usr/share/webkit-1.0 or
    194211          /usr/include/webkit-3.0 and /usr/share/webkit-3.0 (depending on
    195           whether you installed the gtk+-2 or gtk+-3 version of webkit)
     212          whether you installed the <application>Gtk+-2</application> or
     213          <application>Gtk+-3</application> version of
     214          <application>WebKit</application>).
    196215        </seg>
    197216      </seglistitem>
     
    220239        <listitem>
    221240          <para>
    222             contains the <application>WebKitGTK+</application> API functions for
     241            contains the <application>WebKit</application> API functions for
    223242            <application>gtk+-2</application>.
    224243          </para>
     
    233252        <listitem>
    234253          <para>
    235             contains the <application>WebKitGTK+</application> API functions for
     254            contains the <application>WebKit</application> API functions for
    236255            <application>gtk+-3</application>.
    237256          </para>
     
    250269          </para>
    251270          <indexterm zone="webkitgtk libjavascriptcoregtk-1.0">
    252             <primary
    253             sortas="c-libjavascriptcoregtk-1.0">libjavascriptcoregtk-1.0.so</primary>
     271            <primary sortas="c-libjavascriptcoregtk-1.0">libjavascriptcoregtk-1.0.so</primary>
    254272          </indexterm>
    255273        </listitem>
     
    264282          </para>
    265283          <indexterm zone="webkitgtk libjavascriptcoregtk-3.0">
    266             <primary
    267             sortas="c-libjavascriptcoregtk-3.0">libjavascriptcoregtk-3.0.so</primary>
     284            <primary sortas="c-libjavascriptcoregtk-3.0">libjavascriptcoregtk-3.0.so</primary>
    268285          </indexterm>
    269286        </listitem>
Note: See TracChangeset for help on using the changeset viewer.