source: networking/netlibs/libsoup.xml@ 342d139a

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since 342d139a was 14891a90, checked in by Xi Ruoyao <xry111@…>, 12 months ago

treewide: More "User Notes" clean up

Remove links to pages w/o real contents.

  • Property mode set to 100644
File size: 8.0 KB
RevLine 
[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
[f713df3]8 "&gnome-download-http;/libsoup/&libsoup-minor;/libsoup-&libsoup-version;.tar.xz">
[2322fea6]9 <!ENTITY libsoup-download-ftp
[f713df3]10 "&gnome-download-ftp;/libsoup/&libsoup-minor;/libsoup-&libsoup-version;.tar.xz">
[754f0d76]11 <!ENTITY libsoup-md5sum "8f657fd301a213629204b3320c35d75a">
[bd57f160]12 <!ENTITY libsoup-size "1.4 MB">
[754f0d76]13 <!ENTITY libsoup-buildsize "17 MB (with tests)">
14 <!ENTITY libsoup-time "0.3 SBU (Using parallelism=4; with tests)">
[a2d8572]15]>
16
[b342c99]17<sect1 id="libsoup" xreflabel="libsoup-&libsoup-version;">
[38b1a66]18 <?dbhtml filename="libsoup.html"?>
[dc775a26]19
20
[9d7119c]21 <title>libsoup-&libsoup-version;</title>
[dc775a26]22
[38b1a66]23 <indexterm zone="libsoup">
[7ded7e3]24 <primary sortas="a-libsoup">libsoup</primary>
[38b1a66]25 </indexterm>
[dc775a26]26
[38b1a66]27 <sect2 role="package">
[9d7119c]28 <title>Introduction to libsoup</title>
[dc775a26]29
[2322fea6]30 <para>
[3ec938d]31 The <application>libsoup</application> is a HTTP client/server library for
[7ded7e3]32 <application>GNOME</application>. It uses GObject and the GLib main loop
[0d7900a]33 to integrate with <application>GNOME</application> applications and
[ec7940be]34 it also has an asynchronous API for use in threaded applications.
[2322fea6]35 </para>
[dc775a26]36
[03c0def]37 &lfs113_checked;
[7664866b]38
[38b1a66]39 <bridgehead renderas="sect3">Package Information</bridgehead>
[ac79eeb]40 <itemizedlist spacing="compact">
[38b1a66]41 <listitem>
[2322fea6]42 <para>
43 Download (HTTP): <ulink url="&libsoup-download-http;"/>
44 </para>
[38b1a66]45 </listitem>
46 <listitem>
[2322fea6]47 <para>
48 Download (FTP): <ulink url="&libsoup-download-ftp;"/>
49 </para>
[38b1a66]50 </listitem>
51 <listitem>
[2322fea6]52 <para>
53 Download MD5 sum: &libsoup-md5sum;
54 </para>
[38b1a66]55 </listitem>
56 <listitem>
[2322fea6]57 <para>
58 Download size: &libsoup-size;
59 </para>
[38b1a66]60 </listitem>
61 <listitem>
[2322fea6]62 <para>
63 Estimated disk space required: &libsoup-buildsize;
64 </para>
[38b1a66]65 </listitem>
66 <listitem>
[2322fea6]67 <para>
68 Estimated build time: &libsoup-time;
69 </para>
[38b1a66]70 </listitem>
71 </itemizedlist>
[296dce9]72<!--
[9e716cc]73 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing="compact">
75 <listitem>
76 <para>
77 Required patch:
78 <ulink url="&patch-root;/libsoup-&libsoup-version;-testsuite_fix-1.patch"/>
79 </para>
80 </listitem>
81 </itemizedlist>
[296dce9]82-->
[941e3b09]83<!--
[8668c75]84 <warning>
85 <para>
86 You may have noticed newer libsoup releases versioned 3.x.y is
87 available. However, currently some downstream packages support
88 libsoup-3.x, while the others do not. Installing libsoup-3.x into
89 BLFS is known to cause troubles, even if both libsoup-2.x and 3.x
90 are installed. So, do <emphasis role='bold'>not</emphasis> install
91 libsoup-3.x into BLFS unless you know what you are doing. We plan
[50f9dbb]92 to keep using libsoup-2.x for BLFS until GNOME-43 release.
[8668c75]93 </para>
94 </warning>
[941e3b09]95-->
[9d7119c]96 <bridgehead renderas="sect3">libsoup Dependencies</bridgehead>
[dc775a26]97
[38b1a66]98 <bridgehead renderas="sect4">Required</bridgehead>
[2322fea6]99 <para role="required">
[41aad3e3]100 <xref linkend="glib-networking"/>,
[1ad3510e]101 <xref linkend="libpsl"/>,
[140b37b]102 <xref linkend="libxml2"/>, and
[41aad3e3]103 <xref linkend="sqlite"/>
[2322fea6]104 </para>
[dc775a26]105
[7ded7e3]106 <bridgehead renderas="sect4">Recommended</bridgehead>
[f8efa5b]107 <para role="recommended">
[60d9f0f2]108 <xref linkend="gobject-introspection"/> and
[699fa99]109 <xref linkend="vala"/>
[f8efa5b]110 </para>
[beaa51b]111
[38b1a66]112 <bridgehead renderas="sect4">Optional</bridgehead>
[2322fea6]113 <para role="optional">
[c6bab95]114 <xref linkend="apache"/> (required to run the test suite),
[47d5a9e5]115 <xref linkend="brotli"/>,
[c6bab95]116 <xref linkend="curl"/> (required to run the test suite),
[296dce9]117 <xref linkend="sysprof"/> (for profiling),
[a8b13c7]118 <xref linkend="mitkrb"/> (required to run the test suite),
[2322fea6]119 <xref linkend="gtk-doc"/>,
[296dce9]120 <!-- It seems that XMLRPC is part of PHP 5.4.10 -->
[8558044]121 <xref linkend="php"/> compiled with XMLRPC-EPI
[140b37b]122 support (only used for the XMLRPC regression tests), and
123 <xref linkend="samba"/> (ntlm_auth is required to run the test suite)
[2322fea6]124 </para>
125
[38b1a66]126 </sect2>
[dc775a26]127
[38b1a66]128 <sect2 role="installation">
[9d7119c]129 <title>Installation of libsoup</title>
[296dce9]130<!--
[9e716cc]131 <para>
[48771ae]132 First, fix a problem in the test suite caused by
[9e716cc]133 <xref role="nodep" linkend="glib-networking"/>:
134 </para>
135
136<screen><userinput remap="pre">patch -Np1 -i ../libsoup-&libsoup-version;-testsuite_fix-1.patch</userinput></screen>
[296dce9]137-->
[2322fea6]138 <para>
139 Install <application>libsoup</application> by running the following
140 commands:
141 </para>
[dc775a26]142
[1ad3510e]143<screen><userinput>mkdir build &amp;&amp;
[ad342518]144cd build &amp;&amp;
[1ad3510e]145
[91318eb]146meson setup --prefix=/usr \
147 --buildtype=release \
148 -Dvapi=enabled \
149 -Dgssapi=disabled \
150 -Dsysprof=disabled \
151 .. &amp;&amp;
[1ad3510e]152ninja</userinput></screen>
[dc775a26]153
[2322fea6]154 <para>
[1ad3510e]155 To test the results, issue: <command>ninja test</command>.
[13c06cb2]156 <!-- Upstream issue #120. -->
157 One test named <filename>ssl-test</filename> is known to fail.
[2322fea6]158 </para>
[839edb8]159
[2322fea6]160 <para>
161 Now, as the <systemitem class="username">root</systemitem> user:
162 </para>
[dc775a26]163
[1ad3510e]164<screen role="root"><userinput>ninja install</userinput></screen>
[41aad3e3]165
[38b1a66]166 </sect2>
[dc775a26]167
[56ce09e]168 <sect2 role="commands">
169 <title>Command Explanations</title>
[864b24de]170
[adf17153]171 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
172 href="../../xincludes/meson-buildtype-release.xml"/>
173
[699fa99]174 <para>
[9e716cc]175 <option>-Dvapi=disabled</option>: Use this if you have not installed
[8558044]176 <application>Vala</application>, e.g. because you are not building
[3ec938d]177 <application>GNOME</application>.
[699fa99]178 </para>
179
[1ad3510e]180 <para>
[aecbae4a]181 <option>-Ddoc=enabled</option>: Use this option if you want to build
[1ad3510e]182 the documentation. Note that you must have <xref linkend="gtk-doc"/> installed.
183 </para>
[c6bab95]184
[556edfd]185 <para>
[aa41434]186 <parameter>-Dgssapi=disabled</parameter>: libsoup defaults to building with GSSAPI support,
[556edfd]187 which requires Kerberos (as does the test suite). If you are building GNOME or
[296dce9]188 have kerberos installed, remove this option.
189 </para>
190
191 <para>
192 <parameter>-Dsysprof=disabled</parameter>: libsoup will automatically download
193 a git version of <xref linkend="sysprof"/> if git is available or use the installed
194 version if available. If you need profiling, remove this option.
[556edfd]195 </para>
196
[56ce09e]197 </sect2>
198
[38b1a66]199 <sect2 role="content">
200 <title>Contents</title>
[dc775a26]201
[38b1a66]202 <segmentedlist>
[c3c56b2]203 <segtitle>Installed Programs</segtitle>
[beaa51b]204 <segtitle>Installed Libraries</segtitle>
[38b1a66]205 <segtitle>Installed Directories</segtitle>
[dc775a26]206
[38b1a66]207 <seglistitem>
[c3c56b2]208 <seg>
209 None
210 </seg>
[2322fea6]211 <seg>
[c6bab95]212 libsoup-2.4.so and libsoup-gnome-2.4.so
[2322fea6]213 </seg>
214 <seg>
[c6bab95]215 /usr/include/libsoup-2.4,
216 /usr/include/libsoup-gnome-2.4 and
[1ad3510e]217 /usr/share/gtk-doc/html/libsoup-2.4 <!-- only installed if -Ddoc=true is
218 passed. -->
[2322fea6]219 </seg>
[38b1a66]220 </seglistitem>
221 </segmentedlist>
[dc775a26]222
[38b1a66]223 <variablelist>
224 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
225 <?dbfo list-presentation="list"?>
226 <?dbhtml list-presentation="table"?>
[dc775a26]227
[1491b49]228 <varlistentry id="libsoup-2">
229 <term><filename class="libraryfile">libsoup-2.4.so</filename></term>
[38b1a66]230 <listitem>
[2322fea6]231 <para>
[4c24eb0a]232 provides functions for asynchronous HTTP connections
[2322fea6]233 </para>
[1491b49]234 <indexterm zone="libsoup libsoup-2">
235 <primary sortas="c-libsoup-2">libsoup-2.4.so</primary>
[beaa51b]236 </indexterm>
237 </listitem>
238 </varlistentry>
239
[1491b49]240 <varlistentry id="libsoup-gnome-2">
241 <term><filename class="libraryfile">libsoup-gnome-2.4.so</filename></term>
[beaa51b]242 <listitem>
[2322fea6]243 <para>
[4c24eb0a]244 provides <application>GNOME</application> specific features
[2322fea6]245 </para>
[1491b49]246 <indexterm zone="libsoup libsoup-gnome-2">
247 <primary sortas="c-libsoup-gnome-2">libsoup-gnome-2.4.so</primary>
[38b1a66]248 </indexterm>
249 </listitem>
250 </varlistentry>
[7ded7e3]251
[38b1a66]252 </variablelist>
[7ded7e3]253
[38b1a66]254 </sect2>
[7ded7e3]255
[b342c99]256</sect1>
Note: See TracBrowser for help on using the repository browser.