source: networking/netlibs/libsoup.xml@ 21f40ff

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 21f40ff was adf17153, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more --buildtype=release addition

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