source: x/lib/webkitgtk.xml@ 69d9406d

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
Last change on this file since 69d9406d was 69d9406d, checked in by Andrew Benton <andy@…>, 12 years ago

Webkitgtk gcc-4.7 patch

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

  • Property mode set to 100644
File size: 8.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY webkitgtk-download-http "http://webkitgtk.org/webkit-&webkitgtk-version;.tar.gz">
8 <!ENTITY webkitgtk-download-ftp " ">
9 <!ENTITY webkitgtk-md5sum "c11743694b1b71dad287b2e7a9e73b05">
10 <!ENTITY webkitgtk-size "9.7 MB">
11 <!ENTITY webkitgtk-buildsize "500 MB (38 MB installed)">
12 <!ENTITY webkitgtk-time "28 SBU">
13]>
14
15<sect1 id="webkitgtk" xreflabel="WebKitGTK+-&webkitgtk-version;">
16 <?dbhtml filename="webkitgtk.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>WebKitGTK+-&webkitgtk-version;</title>
24
25 <indexterm zone="webkitgtk">
26 <primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to WebKitGTK+</title>
31
32 <para>The <application>WebKitGTK+</application> package is the port of the
33 portable web rendering engine <application>WebKit</application> to the
34 <application>GTK+</application> platform.</para>
35
36 &lfs71_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&webkitgtk-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&webkitgtk-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &webkitgtk-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &webkitgtk-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &webkitgtk-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &webkitgtk-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
61 <itemizedlist spacing="compact">
62 <listitem>
63 <para>
64 Required patch if you're using <application>GCC-4.7</application>:
65 <ulink url="&patch-root;/webkitgtk-&webkitgtk-version;_gcc-4.7-1.patch"/>
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Required</bridgehead>
73 <para role="required"><xref linkend="gperf"/>, <xref linkend="libjpeg"/>,
74 <xref linkend="libpng"/>, <xref linkend="icu"/>, <xref linkend="libxslt"/>,
75 <xref linkend="gtk2"/> or <xref linkend="gtk3"/> (if both are installed
76 configure defaults to using gtk+-3), <xref linkend="libsoup"/>,
77 <xref linkend="gst-plugins-base"/>, <xref linkend="which"/>
78 and <xref linkend="sqlite"/></para>
79
80 <bridgehead renderas="sect4">Optional</bridgehead>
81 <para role="optional"><xref linkend="curl"/>, <xref linkend="enchant"/>,
82 <ulink
83 url="http://www.freedesktop.org/wiki/Software/GeoClue">GeoClue</ulink>,
84 <xref linkend="gobject-introspection"/> (required if building
85 <application>epiphany</application>), <xref linkend="gtk-doc"/> and
86 <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>.</para>
87
88 <para condition="html" role="usernotes">User Notes:
89 <ulink url="&blfs-wiki;/webkitgtk"/></para>
90
91 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of WebKitGTK+</title>
95
96 <para>These instructions assume you are installing
97 <application>WebKitGTK+</application> to support a
98 <application>GNOME</application> desktop - if not, please review the
99 explanations for the various optional parameters.</para>
100
101 <para>Install <application>WebKitGTK+</application> by running the
102 following commands:</para>
103
104<screen><userinput>patch -p1 &lt; ../webkitgtk-&webkitgtk-version;_gcc-4.7-1.patch &amp;&amp;
105./configure --prefix=/usr --with-gtk=3.0 \
106 --enable-introspection &amp;&amp;
107make</userinput></screen>
108
109 <para>To test the results, issue: <command>make check</command> (you must be
110 in an xterm or similar to do this, because it launches some windows).</para>
111
112 <para>Now, as the <systemitem class="username">root</systemitem>
113 user:</para>
114
115<screen role="root"><userinput>make install</userinput></screen>
116
117 </sect2>
118
119 <sect2 role="commands">
120 <title>Command Explanations</title>
121
122 <para><parameter>--with-gtk=3.0</parameter>: This switch forces
123 <application>Webkit</application> to compile against
124 <application>Gtk+-3</application> and is required for a
125 <application>GNOME</application> desktop.</para>
126
127 <para><option>--with-gtk=2.0</option>: This option forces
128 <application>Webkit</application> to compile against
129 <application>Gtk+-2</application>, even if
130 <application>Gtk+-3</application> is also installed. With
131 <application>Gtk+-2</application>, everything
132 <application>Webkit</application> installs is suffixed with 1.0. When it is
133 compiled against <application>Gtk+-3</application> everything it installs
134 is suffixed with 3.0. Both versions can be installed alongside one another
135 with no namespace conflicts.</para>
136
137 <para><option>--enable-introspection</option>: This option enables support
138 for gobject-introspection and is required for a
139 <application>GNOME</application> desktop.</para>
140
141 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
142 href="../../xincludes/gtk-doc-rebuild.xml"/>
143
144 </sect2>
145
146 <sect2 role="content">
147 <title>Contents</title>
148
149 <segmentedlist>
150 <segtitle>Installed Program</segtitle>
151 <segtitle>Installed Library</segtitle>
152 <segtitle>Installed Directories</segtitle>
153
154 <seglistitem>
155 <seg>jsc-1 or jsc-3 (depending on whether you installed the gtk+-2 or
156 gtk+-3 version of webkit)</seg>
157 <seg>libwebkit-1.0.so and libjavascriptcoregtk-1.0.so or
158 libwebkit-3.0.so and libjavascriptcoregtk-3.0.so (depending on whether
159 you installed the gtk+-2 or gtk+-3 version of webkit)</seg>
160 <seg>/usr/include/webkit-1.0 and /usr/share/webkit-1.0 or
161 /usr/include/webkit-3.0 and /usr/share/webkit-3.0 (depending on whether
162 you installed the gtk+-2 or gtk+-3 version of webkit)</seg>
163 </seglistitem>
164 </segmentedlist>
165
166 <variablelist>
167 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
168 <?dbfo list-presentation="list"?>
169 <?dbhtml list-presentation="table"?>
170
171 <varlistentry id="jsc">
172 <term><command>jsc-1</command> or <command>jsc-3</command></term>
173 <listitem>
174 <para>is a command-line utility that allows you to run JavaScript
175 programs outside of the context of a web browser.</para>
176 <indexterm zone="webkitgtk jsc">
177 <primary sortas="b-jsc">jsc</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="libwebkit-1.0">
183 <term><filename class="libraryfile">libwebkit-1.0.so</filename></term>
184 <listitem>
185 <para>contains the <application>WebKitGTK+</application> API
186 functions for <application>gtk+-2</application>.</para>
187 <indexterm zone="webkitgtk libwebkit-1.0">
188 <primary sortas="c-libwebkit-1.0">libwebkit-1.0.so</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 <varlistentry id="libwebkit-3.0">
194 <term><filename class="libraryfile">libwebkit-3.0.so</filename></term>
195 <listitem>
196 <para>contains the <application>WebKitGTK+</application> API
197 functions for <application>gtk+-3</application>.</para>
198 <indexterm zone="webkitgtk libwebkit-3.0">
199 <primary sortas="c-libwebkit-3.0">libwebkit-3.0.so</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="libjavascriptcoregtk-1.0">
205 <term><filename
206 class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
207 <listitem>
208 <para>contains functions that are used by
209 <command>jsc-1</command></para>
210 <indexterm zone="webkitgtk libjavascriptcoregtk-1.0">
211 <primary
212 sortas="c-libjavascriptcoregtk-1.0">libjavascriptcoregtk-1.0.so</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 <varlistentry id="libjavascriptcoregtk-3.0">
218 <term><filename
219 class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
220 <listitem>
221 <para>contains functions that are used by
222 <command>jsc-3</command></para>
223 <indexterm zone="webkitgtk libjavascriptcoregtk-3.0">
224 <primary
225 sortas="c-libjavascriptcoregtk-3.0">libjavascriptcoregtk-3.0.so</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229 </variablelist>
230
231 </sect2>
232
233</sect1>
Note: See TracBrowser for help on using the repository browser.