source: networking/netlibs/libsoup.xml@ 13c06cb2

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 13c06cb2 was 13c06cb2, checked in by Xi Ruoyao <xry111@…>, 20 months ago

libsoup2: document a test failure

  • Property mode set to 100644
File size: 8.1 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 libsoup-download-http
8 "&gnome-download-http;/libsoup/&libsoup-minor;/libsoup-&libsoup-version;.tar.xz">
9 <!ENTITY libsoup-download-ftp
10 "&gnome-download-ftp;/libsoup/&libsoup-minor;/libsoup-&libsoup-version;.tar.xz">
11 <!ENTITY libsoup-md5sum "d8c5bc7f471c7462c29cc2ccebe3d9ca">
12 <!ENTITY libsoup-size "1.4 MB">
13 <!ENTITY libsoup-buildsize "16 MB (with tests)">
14 <!ENTITY libsoup-time "0.2 SBU (Using parallelism=4; with tests)">
15]>
16
17<sect1 id="libsoup" xreflabel="libsoup-&libsoup-version;">
18 <?dbhtml filename="libsoup.html"?>
19
20 <sect1info>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>libsoup-&libsoup-version;</title>
25
26 <indexterm zone="libsoup">
27 <primary sortas="a-libsoup">libsoup</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to libsoup</title>
32
33 <para>
34 The <application>libsoup</application> is a HTTP client/server library for
35 <application>GNOME</application>. It uses GObject and the GLib main loop
36 to integrate with <application>GNOME</application> applications and
37 it also has an asynchronous API for use in threaded applications.
38 </para>
39
40 &lfs112_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&libsoup-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&libsoup-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &libsoup-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &libsoup-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &libsoup-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &libsoup-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75<!--
76 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
77 <itemizedlist spacing="compact">
78 <listitem>
79 <para>
80 Required patch:
81 <ulink url="&patch-root;/libsoup-&libsoup-version;-testsuite_fix-1.patch"/>
82 </para>
83 </listitem>
84 </itemizedlist>
85-->
86<!--
87 <warning>
88 <para>
89 You may have noticed newer libsoup releases versioned 3.x.y is
90 available. However, currently some downstream packages support
91 libsoup-3.x, while the others do not. Installing libsoup-3.x into
92 BLFS is known to cause troubles, even if both libsoup-2.x and 3.x
93 are installed. So, do <emphasis role='bold'>not</emphasis> install
94 libsoup-3.x into BLFS unless you know what you are doing. We plan
95 to keep using libsoup-2.x for BLFS until GNOME-43 release.
96 </para>
97 </warning>
98-->
99 <bridgehead renderas="sect3">libsoup Dependencies</bridgehead>
100
101 <bridgehead renderas="sect4">Required</bridgehead>
102 <para role="required">
103 <xref linkend="glib-networking"/>,
104 <xref linkend="libpsl"/>,
105 <xref linkend="libxml2"/>, and
106 <xref linkend="sqlite"/>
107 </para>
108
109 <bridgehead renderas="sect4">Recommended</bridgehead>
110 <para role="recommended">
111 <xref linkend="gobject-introspection"/> and
112 <xref linkend="vala"/>
113 </para>
114
115 <bridgehead renderas="sect4">Optional</bridgehead>
116 <para role="optional">
117 <xref linkend="apache"/> (required to run the test suite),
118 <xref linkend="brotli"/>,
119 <xref linkend="curl"/> (required to run the test suite),
120 <xref linkend="sysprof"/> (for profiling),
121 <xref linkend="mitkrb"/> (required to run the test suite),
122 <xref linkend="gtk-doc"/>,
123 <!-- It seems that XMLRPC is part of PHP 5.4.10 -->
124 <xref linkend="php"/> compiled with XMLRPC-EPI
125 support (only used for the XMLRPC regression tests), and
126 <xref linkend="samba"/> (ntlm_auth is required to run the test suite)
127 </para>
128
129 <para condition="html" role="usernotes">
130 User Notes: <ulink url="&blfs-wiki;/libsoup"/>
131 </para>
132 </sect2>
133
134 <sect2 role="installation">
135 <title>Installation of libsoup</title>
136<!--
137 <para>
138 First, fix a problem in the testsuite caused by
139 <xref role="nodep" linkend="glib-networking"/>:
140 </para>
141
142<screen><userinput remap="pre">patch -Np1 -i ../libsoup-&libsoup-version;-testsuite_fix-1.patch</userinput></screen>
143-->
144 <para>
145 Install <application>libsoup</application> by running the following
146 commands:
147 </para>
148
149<screen><userinput>mkdir build &amp;&amp;
150cd build &amp;&amp;
151
152meson --prefix=/usr \
153 --buildtype=release \
154 -Dvapi=enabled \
155 -Dgssapi=disabled \
156 -Dsysprof=disabled \
157 .. &amp;&amp;
158ninja</userinput></screen>
159
160 <para>
161 To test the results, issue: <command>ninja test</command>.
162 <!-- Upstream issue #120. -->
163 One test named <filename>ssl-test</filename> is known to fail.
164 </para>
165
166 <para>
167 Now, as the <systemitem class="username">root</systemitem> user:
168 </para>
169
170<screen role="root"><userinput>ninja install</userinput></screen>
171
172 </sect2>
173
174 <sect2 role="commands">
175 <title>Command Explanations</title>
176
177 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
178 href="../../xincludes/meson-buildtype-release.xml"/>
179
180 <para>
181 <option>-Dvapi=disabled</option>: Use this if you have not installed
182 <application>Vala</application>, e.g. because you are not building
183 <application>GNOME</application>.
184 </para>
185
186 <para>
187 <option>-Ddoc=enabled</option>: Use this option if you want to build
188 the documentation. Note that you must have <xref linkend="gtk-doc"/> installed.
189 </para>
190
191 <para>
192 <parameter>-Dgssapi=disabled</parameter>: libsoup defaults to building with GSSAPI support,
193 which requires Kerberos (as does the test suite). If you are building GNOME or
194 have kerberos installed, remove this option.
195 </para>
196
197 <para>
198 <parameter>-Dsysprof=disabled</parameter>: libsoup will automatically download
199 a git version of <xref linkend="sysprof"/> if git is available or use the installed
200 version if available. If you need profiling, remove this option.
201 </para>
202
203 </sect2>
204
205 <sect2 role="content">
206 <title>Contents</title>
207
208 <segmentedlist>
209 <segtitle>Installed Programs</segtitle>
210 <segtitle>Installed Libraries</segtitle>
211 <segtitle>Installed Directories</segtitle>
212
213 <seglistitem>
214 <seg>
215 None
216 </seg>
217 <seg>
218 libsoup-2.4.so and libsoup-gnome-2.4.so
219 </seg>
220 <seg>
221 /usr/include/libsoup-2.4,
222 /usr/include/libsoup-gnome-2.4 and
223 /usr/share/gtk-doc/html/libsoup-2.4 <!-- only installed if -Ddoc=true is
224 passed. -->
225 </seg>
226 </seglistitem>
227 </segmentedlist>
228
229 <variablelist>
230 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
231 <?dbfo list-presentation="list"?>
232 <?dbhtml list-presentation="table"?>
233
234 <varlistentry id="libsoup-2">
235 <term><filename class="libraryfile">libsoup-2.4.so</filename></term>
236 <listitem>
237 <para>
238 provides functions for asynchronous HTTP connections
239 </para>
240 <indexterm zone="libsoup libsoup-2">
241 <primary sortas="c-libsoup-2">libsoup-2.4.so</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 <varlistentry id="libsoup-gnome-2">
247 <term><filename class="libraryfile">libsoup-gnome-2.4.so</filename></term>
248 <listitem>
249 <para>
250 provides <application>GNOME</application> specific features
251 </para>
252 <indexterm zone="libsoup libsoup-gnome-2">
253 <primary sortas="c-libsoup-gnome-2">libsoup-gnome-2.4.so</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
258 </variablelist>
259
260 </sect2>
261
262</sect1>
Note: See TracBrowser for help on using the repository browser.