glfs/networking/netlibs/glib-networking.xml

200 lines
5.6 KiB
XML
Raw Normal View History

<?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 glib-networking-download-http
"&gnome-download-http;/glib-networking/2.56/glib-networking-&glib-networking-version;.tar.xz">
<!ENTITY glib-networking-download-ftp
"&gnome-download-ftp;/glib-networking/2.56/glib-networking-&glib-networking-version;.tar.xz">
<!ENTITY glib-networking-md5sum "456572f1e8fea32ef747541d64508a8e">
<!ENTITY glib-networking-size "164 KB">
<!ENTITY glib-networking-buildsize "4.8 MB (with tests)">
<!ENTITY glib-networking-time "0.1 SBU (with tests)">
]>
<sect1 id="glib-networking" xreflabel="glib-networking-&glib-networking-version;">
<?dbhtml filename="glib-networking.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>glib-networking-&glib-networking-version;</title>
<indexterm zone="glib-networking">
<primary sortas="a-glib-networking">glib-networking</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to GLib Networking</title>
<para>
The <application>GLib Networking</application> package contains
Network related gio modules for <application>GLib</application>.
</para>
&lfs83_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&glib-networking-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&glib-networking-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &glib-networking-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &glib-networking-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &glib-networking-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &glib-networking-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">GLib Networking Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="glib2"/>, <!-- needed because version is important -->
<xref linkend="gnutls"/>, and
<xref linkend="gsettings-desktop-schemas"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="make-ca"/> and
<xref linkend="p11-kit"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/glib-networking"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of GLib Networking</title>
<para>
Install <application>GLib Networking</application> by running the following
commands:
</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson --prefix=/usr \
-Dlibproxy_support=false \
-Dca_certificates_path=/etc/ssl/ca-bundle.crt .. &amp;&amp;
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>
<para>
<parameter>- -without-ca-certificates</parameter>: This parameter forces
use of PKCS #11 modules for TLS certificate validation instead of a
bundle of certificates.
</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
</sect2>
-->
<sect2 role="configuration">
<title>Configuring Glib-networking</title>
<sect3 id="glib-networking-config">
<title>Config Files</title>
<para>
<filename>/etc/profile.d/gio.sh</filename>
</para>
<indexterm zone="glib-networking glib-networking-config">
<primary
sortas="e-etc-profile.d-gio.sh">/etc/profile.d/gio.sh</primary>
</indexterm>
</sect3>
<sect3><title>Configuration Information</title>
<para>
For using the PKCS #11 modules, the <envar>GIO_USE_TLS</envar> variable
should be set in the environment. This can be added to the Bash Startup
Files (as the <systemitem class="username">root</systemitem> user):
</para>
<screen role="root"><userinput>cat &gt; /etc/profile.d/gio.sh &lt;&lt; "EOF"
<literal># Begin gio.sh
export GIO_USE_TLS=gnutls-pkcs11
# End gio.sh</literal>
EOF</userinput></screen>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
libgiognomeproxy.so and libgiognutls.so (GIO Modules installed in
<filename class="directory">/usr/lib/gio/modules</filename>)
</seg>
<seg>
None
</seg>
</seglistitem>
</segmentedlist>
</sect2>
</sect1>