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