[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>
|
---|
[f808261] | 21 | <indexterm zone="libsoup">
|
---|
| 22 | <primary sortas="a-Libsoup">Libsoup</primary></indexterm>
|
---|
[b342c99] | 23 |
|
---|
[a2d8572] | 24 | <sect2>
|
---|
| 25 | <title>Introduction to <application>libsoup</application></title>
|
---|
| 26 |
|
---|
| 27 | <para>The <application>libsoup</application> package contains an
|
---|
| 28 | <acronym>HTTP</acronym> library implementation in
|
---|
| 29 | <application>C</application>. This is useful for accessing
|
---|
| 30 | <acronym>HTTP</acronym> servers in a completely asynchronous mode.</para>
|
---|
| 31 |
|
---|
| 32 | <sect3><title>Package information</title>
|
---|
| 33 | <itemizedlist spacing='compact'>
|
---|
[7ad1b6e9] | 34 | <listitem><para>Download (HTTP):
|
---|
| 35 | <ulink url="&libsoup-download-http;"/></para></listitem>
|
---|
| 36 | <listitem><para>Download (FTP):
|
---|
| 37 | <ulink url="&libsoup-download-ftp;"/></para></listitem>
|
---|
| 38 | <listitem><para>Download MD5 sum: &libsoup-md5sum;</para></listitem>
|
---|
[a2d8572] | 39 | <listitem><para>Download size: &libsoup-size;</para></listitem>
|
---|
[7ad1b6e9] | 40 | <listitem><para>Estimated disk space required:
|
---|
| 41 | &libsoup-buildsize;</para></listitem>
|
---|
| 42 | <listitem><para>Estimated build time:
|
---|
| 43 | &libsoup-time;</para></listitem></itemizedlist>
|
---|
[a2d8572] | 44 | </sect3>
|
---|
| 45 |
|
---|
| 46 | <sect3><title><application>libsoup</application> dependencies</title>
|
---|
| 47 | <sect4><title>Required</title>
|
---|
[7c461b3] | 48 | <para><xref linkend="glib2"/> and <xref linkend="libxml2"/></para>
|
---|
[7ad1b6e9] | 49 | </sect4>
|
---|
| 50 |
|
---|
[a2d8572] | 51 | <sect4><title>Optional</title>
|
---|
[7ad1b6e9] | 52 | <para><xref linkend="gtk-doc"/> and
|
---|
| 53 | <ulink url="http://www.gnu.org/software/gnutls/">GnuTLS</ulink> (which
|
---|
| 54 | needs <ulink
|
---|
| 55 | url="ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/">libgpg-error</ulink>,
|
---|
| 56 | <ulink url="ftp://ftp.gnupg.org/gcrypt/libgcrypt/">libgcrypt</ulink> and
|
---|
| 57 | <ulink
|
---|
| 58 | url="ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/opencdk/">opencdk</ulink>,
|
---|
| 59 | in that order.)</para>
|
---|
| 60 | </sect4>
|
---|
[a2d8572] | 61 | </sect3>
|
---|
| 62 |
|
---|
| 63 | </sect2>
|
---|
| 64 |
|
---|
| 65 | <sect2>
|
---|
| 66 | <title>Installation of <application>libsoup</application></title>
|
---|
| 67 |
|
---|
[eed7fc8] | 68 | <para>Install <application>libsoup</application> by running the following
|
---|
| 69 | commands:</para>
|
---|
[a2d8572] | 70 |
|
---|
[7ad1b6e9] | 71 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
[f808261] | 72 | make</command></userinput></screen>
|
---|
| 73 |
|
---|
| 74 | <para>Now, as the root user:</para>
|
---|
| 75 |
|
---|
| 76 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
[a2d8572] | 77 |
|
---|
[7ad1b6e9] | 78 | <!--
|
---|
[eed7fc8] | 79 | <note><para>Some versions of <application>GnuTLS</application> will cause the
|
---|
| 80 | <application>libsoup</application> build to fail. You can use the following
|
---|
| 81 | <command>sed</command> command before the build to fix this problem.</para>
|
---|
| 82 | </note>
|
---|
| 83 |
|
---|
| 84 | <screen><userinput><command>sed -i -e "s@status \& GNUTLS_CERT_CORRUPTED ||@/* status \& GNUTLS_CERT_CORRUPTED || */@" \
|
---|
| 85 | libsoup/soup-gnutls.c</command></userinput></screen>
|
---|
[7ad1b6e9] | 86 | -->
|
---|
[eed7fc8] | 87 |
|
---|
[a2d8572] | 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2>
|
---|
| 91 | <title>Contents</title>
|
---|
| 92 |
|
---|
[f808261] | 93 | <segmentedlist>
|
---|
| 94 | <segtitle>Installed Programs</segtitle>
|
---|
| 95 | <segtitle>Installed Library</segtitle>
|
---|
| 96 | <segtitle>Installed Directories</segtitle>
|
---|
| 97 |
|
---|
| 98 | <seglistitem>
|
---|
| 99 | <seg>None</seg>
|
---|
| 100 | <seg>libsoup-2.2.[so,a]</seg>
|
---|
| 101 | <seg>/usr/include/libsoup-2.2 and /usr/share/gtk-doc/html/libsoup</seg>
|
---|
| 102 | </seglistitem>
|
---|
| 103 | </segmentedlist>
|
---|
| 104 |
|
---|
| 105 | <variablelist>
|
---|
| 106 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 107 | <?dbfo list-presentation="list"?>
|
---|
| 108 |
|
---|
| 109 | <varlistentry id="libsoup-lib">
|
---|
| 110 | <term><filename class='libraryfile'>libsoup-2.2.[so,a]</filename></term>
|
---|
| 111 | <listitem><para> provides functions for asynchronous
|
---|
| 112 | <acronym>HTTP</acronym> connections.</para>
|
---|
| 113 | <indexterm zone="libsoup libsoup-lib">
|
---|
| 114 | <primary sortas="c-libsoup-2.2">libsoup-2.2.[so,a]</primary>
|
---|
| 115 | </indexterm></listitem>
|
---|
| 116 | </varlistentry>
|
---|
| 117 | </variablelist>
|
---|
[a2d8572] | 118 |
|
---|
| 119 | </sect2>
|
---|
[b342c99] | 120 |
|
---|
| 121 | </sect1>
|
---|
| 122 |
|
---|