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