[a2d8572] | 1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 2 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 4 | %general-entities;
|
---|
[eed7fc8] | 5 |
|
---|
[a2d8572] | 6 | <!ENTITY libsoup-download-http "http://ftp.gnome.org/pub/gnome/sources/libsoup/1.99/libsoup-&libsoup-version;.tar.bz2">
|
---|
| 7 | <!ENTITY libsoup-download-ftp "ftp://ftp.gnome.org/pub/gnome/sources/libsoup/1.99/libsoup-&libsoup-version;.tar.bz2">
|
---|
| 8 | <!ENTITY libsoup-size "365 KB">
|
---|
| 9 | <!ENTITY libsoup-buildsize "13 MB">
|
---|
| 10 | <!ENTITY libsoup-time "0.41 SBU">
|
---|
| 11 | ]>
|
---|
| 12 |
|
---|
[b342c99] | 13 | <sect1 id="libsoup" xreflabel="libsoup-&libsoup-version;">
|
---|
[a0f03b0] | 14 | <sect1info>
|
---|
[5cd0959d] | 15 | <othername>$LastChangedBy$</othername>
|
---|
| 16 | <date>$Date$</date>
|
---|
[a0f03b0] | 17 | </sect1info>
|
---|
[00bb024c] | 18 | <?dbhtml filename="libsoup.html"?>
|
---|
[b342c99] | 19 | <title>libsoup-&libsoup-version;</title>
|
---|
| 20 |
|
---|
[a2d8572] | 21 | <sect2>
|
---|
| 22 | <title>Introduction to <application>libsoup</application></title>
|
---|
| 23 |
|
---|
| 24 | <para>The <application>libsoup</application> package contains an
|
---|
| 25 | <acronym>HTTP</acronym> library implementation in
|
---|
| 26 | <application>C</application>. This is useful for accessing
|
---|
| 27 | <acronym>HTTP</acronym> servers in a completely asynchronous mode.</para>
|
---|
| 28 |
|
---|
| 29 | <sect3><title>Package information</title>
|
---|
| 30 | <itemizedlist spacing='compact'>
|
---|
| 31 | <listitem><para>Download (HTTP): <ulink url="&libsoup-download-http;"/></para></listitem>
|
---|
| 32 | <listitem><para>Download (FTP): <ulink url="&libsoup-download-ftp;"/></para></listitem>
|
---|
| 33 | <listitem><para>Download size: &libsoup-size;</para></listitem>
|
---|
| 34 | <listitem><para>Estimated Disk space required: &libsoup-buildsize;</para></listitem>
|
---|
| 35 | <listitem><para>Estimated build time: &libsoup-time;</para></listitem></itemizedlist>
|
---|
| 36 | </sect3>
|
---|
| 37 |
|
---|
| 38 | <sect3><title><application>libsoup</application> dependencies</title>
|
---|
| 39 | <sect4><title>Required</title>
|
---|
| 40 | <para>
|
---|
| 41 | <xref linkend="GLib2"/> and
|
---|
| 42 | <xref linkend="libxml2"/>
|
---|
| 43 | </para></sect4>
|
---|
| 44 | <sect4><title>Optional</title>
|
---|
| 45 | <para>
|
---|
[eed7fc8] | 46 | <xref linkend="gtk-doc"/>,
|
---|
| 47 | <xref linkend="docbook-utils"/> and
|
---|
[a2d8572] | 48 | <ulink url="http://www.gnu.org/software/gnutls/">GnuTLS</ulink> (which
|
---|
| 49 | needs <ulink
|
---|
| 50 | url="ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/">libgpg-error</ulink>,
|
---|
| 51 | <ulink url="ftp://ftp.gnupg.org/gcrypt/libgcrypt/">libgcrypt</ulink> and
|
---|
| 52 | <ulink
|
---|
| 53 | url="ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/opencdk/">opencdk</ulink>,
|
---|
| 54 | in that order.)
|
---|
| 55 | </para></sect4>
|
---|
| 56 | </sect3>
|
---|
| 57 |
|
---|
| 58 | </sect2>
|
---|
| 59 |
|
---|
| 60 | <sect2>
|
---|
| 61 | <title>Installation of <application>libsoup</application></title>
|
---|
| 62 |
|
---|
[eed7fc8] | 63 | <para>Install <application>libsoup</application> by running the following
|
---|
| 64 | commands:</para>
|
---|
[a2d8572] | 65 |
|
---|
| 66 | <screen><userinput><command>./configure --prefix=/usr --libexecdir=/usr/sbin &&
|
---|
| 67 | make &&
|
---|
| 68 | make install</command></userinput></screen>
|
---|
| 69 |
|
---|
[eed7fc8] | 70 | <note><para>Some versions of <application>GnuTLS</application> will cause the
|
---|
| 71 | <application>libsoup</application> build to fail. You can use the following
|
---|
| 72 | <command>sed</command> command before the build to fix this problem.</para>
|
---|
| 73 | </note>
|
---|
| 74 |
|
---|
| 75 | <screen><userinput><command>sed -i -e "s@status \& GNUTLS_CERT_CORRUPTED ||@/* status \& GNUTLS_CERT_CORRUPTED || */@" \
|
---|
| 76 | libsoup/soup-gnutls.c</command></userinput></screen>
|
---|
| 77 |
|
---|
[a2d8572] | 78 | </sect2>
|
---|
| 79 |
|
---|
| 80 | <sect2>
|
---|
| 81 | <title>Contents</title>
|
---|
| 82 |
|
---|
| 83 | <para>The <application>libsoup</application> package contains
|
---|
| 84 | <filename class="libraryfile">libsoup</filename> libraries.</para>
|
---|
| 85 |
|
---|
| 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2><title>Description</title>
|
---|
| 89 |
|
---|
| 90 | <sect3><title>libsoup libraries</title>
|
---|
| 91 | <para><filename class="libraryfile">libsoup</filename> libraries provide functions for
|
---|
| 92 | asynchronous <acronym>HTTP</acronym> connections.</para></sect3>
|
---|
| 93 |
|
---|
| 94 | </sect2>
|
---|
[b342c99] | 95 |
|
---|
| 96 | </sect1>
|
---|
| 97 |
|
---|