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/&glib-networking-minor;/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 "05b519bb1f009789e6b82af88ed1b59a">
|
---|
13 | <!ENTITY glib-networking-size "276 KB">
|
---|
14 | <!ENTITY glib-networking-buildsize "5.6 MB (with tests)">
|
---|
15 | <!ENTITY glib-networking-time "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 |
|
---|
22 | <title>glib-networking-&glib-networking-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="glib-networking">
|
---|
25 | <primary sortas="a-glib-networking">glib-networking</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to GLib Networking</title>
|
---|
30 |
|
---|
31 | <para>
|
---|
32 | The <application>GLib Networking</application> package contains
|
---|
33 | Network related gio modules for <application>GLib</application>.
|
---|
34 | </para>
|
---|
35 |
|
---|
36 | &lfs120_checked;
|
---|
37 |
|
---|
38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
39 | <itemizedlist spacing="compact">
|
---|
40 | <listitem>
|
---|
41 | <para>
|
---|
42 | Download (HTTP): <ulink url="&glib-networking-download-http;"/>
|
---|
43 | </para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>
|
---|
47 | Download (FTP): <ulink url="&glib-networking-download-ftp;"/>
|
---|
48 | </para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download MD5 sum: &glib-networking-md5sum;
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download size: &glib-networking-size;
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Estimated disk space required: &glib-networking-buildsize;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Estimated build time: &glib-networking-time;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | </itemizedlist>
|
---|
71 | <!--
|
---|
72 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
73 | <itemizedlist spacing="compact">
|
---|
74 | <listitem>
|
---|
75 | <para>
|
---|
76 | Required patch:
|
---|
77 | <ulink url="&patch-root;/glib-networking-&glib-networking-version;-upstream_fixes-1.patch"/>
|
---|
78 | </para>
|
---|
79 | </listitem>
|
---|
80 | </itemizedlist>
|
---|
81 | -->
|
---|
82 | <bridgehead renderas="sect3">GLib Networking Dependencies</bridgehead>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
85 | <para role="required">
|
---|
86 | <xref linkend="glib2"/> and
|
---|
87 | <xref linkend="gnutls"/>
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
91 | <para role="recommended">
|
---|
92 | <xref linkend="gsettings-desktop-schemas"/> (for the applications
|
---|
93 | using this package to use proxy server settings in GNOME) and
|
---|
94 | <xref linkend="make-ca"/>
|
---|
95 | <!-- p11-kit option no longer exists, and is pulled in by GnuTLS anyway -->
|
---|
96 | </para>
|
---|
97 |
|
---|
98 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
99 | <para role="optional">
|
---|
100 | <ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | </sect2>
|
---|
104 |
|
---|
105 | <sect2 role="installation">
|
---|
106 | <title>Installation of GLib Networking</title>
|
---|
107 |
|
---|
108 | <!-- 2.60.0 of glib-networking introduced an experimental OpenSSL backend.
|
---|
109 | Since it is not tested well upstream yet, and it is recommended by upstream
|
---|
110 | to use the GnuTLS backend on Linux, we will continue using the GnuTLS
|
---|
111 | backend and not mention the OpenSSL backend to prevent confusion. -->
|
---|
112 |
|
---|
113 | <para>
|
---|
114 | Install <application>GLib Networking</application> by running the following
|
---|
115 | commands:
|
---|
116 | </para>
|
---|
117 |
|
---|
118 | <screen><userinput>mkdir build &&
|
---|
119 | cd build &&
|
---|
120 |
|
---|
121 | meson setup \
|
---|
122 | --prefix=/usr \
|
---|
123 | --buildtype=release \
|
---|
124 | -Dlibproxy=disabled \
|
---|
125 | .. &&
|
---|
126 | ninja</userinput></screen>
|
---|
127 |
|
---|
128 | <para>
|
---|
129 | To test the results, issue: <command>ninja test</command>.
|
---|
130 | </para>
|
---|
131 |
|
---|
132 | <para>
|
---|
133 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
134 | </para>
|
---|
135 |
|
---|
136 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
137 |
|
---|
138 | </sect2>
|
---|
139 |
|
---|
140 | <sect2 role="commands">
|
---|
141 | <title>Command Explanations</title>
|
---|
142 |
|
---|
143 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
144 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
145 |
|
---|
146 | </sect2>
|
---|
147 |
|
---|
148 | <sect2 role="content">
|
---|
149 | <title>Contents</title>
|
---|
150 |
|
---|
151 | <segmentedlist>
|
---|
152 | <segtitle>Installed Program</segtitle>
|
---|
153 | <segtitle>Installed Libraries</segtitle>
|
---|
154 | <segtitle>Installed Directories</segtitle>
|
---|
155 |
|
---|
156 | <seglistitem>
|
---|
157 | <seg>
|
---|
158 | None
|
---|
159 | </seg>
|
---|
160 | <seg>
|
---|
161 | libgiognomeproxy.so
|
---|
162 | and libgiognutls.so (GIO Modules installed in
|
---|
163 | <filename class="directory">/usr/lib/gio/modules</filename>)
|
---|
164 | </seg>
|
---|
165 | <seg>
|
---|
166 | None
|
---|
167 | </seg>
|
---|
168 | </seglistitem>
|
---|
169 | </segmentedlist>
|
---|
170 |
|
---|
171 | </sect2>
|
---|
172 |
|
---|
173 | </sect1>
|
---|