The Gvfs package is a userspace virtual filesystem designed to work with the I/O abstractions of GLib's GIO library.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://download.gnome.org/sources/gvfs/1.56/gvfs-1.56.1.tar.xz
Download SHA256 Sum: 86731ccec679648f8734e237b1de190ebdee6e4c8c0f56f454c31588e509aa10
Download MD5 sum: 5ba12cd02b17c058aa71adc39c5eb6cf
Download size: 12,555.8 KB
Estimated disk space required: 24,818.7 KB
Estimated build time: less than 0.5 SBU
dbus-1.16.2, GLib-2.86.2, Gcr-4.4.0.1, libusb-1.0.29, and libsecret-0.21.7
GTK-3.24.51, libcdio-2.1.0, libgudev-238, libsoup-3.6.5, Fuse-3.17.4, Systemd-258.1 (runtime), and UDisks-2.11.0
"apache", Avahi-0.8, BlueZ-5.84, "gnome-online-accounts", "gtk-doc", the section called “Libarchive-3.8.1”, libgcrypt-1.11.2, libxml2-2.15.1, libxslt-1.1.43, OpenSSH-10.2p1, "samba", gnome-desktop-testing (for tests), libbluray, libgdata, libgphoto2, libimobiledevice, libmsgraph, libmtp, libnfs, and Twisted
Prepare Gvfs by running the following commands:
meson setup build \
--prefix=/usr \
--buildtype=release \
-D onedrive=false \
-D gphoto2=false \
-D afc=false \
-D bluray=false \
-D nfs=false \
-D mtp=false \
-D smb=false \
-D dnssd=false \
-D goa=false \
-D google=falseninja -C build
The test suite requires gnome-desktop-testing, which is beyond the scope of BLFS.
Now Install the package, as the root user:
ninja -C build install
![[Note]](../images/note.png)
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
--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 the libgdata package, which has been
removed from BLFS. The onedrive support requires the libmsgraph package.
-D cdda=false: This switch is required if libcdio is not
installed. The cdda backend is useless on machines without a CDROM/DVD
drive.