[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
|
---|
[62a9a64d] | 8 | "&gnome-download-http;/glib-networking/&glib-networking-minor;/glib-networking-&glib-networking-version;.tar.xz">
|
---|
[008ae5ea] | 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"> -->
|
---|
[d826282] | 12 | <!ENTITY glib-networking-md5sum "05b519bb1f009789e6b82af88ed1b59a">
|
---|
[e8d75b9] | 13 | <!ENTITY glib-networking-size "276 KB">
|
---|
| 14 | <!ENTITY glib-networking-buildsize "5.6 MB (with tests)">
|
---|
[8641f32] | 15 | <!ENTITY glib-networking-time "0.1 SBU (with tests)">
|
---|
[7236a20] | 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">
|
---|
[7ded7e3] | 29 | <title>Introduction to GLib Networking</title>
|
---|
[7236a20] | 30 |
|
---|
[7ded7e3] | 31 | <para>
|
---|
| 32 | The <application>GLib Networking</application> package contains
|
---|
| 33 | Network related gio modules for <application>GLib</application>.
|
---|
| 34 | </para>
|
---|
[7236a20] | 35 |
|
---|
[9d86c703] | 36 | &lfs120_checked;
|
---|
[7236a20] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
[7ded7e3] | 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&glib-networking-download-http;"/>
|
---|
| 43 | </para>
|
---|
[7236a20] | 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
[7ded7e3] | 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&glib-networking-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
[7236a20] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[7ded7e3] | 51 | <para>
|
---|
| 52 | Download MD5 sum: &glib-networking-md5sum;
|
---|
| 53 | </para>
|
---|
[7236a20] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[7ded7e3] | 56 | <para>
|
---|
| 57 | Download size: &glib-networking-size;
|
---|
| 58 | </para>
|
---|
[7236a20] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[7ded7e3] | 61 | <para>
|
---|
| 62 | Estimated disk space required: &glib-networking-buildsize;
|
---|
| 63 | </para>
|
---|
[7236a20] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[7ded7e3] | 66 | <para>
|
---|
| 67 | Estimated build time: &glib-networking-time;
|
---|
| 68 | </para>
|
---|
[7236a20] | 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
[3a802b2] | 71 | <!--
|
---|
[0308356] | 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>
|
---|
[3a802b2] | 81 | -->
|
---|
[7ded7e3] | 82 | <bridgehead renderas="sect3">GLib Networking Dependencies</bridgehead>
|
---|
[7236a20] | 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[f8efa5b] | 85 | <para role="required">
|
---|
[2c09991] | 86 | <xref linkend="glib2"/> and
|
---|
| 87 | <xref linkend="gnutls"/>
|
---|
[f8efa5b] | 88 | </para>
|
---|
[7236a20] | 89 |
|
---|
[4c2be438] | 90 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 91 | <para role="recommended">
|
---|
[2c09991] | 92 | <xref linkend="gsettings-desktop-schemas"/> (for the applications
|
---|
[60d9f0f2] | 93 | using this package to use proxy server settings in GNOME) and
|
---|
[85465d9] | 94 | <xref linkend="make-ca"/>
|
---|
| 95 | <!-- p11-kit option no longer exists, and is pulled in by GnuTLS anyway -->
|
---|
[4c2be438] | 96 | </para>
|
---|
| 97 |
|
---|
[7236a20] | 98 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[f8efa5b] | 99 | <para role="optional">
|
---|
[9be39a1] | 100 | <ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>
|
---|
[f8efa5b] | 101 | </para>
|
---|
[7236a20] | 102 |
|
---|
| 103 | </sect2>
|
---|
| 104 |
|
---|
| 105 | <sect2 role="installation">
|
---|
[7ded7e3] | 106 | <title>Installation of GLib Networking</title>
|
---|
[7236a20] | 107 |
|
---|
[85465d9] | 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. -->
|
---|
[0308356] | 112 |
|
---|
[7ded7e3] | 113 | <para>
|
---|
| 114 | Install <application>GLib Networking</application> by running the following
|
---|
| 115 | commands:
|
---|
| 116 | </para>
|
---|
[7236a20] | 117 |
|
---|
[a059d7e] | 118 | <screen><userinput>mkdir build &&
|
---|
| 119 | cd build &&
|
---|
| 120 |
|
---|
[e8d75b9] | 121 | meson setup \
|
---|
| 122 | --prefix=/usr \
|
---|
| 123 | --buildtype=release \
|
---|
| 124 | -Dlibproxy=disabled \
|
---|
| 125 | .. &&
|
---|
[16e43a1e] | 126 | ninja</userinput></screen>
|
---|
[7236a20] | 127 |
|
---|
[7ded7e3] | 128 | <para>
|
---|
[16e43a1e] | 129 | To test the results, issue: <command>ninja test</command>.
|
---|
[7ded7e3] | 130 | </para>
|
---|
[7236a20] | 131 |
|
---|
[7ded7e3] | 132 | <para>
|
---|
| 133 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 134 | </para>
|
---|
[7236a20] | 135 |
|
---|
[16e43a1e] | 136 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[7236a20] | 137 |
|
---|
| 138 | </sect2>
|
---|
[adf17153] | 139 |
|
---|
[7236a20] | 140 | <sect2 role="commands">
|
---|
| 141 | <title>Command Explanations</title>
|
---|
| 142 |
|
---|
[f8efa5b] | 143 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[adf17153] | 144 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
[7236a20] | 145 |
|
---|
| 146 | </sect2>
|
---|
[adf17153] | 147 |
|
---|
[7236a20] | 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>
|
---|
[f8efa5b] | 157 | <seg>
|
---|
[598d4ef3] | 158 | None
|
---|
[f8efa5b] | 159 | </seg>
|
---|
| 160 | <seg>
|
---|
[e8d75b9] | 161 | libgiognomeproxy.so
|
---|
[8641f32] | 162 | and libgiognutls.so (GIO Modules installed in
|
---|
[3fdc9b0] | 163 | <filename class="directory">/usr/lib/gio/modules</filename>)
|
---|
[f8efa5b] | 164 | </seg>
|
---|
| 165 | <seg>
|
---|
[598d4ef3] | 166 | None
|
---|
[f8efa5b] | 167 | </seg>
|
---|
[7236a20] | 168 | </seglistitem>
|
---|
| 169 | </segmentedlist>
|
---|
| 170 |
|
---|
| 171 | </sect2>
|
---|
| 172 |
|
---|
| 173 | </sect1>
|
---|