[38b1a66] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[a2d8572] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[eed7fc8] | 6 |
|
---|
[2322fea6] | 7 | <!ENTITY libsoup-download-http
|
---|
[9e716cc] | 8 | "&gnome-download-http;/libsoup/2.72/libsoup-&libsoup-version;.tar.xz">
|
---|
[2322fea6] | 9 | <!ENTITY libsoup-download-ftp
|
---|
[9e716cc] | 10 | "&gnome-download-ftp;/libsoup/2.72/libsoup-&libsoup-version;.tar.xz">
|
---|
| 11 | <!ENTITY libsoup-md5sum "859380b76b51fb55d720daea3c76c945">
|
---|
[bd57f160] | 12 | <!ENTITY libsoup-size "1.4 MB">
|
---|
[9e716cc] | 13 | <!ENTITY libsoup-buildsize "24 MB (with tests)">
|
---|
[3615df7] | 14 | <!ENTITY libsoup-time "0.3 SBU (Using parallelism=4; with tests)">
|
---|
[a2d8572] | 15 | ]>
|
---|
| 16 |
|
---|
[b342c99] | 17 | <sect1 id="libsoup" xreflabel="libsoup-&libsoup-version;">
|
---|
[38b1a66] | 18 | <?dbhtml filename="libsoup.html"?>
|
---|
[dc775a26] | 19 |
|
---|
[38b1a66] | 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
[dc775a26] | 24 |
|
---|
[9d7119c] | 25 | <title>libsoup-&libsoup-version;</title>
|
---|
[dc775a26] | 26 |
|
---|
[38b1a66] | 27 | <indexterm zone="libsoup">
|
---|
[7ded7e3] | 28 | <primary sortas="a-libsoup">libsoup</primary>
|
---|
[38b1a66] | 29 | </indexterm>
|
---|
[dc775a26] | 30 |
|
---|
[38b1a66] | 31 | <sect2 role="package">
|
---|
[9d7119c] | 32 | <title>Introduction to libsoup</title>
|
---|
[dc775a26] | 33 |
|
---|
[2322fea6] | 34 | <para>
|
---|
[3ec938d] | 35 | The <application>libsoup</application> is a HTTP client/server library for
|
---|
[7ded7e3] | 36 | <application>GNOME</application>. It uses GObject and the GLib main loop
|
---|
[0d7900a] | 37 | to integrate with <application>GNOME</application> applications and
|
---|
[ec7940be] | 38 | it also has an asynchronous API for use in threaded applications.
|
---|
[2322fea6] | 39 | </para>
|
---|
[dc775a26] | 40 |
|
---|
[87351a9] | 41 | &lfs10_checked;
|
---|
[7664866b] | 42 |
|
---|
[38b1a66] | 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
[ac79eeb] | 44 | <itemizedlist spacing="compact">
|
---|
[38b1a66] | 45 | <listitem>
|
---|
[2322fea6] | 46 | <para>
|
---|
| 47 | Download (HTTP): <ulink url="&libsoup-download-http;"/>
|
---|
| 48 | </para>
|
---|
[38b1a66] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[2322fea6] | 51 | <para>
|
---|
| 52 | Download (FTP): <ulink url="&libsoup-download-ftp;"/>
|
---|
| 53 | </para>
|
---|
[38b1a66] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[2322fea6] | 56 | <para>
|
---|
| 57 | Download MD5 sum: &libsoup-md5sum;
|
---|
| 58 | </para>
|
---|
[38b1a66] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[2322fea6] | 61 | <para>
|
---|
| 62 | Download size: &libsoup-size;
|
---|
| 63 | </para>
|
---|
[38b1a66] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[2322fea6] | 66 | <para>
|
---|
| 67 | Estimated disk space required: &libsoup-buildsize;
|
---|
| 68 | </para>
|
---|
[38b1a66] | 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
[2322fea6] | 71 | <para>
|
---|
| 72 | Estimated build time: &libsoup-time;
|
---|
| 73 | </para>
|
---|
[38b1a66] | 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
[dc775a26] | 76 |
|
---|
[9e716cc] | 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 |
|
---|
[9d7119c] | 87 | <bridgehead renderas="sect3">libsoup Dependencies</bridgehead>
|
---|
[dc775a26] | 88 |
|
---|
[38b1a66] | 89 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[2322fea6] | 90 | <para role="required">
|
---|
[41aad3e3] | 91 | <xref linkend="glib-networking"/>,
|
---|
[1ad3510e] | 92 | <xref linkend="libpsl"/>,
|
---|
[140b37b] | 93 | <xref linkend="libxml2"/>, and
|
---|
[41aad3e3] | 94 | <xref linkend="sqlite"/>
|
---|
[2322fea6] | 95 | </para>
|
---|
[dc775a26] | 96 |
|
---|
[7ded7e3] | 97 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[f8efa5b] | 98 | <para role="recommended">
|
---|
[140b37b] | 99 | <xref linkend="gobject-introspection"/>,
|
---|
| 100 | <xref linkend="sysprof"/>, and
|
---|
[699fa99] | 101 | <xref linkend="vala"/>
|
---|
[f8efa5b] | 102 | </para>
|
---|
[beaa51b] | 103 |
|
---|
[38b1a66] | 104 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[2322fea6] | 105 | <para role="optional">
|
---|
[c6bab95] | 106 | <xref linkend="apache"/> (required to run the test suite),
|
---|
[47d5a9e5] | 107 | <xref linkend="brotli"/>,
|
---|
[c6bab95] | 108 | <xref linkend="curl"/> (required to run the test suite),
|
---|
[a8b13c7] | 109 | <xref linkend="mitkrb"/> (required to run the test suite),
|
---|
[2322fea6] | 110 | <xref linkend="gtk-doc"/>,
|
---|
[1700976] | 111 | <xref linkend="php"/> compiled with XMLRPC-EPI <!-- It seems that XMLRPC is part of PHP 5.4.10 -->
|
---|
[140b37b] | 112 | support (only used for the XMLRPC regression tests), and
|
---|
| 113 | <xref linkend="samba"/> (ntlm_auth is required to run the test suite)
|
---|
[2322fea6] | 114 | </para>
|
---|
| 115 |
|
---|
| 116 | <para condition="html" role="usernotes">
|
---|
| 117 | User Notes: <ulink url="&blfs-wiki;/libsoup"/>
|
---|
| 118 | </para>
|
---|
[38b1a66] | 119 | </sect2>
|
---|
[dc775a26] | 120 |
|
---|
[38b1a66] | 121 | <sect2 role="installation">
|
---|
[9d7119c] | 122 | <title>Installation of libsoup</title>
|
---|
[dc775a26] | 123 |
|
---|
[9e716cc] | 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 |
|
---|
[2322fea6] | 131 | <para>
|
---|
| 132 | Install <application>libsoup</application> by running the following
|
---|
| 133 | commands:
|
---|
| 134 | </para>
|
---|
[dc775a26] | 135 |
|
---|
[1ad3510e] | 136 | <screen><userinput>mkdir build &&
|
---|
[ad342518] | 137 | cd build &&
|
---|
[1ad3510e] | 138 |
|
---|
[aecbae4a] | 139 | meson --prefix=/usr -Dvapi=enabled -Dgssapi=disabled .. &&
|
---|
[1ad3510e] | 140 | ninja</userinput></screen>
|
---|
[dc775a26] | 141 |
|
---|
[2322fea6] | 142 | <para>
|
---|
[1ad3510e] | 143 | To test the results, issue: <command>ninja test</command>.
|
---|
[2322fea6] | 144 | </para>
|
---|
[839edb8] | 145 |
|
---|
[2322fea6] | 146 | <para>
|
---|
| 147 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 148 | </para>
|
---|
[dc775a26] | 149 |
|
---|
[1ad3510e] | 150 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[41aad3e3] | 151 |
|
---|
[38b1a66] | 152 | </sect2>
|
---|
[dc775a26] | 153 |
|
---|
[56ce09e] | 154 | <sect2 role="commands">
|
---|
| 155 | <title>Command Explanations</title>
|
---|
[864b24de] | 156 |
|
---|
[699fa99] | 157 | <para>
|
---|
[9e716cc] | 158 | <option>-Dvapi=disabled</option>: Use this if you have not installed
|
---|
[3ec938d] | 159 | <application>Vala</application>, e.g. because you are not building
|
---|
| 160 | <application>GNOME</application>.
|
---|
[699fa99] | 161 | </para>
|
---|
| 162 |
|
---|
[1ad3510e] | 163 | <para>
|
---|
[aecbae4a] | 164 | <option>-Ddoc=enabled</option>: Use this option if you want to build
|
---|
[1ad3510e] | 165 | the documentation. Note that you must have <xref linkend="gtk-doc"/> installed.
|
---|
| 166 | </para>
|
---|
[c6bab95] | 167 |
|
---|
[556edfd] | 168 | <para>
|
---|
[aa41434] | 169 | <parameter>-Dgssapi=disabled</parameter>: libsoup defaults to building with GSSAPI support,
|
---|
[556edfd] | 170 | which requires Kerberos (as does the test suite). If you are building GNOME or
|
---|
[aa41434] | 171 | have kerberos installed, remove this switch.
|
---|
[556edfd] | 172 | </para>
|
---|
| 173 |
|
---|
[56ce09e] | 174 | </sect2>
|
---|
| 175 |
|
---|
[38b1a66] | 176 | <sect2 role="content">
|
---|
| 177 | <title>Contents</title>
|
---|
[dc775a26] | 178 |
|
---|
[38b1a66] | 179 | <segmentedlist>
|
---|
[c3c56b2] | 180 | <segtitle>Installed Programs</segtitle>
|
---|
[beaa51b] | 181 | <segtitle>Installed Libraries</segtitle>
|
---|
[38b1a66] | 182 | <segtitle>Installed Directories</segtitle>
|
---|
[dc775a26] | 183 |
|
---|
[38b1a66] | 184 | <seglistitem>
|
---|
[c3c56b2] | 185 | <seg>
|
---|
| 186 | None
|
---|
| 187 | </seg>
|
---|
[2322fea6] | 188 | <seg>
|
---|
[c6bab95] | 189 | libsoup-2.4.so and libsoup-gnome-2.4.so
|
---|
[2322fea6] | 190 | </seg>
|
---|
| 191 | <seg>
|
---|
[c6bab95] | 192 | /usr/include/libsoup-2.4,
|
---|
| 193 | /usr/include/libsoup-gnome-2.4 and
|
---|
[1ad3510e] | 194 | /usr/share/gtk-doc/html/libsoup-2.4 <!-- only installed if -Ddoc=true is
|
---|
| 195 | passed. -->
|
---|
[2322fea6] | 196 | </seg>
|
---|
[38b1a66] | 197 | </seglistitem>
|
---|
| 198 | </segmentedlist>
|
---|
[dc775a26] | 199 |
|
---|
[38b1a66] | 200 | <variablelist>
|
---|
| 201 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 202 | <?dbfo list-presentation="list"?>
|
---|
| 203 | <?dbhtml list-presentation="table"?>
|
---|
[dc775a26] | 204 |
|
---|
[1491b49] | 205 | <varlistentry id="libsoup-2">
|
---|
| 206 | <term><filename class="libraryfile">libsoup-2.4.so</filename></term>
|
---|
[38b1a66] | 207 | <listitem>
|
---|
[2322fea6] | 208 | <para>
|
---|
| 209 | provides functions for asynchronous HTTP connections.
|
---|
| 210 | </para>
|
---|
[1491b49] | 211 | <indexterm zone="libsoup libsoup-2">
|
---|
| 212 | <primary sortas="c-libsoup-2">libsoup-2.4.so</primary>
|
---|
[beaa51b] | 213 | </indexterm>
|
---|
| 214 | </listitem>
|
---|
| 215 | </varlistentry>
|
---|
| 216 |
|
---|
[1491b49] | 217 | <varlistentry id="libsoup-gnome-2">
|
---|
| 218 | <term><filename class="libraryfile">libsoup-gnome-2.4.so</filename></term>
|
---|
[beaa51b] | 219 | <listitem>
|
---|
[2322fea6] | 220 | <para>
|
---|
[3af204c] | 221 | provides <application>GNOME</application> specific features.
|
---|
[2322fea6] | 222 | </para>
|
---|
[1491b49] | 223 | <indexterm zone="libsoup libsoup-gnome-2">
|
---|
| 224 | <primary sortas="c-libsoup-gnome-2">libsoup-gnome-2.4.so</primary>
|
---|
[38b1a66] | 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
[7ded7e3] | 228 |
|
---|
[38b1a66] | 229 | </variablelist>
|
---|
[7ded7e3] | 230 |
|
---|
[38b1a66] | 231 | </sect2>
|
---|
[7ded7e3] | 232 |
|
---|
[b342c99] | 233 | </sect1>
|
---|