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