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 11.3 platform.
Download (HTTP): https://download.gnome.org/sources/gvfs/1.50/gvfs-1.50.3.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/gvfs/1.50/gvfs-1.50.3.tar.xz
Download MD5 sum: 052ef17215d1ff52640713297d4d4f5e
Download size: 1.2 MB
Estimated disk space required: 33 MB
Estimated build time: 0.1 SBU (using parallelism=4)
dbus-1.14.6, GLib-2.74.5, libusb-1.0.26, and libsecret-0.20.5
Gcr-3.41.1, GTK+-3.24.36, libcdio-2.1.0, libgdata-0.18.1, libgudev-237, libsoup-3.2.2, Systemd-252, and UDisks-2.9.4
Apache-2.4.55, Avahi-0.8, BlueZ-5.66, Fuse-3.13.1, gnome-online-accounts-3.46.0, GTK-Doc-1.33.2, libarchive-3.6.2, libgcrypt-1.10.1, libxml2-2.10.3, libxslt-1.1.37, OpenSSH-9.2p1, Samba-4.17.5, libbluray, libgphoto2, libimobiledevice, libmtp, libnfs, and Twisted
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/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
This package does not come with a test suite.
Now, as the root
user:
ninja install
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 libgdata.
-Dcdda=false
: This switch is required
if libcdio is not installed. The cdda backend is useless on
machines without a CDROM/DVD drive.