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