source: networking/netlibs/glib-networking.xml@ 83349bf

10.0 10.1 11.0 11.1 11.2 8.4 9.0 9.1 lazarus qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 83349bf was 83349bf, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21177 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY glib-networking-download-http
8 "&gnome-download-http;/glib-networking/2.58/glib-networking-&glib-networking-version;.tar.xz">
9 <!ENTITY glib-networking-download-ftp
10 "&gnome-download-ftp;/glib-networking/2.58/glib-networking-&glib-networking-version;.tar.xz">
11 <!ENTITY glib-networking-md5sum "75b14b7e73a67753be9ce307751c661d">
12 <!ENTITY glib-networking-size "172 KB">
13 <!ENTITY glib-networking-buildsize "6.4 MB (with tests)">
14 <!ENTITY glib-networking-time "0.1 SBU (with tests)">
15]>
16
17<sect1 id="glib-networking" xreflabel="glib-networking-&glib-networking-version;">
18 <?dbhtml filename="glib-networking.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>glib-networking-&glib-networking-version;</title>
26
27 <indexterm zone="glib-networking">
28 <primary sortas="a-glib-networking">glib-networking</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to GLib Networking</title>
33
34 <para>
35 The <application>GLib Networking</application> package contains
36 Network related gio modules for <application>GLib</application>.
37 </para>
38
39 &lfs84_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&glib-networking-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&glib-networking-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &glib-networking-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &glib-networking-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &glib-networking-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &glib-networking-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">GLib Networking Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="glib2"/>,
80 <xref linkend="gnutls"/>, and
81 <xref linkend="gsettings-desktop-schemas"/>
82 </para>
83
84 <bridgehead renderas="sect4">Recommended</bridgehead>
85 <para role="recommended">
86 <xref linkend="make-ca"/> and
87 <xref linkend="p11-kit"/>
88 </para>
89
90 <bridgehead renderas="sect4">Optional</bridgehead>
91 <para role="optional">
92 <ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>
93 </para>
94
95 <para condition="html" role="usernotes">User Notes:
96 <ulink url="&blfs-wiki;/glib-networking"/>
97 </para>
98 </sect2>
99
100 <sect2 role="installation">
101 <title>Installation of GLib Networking</title>
102
103 <para>
104 Install <application>GLib Networking</application> by running the following
105 commands:
106 </para>
107
108<screen><userinput>mkdir build &amp;&amp;
109cd build &amp;&amp;
110
111meson --prefix=/usr \
112 -Dlibproxy_support=false \
113 -Dpkcs11_support=true .. &amp;&amp;
114ninja</userinput></screen>
115
116 <para>
117 To test the results, issue: <command>ninja test</command>.
118 </para>
119
120 <para>
121 Now, as the <systemitem class="username">root</systemitem> user:
122 </para>
123
124<screen role="root"><userinput>ninja install</userinput></screen>
125
126 </sect2>
127<!--
128 <sect2 role="commands">
129 <title>Command Explanations</title>
130
131 <para>
132 <parameter>- -without-ca-certificates</parameter>: This parameter forces
133 use of PKCS #11 modules for TLS certificate validation instead of a
134 bundle of certificates.
135 </para>
136
137 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
138 href="../../xincludes/static-libraries.xml"/>
139
140 </sect2>
141-->
142 <sect2 role="configuration">
143 <title>Configuring Glib-networking</title>
144 <!-- This breaks the libsoup tests -->
145
146 <sect3 id="glib-networking-config">
147 <title>Config Files</title>
148 <para>
149 <filename>/etc/profile.d/gio.sh</filename>
150 </para>
151
152 <indexterm zone="glib-networking glib-networking-config">
153 <primary
154 sortas="e-etc-profile.d-gio.sh">/etc/profile.d/gio.sh</primary>
155 </indexterm>
156 </sect3>
157
158 <sect3><title>Configuration Information</title>
159
160 <para>
161 For using the PKCS #11 modules, the <envar>GIO_USE_TLS</envar> variable
162 should be set in the environment. This can be added to the Bash Startup
163 Files (as the <systemitem class="username">root</systemitem> user):
164 </para>
165
166<screen role="root"><userinput>cat &gt; /etc/profile.d/gio.sh &lt;&lt; "EOF"
167<literal># Begin gio.sh
168
169export GIO_USE_TLS=gnutls-pkcs11
170
171# End gio.sh</literal>
172EOF</userinput></screen>
173 </sect3>
174 </sect2>
175
176 <sect2 role="content">
177 <title>Contents</title>
178
179 <segmentedlist>
180 <segtitle>Installed Program</segtitle>
181 <segtitle>Installed Libraries</segtitle>
182 <segtitle>Installed Directories</segtitle>
183
184 <seglistitem>
185 <seg>
186 None
187 </seg>
188 <seg>
189 libgiognomeproxy.so and libgiognutls.so (GIO Modules installed in
190 <filename class="directory">/usr/lib/gio/modules</filename>)
191 </seg>
192 <seg>
193 None
194 </seg>
195 </seglistitem>
196 </segmentedlist>
197
198 </sect2>
199
200</sect1>
Note: See TracBrowser for help on using the repository browser.