2005-04-30 01:57:51 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-12 10:46:15 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
2004-09-11 04:38:09 +08:00
|
|
|
|
2012-03-29 20:45:05 +08:00
|
|
|
<!ENTITY libsoup-download-http
|
2021-11-09 14:40:49 +08:00
|
|
|
"&gnome-download-http;/libsoup/&libsoup-minor;/libsoup-&libsoup-version;.tar.xz">
|
2012-03-29 20:45:05 +08:00
|
|
|
<!ENTITY libsoup-download-ftp
|
2021-11-09 14:40:49 +08:00
|
|
|
"&gnome-download-ftp;/libsoup/&libsoup-minor;/libsoup-&libsoup-version;.tar.xz">
|
2021-11-26 04:03:02 +08:00
|
|
|
<!ENTITY libsoup-md5sum "d8c5bc7f471c7462c29cc2ccebe3d9ca">
|
2019-04-10 11:17:05 +08:00
|
|
|
<!ENTITY libsoup-size "1.4 MB">
|
2021-11-26 04:03:02 +08:00
|
|
|
<!ENTITY libsoup-buildsize "16 MB (with tests)">
|
2021-08-28 00:18:52 +08:00
|
|
|
<!ENTITY libsoup-time "0.2 SBU (Using parallelism=4; with tests)">
|
2004-06-12 10:46:15 +08:00
|
|
|
]>
|
|
|
|
|
2003-09-17 00:49:22 +08:00
|
|
|
<sect1 id="libsoup" xreflabel="libsoup-&libsoup-version;">
|
2005-04-30 01:57:51 +08:00
|
|
|
<?dbhtml filename="libsoup.html"?>
|
2005-05-31 00:21:31 +08:00
|
|
|
|
2005-04-30 01:57:51 +08:00
|
|
|
<sect1info>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
2005-05-31 00:21:31 +08:00
|
|
|
|
2006-02-03 13:38:51 +08:00
|
|
|
<title>libsoup-&libsoup-version;</title>
|
2005-05-31 00:21:31 +08:00
|
|
|
|
2005-04-30 01:57:51 +08:00
|
|
|
<indexterm zone="libsoup">
|
2012-05-17 00:39:28 +08:00
|
|
|
<primary sortas="a-libsoup">libsoup</primary>
|
2005-04-30 01:57:51 +08:00
|
|
|
</indexterm>
|
2005-05-31 00:21:31 +08:00
|
|
|
|
2005-04-30 01:57:51 +08:00
|
|
|
<sect2 role="package">
|
2006-02-03 13:38:51 +08:00
|
|
|
<title>Introduction to libsoup</title>
|
2005-05-31 00:21:31 +08:00
|
|
|
|
2012-03-29 20:45:05 +08:00
|
|
|
<para>
|
2016-09-21 08:20:38 +08:00
|
|
|
The <application>libsoup</application> is a HTTP client/server library for
|
2012-05-17 00:39:28 +08:00
|
|
|
<application>GNOME</application>. It uses GObject and the GLib main loop
|
2013-02-12 02:51:17 +08:00
|
|
|
to integrate with <application>GNOME</application> applications and
|
2014-02-26 03:00:30 +08:00
|
|
|
it also has an asynchronous API for use in threaded applications.
|
2012-03-29 20:45:05 +08:00
|
|
|
</para>
|
2005-05-31 00:21:31 +08:00
|
|
|
|
2022-02-18 09:56:04 +08:00
|
|
|
&lfs111_checked;
|
2009-10-25 15:34:28 +08:00
|
|
|
|
2005-04-30 01:57:51 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
2012-02-08 00:32:21 +08:00
|
|
|
<itemizedlist spacing="compact">
|
2005-04-30 01:57:51 +08:00
|
|
|
<listitem>
|
2012-03-29 20:45:05 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&libsoup-download-http;"/>
|
|
|
|
</para>
|
2005-04-30 01:57:51 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-03-29 20:45:05 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&libsoup-download-ftp;"/>
|
|
|
|
</para>
|
2005-04-30 01:57:51 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-03-29 20:45:05 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &libsoup-md5sum;
|
|
|
|
</para>
|
2005-04-30 01:57:51 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-03-29 20:45:05 +08:00
|
|
|
<para>
|
|
|
|
Download size: &libsoup-size;
|
|
|
|
</para>
|
2005-04-30 01:57:51 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-03-29 20:45:05 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &libsoup-buildsize;
|
|
|
|
</para>
|
2005-04-30 01:57:51 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-03-29 20:45:05 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &libsoup-time;
|
|
|
|
</para>
|
2005-04-30 01:57:51 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2021-08-28 00:18:52 +08:00
|
|
|
<!--
|
2020-09-22 03:33:15 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Required patch:
|
|
|
|
<ulink url="&patch-root;/libsoup-&libsoup-version;-testsuite_fix-1.patch"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2021-08-28 00:18:52 +08:00
|
|
|
-->
|
2022-05-23 04:18:33 +08:00
|
|
|
<!--
|
2021-09-22 16:16:18 +08:00
|
|
|
<warning>
|
|
|
|
<para>
|
|
|
|
You may have noticed newer libsoup releases versioned 3.x.y is
|
|
|
|
available. However, currently some downstream packages support
|
|
|
|
libsoup-3.x, while the others do not. Installing libsoup-3.x into
|
|
|
|
BLFS is known to cause troubles, even if both libsoup-2.x and 3.x
|
|
|
|
are installed. So, do <emphasis role='bold'>not</emphasis> install
|
|
|
|
libsoup-3.x into BLFS unless you know what you are doing. We plan
|
2022-04-22 12:19:38 +08:00
|
|
|
to keep using libsoup-2.x for BLFS until GNOME-43 release.
|
2021-09-22 16:16:18 +08:00
|
|
|
</para>
|
|
|
|
</warning>
|
2022-05-23 04:18:33 +08:00
|
|
|
-->
|
2006-02-03 13:38:51 +08:00
|
|
|
<bridgehead renderas="sect3">libsoup Dependencies</bridgehead>
|
2005-05-31 00:21:31 +08:00
|
|
|
|
2005-04-30 01:57:51 +08:00
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2012-03-29 20:45:05 +08:00
|
|
|
<para role="required">
|
2013-07-06 01:07:29 +08:00
|
|
|
<xref linkend="glib-networking"/>,
|
2018-09-07 06:54:04 +08:00
|
|
|
<xref linkend="libpsl"/>,
|
2020-09-23 12:16:37 +08:00
|
|
|
<xref linkend="libxml2"/>, and
|
2013-07-06 01:07:29 +08:00
|
|
|
<xref linkend="sqlite"/>
|
2012-03-29 20:45:05 +08:00
|
|
|
</para>
|
2005-05-31 00:21:31 +08:00
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
2012-04-07 03:46:04 +08:00
|
|
|
<para role="recommended">
|
2021-08-30 11:30:20 +08:00
|
|
|
<xref linkend="gobject-introspection"/> and
|
2016-02-11 03:41:47 +08:00
|
|
|
<xref linkend="vala"/>
|
2012-04-07 03:46:04 +08:00
|
|
|
</para>
|
2009-07-29 21:47:52 +08:00
|
|
|
|
2005-04-30 01:57:51 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2012-03-29 20:45:05 +08:00
|
|
|
<para role="optional">
|
2012-03-31 05:13:32 +08:00
|
|
|
<xref linkend="apache"/> (required to run the test suite),
|
2019-11-02 07:56:02 +08:00
|
|
|
<xref linkend="brotli"/>,
|
2012-03-31 05:13:32 +08:00
|
|
|
<xref linkend="curl"/> (required to run the test suite),
|
2021-08-28 00:18:52 +08:00
|
|
|
<xref linkend="sysprof"/> (for profiling),
|
2016-11-05 05:31:10 +08:00
|
|
|
<xref linkend="mitkrb"/> (required to run the test suite),
|
2012-03-29 20:45:05 +08:00
|
|
|
<xref linkend="gtk-doc"/>,
|
2021-08-28 00:18:52 +08:00
|
|
|
<!-- It seems that XMLRPC is part of PHP 5.4.10 -->
|
2021-09-07 01:42:49 +08:00
|
|
|
<xref linkend="php"/> compiled with XMLRPC-EPI
|
2020-09-23 12:16:37 +08:00
|
|
|
support (only used for the XMLRPC regression tests), and
|
|
|
|
<xref linkend="samba"/> (ntlm_auth is required to run the test suite)
|
2012-03-29 20:45:05 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">
|
|
|
|
User Notes: <ulink url="&blfs-wiki;/libsoup"/>
|
|
|
|
</para>
|
2005-04-30 01:57:51 +08:00
|
|
|
</sect2>
|
2005-05-31 00:21:31 +08:00
|
|
|
|
2005-04-30 01:57:51 +08:00
|
|
|
<sect2 role="installation">
|
2006-02-03 13:38:51 +08:00
|
|
|
<title>Installation of libsoup</title>
|
2021-08-28 00:18:52 +08:00
|
|
|
<!--
|
2020-09-22 03:33:15 +08:00
|
|
|
<para>
|
|
|
|
First, fix a problem in the testsuite caused by
|
|
|
|
<xref role="nodep" linkend="glib-networking"/>:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><userinput remap="pre">patch -Np1 -i ../libsoup-&libsoup-version;-testsuite_fix-1.patch</userinput></screen>
|
2021-08-28 00:18:52 +08:00
|
|
|
-->
|
2012-03-29 20:45:05 +08:00
|
|
|
<para>
|
|
|
|
Install <application>libsoup</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
2005-05-31 00:21:31 +08:00
|
|
|
|
2018-09-07 06:54:04 +08:00
|
|
|
<screen><userinput>mkdir build &&
|
2018-11-11 10:47:59 +08:00
|
|
|
cd build &&
|
2018-09-07 06:54:04 +08:00
|
|
|
|
2021-06-04 20:57:26 +08:00
|
|
|
meson --prefix=/usr \
|
|
|
|
--buildtype=release \
|
|
|
|
-Dvapi=enabled \
|
2021-08-28 00:18:52 +08:00
|
|
|
-Dgssapi=disabled \
|
|
|
|
-Dsysprof=disabled \
|
|
|
|
.. &&
|
2018-09-07 06:54:04 +08:00
|
|
|
ninja</userinput></screen>
|
2005-05-31 00:21:31 +08:00
|
|
|
|
2012-03-29 20:45:05 +08:00
|
|
|
<para>
|
2018-09-07 06:54:04 +08:00
|
|
|
To test the results, issue: <command>ninja test</command>.
|
2012-03-29 20:45:05 +08:00
|
|
|
</para>
|
2005-09-09 08:49:57 +08:00
|
|
|
|
2012-03-29 20:45:05 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2005-05-31 00:21:31 +08:00
|
|
|
|
2018-09-07 06:54:04 +08:00
|
|
|
<screen role="root"><userinput>ninja install</userinput></screen>
|
2013-07-06 01:07:29 +08:00
|
|
|
|
2005-04-30 01:57:51 +08:00
|
|
|
</sect2>
|
2005-05-31 00:21:31 +08:00
|
|
|
|
2006-06-26 23:45:37 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
2007-01-16 08:08:14 +08:00
|
|
|
|
2021-06-04 20:57:26 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/meson-buildtype-release.xml"/>
|
|
|
|
|
2016-02-11 03:41:47 +08:00
|
|
|
<para>
|
2020-09-22 03:33:15 +08:00
|
|
|
<option>-Dvapi=disabled</option>: Use this if you have not installed
|
2021-09-07 01:42:49 +08:00
|
|
|
<application>Vala</application>, e.g. because you are not building
|
2016-09-21 08:20:38 +08:00
|
|
|
<application>GNOME</application>.
|
2016-02-11 03:41:47 +08:00
|
|
|
</para>
|
|
|
|
|
2018-09-07 06:54:04 +08:00
|
|
|
<para>
|
2019-09-14 05:11:39 +08:00
|
|
|
<option>-Ddoc=enabled</option>: Use this option if you want to build
|
2018-09-07 06:54:04 +08:00
|
|
|
the documentation. Note that you must have <xref linkend="gtk-doc"/> installed.
|
|
|
|
</para>
|
2012-03-31 05:13:32 +08:00
|
|
|
|
2018-10-07 08:13:41 +08:00
|
|
|
<para>
|
2019-12-08 01:38:33 +08:00
|
|
|
<parameter>-Dgssapi=disabled</parameter>: libsoup defaults to building with GSSAPI support,
|
2018-10-07 08:13:41 +08:00
|
|
|
which requires Kerberos (as does the test suite). If you are building GNOME or
|
2021-08-28 00:18:52 +08:00
|
|
|
have kerberos installed, remove this option.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<parameter>-Dsysprof=disabled</parameter>: libsoup will automatically download
|
|
|
|
a git version of <xref linkend="sysprof"/> if git is available or use the installed
|
|
|
|
version if available. If you need profiling, remove this option.
|
2018-10-07 08:13:41 +08:00
|
|
|
</para>
|
|
|
|
|
2006-06-26 23:45:37 +08:00
|
|
|
</sect2>
|
|
|
|
|
2005-04-30 01:57:51 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
2005-05-31 00:21:31 +08:00
|
|
|
|
2005-04-30 01:57:51 +08:00
|
|
|
<segmentedlist>
|
2013-01-26 00:32:25 +08:00
|
|
|
<segtitle>Installed Programs</segtitle>
|
2009-07-29 21:47:52 +08:00
|
|
|
<segtitle>Installed Libraries</segtitle>
|
2005-04-30 01:57:51 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
2005-05-31 00:21:31 +08:00
|
|
|
|
2005-04-30 01:57:51 +08:00
|
|
|
<seglistitem>
|
2013-01-26 00:32:25 +08:00
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
2012-03-29 20:45:05 +08:00
|
|
|
<seg>
|
2012-03-31 05:13:32 +08:00
|
|
|
libsoup-2.4.so and libsoup-gnome-2.4.so
|
2012-03-29 20:45:05 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2012-03-31 05:13:32 +08:00
|
|
|
/usr/include/libsoup-2.4,
|
|
|
|
/usr/include/libsoup-gnome-2.4 and
|
2018-09-07 06:54:04 +08:00
|
|
|
/usr/share/gtk-doc/html/libsoup-2.4 <!-- only installed if -Ddoc=true is
|
|
|
|
passed. -->
|
2012-03-29 20:45:05 +08:00
|
|
|
</seg>
|
2005-04-30 01:57:51 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2005-05-31 00:21:31 +08:00
|
|
|
|
2005-04-30 01:57:51 +08:00
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
2005-05-31 00:21:31 +08:00
|
|
|
|
2012-09-27 03:35:22 +08:00
|
|
|
<varlistentry id="libsoup-2">
|
|
|
|
<term><filename class="libraryfile">libsoup-2.4.so</filename></term>
|
2005-04-30 01:57:51 +08:00
|
|
|
<listitem>
|
2012-03-29 20:45:05 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
provides functions for asynchronous HTTP connections
|
2012-03-29 20:45:05 +08:00
|
|
|
</para>
|
2012-09-27 03:35:22 +08:00
|
|
|
<indexterm zone="libsoup libsoup-2">
|
|
|
|
<primary sortas="c-libsoup-2">libsoup-2.4.so</primary>
|
2009-07-29 21:47:52 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2012-09-27 03:35:22 +08:00
|
|
|
<varlistentry id="libsoup-gnome-2">
|
|
|
|
<term><filename class="libraryfile">libsoup-gnome-2.4.so</filename></term>
|
2009-07-29 21:47:52 +08:00
|
|
|
<listitem>
|
2012-03-29 20:45:05 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
provides <application>GNOME</application> specific features
|
2012-03-29 20:45:05 +08:00
|
|
|
</para>
|
2012-09-27 03:35:22 +08:00
|
|
|
<indexterm zone="libsoup libsoup-gnome-2">
|
|
|
|
<primary sortas="c-libsoup-gnome-2">libsoup-gnome-2.4.so</primary>
|
2005-04-30 01:57:51 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-05-17 00:39:28 +08:00
|
|
|
|
2005-04-30 01:57:51 +08:00
|
|
|
</variablelist>
|
2012-05-17 00:39:28 +08:00
|
|
|
|
2005-04-30 01:57:51 +08:00
|
|
|
</sect2>
|
2012-05-17 00:39:28 +08:00
|
|
|
|
2003-09-17 00:49:22 +08:00
|
|
|
</sect1>
|