[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">
|
---|
[87ba644b] | 11 | <!ENTITY libsoup3-md5sum "cd8b0fc5d53331b9c0b5b22aabac4294">
|
---|
[941e3b09] | 12 | <!ENTITY libsoup3-size "1.5 MB">
|
---|
[87ba644b] | 13 | <!ENTITY libsoup3-buildsize "28 MB (with tests)">
|
---|
[dd94d5f] | 14 | <!ENTITY libsoup3-time "0.4 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 |
|
---|
[9d86c703] | 37 | &lfs120_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),
|
---|
[ba0239e] | 100 | <xref linkend="samba"/> (ntlm_auth is required to run the test suite),
|
---|
| 101 | <xref linkend="sysprof"/> (for profiling), and
|
---|
| 102 | <ulink url="https://github.com/posener/wstest">wstest</ulink>
|
---|
[941e3b09] | 103 | </para>
|
---|
| 104 |
|
---|
| 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2 role="installation">
|
---|
| 108 | <title>Installation of libsoup3</title>
|
---|
| 109 |
|
---|
[63de2d90] | 110 | <para>
|
---|
| 111 | Fix the installation path of API documentation:
|
---|
| 112 | </para>
|
---|
| 113 |
|
---|
| 114 | <screen><userinput>sed 's/apiversion/soup_version/' -i docs/reference/meson.build</userinput></screen>
|
---|
| 115 |
|
---|
[941e3b09] | 116 | <para>
|
---|
| 117 | Install <application>libsoup3</application> by running the following
|
---|
| 118 | commands:
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
| 121 | <screen><userinput>mkdir build &&
|
---|
| 122 | cd build &&
|
---|
| 123 |
|
---|
[91318eb] | 124 | meson setup --prefix=/usr \
|
---|
| 125 | --buildtype=release \
|
---|
| 126 | -Dvapi=enabled \
|
---|
| 127 | -Dgssapi=disabled \
|
---|
| 128 | -Dsysprof=disabled \
|
---|
| 129 | --wrap-mode=nofallback \
|
---|
| 130 | .. &&
|
---|
[941e3b09] | 131 | ninja</userinput></screen>
|
---|
| 132 |
|
---|
| 133 | <para>
|
---|
| 134 | To test the results, issue: <command>ninja test</command>.
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
| 137 | <para>
|
---|
| 138 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 139 | </para>
|
---|
| 140 |
|
---|
| 141 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 142 |
|
---|
| 143 | </sect2>
|
---|
| 144 |
|
---|
| 145 | <sect2 role="commands">
|
---|
| 146 | <title>Command Explanations</title>
|
---|
| 147 |
|
---|
| 148 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 149 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 150 |
|
---|
[73a555a] | 151 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 152 | href="../../xincludes/meson-wrap-nofallback.xml"/>
|
---|
| 153 |
|
---|
[941e3b09] | 154 | <para>
|
---|
| 155 | <option>-Dvapi=disabled</option>: Use this if you have not installed
|
---|
| 156 | <application>Vala</application>, e.g. because you are not building
|
---|
| 157 | <application>GNOME</application>.
|
---|
| 158 | </para>
|
---|
| 159 |
|
---|
| 160 | <para>
|
---|
[63de2d90] | 161 | <option>-Ddocs=enabled</option>: If <xref linkend='gi-docgen'/> is
|
---|
| 162 | installed, the API documentation will be built and installed no matter
|
---|
| 163 | if this option is used or not. This option causes the
|
---|
| 164 | <command>meson</command> command to fail if
|
---|
| 165 | <xref linkend='gi-docgen'/> is not installed.
|
---|
[941e3b09] | 166 | </para>
|
---|
| 167 |
|
---|
| 168 | <para>
|
---|
| 169 | <parameter>-Dgssapi=disabled</parameter>: libsoup3 defaults to building with GSSAPI support,
|
---|
| 170 | which requires Kerberos (as does the test suite).
|
---|
| 171 | </para>
|
---|
| 172 |
|
---|
| 173 | <para>
|
---|
| 174 | <parameter>-Dsysprof=disabled</parameter>: libsoup3 will automatically download
|
---|
| 175 | a git version of <xref linkend="sysprof"/> if git is available or use the installed
|
---|
| 176 | version if available. If you need profiling, remove this option.
|
---|
| 177 | </para>
|
---|
| 178 |
|
---|
| 179 | </sect2>
|
---|
| 180 |
|
---|
| 181 | <sect2 role="content">
|
---|
| 182 | <title>Contents</title>
|
---|
| 183 |
|
---|
| 184 | <segmentedlist>
|
---|
| 185 | <segtitle>Installed Programs</segtitle>
|
---|
| 186 | <segtitle>Installed Libraries</segtitle>
|
---|
| 187 | <segtitle>Installed Directories</segtitle>
|
---|
| 188 |
|
---|
| 189 | <seglistitem>
|
---|
| 190 | <seg>
|
---|
| 191 | None
|
---|
| 192 | </seg>
|
---|
| 193 | <seg>
|
---|
[1fe05eb] | 194 | libsoup-3.0.so
|
---|
[941e3b09] | 195 | </seg>
|
---|
| 196 | <seg>
|
---|
| 197 | /usr/include/libsoup-3.0,
|
---|
[ba0239e] | 198 | /usr/share/doc/libsoup-&libsoup3-version;
|
---|
| 199 | (only installed if -Ddocs=enabled is passed)
|
---|
[941e3b09] | 200 | </seg>
|
---|
| 201 | </seglistitem>
|
---|
| 202 | </segmentedlist>
|
---|
| 203 |
|
---|
| 204 | <variablelist>
|
---|
| 205 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 206 | <?dbfo list-presentation="list"?>
|
---|
| 207 | <?dbhtml list-presentation="table"?>
|
---|
| 208 |
|
---|
| 209 | <varlistentry id="libsoup-3">
|
---|
| 210 | <term><filename class="libraryfile">libsoup-3.0.so</filename></term>
|
---|
| 211 | <listitem>
|
---|
| 212 | <para>
|
---|
| 213 | provides functions for asynchronous HTTP connections
|
---|
| 214 | </para>
|
---|
| 215 | <indexterm zone="libsoup libsoup-3">
|
---|
| 216 | <primary sortas="c-libsoup-3">libsoup-3.0.so</primary>
|
---|
| 217 | </indexterm>
|
---|
| 218 | </listitem>
|
---|
| 219 | </varlistentry>
|
---|
| 220 |
|
---|
| 221 | </variablelist>
|
---|
| 222 |
|
---|
| 223 | </sect2>
|
---|
| 224 |
|
---|
| 225 | </sect1>
|
---|