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