source: networking/netlibs/glib-networking.xml@ 9d31900

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 9d31900 was 9d31900, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Update to glib-2.68.0
Update to vala-0.52.0
Update to gobject-introspection-1.68.0
Update to pygobject-3.40.1
Update to glib-networking-2.68.0
Update to at-spi2-core-2.40.0
Update to gdk-pixbuf-2.42.4
Update to gtk+-3.24.28
Update to libdazzle-3.40.0
Update to sysprof-3.40.1
Update to tepl-6.00.0
Added gtk-4.2.0
Added gtksourceview-5.0.0

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

  • Property mode set to 100644
File size: 7.0 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.68/glib-networking-&glib-networking-version;.tar.xz">
9 <!ENTITY glib-networking-download-ftp " ">
10<!-- <!ENTITY glib-networking-download-ftp
11 "&gnome-download-ftp;/glib-networking/2.66/glib-networking-&glib-networking-version;.tar.xz"> -->
12 <!ENTITY glib-networking-md5sum "967306509bce96c1305dba248d653b26">
13 <!ENTITY glib-networking-size "236 KB">
14 <!ENTITY glib-networking-buildsize "6.5 MB (with tests)">
15 <!ENTITY glib-networking-time "less than 0.1 SBU (with tests)">
16]>
17
18<sect1 id="glib-networking" xreflabel="glib-networking-&glib-networking-version;">
19 <?dbhtml filename="glib-networking.html"?>
20
21 <sect1info>
22 <othername>$LastChangedBy$</othername>
23 <date>$Date$</date>
24 </sect1info>
25
26 <title>glib-networking-&glib-networking-version;</title>
27
28 <indexterm zone="glib-networking">
29 <primary sortas="a-glib-networking">glib-networking</primary>
30 </indexterm>
31
32 <sect2 role="package">
33 <title>Introduction to GLib Networking</title>
34
35 <para>
36 The <application>GLib Networking</application> package contains
37 Network related gio modules for <application>GLib</application>.
38 </para>
39
40 &lfs101_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&glib-networking-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&glib-networking-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &glib-networking-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &glib-networking-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &glib-networking-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &glib-networking-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75<!--
76 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
77 <itemizedlist spacing="compact">
78 <listitem>
79 <para>
80 Required patch:
81 <ulink url="&patch-root;/glib-networking-&glib-networking-version;-upstream_fixes-1.patch"/>
82 </para>
83 </listitem>
84 </itemizedlist>
85-->
86 <bridgehead renderas="sect3">GLib Networking Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Required</bridgehead>
89 <para role="required">
90 <xref linkend="glib2"/>,
91 <xref linkend="gnutls"/>, and
92 <xref linkend="gsettings-desktop-schemas"/>
93 </para>
94
95 <bridgehead renderas="sect4">Recommended</bridgehead>
96 <para role="recommended">
97 <xref linkend="make-ca"/>
98 <!-- p11-kit option no longer exists, and is pulled in by GnuTLS anyway -->
99 </para>
100
101 <bridgehead renderas="sect4">Optional</bridgehead>
102 <para role="optional">
103 <ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>
104 </para>
105
106 <para condition="html" role="usernotes">User Notes:
107 <ulink url="&blfs-wiki;/glib-networking"/>
108 </para>
109 </sect2>
110
111 <sect2 role="installation">
112 <title>Installation of GLib Networking</title>
113
114 <!-- 2.60.0 of glib-networking introduced an experimental OpenSSL backend.
115 Since it is not tested well upstream yet, and it is recommended by upstream
116 to use the GnuTLS backend on Linux, we will continue using the GnuTLS
117 backend and not mention the OpenSSL backend to prevent confusion. -->
118 <!--
119 <para>
120 First, apply a patch to fix a problem introduced by API changes in GnuTLS:
121 </para>
122
123<screen><userinput remap="pre">patch -Np1 -i ../glib-networking-&glib-networking-version;-upstream_fixes-1.patch</userinput></screen>
124-->
125
126 <para>
127 Install <application>GLib Networking</application> by running the following
128 commands:
129 </para>
130
131<screen><userinput>mkdir build &amp;&amp;
132cd build &amp;&amp;
133
134meson --prefix=/usr \
135 -Dlibproxy=disabled .. &amp;&amp;
136ninja</userinput></screen>
137
138 <para>
139 To test the results, issue: <command>ninja test</command>.
140 </para>
141
142 <!-- glib-networking/#70 -->
143 <!-- The patch fixes this problem, and the connection-gnutls failure was
144 indicative of a complete failure of the GnuTLS backend to use certificates.
145 This broke WebKit and libsoup, and has since been patched. -->
146 <!--
147 <para>
148 The test <emphasis>connection-gnutls</emphasis> is known to fail.
149 </para>
150 -->
151
152 <para>
153 Now, as the <systemitem class="username">root</systemitem> user:
154 </para>
155
156<screen role="root"><userinput>ninja install</userinput></screen>
157
158 </sect2>
159<!--
160 <sect2 role="commands">
161 <title>Command Explanations</title>
162
163 <para>
164 <parameter>- -without-ca-certificates</parameter>: This parameter forces
165 use of PKCS #11 modules for TLS certificate validation instead of a
166 bundle of certificates.
167 </para>
168
169 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
170 href="../../xincludes/static-libraries.xml"/>
171
172 </sect2>
173 -->
174 <!-- This isn't needed anymore and breaks applications which use it.
175 <sect2 role="configuration">
176 <title>Configuring Glib-networking</title>
177 <!- - This breaks the libsoup tests - ->
178
179 <sect3 id="glib-networking-config">
180 <title>Config Files</title>
181 <para>
182 <filename>/etc/profile.d/gio.sh</filename>
183 </para>
184
185 <indexterm zone="glib-networking glib-networking-config">
186 <primary
187 sortas="e-etc-profile.d-gio.sh">/etc/profile.d/gio.sh</primary>
188 </indexterm>
189 </sect3>
190
191 <sect3><title>Configuration Information</title>
192
193 <para>
194 For using the PKCS #11 modules, the <envar>GIO_USE_TLS</envar> variable
195 should be set in the environment. This can be added to the Bash Startup
196 Files (as the <systemitem class="username">root</systemitem> user):
197 </para>
198
199<screen role="root"><userinput>cat &gt; /etc/profile.d/gio.sh &lt;&lt; "EOF"
200<literal># Begin gio.sh
201
202export GIO_USE_TLS=gnutls-pkcs11
203
204# End gio.sh</literal>
205EOF</userinput></screen>
206 </sect3>
207 </sect2>
208-->
209 <sect2 role="content">
210 <title>Contents</title>
211
212 <segmentedlist>
213 <segtitle>Installed Program</segtitle>
214 <segtitle>Installed Libraries</segtitle>
215 <segtitle>Installed Directories</segtitle>
216
217 <seglistitem>
218 <seg>
219 None
220 </seg>
221 <seg>
222 libgiognomeproxy.so and libgiognutls.so (GIO Modules installed in
223 <filename class="directory">/usr/lib/gio/modules</filename>)
224 </seg>
225 <seg>
226 None
227 </seg>
228 </seglistitem>
229 </segmentedlist>
230
231 </sect2>
232
233</sect1>
Note: See TracBrowser for help on using the repository browser.