[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">
|
---|
| 11 | <!ENTITY libsoup3-md5sum "fdf023fdb560967d6d2d4386d179e473">
|
---|
| 12 | <!ENTITY libsoup3-size "1.5 MB">
|
---|
| 13 | <!ENTITY libsoup3-buildsize "19 MB (with tests)">
|
---|
| 14 | <!ENTITY libsoup3-time "0.2 SBU (Using parallelism=4; with tests)">
|
---|
| 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 |
|
---|
| 40 | &lfs111_checked;
|
---|
| 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>
|
---|
| 75 | <!--
|
---|
| 76 | <warning>
|
---|
| 77 | <para>
|
---|
| 78 | You may have noticed newer libsoup releases versioned 3.x.y is
|
---|
| 79 | available. However, currently some downstream packages support
|
---|
| 80 | libsoup-3.x, while the others do not. Installing libsoup-3.x into
|
---|
| 81 | BLFS is known to cause troubles, even if both libsoup-2.x and 3.x
|
---|
| 82 | are installed. So, do <emphasis role='bold'>not</emphasis> install
|
---|
| 83 | libsoup-3.x into BLFS unless you know what you are doing. We plan
|
---|
| 84 | to keep using libsoup-2.x for BLFS until GNOME-43 release.
|
---|
| 85 | </para>
|
---|
| 86 | </warning>
|
---|
| 87 | -->
|
---|
| 88 | <bridgehead renderas="sect3">libsoup3 Dependencies</bridgehead>
|
---|
| 89 |
|
---|
| 90 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 91 | <para role="required">
|
---|
| 92 | <xref linkend="glib-networking"/>,
|
---|
| 93 | <xref linkend="libpsl"/>,
|
---|
| 94 | <xref linkend="libxml2"/>, and
|
---|
| 95 | <xref linkend="sqlite"/>
|
---|
| 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 99 | <para role="recommended">
|
---|
| 100 | <xref linkend="gobject-introspection"/> and
|
---|
| 101 | <xref linkend="vala"/>
|
---|
| 102 | </para>
|
---|
| 103 |
|
---|
| 104 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 105 | <para role="optional">
|
---|
| 106 | <xref linkend="apache"/> (required to run the test suite),
|
---|
| 107 | <xref linkend="brotli"/>,
|
---|
| 108 | <xref linkend="curl"/> (required to run the test suite),
|
---|
| 109 | <xref linkend="sysprof"/> (for profiling),
|
---|
| 110 | <xref linkend="mitkrb"/> (required to run the test suite),
|
---|
| 111 | <xref linkend="gtk-doc"/>,
|
---|
| 112 | <!-- It seems that XMLRPC is part of PHP 5.4.10 -->
|
---|
| 113 | <xref linkend="php"/> compiled with XMLRPC-EPI
|
---|
| 114 | support (only used for the XMLRPC regression tests), and
|
---|
| 115 | <xref linkend="samba"/> (ntlm_auth is required to run the test suite)
|
---|
| 116 | </para>
|
---|
| 117 |
|
---|
| 118 | <para condition="html" role="usernotes">
|
---|
| 119 | User Notes: <ulink url="&blfs-wiki;/libsoup3"/>
|
---|
| 120 | </para>
|
---|
| 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="installation">
|
---|
| 124 | <title>Installation of libsoup3</title>
|
---|
| 125 |
|
---|
| 126 | <para>
|
---|
| 127 | Install <application>libsoup3</application> by running the following
|
---|
| 128 | commands:
|
---|
| 129 | </para>
|
---|
| 130 |
|
---|
| 131 | <screen><userinput>mkdir build &&
|
---|
| 132 | cd build &&
|
---|
| 133 |
|
---|
| 134 | meson --prefix=/usr \
|
---|
| 135 | --buildtype=release \
|
---|
| 136 | -Dvapi=enabled \
|
---|
| 137 | -Dgssapi=disabled \
|
---|
| 138 | -Dsysprof=disabled \
|
---|
| 139 | .. &&
|
---|
| 140 | ninja</userinput></screen>
|
---|
| 141 |
|
---|
| 142 | <para>
|
---|
| 143 | To test the results, issue: <command>ninja test</command>.
|
---|
| 144 | </para>
|
---|
| 145 |
|
---|
| 146 | <para>
|
---|
| 147 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 148 | </para>
|
---|
| 149 |
|
---|
| 150 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 151 |
|
---|
| 152 | </sect2>
|
---|
| 153 |
|
---|
| 154 | <sect2 role="commands">
|
---|
| 155 | <title>Command Explanations</title>
|
---|
| 156 |
|
---|
| 157 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 158 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 159 |
|
---|
| 160 | <para>
|
---|
| 161 | <option>-Dvapi=disabled</option>: Use this if you have not installed
|
---|
| 162 | <application>Vala</application>, e.g. because you are not building
|
---|
| 163 | <application>GNOME</application>.
|
---|
| 164 | </para>
|
---|
| 165 |
|
---|
| 166 | <para>
|
---|
| 167 | <option>-Ddoc=enabled</option>: Use this option if you want to build
|
---|
| 168 | the documentation. Note that you must have <xref linkend="gtk-doc"/> installed.
|
---|
| 169 | </para>
|
---|
| 170 |
|
---|
| 171 | <para>
|
---|
| 172 | <parameter>-Dgssapi=disabled</parameter>: libsoup3 defaults to building with GSSAPI support,
|
---|
| 173 | which requires Kerberos (as does the test suite).
|
---|
| 174 | </para>
|
---|
| 175 |
|
---|
| 176 | <para>
|
---|
| 177 | <parameter>-Dsysprof=disabled</parameter>: libsoup3 will automatically download
|
---|
| 178 | a git version of <xref linkend="sysprof"/> if git is available or use the installed
|
---|
| 179 | version if available. If you need profiling, remove this option.
|
---|
| 180 | </para>
|
---|
| 181 |
|
---|
| 182 | </sect2>
|
---|
| 183 |
|
---|
| 184 | <sect2 role="content">
|
---|
| 185 | <title>Contents</title>
|
---|
| 186 |
|
---|
| 187 | <segmentedlist>
|
---|
| 188 | <segtitle>Installed Programs</segtitle>
|
---|
| 189 | <segtitle>Installed Libraries</segtitle>
|
---|
| 190 | <segtitle>Installed Directories</segtitle>
|
---|
| 191 |
|
---|
| 192 | <seglistitem>
|
---|
| 193 | <seg>
|
---|
| 194 | None
|
---|
| 195 | </seg>
|
---|
| 196 | <seg>
|
---|
| 197 | libsoup-3.0.so
|
---|
| 198 | </seg>
|
---|
| 199 | <seg>
|
---|
| 200 | /usr/include/libsoup-3.0,
|
---|
| 201 | /usr/share/gtk-doc/html/libsoup-3.0 (only installed if -Ddoc=true is passed)
|
---|
| 202 | </seg>
|
---|
| 203 | </seglistitem>
|
---|
| 204 | </segmentedlist>
|
---|
| 205 |
|
---|
| 206 | <variablelist>
|
---|
| 207 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 208 | <?dbfo list-presentation="list"?>
|
---|
| 209 | <?dbhtml list-presentation="table"?>
|
---|
| 210 |
|
---|
| 211 | <varlistentry id="libsoup-3">
|
---|
| 212 | <term><filename class="libraryfile">libsoup-3.0.so</filename></term>
|
---|
| 213 | <listitem>
|
---|
| 214 | <para>
|
---|
| 215 | provides functions for asynchronous HTTP connections
|
---|
| 216 | </para>
|
---|
| 217 | <indexterm zone="libsoup libsoup-3">
|
---|
| 218 | <primary sortas="c-libsoup-3">libsoup-3.0.so</primary>
|
---|
| 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
| 222 |
|
---|
| 223 | </variablelist>
|
---|
| 224 |
|
---|
| 225 | </sect2>
|
---|
| 226 |
|
---|
| 227 | </sect1>
|
---|