source: x/lib/webkitgtk26.xml@ 6621c93

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 6621c93 was 6621c93, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Update both gtkwebkit sections to build with glib-2.44 and later.

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

  • Property mode set to 100644
File size: 8.8 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 webkitgtk26-download-http "http://webkitgtk.org/releases/webkitgtk-&webkitgtk26-version;.tar.xz">
8 <!ENTITY webkitgtk26-download-ftp " ">
9 <!ENTITY webkitgtk26-md5sum "44addb5ccdace97642cb7656382293bb">
10 <!ENTITY webkitgtk26-size "9.6 MB">
11 <!ENTITY webkitgtk26-buildsize "877 MB (94 MB installed)">
12 <!ENTITY webkitgtk26-time "29 SBU (using parallelism=4)">
13]>
14
15<sect1 id="webkitgtk26" xreflabel="WebKitGTK+-&webkitgtk26-version;">
16 <?dbhtml filename="webkitgtk26.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>WebKitGTK+-&webkitgtk26-version;</title>
24
25 <indexterm zone="webkitgtk26">
26 <primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to WebKitGTK+</title>
31
32 <para>
33 The <application>WebKitGTK+</application> is the port of the portable web
34 rendering engine <application>WebKit</application> to the
35 <application>GTK+ 3</application> and <application>GTK+ 2</application>
36 platforms.
37 </para>
38
39 &lfs77_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&webkitgtk26-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&webkitgtk26-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &webkitgtk26-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &webkitgtk26-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &webkitgtk26-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &webkitgtk26-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="cmake"/>,
80 <xref linkend="gst10-plugins-base"/>,
81 <xref linkend="gtk2"/>,
82 <xref linkend="gtk3"/>,
83 <xref linkend="icu"/>,
84 <xref linkend="libsecret"/>,
85 <xref linkend="libsoup"/>,
86 <xref linkend="libwebp"/>,
87 <xref linkend="mesalib"/>,
88 <xref linkend="ruby"/>,
89 <xref linkend="sqlite"/>,
90 <xref linkend="udev-extras"/> (for GUdev) and
91 <xref linkend="which"/>
92 </para>
93
94 <bridgehead renderas="sect4">Recommended</bridgehead>
95 <para role="recommended">
96 <xref linkend="enchant"/>,
97 <xref linkend="geoclue"/>,
98 <xref linkend="gobject-introspection"/>,
99 <xref linkend="hicolor-icon-theme"/>
100 </para>
101
102 <bridgehead renderas="sect4">Optional</bridgehead>
103 <para role="optional">
104 <xref linkend="gtk-doc"/>,
105 <xref linkend="harfbuzz"/>,
106 <xref linkend="llvm"/>,
107 <ulink url="http://gitorious.org/geoclue2/">GeoClue2</ulink>, and
108 <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
109 </para>
110
111 <para condition="html" role="usernotes">
112 User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
113 </para>
114 </sect2>
115
116 <sect2 role="installation">
117 <title>Installation of WebKitGTK+</title>
118
119 <bridgehead renderas="sect3">Installation of
120 <application>WebKitGTK+</application></bridgehead>
121
122 <para>First, fix some code when building with glib-2.44 and later:</para>
123
124<screen><userinput>pushd Source/WebCore/platform/graphics/gstreamer &amp;&amp;
125 sed -i 's/GMutexLocker&lt;/WTF::&amp;/' \
126 MediaPlayerPrivateGStreamerBase.cpp \
127 VideoSinkGStreamer.cpp \
128 WebKitWebSourceGStreamer.cpp &amp;&amp;
129popd &amp;&amp;
130
131sed -i '/using/d' Source/WTF/wtf/gobject/GMutexLocker.h</userinput></screen>
132
133 <para>
134 Install <application>WebKitGTK+</application> by running the
135 following commands:
136 </para>
137
138<screen><userinput>sed -i 's/”/\"/g' Source/WebCore/xml/XMLViewer.{css,js} &amp;&amp;
139
140mkdir -vp build &amp;&amp;
141cd build &amp;&amp;
142
143cmake -DCMAKE_BUILD_TYPE=Release \
144 -DCMAKE_INSTALL_PREFIX=/usr \
145 -DCMAKE_SKIP_RPATH=ON \
146 -DPORT=GTK \
147 -DLIB_INSTALL_DIR=/usr/lib \
148 -Wno-dev .. &amp;&amp;
149make</userinput></screen>
150
151 <para>
152 This package does not have a working testsuite.<!-- However, there are two
153 useable basic graphical web browsers in the build directory,
154 <application>Programs/GtkLauncher</application> and
155 <application>Programs/MiniBrowser</application>. If launching any one
156 fails, there is a problem with the build.-->
157 </para>
158
159 <note><para>
160 When installing, the Makefile does some additional compiling and linking.
161 If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
162 variables need to be defined for the root user. If using sudo to assume
163 root, use the -E option to pass your current environment variables for the
164 install process.
165 </para></note>
166
167 <para>
168 Now, as the <systemitem class="username">root</systemitem> user:
169 </para>
170
171<screen role="root"><userinput>make install &amp;&amp;
172
173install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &amp;&amp;
174install -vm644 ../Documentation/webkit2gtk/html/* \
175 /usr/share/gtk-doc/html/webkit2gtk-4.0 &amp;&amp;
176install -vm644 ../Documentation/webkitdomgtk/html/* \
177 /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
178
179 </sect2>
180
181 <sect2 role="commands">
182 <title>Command Explanations</title>
183
184 <para>
185 <command>sed -i ...</command>: Fixes typos in two source code files.
186 </para>
187
188 <para>
189 <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
190 against the system installed <application>malloc</application>.
191 </para>
192
193 <para>
194 <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
195 want to install <xref linkend="geoclue"/> or
196 <ulink url="http://gitorious.org/geoclue2/">GeoClue2</ulink>.
197 </para>
198
199 <para>
200 <option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
201 linkend="gtk-doc"/> is installed and you wish to rebuild and install the
202 API documentation.
203 </para>
204
205 </sect2>
206
207 <sect2 role="content">
208 <title>Contents</title>
209
210 <segmentedlist>
211 <segtitle>Installed Program</segtitle>
212 <segtitle>Installed Libraries</segtitle>
213 <segtitle>Installed Directories</segtitle>
214
215 <seglistitem>
216 <seg>
217 jsc
218 </seg>
219 <seg>
220 libjavascriptcoregtk-4.0.so and
221 libwebkit2gtk-4.0.so
222 </seg>
223 <seg>
224 /usr/include/webkitgtk-4.0,
225 /usr/lib/webkit2gtk-4.0,
226 /usr/libexec/webkit2gtk-4.0,
227 /usr/share/gtk-doc/html/webkit2gtk-4.0, and
228 /usr/share/gtk-doc/html/webkitdomgtk-4.0
229 </seg>
230 </seglistitem>
231 </segmentedlist>
232
233 <variablelist>
234 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
235 <?dbfo list-presentation="list"?>
236 <?dbhtml list-presentation="table"?>
237
238 <varlistentry id="jsc">
239 <term><command>jsc</command></term>
240 <listitem>
241 <para>
242 is a command-line utility that allows you to run JavaScript programs
243 outside of the context of a web browser.
244 </para>
245 <indexterm zone="webkitgtk26 jsc">
246 <primary sortas="b-jsc">jsc</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 <varlistentry id="libjavascriptcoregtk-4.0">
252 <term><filename
253 class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
254 <listitem>
255 <para>
256 contains core JavaScript API functions used by
257 <command>jsc</command> and <filename
258 class="libraryfile">libwebkit2gtk-4.0</filename>.
259 </para>
260 <indexterm zone="webkitgtk26 libjavascriptcoregtk-4.0">
261 <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="libwebkit2gtk-4">
267 <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
268 <listitem>
269 <para>
270 contains the <application>WebKit2</application> API functions.
271 </para>
272 <indexterm zone="webkitgtk26 libwebkit2gtk-4">
273 <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 </variablelist>
279
280 </sect2>
281
282</sect1>
Note: See TracBrowser for help on using the repository browser.