source: networking/netlibs/libsoup.xml@ 0dba921

11.0 11.1 11.2 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 0dba921 was 0dba921, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Fix libsoup download url

  • Property mode set to 100644
File size: 7.5 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/2.74/libsoup-&libsoup-version;.tar.xz">
9 <!ENTITY libsoup-download-ftp
10 "&gnome-download-ftp;/libsoup/2.74/libsoup-&libsoup-version;.tar.xz">
11 <!ENTITY libsoup-md5sum "076f7ceeb73ebae2cc55a4c2877f6926">
12 <!ENTITY libsoup-size "1.4 MB">
13 <!ENTITY libsoup-buildsize "15 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 &lfs110a_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 <bridgehead renderas="sect3">libsoup Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Required</bridgehead>
89 <para role="required">
90 <xref linkend="glib-networking"/>,
91 <xref linkend="libpsl"/>,
92 <xref linkend="libxml2"/>, and
93 <xref linkend="sqlite"/>
94 </para>
95
96 <bridgehead renderas="sect4">Recommended</bridgehead>
97 <para role="recommended">
98 <xref linkend="gobject-introspection"/>,
99 <xref linkend="sysprof"/>, and
100 <xref linkend="vala"/>
101 </para>
102
103 <bridgehead renderas="sect4">Optional</bridgehead>
104 <para role="optional">
105 <xref linkend="apache"/> (required to run the test suite),
106 <xref linkend="brotli"/>,
107 <xref linkend="curl"/> (required to run the test suite),
108 <xref linkend="sysprof"/> (for profiling),
109 <xref linkend="mitkrb"/> (required to run the test suite),
110 <xref linkend="gtk-doc"/>,
111 <!-- It seems that XMLRPC is part of PHP 5.4.10 -->
112 <xref linkend="php"/> compiled with XMLRPC-EPI
113 support (only used for the XMLRPC regression tests), and
114 <xref linkend="samba"/> (ntlm_auth is required to run the test suite)
115 </para>
116
117 <para condition="html" role="usernotes">
118 User Notes: <ulink url="&blfs-wiki;/libsoup"/>
119 </para>
120 </sect2>
121
122 <sect2 role="installation">
123 <title>Installation of libsoup</title>
124<!--
125 <para>
126 First, fix a problem in the testsuite caused by
127 <xref role="nodep" linkend="glib-networking"/>:
128 </para>
129
130<screen><userinput remap="pre">patch -Np1 -i ../libsoup-&libsoup-version;-testsuite_fix-1.patch</userinput></screen>
131-->
132 <para>
133 Install <application>libsoup</application> by running the following
134 commands:
135 </para>
136
137<screen><userinput>mkdir build &amp;&amp;
138cd build &amp;&amp;
139
140meson --prefix=/usr \
141 --buildtype=release \
142 -Dvapi=enabled \
143 -Dgssapi=disabled \
144 -Dsysprof=disabled \
145 .. &amp;&amp;
146ninja</userinput></screen>
147
148 <para>
149 To test the results, issue: <command>ninja test</command>.
150 </para>
151
152 <para>
153 Now, as the <systemitem class="username">root</systemitem> user:
154 </para>
155
156<screen role="root"><userinput>ninja install</userinput></screen>
157
158 </sect2>
159
160 <sect2 role="commands">
161 <title>Command Explanations</title>
162
163 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
164 href="../../xincludes/meson-buildtype-release.xml"/>
165
166 <para>
167 <option>-Dvapi=disabled</option>: Use this if you have not installed
168 <application>Vala</application>, e.g. because you are not building
169 <application>GNOME</application>.
170 </para>
171
172 <para>
173 <option>-Ddoc=enabled</option>: Use this option if you want to build
174 the documentation. Note that you must have <xref linkend="gtk-doc"/> installed.
175 </para>
176
177 <para>
178 <parameter>-Dgssapi=disabled</parameter>: libsoup defaults to building with GSSAPI support,
179 which requires Kerberos (as does the test suite). If you are building GNOME or
180 have kerberos installed, remove this option.
181 </para>
182
183 <para>
184 <parameter>-Dsysprof=disabled</parameter>: libsoup will automatically download
185 a git version of <xref linkend="sysprof"/> if git is available or use the installed
186 version if available. If you need profiling, remove this option.
187 </para>
188
189 </sect2>
190
191 <sect2 role="content">
192 <title>Contents</title>
193
194 <segmentedlist>
195 <segtitle>Installed Programs</segtitle>
196 <segtitle>Installed Libraries</segtitle>
197 <segtitle>Installed Directories</segtitle>
198
199 <seglistitem>
200 <seg>
201 None
202 </seg>
203 <seg>
204 libsoup-2.4.so and libsoup-gnome-2.4.so
205 </seg>
206 <seg>
207 /usr/include/libsoup-2.4,
208 /usr/include/libsoup-gnome-2.4 and
209 /usr/share/gtk-doc/html/libsoup-2.4 <!-- only installed if -Ddoc=true is
210 passed. -->
211 </seg>
212 </seglistitem>
213 </segmentedlist>
214
215 <variablelist>
216 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
217 <?dbfo list-presentation="list"?>
218 <?dbhtml list-presentation="table"?>
219
220 <varlistentry id="libsoup-2">
221 <term><filename class="libraryfile">libsoup-2.4.so</filename></term>
222 <listitem>
223 <para>
224 provides functions for asynchronous HTTP connections
225 </para>
226 <indexterm zone="libsoup libsoup-2">
227 <primary sortas="c-libsoup-2">libsoup-2.4.so</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="libsoup-gnome-2">
233 <term><filename class="libraryfile">libsoup-gnome-2.4.so</filename></term>
234 <listitem>
235 <para>
236 provides <application>GNOME</application> specific features
237 </para>
238 <indexterm zone="libsoup libsoup-gnome-2">
239 <primary sortas="c-libsoup-gnome-2">libsoup-gnome-2.4.so</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243
244 </variablelist>
245
246 </sect2>
247
248</sect1>
Note: See TracBrowser for help on using the repository browser.