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.72/libsoup-&libsoup-version;.tar.xz">
|
---|
9 | <!ENTITY libsoup-download-ftp
|
---|
10 | "&gnome-download-ftp;/libsoup/2.72/libsoup-&libsoup-version;.tar.xz">
|
---|
11 | <!ENTITY libsoup-md5sum "859380b76b51fb55d720daea3c76c945">
|
---|
12 | <!ENTITY libsoup-size "1.4 MB">
|
---|
13 | <!ENTITY libsoup-buildsize "24 MB (with tests)">
|
---|
14 | <!ENTITY libsoup-time "0.3 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 | <othername>$LastChangedBy$</othername>
|
---|
22 | <date>$Date$</date>
|
---|
23 | </sect1info>
|
---|
24 |
|
---|
25 | <title>libsoup-&libsoup-version;</title>
|
---|
26 |
|
---|
27 | <indexterm zone="libsoup">
|
---|
28 | <primary sortas="a-libsoup">libsoup</primary>
|
---|
29 | </indexterm>
|
---|
30 |
|
---|
31 | <sect2 role="package">
|
---|
32 | <title>Introduction to libsoup</title>
|
---|
33 |
|
---|
34 | <para>
|
---|
35 | The <application>libsoup</application> is a HTTP client/server library for
|
---|
36 | <application>GNOME</application>. It uses GObject and the GLib main loop
|
---|
37 | to integrate with <application>GNOME</application> applications and
|
---|
38 | it also has an asynchronous API for use in threaded applications.
|
---|
39 | </para>
|
---|
40 |
|
---|
41 | &lfs10_checked;
|
---|
42 |
|
---|
43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
44 | <itemizedlist spacing="compact">
|
---|
45 | <listitem>
|
---|
46 | <para>
|
---|
47 | Download (HTTP): <ulink url="&libsoup-download-http;"/>
|
---|
48 | </para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download (FTP): <ulink url="&libsoup-download-ftp;"/>
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download MD5 sum: &libsoup-md5sum;
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Download size: &libsoup-size;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Estimated disk space required: &libsoup-buildsize;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>
|
---|
72 | Estimated build time: &libsoup-time;
|
---|
73 | </para>
|
---|
74 | </listitem>
|
---|
75 | </itemizedlist>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
78 | <itemizedlist spacing="compact">
|
---|
79 | <listitem>
|
---|
80 | <para>
|
---|
81 | Required patch:
|
---|
82 | <ulink url="&patch-root;/libsoup-&libsoup-version;-testsuite_fix-1.patch"/>
|
---|
83 | </para>
|
---|
84 | </listitem>
|
---|
85 | </itemizedlist>
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect3">libsoup Dependencies</bridgehead>
|
---|
88 |
|
---|
89 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
90 | <para role="required">
|
---|
91 | <xref linkend="glib-networking"/>,
|
---|
92 | <xref linkend="libpsl"/>,
|
---|
93 | <xref linkend="libxml2"/>, and
|
---|
94 | <xref linkend="sqlite"/>
|
---|
95 | </para>
|
---|
96 |
|
---|
97 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
98 | <para role="recommended">
|
---|
99 | <xref linkend="gobject-introspection"/>,
|
---|
100 | <xref linkend="sysprof"/>, and
|
---|
101 | <xref linkend="vala"/>
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
105 | <para role="optional">
|
---|
106 | <xref linkend="apache"/> (required to run the test suite),
|
---|
107 | <xref linkend="brotli"/>,
|
---|
108 | <xref linkend="curl"/> (required to run the test suite),
|
---|
109 | <xref linkend="mitkrb"/> (required to run the test suite),
|
---|
110 | <xref linkend="gtk-doc"/>,
|
---|
111 | <xref linkend="php"/> compiled with XMLRPC-EPI <!-- It seems that XMLRPC is part of PHP 5.4.10 -->
|
---|
112 | support (only used for the XMLRPC regression tests), and
|
---|
113 | <xref linkend="samba"/> (ntlm_auth is required to run the test suite)
|
---|
114 | </para>
|
---|
115 |
|
---|
116 | <para condition="html" role="usernotes">
|
---|
117 | User Notes: <ulink url="&blfs-wiki;/libsoup"/>
|
---|
118 | </para>
|
---|
119 | </sect2>
|
---|
120 |
|
---|
121 | <sect2 role="installation">
|
---|
122 | <title>Installation of libsoup</title>
|
---|
123 |
|
---|
124 | <para>
|
---|
125 | First, fix a problem in the testsuite caused by
|
---|
126 | <xref role="nodep" linkend="glib-networking"/>:
|
---|
127 | </para>
|
---|
128 |
|
---|
129 | <screen><userinput remap="pre">patch -Np1 -i ../libsoup-&libsoup-version;-testsuite_fix-1.patch</userinput></screen>
|
---|
130 |
|
---|
131 | <para>
|
---|
132 | Install <application>libsoup</application> by running the following
|
---|
133 | commands:
|
---|
134 | </para>
|
---|
135 |
|
---|
136 | <screen><userinput>mkdir build &&
|
---|
137 | cd build &&
|
---|
138 |
|
---|
139 | meson --prefix=/usr -Dvapi=enabled -Dgssapi=disabled .. &&
|
---|
140 | ninja</userinput></screen>
|
---|
141 |
|
---|
142 | <para>
|
---|
143 | To test the results, issue: <command>ninja test</command>.
|
---|
144 | </para>
|
---|
145 |
|
---|
146 | <para>
|
---|
147 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
148 | </para>
|
---|
149 |
|
---|
150 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
151 |
|
---|
152 | </sect2>
|
---|
153 |
|
---|
154 | <sect2 role="commands">
|
---|
155 | <title>Command Explanations</title>
|
---|
156 |
|
---|
157 | <para>
|
---|
158 | <option>-Dvapi=disabled</option>: Use this if you have not installed
|
---|
159 | <application>Vala</application>, e.g. because you are not building
|
---|
160 | <application>GNOME</application>.
|
---|
161 | </para>
|
---|
162 |
|
---|
163 | <para>
|
---|
164 | <option>-Ddoc=enabled</option>: Use this option if you want to build
|
---|
165 | the documentation. Note that you must have <xref linkend="gtk-doc"/> installed.
|
---|
166 | </para>
|
---|
167 |
|
---|
168 | <para>
|
---|
169 | <parameter>-Dgssapi=disabled</parameter>: libsoup defaults to building with GSSAPI support,
|
---|
170 | which requires Kerberos (as does the test suite). If you are building GNOME or
|
---|
171 | have kerberos installed, remove this switch.
|
---|
172 | </para>
|
---|
173 |
|
---|
174 | </sect2>
|
---|
175 |
|
---|
176 | <sect2 role="content">
|
---|
177 | <title>Contents</title>
|
---|
178 |
|
---|
179 | <segmentedlist>
|
---|
180 | <segtitle>Installed Programs</segtitle>
|
---|
181 | <segtitle>Installed Libraries</segtitle>
|
---|
182 | <segtitle>Installed Directories</segtitle>
|
---|
183 |
|
---|
184 | <seglistitem>
|
---|
185 | <seg>
|
---|
186 | None
|
---|
187 | </seg>
|
---|
188 | <seg>
|
---|
189 | libsoup-2.4.so and libsoup-gnome-2.4.so
|
---|
190 | </seg>
|
---|
191 | <seg>
|
---|
192 | /usr/include/libsoup-2.4,
|
---|
193 | /usr/include/libsoup-gnome-2.4 and
|
---|
194 | /usr/share/gtk-doc/html/libsoup-2.4 <!-- only installed if -Ddoc=true is
|
---|
195 | passed. -->
|
---|
196 | </seg>
|
---|
197 | </seglistitem>
|
---|
198 | </segmentedlist>
|
---|
199 |
|
---|
200 | <variablelist>
|
---|
201 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
202 | <?dbfo list-presentation="list"?>
|
---|
203 | <?dbhtml list-presentation="table"?>
|
---|
204 |
|
---|
205 | <varlistentry id="libsoup-2">
|
---|
206 | <term><filename class="libraryfile">libsoup-2.4.so</filename></term>
|
---|
207 | <listitem>
|
---|
208 | <para>
|
---|
209 | provides functions for asynchronous HTTP connections.
|
---|
210 | </para>
|
---|
211 | <indexterm zone="libsoup libsoup-2">
|
---|
212 | <primary sortas="c-libsoup-2">libsoup-2.4.so</primary>
|
---|
213 | </indexterm>
|
---|
214 | </listitem>
|
---|
215 | </varlistentry>
|
---|
216 |
|
---|
217 | <varlistentry id="libsoup-gnome-2">
|
---|
218 | <term><filename class="libraryfile">libsoup-gnome-2.4.so</filename></term>
|
---|
219 | <listitem>
|
---|
220 | <para>
|
---|
221 | provides <application>GNOME</application> specific features.
|
---|
222 | </para>
|
---|
223 | <indexterm zone="libsoup libsoup-gnome-2">
|
---|
224 | <primary sortas="c-libsoup-gnome-2">libsoup-gnome-2.4.so</primary>
|
---|
225 | </indexterm>
|
---|
226 | </listitem>
|
---|
227 | </varlistentry>
|
---|
228 |
|
---|
229 | </variablelist>
|
---|
230 |
|
---|
231 | </sect2>
|
---|
232 |
|
---|
233 | </sect1>
|
---|