Gvfs-1.52.1

Introduction to Gvfs

The Gvfs package is a userspace virtual filesystem designed to work with the I/O abstractions of GLib's GIO library.

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

Gvfs Dependencies

Required

dbus-1.14.10, GLib-2.78.1, libusb-1.0.26, and libsecret-0.21.1

Recommended

Optional

Apache-2.4.58, Avahi-0.8, BlueZ-5.70, Fuse-3.16.2, gnome-online-accounts-3.48.0, GTK-Doc-1.33.2, libarchive-3.7.2, libgcrypt-1.10.3, libgdata-0.18.1, libxml2-2.12.1, libxslt-1.1.39, OpenSSH-9.5p1, Samba-4.19.3, gnome-desktop-testing (for tests), libbluray, libgphoto2, libimobiledevice, libmtp, libnfs, and Twisted

Installation of Gvfs

Install Gvfs by running the following commands:

mkdir build &&
cd    build &&

meson setup               \
      --prefix=/usr       \
      --buildtype=release \
      -Dfuse=false        \
      -Dgphoto2=false     \
      -Dafc=false         \
      -Dbluray=false      \
      -Dnfs=false         \
      -Dmtp=false         \
      -Dsmb=false         \
      -Ddnssd=false       \
      -Dgoa=false         \
      -Dgoogle=false      .. &&
ninja

The test suite requires gnome-desktop-testing, which is beyond the scope of BLFS.

Now, as the root user:

ninja install
[Note]

Note

If you installed the package to your system using a DESTDIR method, /usr/share/glib-2.0/schemas/gschemas.compiled was not updated/created. Create (or update) the file using the following command as the root user:

glib-compile-schemas /usr/share/glib-2.0/schemas

Command Explanations

--buildtype=release: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

-D<option>=false: These switches are required if the corresponding dependency is not installed. Remove those where you have installed the corresponding application and wish to use it with Gvfs. The dnssd option requires avahi and both goa and google require GNOME Online Accounts. The google option also requires libgdata.

-Dcdda=false: This switch is required if libcdio is not installed. The cdda backend is useless on machines without a CDROM/DVD drive.

Contents

Installed Programs: None
Installed Library: libgvfscommon.so, libgvfsdaemon.so and some under /usr/lib/gio/modules/
Installed Directories: /usr/include/gvfs-client and /usr/{lib,share}/gvfs

Short Descriptions

libgvfscommon.so

contains the common API functions used in Gvfs programs