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

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

Fix build of glib-networking
Remember to keep an eye out for changes like this on all meson packages.

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

  • Property mode set to 100644
File size: 6.0 KB
RevLine 
[7236a20]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
[f8efa5b]7 <!ENTITY glib-networking-download-http
[85465d9]8 "&gnome-download-http;/glib-networking/2.60/glib-networking-&glib-networking-version;.tar.xz">
[0d7900a]9 <!ENTITY glib-networking-download-ftp
[85465d9]10 "&gnome-download-ftp;/glib-networking/2.60/glib-networking-&glib-networking-version;.tar.xz">
11 <!ENTITY glib-networking-md5sum "b41b94a3f84e63437760fe49774431bb">
12 <!ENTITY glib-networking-size "184 KB">
13 <!ENTITY glib-networking-buildsize "5.8 MB (with tests)">
[3ec938d]14 <!ENTITY glib-networking-time "0.1 SBU (with tests)">
[7236a20]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">
[7ded7e3]32 <title>Introduction to GLib Networking</title>
[7236a20]33
[7ded7e3]34 <para>
35 The <application>GLib Networking</application> package contains
36 Network related gio modules for <application>GLib</application>.
37 </para>
[7236a20]38
[83349bf]39 &lfs84_checked;
[7236a20]40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
[7ded7e3]44 <para>
45 Download (HTTP): <ulink url="&glib-networking-download-http;"/>
46 </para>
[7236a20]47 </listitem>
48 <listitem>
[7ded7e3]49 <para>
50 Download (FTP): <ulink url="&glib-networking-download-ftp;"/>
51 </para>
[7236a20]52 </listitem>
53 <listitem>
[7ded7e3]54 <para>
55 Download MD5 sum: &glib-networking-md5sum;
56 </para>
[7236a20]57 </listitem>
58 <listitem>
[7ded7e3]59 <para>
60 Download size: &glib-networking-size;
61 </para>
[7236a20]62 </listitem>
63 <listitem>
[7ded7e3]64 <para>
65 Estimated disk space required: &glib-networking-buildsize;
66 </para>
[7236a20]67 </listitem>
68 <listitem>
[7ded7e3]69 <para>
70 Estimated build time: &glib-networking-time;
71 </para>
[7236a20]72 </listitem>
73 </itemizedlist>
74
[7ded7e3]75 <bridgehead renderas="sect3">GLib Networking Dependencies</bridgehead>
[7236a20]76
77 <bridgehead renderas="sect4">Required</bridgehead>
[f8efa5b]78 <para role="required">
[1ad3510e]79 <xref linkend="glib2"/>,
[16e43a1e]80 <xref linkend="gnutls"/>, and
[f8efa5b]81 <xref linkend="gsettings-desktop-schemas"/>
82 </para>
[7236a20]83
[4c2be438]84 <bridgehead renderas="sect4">Recommended</bridgehead>
85 <para role="recommended">
[85465d9]86 <xref linkend="make-ca"/>
87 <!-- p11-kit option no longer exists, and is pulled in by GnuTLS anyway -->
[4c2be438]88 </para>
89
[7236a20]90 <bridgehead renderas="sect4">Optional</bridgehead>
[f8efa5b]91 <para role="optional">
[9be39a1]92 <ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>
[f8efa5b]93 </para>
[7236a20]94
95 <para condition="html" role="usernotes">User Notes:
[7ded7e3]96 <ulink url="&blfs-wiki;/glib-networking"/>
97 </para>
[7236a20]98 </sect2>
99
100 <sect2 role="installation">
[7ded7e3]101 <title>Installation of GLib Networking</title>
[7236a20]102
[85465d9]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. -->
[7ded7e3]107 <para>
108 Install <application>GLib Networking</application> by running the following
109 commands:
110 </para>
[7236a20]111
[a059d7e]112<screen><userinput>mkdir build &amp;&amp;
113cd build &amp;&amp;
114
[4855935]115meson --prefix=/usr \
116 -Dlibproxy=disabled .. &amp;&amp;
[16e43a1e]117ninja</userinput></screen>
[7236a20]118
[7ded7e3]119 <para>
[16e43a1e]120 To test the results, issue: <command>ninja test</command>.
[7ded7e3]121 </para>
[7236a20]122
[7ded7e3]123 <para>
124 Now, as the <systemitem class="username">root</systemitem> user:
125 </para>
[7236a20]126
[16e43a1e]127<screen role="root"><userinput>ninja install</userinput></screen>
[7236a20]128
129 </sect2>
[16e43a1e]130<!--
[7236a20]131 <sect2 role="commands">
132 <title>Command Explanations</title>
133
[7ded7e3]134 <para>
[16e43a1e]135 <parameter>- -without-ca-certificates</parameter>: This parameter forces
[1ac799b]136 use of PKCS #11 modules for TLS certificate validation instead of a
137 bundle of certificates.
[7ded7e3]138 </para>
[7236a20]139
[f8efa5b]140 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[7ded7e3]141 href="../../xincludes/static-libraries.xml"/>
[7236a20]142
143 </sect2>
[632f5f80]144 -->
145 <!-- This isn't needed anymore and breaks applications which use it.
[b7a300f7]146 <sect2 role="configuration">
147 <title>Configuring Glib-networking</title>
[632f5f80]148 <!- - This breaks the libsoup tests - ->
[b7a300f7]149
150 <sect3 id="glib-networking-config">
151 <title>Config Files</title>
152 <para>
153 <filename>/etc/profile.d/gio.sh</filename>
154 </para>
155
156 <indexterm zone="glib-networking glib-networking-config">
157 <primary
158 sortas="e-etc-profile.d-gio.sh">/etc/profile.d/gio.sh</primary>
159 </indexterm>
160 </sect3>
161
162 <sect3><title>Configuration Information</title>
163
164 <para>
165 For using the PKCS #11 modules, the <envar>GIO_USE_TLS</envar> variable
166 should be set in the environment. This can be added to the Bash Startup
167 Files (as the <systemitem class="username">root</systemitem> user):
168 </para>
169
170<screen role="root"><userinput>cat &gt; /etc/profile.d/gio.sh &lt;&lt; "EOF"
171<literal># Begin gio.sh
172
173export GIO_USE_TLS=gnutls-pkcs11
174
175# End gio.sh</literal>
176EOF</userinput></screen>
177 </sect3>
178 </sect2>
[632f5f80]179-->
[7236a20]180 <sect2 role="content">
181 <title>Contents</title>
182
183 <segmentedlist>
184 <segtitle>Installed Program</segtitle>
185 <segtitle>Installed Libraries</segtitle>
186 <segtitle>Installed Directories</segtitle>
187
188 <seglistitem>
[f8efa5b]189 <seg>
[598d4ef3]190 None
[f8efa5b]191 </seg>
192 <seg>
[3fdc9b0]193 libgiognomeproxy.so and libgiognutls.so (GIO Modules installed in
194 <filename class="directory">/usr/lib/gio/modules</filename>)
[f8efa5b]195 </seg>
196 <seg>
[598d4ef3]197 None
[f8efa5b]198 </seg>
[7236a20]199 </seglistitem>
200 </segmentedlist>
201
202 </sect2>
203
204</sect1>
Note: See TracBrowser for help on using the repository browser.