source: networking/netlibs/libsoup.xml@ f4ac7141

12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since f4ac7141 was f4ac7141, checked in by Pierre Labastie <pierre.labastie@…>, 7 months ago

Remove many more forgotten ftp urls

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