- Timestamp:
- 03/29/2012 11:35:14 AM (12 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/lib/webkitgtk.xml
r76c1053 r4ac4aea 73 73 </itemizedlist> 74 74 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 85 75 <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead> 86 76 … … 92 82 <xref linkend="icu"/>, 93 83 <xref linkend="libxslt"/>, 94 <xref linkend="gtk2"/> or <xref linkend="gtk3"/> (configure defaults to95 using gtk+-3),84 <xref linkend="gtk2"/> or <xref linkend="gtk3"/> 85 (<command>configure</command> defaults to using gtk+-3), 96 86 <xref linkend="libsoup"/>, 97 87 <xref linkend="gst-plugins-base"/>, 88 <ulink url="https://launchpad.net/geoclue/">GeoClue</ulink>, 98 89 <xref linkend="which"/> and 99 90 <xref linkend="sqlite"/>. … … 104 95 <xref linkend="curl"/>, 105 96 <xref linkend="enchant"/>, 106 <ulink url="https://launchpad.net/geoclue/">GeoClue</ulink>,107 97 <xref linkend="gobject-introspection"/> (required if building 108 98 <application>epiphany</application>), … … 120 110 121 111 <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 && 123 make</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 130 128 commands: 131 129 </para> 132 130 133 <screen><userinput>patch -p1 < ../webkitgtk-&webkitgtk-version;_gcc-4.7-1.patch && 134 ./configure --prefix=/usr --enable-introspection && 135 make</userinput></screen> 136 131 <screen><userinput>./configure --prefix=/usr --enable-introspection && 132 until make -j$(getconf _NPROCESSORS_ONLN) 133 do echo "Let's try that again..." 134 done</userinput></screen> 135 136 <para> 137 This package does not have a working testsuite. 138 </para> 139 <!-- 137 140 <para> 138 141 To test the results, issue: <command>make check</command> (you must be in 139 142 an xterm or similar to do this, because it launches some windows). 140 </para> 143 Requires <xref linkend="pygobject2"/>. 144 </para> 145 --> 141 146 142 147 <para> … … 149 154 <sect2 role="commands"> 150 155 <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> 151 171 152 172 <para> … … 162 182 </para> 163 183 164 <para>165 <option>--enable-introspection</option>: This option enables support for166 gobject-introspection and is required for a167 <application>GNOME</application> desktop.168 </para>169 170 184 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 171 185 href="../../xincludes/gtk-doc-rebuild.xml"/> … … 182 196 <seglistitem> 183 197 <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>). 186 201 </seg> 187 202 <seg> 188 203 libwebkit-1.0.so and libjavascriptcoregtk-1.0.so or libwebkit-3.0.so 189 204 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>). 191 208 </seg> 192 209 <seg> 193 210 /usr/include/webkit-1.0 and /usr/share/webkit-1.0 or 194 211 /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>). 196 215 </seg> 197 216 </seglistitem> … … 220 239 <listitem> 221 240 <para> 222 contains the <application>WebKit GTK+</application> API functions for241 contains the <application>WebKit</application> API functions for 223 242 <application>gtk+-2</application>. 224 243 </para> … … 233 252 <listitem> 234 253 <para> 235 contains the <application>WebKit GTK+</application> API functions for254 contains the <application>WebKit</application> API functions for 236 255 <application>gtk+-3</application>. 237 256 </para> … … 250 269 </para> 251 270 <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> 254 272 </indexterm> 255 273 </listitem> … … 264 282 </para> 265 283 <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> 268 285 </indexterm> 269 286 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.