source: networking/netlibs/libsoup3.xml@ 796b52a9

xry111/soup3
Last change on this file since 796b52a9 was 796b52a9, checked in by Xi Ruoyao <xry111@…>, 2 years ago

update to libsoup-3.2.0 (#17031)

  • Property mode set to 100644
File size: 6.5 KB
RevLine 
[941e3b09]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 libsoup3-download-http
8 "&gnome-download-http;/libsoup/&libsoup3-minor;/libsoup-&libsoup3-version;.tar.xz">
9 <!ENTITY libsoup3-download-ftp
10 "&gnome-download-ftp;/libsoup/&libsoup3-minor;/libsoup-&libsoup3-version;.tar.xz">
[796b52a9]11 <!ENTITY libsoup3-md5sum "34f1f15aa43f974dadf256aef2e89587">
[941e3b09]12 <!ENTITY libsoup3-size "1.5 MB">
[056b5965]13 <!ENTITY libsoup3-buildsize "19 MB (with tests)">
[aa88341]14 <!ENTITY libsoup3-time "0.3 SBU (Using parallelism=4; with tests)">
[941e3b09]15]>
16
17<sect1 id="libsoup3" xreflabel="libsoup-&libsoup3-version;">
18 <?dbhtml filename="libsoup3.html"?>
19
20 <sect1info>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>libsoup-&libsoup3-version;</title>
25
26 <indexterm zone="libsoup3">
27 <primary sortas="a-libsoup3">libsoup3</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to libsoup3</title>
32
33 <para>
34 The <application>libsoup3</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
[0942224]40 &lfs112_checked;
[941e3b09]41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&libsoup3-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&libsoup3-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &libsoup3-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &libsoup3-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &libsoup3-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &libsoup3-time;
72 </para>
73 </listitem>
74 </itemizedlist>
[aa88341]75
[941e3b09]76 <bridgehead renderas="sect3">libsoup3 Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
79 <para role="required">
80 <xref linkend="glib-networking"/>,
81 <xref linkend="libpsl"/>,
[bf2ef33]82 <xref linkend="libxml2"/>,
83 <xref linkend="nghttp2"/>, and
[941e3b09]84 <xref linkend="sqlite"/>
85 </para>
86
87 <bridgehead renderas="sect4">Recommended</bridgehead>
88 <para role="recommended">
89 <xref linkend="gobject-introspection"/> and
90 <xref linkend="vala"/>
91 </para>
92
93 <bridgehead renderas="sect4">Optional</bridgehead>
94 <para role="optional">
95 <xref linkend="apache"/> (required to run the test suite),
96 <xref linkend="brotli"/>,
97 <xref linkend="curl"/> (required to run the test suite),
98 <xref linkend="sysprof"/> (for profiling),
99 <xref linkend="mitkrb"/> (required to run the test suite),
100 <xref linkend="gtk-doc"/>,
101 <!-- It seems that XMLRPC is part of PHP 5.4.10 -->
102 <xref linkend="php"/> compiled with XMLRPC-EPI
103 support (only used for the XMLRPC regression tests), and
104 <xref linkend="samba"/> (ntlm_auth is required to run the test suite)
105 </para>
106
107 <para condition="html" role="usernotes">
108 User Notes: <ulink url="&blfs-wiki;/libsoup3"/>
109 </para>
110 </sect2>
111
112 <sect2 role="installation">
113 <title>Installation of libsoup3</title>
114
115 <para>
116 Install <application>libsoup3</application> by running the following
117 commands:
118 </para>
119
120<screen><userinput>mkdir build &amp;&amp;
121cd build &amp;&amp;
122
[796b52a9]123meson --prefix=/usr \
124 --buildtype=release \
125 --wrap-mode=nofallback \
126 -Dvapi=enabled \
127 -Dgssapi=disabled \
128 -Dsysprof=disabled \
[941e3b09]129 .. &amp;&amp;
130ninja</userinput></screen>
131
132 <para>
133 To test the results, issue: <command>ninja test</command>.
134 </para>
135
136 <para>
137 Now, as the <systemitem class="username">root</systemitem> user:
138 </para>
139
140<screen role="root"><userinput>ninja install</userinput></screen>
141
142 </sect2>
143
144 <sect2 role="commands">
145 <title>Command Explanations</title>
146
147 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
148 href="../../xincludes/meson-buildtype-release.xml"/>
149
[796b52a9]150 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
151 href="../../xincludes/meson-wrap-nofallback.xml"/>
152
[941e3b09]153 <para>
154 <option>-Dvapi=disabled</option>: Use this if you have not installed
155 <application>Vala</application>, e.g. because you are not building
156 <application>GNOME</application>.
157 </para>
158
159 <para>
160 <option>-Ddoc=enabled</option>: Use this option if you want to build
161 the documentation. Note that you must have <xref linkend="gtk-doc"/> installed.
162 </para>
163
164 <para>
165 <parameter>-Dgssapi=disabled</parameter>: libsoup3 defaults to building with GSSAPI support,
166 which requires Kerberos (as does the test suite).
167 </para>
168
169 <para>
170 <parameter>-Dsysprof=disabled</parameter>: libsoup3 will automatically download
171 a git version of <xref linkend="sysprof"/> if git is available or use the installed
172 version if available. If you need profiling, remove this option.
173 </para>
174
175 </sect2>
176
177 <sect2 role="content">
178 <title>Contents</title>
179
180 <segmentedlist>
181 <segtitle>Installed Programs</segtitle>
182 <segtitle>Installed Libraries</segtitle>
183 <segtitle>Installed Directories</segtitle>
184
185 <seglistitem>
186 <seg>
187 None
188 </seg>
189 <seg>
[1fe05eb]190 libsoup-3.0.so
[941e3b09]191 </seg>
192 <seg>
193 /usr/include/libsoup-3.0,
194 /usr/share/gtk-doc/html/libsoup-3.0 (only installed if -Ddoc=true is passed)
195 </seg>
196 </seglistitem>
197 </segmentedlist>
198
199 <variablelist>
200 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
201 <?dbfo list-presentation="list"?>
202 <?dbhtml list-presentation="table"?>
203
204 <varlistentry id="libsoup-3">
205 <term><filename class="libraryfile">libsoup-3.0.so</filename></term>
206 <listitem>
207 <para>
208 provides functions for asynchronous HTTP connections
209 </para>
210 <indexterm zone="libsoup libsoup-3">
211 <primary sortas="c-libsoup-3">libsoup-3.0.so</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 </variablelist>
217
218 </sect2>
219
220</sect1>
Note: See TracBrowser for help on using the repository browser.