source: networking/netlibs/libsoup.xml@ 13763851

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 13763851 was 48771ae, checked in by David Bryant <davidbryant@…>, 19 months ago

Unless it's a directory name, or something like that, "test suite"
should be spelled as two words.

  • Property mode set to 100644
File size: 8.1 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
[0ddf4e7]37 &lfs112_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
126 <para condition="html" role="usernotes">
127 User Notes: <ulink url="&blfs-wiki;/libsoup"/>
128 </para>
[38b1a66]129 </sect2>
[dc775a26]130
[38b1a66]131 <sect2 role="installation">
[9d7119c]132 <title>Installation of libsoup</title>
[296dce9]133<!--
[9e716cc]134 <para>
[48771ae]135 First, fix a problem in the test suite caused by
[9e716cc]136 <xref role="nodep" linkend="glib-networking"/>:
137 </para>
138
139<screen><userinput remap="pre">patch -Np1 -i ../libsoup-&libsoup-version;-testsuite_fix-1.patch</userinput></screen>
[296dce9]140-->
[2322fea6]141 <para>
142 Install <application>libsoup</application> by running the following
143 commands:
144 </para>
[dc775a26]145
[1ad3510e]146<screen><userinput>mkdir build &amp;&amp;
[ad342518]147cd build &amp;&amp;
[1ad3510e]148
[adf17153]149meson --prefix=/usr \
150 --buildtype=release \
151 -Dvapi=enabled \
[296dce9]152 -Dgssapi=disabled \
153 -Dsysprof=disabled \
154 .. &amp;&amp;
[1ad3510e]155ninja</userinput></screen>
[dc775a26]156
[2322fea6]157 <para>
[1ad3510e]158 To test the results, issue: <command>ninja test</command>.
[13c06cb2]159 <!-- Upstream issue #120. -->
160 One test named <filename>ssl-test</filename> is known to fail.
[2322fea6]161 </para>
[839edb8]162
[2322fea6]163 <para>
164 Now, as the <systemitem class="username">root</systemitem> user:
165 </para>
[dc775a26]166
[1ad3510e]167<screen role="root"><userinput>ninja install</userinput></screen>
[41aad3e3]168
[38b1a66]169 </sect2>
[dc775a26]170
[56ce09e]171 <sect2 role="commands">
172 <title>Command Explanations</title>
[864b24de]173
[adf17153]174 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
175 href="../../xincludes/meson-buildtype-release.xml"/>
176
[699fa99]177 <para>
[9e716cc]178 <option>-Dvapi=disabled</option>: Use this if you have not installed
[8558044]179 <application>Vala</application>, e.g. because you are not building
[3ec938d]180 <application>GNOME</application>.
[699fa99]181 </para>
182
[1ad3510e]183 <para>
[aecbae4a]184 <option>-Ddoc=enabled</option>: Use this option if you want to build
[1ad3510e]185 the documentation. Note that you must have <xref linkend="gtk-doc"/> installed.
186 </para>
[c6bab95]187
[556edfd]188 <para>
[aa41434]189 <parameter>-Dgssapi=disabled</parameter>: libsoup defaults to building with GSSAPI support,
[556edfd]190 which requires Kerberos (as does the test suite). If you are building GNOME or
[296dce9]191 have kerberos installed, remove this option.
192 </para>
193
194 <para>
195 <parameter>-Dsysprof=disabled</parameter>: libsoup will automatically download
196 a git version of <xref linkend="sysprof"/> if git is available or use the installed
197 version if available. If you need profiling, remove this option.
[556edfd]198 </para>
199
[56ce09e]200 </sect2>
201
[38b1a66]202 <sect2 role="content">
203 <title>Contents</title>
[dc775a26]204
[38b1a66]205 <segmentedlist>
[c3c56b2]206 <segtitle>Installed Programs</segtitle>
[beaa51b]207 <segtitle>Installed Libraries</segtitle>
[38b1a66]208 <segtitle>Installed Directories</segtitle>
[dc775a26]209
[38b1a66]210 <seglistitem>
[c3c56b2]211 <seg>
212 None
213 </seg>
[2322fea6]214 <seg>
[c6bab95]215 libsoup-2.4.so and libsoup-gnome-2.4.so
[2322fea6]216 </seg>
217 <seg>
[c6bab95]218 /usr/include/libsoup-2.4,
219 /usr/include/libsoup-gnome-2.4 and
[1ad3510e]220 /usr/share/gtk-doc/html/libsoup-2.4 <!-- only installed if -Ddoc=true is
221 passed. -->
[2322fea6]222 </seg>
[38b1a66]223 </seglistitem>
224 </segmentedlist>
[dc775a26]225
[38b1a66]226 <variablelist>
227 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
228 <?dbfo list-presentation="list"?>
229 <?dbhtml list-presentation="table"?>
[dc775a26]230
[1491b49]231 <varlistentry id="libsoup-2">
232 <term><filename class="libraryfile">libsoup-2.4.so</filename></term>
[38b1a66]233 <listitem>
[2322fea6]234 <para>
[4c24eb0a]235 provides functions for asynchronous HTTP connections
[2322fea6]236 </para>
[1491b49]237 <indexterm zone="libsoup libsoup-2">
238 <primary sortas="c-libsoup-2">libsoup-2.4.so</primary>
[beaa51b]239 </indexterm>
240 </listitem>
241 </varlistentry>
242
[1491b49]243 <varlistentry id="libsoup-gnome-2">
244 <term><filename class="libraryfile">libsoup-gnome-2.4.so</filename></term>
[beaa51b]245 <listitem>
[2322fea6]246 <para>
[4c24eb0a]247 provides <application>GNOME</application> specific features
[2322fea6]248 </para>
[1491b49]249 <indexterm zone="libsoup libsoup-gnome-2">
250 <primary sortas="c-libsoup-gnome-2">libsoup-gnome-2.4.so</primary>
[38b1a66]251 </indexterm>
252 </listitem>
253 </varlistentry>
[7ded7e3]254
[38b1a66]255 </variablelist>
[7ded7e3]256
[38b1a66]257 </sect2>
[7ded7e3]258
[b342c99]259</sect1>
Note: See TracBrowser for help on using the repository browser.