source: networking/netlibs/glib-networking.xml@ c60aa10c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.0 9.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 c60aa10c was c60aa10c, checked in by Xi Ruoyao <xry111@…>, 5 years ago

Update gnutls and glib-networking

Update to glib-networking-2.60.1
Update to gnutls-3.6.7.1

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

  • Property mode set to 100644
File size: 6.1 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.60/glib-networking-&glib-networking-version;.tar.xz">
9 <!ENTITY glib-networking-download-ftp
10 "&gnome-download-ftp;/glib-networking/2.60/glib-networking-&glib-networking-version;.tar.xz">
11 <!ENTITY glib-networking-md5sum "83321ffc3c336894b8a5bc18db3fe58d">
12 <!ENTITY glib-networking-size "184 KB">
13 <!ENTITY glib-networking-buildsize "3.6 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"/>
87 <!-- p11-kit option no longer exists, and is pulled in by GnuTLS anyway -->
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 <!-- 2.60.0 of glib-networking introduced an experimental OpenSSL backend.
104 Since it is not tested well upstream yet, and it is recommended by upstream
105 to use the GnuTLS backend on Linux, we will continue using the GnuTLS
106 backend and not mention the OpenSSL backend to prevent confusion. -->
107 <para>
108 Install <application>GLib Networking</application> by running the following
109 commands:
110 </para>
111
112<screen><userinput>mkdir build &amp;&amp;
113cd build &amp;&amp;
114
115meson --prefix=/usr \
116 -Dlibproxy=disabled .. &amp;&amp;
117ninja</userinput></screen>
118
119 <para>
120 To test the results, issue: <command>ninja test</command>.
121 </para>
122
123 <!-- glib-networking/#70 -->
124 <para>
125 The test <emphasis>connection-gnutls</emphasis> is known to fail.
126 </para>
127
128 <para>
129 Now, as the <systemitem class="username">root</systemitem> user:
130 </para>
131
132<screen role="root"><userinput>ninja install</userinput></screen>
133
134 </sect2>
135<!--
136 <sect2 role="commands">
137 <title>Command Explanations</title>
138
139 <para>
140 <parameter>- -without-ca-certificates</parameter>: This parameter forces
141 use of PKCS #11 modules for TLS certificate validation instead of a
142 bundle of certificates.
143 </para>
144
145 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
146 href="../../xincludes/static-libraries.xml"/>
147
148 </sect2>
149 -->
150 <!-- This isn't needed anymore and breaks applications which use it.
151 <sect2 role="configuration">
152 <title>Configuring Glib-networking</title>
153 <!- - This breaks the libsoup tests - ->
154
155 <sect3 id="glib-networking-config">
156 <title>Config Files</title>
157 <para>
158 <filename>/etc/profile.d/gio.sh</filename>
159 </para>
160
161 <indexterm zone="glib-networking glib-networking-config">
162 <primary
163 sortas="e-etc-profile.d-gio.sh">/etc/profile.d/gio.sh</primary>
164 </indexterm>
165 </sect3>
166
167 <sect3><title>Configuration Information</title>
168
169 <para>
170 For using the PKCS #11 modules, the <envar>GIO_USE_TLS</envar> variable
171 should be set in the environment. This can be added to the Bash Startup
172 Files (as the <systemitem class="username">root</systemitem> user):
173 </para>
174
175<screen role="root"><userinput>cat &gt; /etc/profile.d/gio.sh &lt;&lt; "EOF"
176<literal># Begin gio.sh
177
178export GIO_USE_TLS=gnutls-pkcs11
179
180# End gio.sh</literal>
181EOF</userinput></screen>
182 </sect3>
183 </sect2>
184-->
185 <sect2 role="content">
186 <title>Contents</title>
187
188 <segmentedlist>
189 <segtitle>Installed Program</segtitle>
190 <segtitle>Installed Libraries</segtitle>
191 <segtitle>Installed Directories</segtitle>
192
193 <seglistitem>
194 <seg>
195 None
196 </seg>
197 <seg>
198 libgiognomeproxy.so and libgiognutls.so (GIO Modules installed in
199 <filename class="directory">/usr/lib/gio/modules</filename>)
200 </seg>
201 <seg>
202 None
203 </seg>
204 </seglistitem>
205 </segmentedlist>
206
207 </sect2>
208
209</sect1>
Note: See TracBrowser for help on using the repository browser.