mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 06:52:14 +08:00
Add libsoup-3.0.6.
libsoup3 should be OK now. There have not been any issues discovered as of the date of this commit. gvfs is also changed to add back http. Also avahi is now recommended. avahi can be removed by adding -Ddnssd=false but that requires a patch. https://gitlab.gnome.org/GNOME/gvfs/-/issues/621 This has been fixed upstream.
This commit is contained in:
parent
43ad17a006
commit
941e3b09ce
@ -87,18 +87,18 @@
|
||||
<xref linkend="dbus"/>,
|
||||
<xref linkend="glib2"/>,
|
||||
<xref linkend="libusb"/>, and
|
||||
<!-- Needs libsoup 3, not yet in the book
|
||||
<xref linkend="libsoup"/>, and -->
|
||||
<xref linkend="libsecret"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Recommended</bridgehead>
|
||||
<para role="recommended">
|
||||
<xref linkend="avahi"/>,
|
||||
<xref linkend="gcr"/>,
|
||||
<xref linkend="gtk3"/>,
|
||||
<xref linkend="libcdio"/>,
|
||||
<xref linkend="libgdata"/>,
|
||||
<xref linkend="libgudev"/>,
|
||||
<xref linkend="libsoup3"/>,
|
||||
<phrase revision="sysv"><xref linkend="elogind"/>,</phrase>
|
||||
<phrase revision="systemd"><xref linkend="systemd"/>,</phrase> and
|
||||
<xref linkend="udisks2"/>
|
||||
@ -123,8 +123,7 @@
|
||||
<ulink url="http://www.gphoto.org/">libgphoto2</ulink>,
|
||||
<ulink url="http://www.libimobiledevice.org/">libimobiledevice</ulink>,
|
||||
<ulink url="http://libmtp.sourceforge.net/">libmtp</ulink>,
|
||||
<!-- temporary until we put libsoup-3 into the book -->
|
||||
<ulink url="https://download.gnome.org/sources/libsoup/3.0/">libsoup-3</ulink>,
|
||||
<!--<ulink url="https://download.gnome.org/sources/libsoup/3.0/">libsoup-3</ulink>,-->
|
||||
<ulink url="https://github.com/sahlberg/libnfs/">libnfs</ulink>, and
|
||||
<ulink url="http://twistedmatrix.com/trac/">Twisted</ulink>
|
||||
</para>
|
||||
@ -144,11 +143,9 @@
|
||||
|
||||
<screen revision='sysv'><userinput>mkdir build &&
|
||||
cd build &&
|
||||
<!-- The -Dhttp=false is a workaround because we do not put libsoup-3
|
||||
in the book yet. Remove when libsoup-3 is in the book. -->
|
||||
|
||||
meson --prefix=/usr \
|
||||
--buildtype=release \
|
||||
-Dhttp=false \
|
||||
-Dfuse=false \
|
||||
-Dgphoto2=false \
|
||||
-Dafc=false \
|
||||
@ -157,7 +154,6 @@ meson --prefix=/usr \
|
||||
-Dmtp=false \
|
||||
-Dsmb=false \
|
||||
-Dtmpfilesdir=no \
|
||||
-Ddnssd=false \
|
||||
-Dgoa=false \
|
||||
-Dgoogle=false \
|
||||
-Dsystemduserunitdir=no .. &&
|
||||
@ -165,11 +161,9 @@ ninja</userinput></screen>
|
||||
|
||||
<screen revision='systemd'><userinput>mkdir build &&
|
||||
cd build &&
|
||||
<!-- The -Dhttp=false is a workaround because we do not put libsoup-3
|
||||
in the book yet. Remove when libsoup-3 is in the book. -->
|
||||
|
||||
meson --prefix=/usr \
|
||||
--buildtype=release \
|
||||
-Dhttp=false \
|
||||
-Dfuse=false \
|
||||
-Dgphoto2=false \
|
||||
-Dafc=false \
|
||||
@ -177,7 +171,6 @@ meson --prefix=/usr \
|
||||
-Dnfs=false \
|
||||
-Dmtp=false \
|
||||
-Dsmb=false \
|
||||
-Ddnssd=false \
|
||||
-Dgoa=false \
|
||||
-Dgoogle=false .. &&
|
||||
ninja</userinput></screen>
|
||||
@ -204,7 +197,7 @@ ninja</userinput></screen>
|
||||
|
||||
<para>
|
||||
<parameter>-D<option>=false</parameter>: These switches are
|
||||
required if the corresponding optional dependency is not installed.
|
||||
required if the corresponding dependency is not installed.
|
||||
Remove those where you have installed the corresponding application and
|
||||
wish to use it with <application>Gvfs</application>. The dnssd option
|
||||
requires avahi and both goa/google require GNOME Online Accounts.
|
||||
|
@ -45,6 +45,10 @@
|
||||
<listitem>
|
||||
<para>May 22nd, 2022</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Add libsoup-3.0.6. Fixes
|
||||
<ulink url="&blfs-ticket-root;15568">#15568</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to libxkbcommon-1.4.1. Fixes
|
||||
<ulink url="&blfs-ticket-root;16569">#16569</ulink>.</para>
|
||||
|
@ -83,7 +83,7 @@
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
-->
|
||||
|
||||
<!--
|
||||
<warning>
|
||||
<para>
|
||||
You may have noticed newer libsoup releases versioned 3.x.y is
|
||||
@ -95,7 +95,7 @@
|
||||
to keep using libsoup-2.x for BLFS until GNOME-43 release.
|
||||
</para>
|
||||
</warning>
|
||||
|
||||
-->
|
||||
<bridgehead renderas="sect3">libsoup Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
|
227
networking/netlibs/libsoup3.xml
Normal file
227
networking/netlibs/libsoup3.xml
Normal file
@ -0,0 +1,227 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY libsoup3-download-http
|
||||
"&gnome-download-http;/libsoup/&libsoup3-minor;/libsoup-&libsoup3-version;.tar.xz">
|
||||
<!ENTITY libsoup3-download-ftp
|
||||
"&gnome-download-ftp;/libsoup/&libsoup3-minor;/libsoup-&libsoup3-version;.tar.xz">
|
||||
<!ENTITY libsoup3-md5sum "fdf023fdb560967d6d2d4386d179e473">
|
||||
<!ENTITY libsoup3-size "1.5 MB">
|
||||
<!ENTITY libsoup3-buildsize "19 MB (with tests)">
|
||||
<!ENTITY libsoup3-time "0.2 SBU (Using parallelism=4; with tests)">
|
||||
]>
|
||||
|
||||
<sect1 id="libsoup3" xreflabel="libsoup-&libsoup3-version;">
|
||||
<?dbhtml filename="libsoup3.html"?>
|
||||
|
||||
<sect1info>
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
|
||||
<title>libsoup-&libsoup3-version;</title>
|
||||
|
||||
<indexterm zone="libsoup3">
|
||||
<primary sortas="a-libsoup3">libsoup3</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2 role="package">
|
||||
<title>Introduction to libsoup3</title>
|
||||
|
||||
<para>
|
||||
The <application>libsoup3</application> is a HTTP client/server library for
|
||||
<application>GNOME</application>. It uses GObject and the GLib main loop
|
||||
to integrate with <application>GNOME</application> applications and
|
||||
it also has an asynchronous API for use in threaded applications.
|
||||
</para>
|
||||
|
||||
&lfs111_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Download (HTTP): <ulink url="&libsoup3-download-http;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download (FTP): <ulink url="&libsoup3-download-ftp;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download MD5 sum: &libsoup3-md5sum;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download size: &libsoup3-size;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated disk space required: &libsoup3-buildsize;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated build time: &libsoup3-time;
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<!--
|
||||
<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
|
||||
to keep using libsoup-2.x for BLFS until GNOME-43 release.
|
||||
</para>
|
||||
</warning>
|
||||
-->
|
||||
<bridgehead renderas="sect3">libsoup3 Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para role="required">
|
||||
<xref linkend="glib-networking"/>,
|
||||
<xref linkend="libpsl"/>,
|
||||
<xref linkend="libxml2"/>, and
|
||||
<xref linkend="sqlite"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Recommended</bridgehead>
|
||||
<para role="recommended">
|
||||
<xref linkend="gobject-introspection"/> and
|
||||
<xref linkend="vala"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<xref linkend="apache"/> (required to run the test suite),
|
||||
<xref linkend="brotli"/>,
|
||||
<xref linkend="curl"/> (required to run the test suite),
|
||||
<xref linkend="sysprof"/> (for profiling),
|
||||
<xref linkend="mitkrb"/> (required to run the test suite),
|
||||
<xref linkend="gtk-doc"/>,
|
||||
<!-- It seems that XMLRPC is part of PHP 5.4.10 -->
|
||||
<xref linkend="php"/> compiled with XMLRPC-EPI
|
||||
support (only used for the XMLRPC regression tests), and
|
||||
<xref linkend="samba"/> (ntlm_auth is required to run the test suite)
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">
|
||||
User Notes: <ulink url="&blfs-wiki;/libsoup3"/>
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of libsoup3</title>
|
||||
|
||||
<para>
|
||||
Install <application>libsoup3</application> by running the following
|
||||
commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>mkdir build &&
|
||||
cd build &&
|
||||
|
||||
meson --prefix=/usr \
|
||||
--buildtype=release \
|
||||
-Dvapi=enabled \
|
||||
-Dgssapi=disabled \
|
||||
-Dsysprof=disabled \
|
||||
.. &&
|
||||
ninja</userinput></screen>
|
||||
|
||||
<para>
|
||||
To test the results, issue: <command>ninja test</command>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Now, as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>ninja install</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/meson-buildtype-release.xml"/>
|
||||
|
||||
<para>
|
||||
<option>-Dvapi=disabled</option>: Use this if you have not installed
|
||||
<application>Vala</application>, e.g. because you are not building
|
||||
<application>GNOME</application>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<option>-Ddoc=enabled</option>: Use this option if you want to build
|
||||
the documentation. Note that you must have <xref linkend="gtk-doc"/> installed.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<parameter>-Dgssapi=disabled</parameter>: libsoup3 defaults to building with GSSAPI support,
|
||||
which requires Kerberos (as does the test suite).
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<parameter>-Dsysprof=disabled</parameter>: libsoup3 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.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>
|
||||
None
|
||||
</seg>
|
||||
<seg>
|
||||
libsoup-3.0.so
|
||||
</seg>
|
||||
<seg>
|
||||
/usr/include/libsoup-3.0,
|
||||
/usr/share/gtk-doc/html/libsoup-3.0 (only installed if -Ddoc=true is passed)
|
||||
</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
<?dbhtml list-presentation="table"?>
|
||||
|
||||
<varlistentry id="libsoup-3">
|
||||
<term><filename class="libraryfile">libsoup-3.0.so</filename></term>
|
||||
<listitem>
|
||||
<para>
|
||||
provides functions for asynchronous HTTP connections
|
||||
</para>
|
||||
<indexterm zone="libsoup libsoup-3">
|
||||
<primary sortas="c-libsoup-3">libsoup-3.0.so</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
@ -33,6 +33,7 @@
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libpsl.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libndp.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libsoup.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libsoup3.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libtirpc.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="neon.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nghttp2.xml"/>
|
||||
|
@ -657,6 +657,8 @@ to avoid building libxml2 twice, which is slow with all deps -->
|
||||
<!ENTITY libproxy-version "0.4.7">
|
||||
<!ENTITY libsoup-minor "2.74">
|
||||
<!ENTITY libsoup-version "&libsoup-minor;.2">
|
||||
<!ENTITY libsoup3-minor "3.0">
|
||||
<!ENTITY libsoup3-version "&libsoup3-minor;.6">
|
||||
<!ENTITY libtirpc-version "1.3.2">
|
||||
<!ENTITY neon-version "0.32.2">
|
||||
<!ENTITY nghttp2-version "1.47.0">
|
||||
|
Loading…
Reference in New Issue
Block a user