[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[dabe4b0] | 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 |
|
---|
[e8f6436] | 7 | <!ENTITY gvfs-download-http "&gnome-download-http;/gvfs/1.54/gvfs-&gvfs-version;.tar.xz">
|
---|
[e1e58be] | 8 | <!ENTITY gvfs-download-ftp " ">
|
---|
[b8d0934] | 9 | <!ENTITY gvfs-md5sum "587c5b279ec3020c597f3ab3f6a73bbd">
|
---|
| 10 | <!ENTITY gvfs-size "1.2 MB">
|
---|
| 11 | <!ENTITY gvfs-buildsize "30 MB">
|
---|
[5db33124] | 12 | <!ENTITY gvfs-time "0.2 SBU (using parallelism=4)">
|
---|
[dabe4b0] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="gvfs" xreflabel="Gvfs-&gvfs-version;">
|
---|
| 16 | <?dbhtml filename="gvfs.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>Gvfs-&gvfs-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="gvfs">
|
---|
| 22 | <primary sortas="a-Gvfs">Gvfs</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Gvfs</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | The <application>Gvfs</application> package is a userspace virtual
|
---|
| 30 | filesystem designed to work with the I/O abstractions of GLib's GIO
|
---|
| 31 | library.
|
---|
| 32 | </para>
|
---|
| 33 |
|
---|
[de74d323] | 34 | &lfs122_checked;
|
---|
[dabe4b0] | 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&gvfs-download-http;"/>
|
---|
| 41 | </para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&gvfs-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download MD5 sum: &gvfs-md5sum;
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download size: &gvfs-size;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Estimated disk space required: &gvfs-buildsize;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated build time: &gvfs-time;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
[03790ef] | 69 | <!--
|
---|
[2bdbb52] | 70 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 71 | <itemizedlist spacing="compact">
|
---|
| 72 | <listitem>
|
---|
| 73 | <para>
|
---|
| 74 | Required patch:
|
---|
| 75 | <ulink url="&patch-root;/gvfs-&gvfs-version;-fix_security_vulnerabilities-1.patch"/>
|
---|
| 76 | </para>
|
---|
| 77 | </listitem>
|
---|
| 78 | </itemizedlist>
|
---|
[8558044] | 79 | -->
|
---|
[dabe4b0] | 80 | <bridgehead renderas="sect3">Gvfs Dependencies</bridgehead>
|
---|
| 81 |
|
---|
| 82 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 83 | <para role="required">
|
---|
[decb6bc5] | 84 | <xref linkend="dbus"/>,
|
---|
| 85 | <xref linkend="glib2"/>,
|
---|
[e8f6436] | 86 | <xref linkend="gcr4"/>,
|
---|
[a3a7743] | 87 | <xref linkend="libusb"/>, and
|
---|
| 88 | <xref linkend="libsecret"/>
|
---|
[dabe4b0] | 89 | </para>
|
---|
| 90 |
|
---|
| 91 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[51dfb3e] | 92 | <para role="recommended">
|
---|
[614fce8e] | 93 | <xref linkend="gtk3"/>,
|
---|
[27229db] | 94 | <xref linkend="libcdio"/>,
|
---|
[614fce8e] | 95 | <xref linkend="libgudev"/>,
|
---|
[1fe05eb] | 96 | <xref linkend="libsoup3"/>,
|
---|
[51dfb3e] | 97 | <phrase revision="sysv"><xref linkend="elogind"/>,</phrase>
|
---|
[2cb85242] | 98 | <phrase revision="systemd"><xref role='runtime' linkend="systemd"/>
|
---|
| 99 | (runtime),</phrase> and
|
---|
[614fce8e] | 100 | <xref linkend="udisks2"/>
|
---|
| 101 | </para>
|
---|
[dabe4b0] | 102 |
|
---|
| 103 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[51dfb3e] | 104 | <para role="optional">
|
---|
[614fce8e] | 105 | <xref linkend="apache"/>,
|
---|
| 106 | <xref linkend="avahi"/>,
|
---|
| 107 | <xref linkend="bluez"/>,
|
---|
[76ec4ce] | 108 | <xref linkend="fuse3"/>,
|
---|
[614fce8e] | 109 | <xref linkend="gnome-online-accounts"/>,
|
---|
| 110 | <xref linkend="gtk-doc"/>,
|
---|
| 111 | <xref linkend="libarchive"/>,
|
---|
| 112 | <xref linkend="libgcrypt"/>,
|
---|
[6f1580f0] | 113 | <xref linkend="libgdata"/>,
|
---|
[614fce8e] | 114 | <xref linkend="libxml2"/>,
|
---|
| 115 | <xref linkend="libxslt"/>,
|
---|
| 116 | <xref linkend="openssh"/>,
|
---|
| 117 | <xref linkend="samba"/>,
|
---|
[a410aff3] | 118 | <ulink url="&gnome-download-http;/gnome-desktop-testing/">gnome-desktop-testing</ulink> (for tests),
|
---|
[75b1a338] | 119 | <ulink url="https://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
|
---|
[614fce8e] | 120 | <ulink url="http://www.gphoto.org/">libgphoto2</ulink>,
|
---|
[75b1a338] | 121 | <ulink url="https://www.libimobiledevice.org/">libimobiledevice</ulink>,
|
---|
[1809e6e] | 122 | <ulink url="https://gitlab.gnome.org/GNOME/msgraph">libmsgraph</ulink>,
|
---|
[17aa21c] | 123 | <ulink url="https://libmtp.sourceforge.net/">libmtp</ulink>,
|
---|
[1c9731c0] | 124 | <ulink url="https://github.com/sahlberg/libnfs/">libnfs</ulink>, and
|
---|
[75b1a338] | 125 | <ulink url="https://twisted.org/">Twisted</ulink>
|
---|
[614fce8e] | 126 | </para>
|
---|
[14a91765] | 127 |
|
---|
[dabe4b0] | 128 | </sect2>
|
---|
| 129 |
|
---|
| 130 | <sect2 role="installation">
|
---|
| 131 | <title>Installation of Gvfs</title>
|
---|
[5a828aaa] | 132 |
|
---|
[dabe4b0] | 133 | <para>
|
---|
| 134 | Install <application>Gvfs</application> by running the following
|
---|
| 135 | commands:
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
[fb73c7e] | 138 | <screen revision='sysv'><userinput>mkdir build &&
|
---|
| 139 | cd build &&
|
---|
[941e3b09] | 140 |
|
---|
[f85f929] | 141 | meson setup \
|
---|
| 142 | --prefix=/usr \
|
---|
[adf17153] | 143 | --buildtype=release \
|
---|
[6af00bd] | 144 | -D onedrive=false \
|
---|
| 145 | -D fuse=false \
|
---|
| 146 | -D gphoto2=false \
|
---|
| 147 | -D afc=false \
|
---|
| 148 | -D bluray=false \
|
---|
| 149 | -D nfs=false \
|
---|
| 150 | -D mtp=false \
|
---|
| 151 | -D smb=false \
|
---|
| 152 | -D tmpfilesdir=no \
|
---|
| 153 | -D dnssd=false \
|
---|
| 154 | -D goa=false \
|
---|
| 155 | -D google=false \
|
---|
| 156 | -D systemduserunitdir=no .. &&
|
---|
[fb73c7e] | 157 | ninja</userinput></screen>
|
---|
| 158 |
|
---|
| 159 | <screen revision='systemd'><userinput>mkdir build &&
|
---|
[27229db] | 160 | cd build &&
|
---|
[941e3b09] | 161 |
|
---|
[f85f929] | 162 | meson setup \
|
---|
| 163 | --prefix=/usr \
|
---|
[adf17153] | 164 | --buildtype=release \
|
---|
[6af00bd] | 165 | -D onedrive=false \
|
---|
| 166 | -D fuse=false \
|
---|
| 167 | -D gphoto2=false \
|
---|
| 168 | -D afc=false \
|
---|
| 169 | -D bluray=false \
|
---|
| 170 | -D nfs=false \
|
---|
| 171 | -D mtp=false \
|
---|
| 172 | -D smb=false \
|
---|
| 173 | -D dnssd=false \
|
---|
| 174 | -D goa=false \
|
---|
| 175 | -D google=false .. &&
|
---|
[27229db] | 176 | ninja</userinput></screen>
|
---|
[dabe4b0] | 177 |
|
---|
| 178 | <para>
|
---|
[a410aff3] | 179 | The test suite requires <application>gnome-desktop-testing</application>,
|
---|
| 180 | which is beyond the scope of BLFS.
|
---|
[dabe4b0] | 181 | </para>
|
---|
| 182 |
|
---|
| 183 | <para>
|
---|
| 184 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 185 | </para>
|
---|
| 186 |
|
---|
[27229db] | 187 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[dabe4b0] | 188 |
|
---|
| 189 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 190 | href="../../xincludes/gsettings-destdir.xml"/>
|
---|
| 191 | </sect2>
|
---|
| 192 |
|
---|
| 193 | <sect2 role="commands">
|
---|
| 194 | <title>Command Explanations</title>
|
---|
| 195 |
|
---|
[adf17153] | 196 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 197 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 198 |
|
---|
[dabe4b0] | 199 | <para>
|
---|
[6af00bd] | 200 | <parameter>-D <option>=false</parameter>: These switches are
|
---|
[941e3b09] | 201 | required if the corresponding dependency is not installed.
|
---|
[9287960] | 202 | Remove those where you have installed the corresponding application and
|
---|
[8558044] | 203 | wish to use it with <application>Gvfs</application>. The dnssd option
|
---|
[208f204] | 204 | requires avahi and both goa and google require GNOME Online Accounts.
|
---|
[1809e6e] | 205 | The google option also requires libgdata. The onedrive support requires
|
---|
| 206 | the libmsgraph package.
|
---|
[dabe4b0] | 207 | </para>
|
---|
| 208 |
|
---|
[9287960] | 209 | <para revision="sysv">
|
---|
[6af00bd] | 210 | <parameter>-D tmpfilesdir=no</parameter>
|
---|
| 211 | <parameter>-D systemduserunitdir=no</parameter>: These
|
---|
[9287960] | 212 | switches provide systemd directory locations. Setting them to
|
---|
| 213 | <quote>no</quote> disables the dependency on systemd and logind.
|
---|
| 214 | </para>
|
---|
| 215 |
|
---|
| 216 | <para>
|
---|
[6af00bd] | 217 | <option>-D cdda=false</option>: This switch is required if libcdio is not
|
---|
[9287960] | 218 | installed. The cdda backend is useless on machines without a CDROM/DVD
|
---|
| 219 | drive.
|
---|
| 220 | </para>
|
---|
| 221 |
|
---|
[dabe4b0] | 222 | </sect2>
|
---|
| 223 |
|
---|
| 224 | <sect2 role="content">
|
---|
| 225 | <title>Contents</title>
|
---|
| 226 |
|
---|
| 227 | <segmentedlist>
|
---|
| 228 | <segtitle>Installed Programs</segtitle>
|
---|
| 229 | <segtitle>Installed Library</segtitle>
|
---|
| 230 | <segtitle>Installed Directories</segtitle>
|
---|
| 231 |
|
---|
| 232 | <seglistitem>
|
---|
| 233 | <seg>
|
---|
[877bb380] | 234 | None
|
---|
[dabe4b0] | 235 | </seg>
|
---|
| 236 | <seg>
|
---|
[f01969a1] | 237 | libgvfscommon.so,
|
---|
| 238 | libgvfsdaemon.so and
|
---|
| 239 | some under /usr/lib/gio/modules/
|
---|
[dabe4b0] | 240 | </seg>
|
---|
| 241 | <seg>
|
---|
[20f09631] | 242 | /usr/include/gvfs-client and
|
---|
| 243 | /usr/{lib,share}/gvfs
|
---|
[dabe4b0] | 244 | </seg>
|
---|
| 245 | </seglistitem>
|
---|
| 246 | </segmentedlist>
|
---|
| 247 |
|
---|
| 248 | <variablelist>
|
---|
| 249 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 250 | <?dbfo list-presentation="list"?>
|
---|
| 251 | <?dbhtml list-presentation="table"?>
|
---|
| 252 |
|
---|
| 253 | <varlistentry id="libgvfscommon">
|
---|
| 254 | <term><filename class="libraryfile">libgvfscommon.so</filename></term>
|
---|
| 255 | <listitem>
|
---|
| 256 | <para>
|
---|
| 257 | contains the common API functions used in
|
---|
[4c24eb0a] | 258 | <application>Gvfs</application> programs
|
---|
[dabe4b0] | 259 | </para>
|
---|
| 260 | <indexterm zone="gvfs libgvfscommon">
|
---|
| 261 | <primary sortas="c-libgvfscommon">libgvfscommon.so</primary>
|
---|
| 262 | </indexterm>
|
---|
| 263 | </listitem>
|
---|
| 264 | </varlistentry>
|
---|
| 265 |
|
---|
| 266 | </variablelist>
|
---|
| 267 |
|
---|
| 268 | </sect2>
|
---|
| 269 |
|
---|
| 270 | </sect1>
|
---|