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