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