<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;

  <!ENTITY gnome-vfs-download-http "&gnome-download-http;/gnome-vfs/2.24/gnome-vfs-&gnome-vfs-version;.tar.bz2">
  <!ENTITY gnome-vfs-download-ftp  "&gnome-download-ftp;/gnome-vfs/2.24/gnome-vfs-&gnome-vfs-version;.tar.bz2">
  <!ENTITY gnome-vfs-md5sum        "a05fab03eeef10a47dd156b758982f2e">
  <!ENTITY gnome-vfs-size          "1.8 MB">
  <!ENTITY gnome-vfs-buildsize     "56 MB">
  <!ENTITY gnome-vfs-time          "1.0 SBU">
]>

<sect1 id="gnome-vfs" xreflabel="gnome-vfs-&gnome-vfs-version;">
  <?dbhtml filename="gnome-vfs.html"?>

  <sect1info>
    <othername>$LastChangedBy: krejzi $</othername>
    <date>$Date: 2013-07-28 11:10:03 -0400 (Sun, 28 Jul 2013) $</date>
  </sect1info>

  <title>gnome-vfs-&gnome-vfs-version;</title>

  <indexterm zone="gnome-vfs">
    <primary sortas="a-GNOME-Virtual-File-System">GNOME Virtual File System</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to GNOME Virtual File System</title>

    <para>The <application>GNOME Virtual File System</application> package
    contains virtual file system libraries. This is used as one of the
    foundations of the <application>Nautilus</application> file manager.</para>

    &lfs72_checked;

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../../xincludes/gnome2.xml"/>

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>Download (HTTP): <ulink url="&gnome-vfs-download-http;"/></para>
      </listitem>
      <listitem>
        <para>Download (FTP): <ulink url="&gnome-vfs-download-ftp;"/></para>
      </listitem>
      <listitem>
        <para>Download MD5 sum: &gnome-vfs-md5sum;</para>
      </listitem>
      <listitem>
        <para>Download size: &gnome-vfs-size;</para>
      </listitem>
      <listitem>
        <para>Estimated disk space required: &gnome-vfs-buildsize;</para>
      </listitem>
      <listitem>
        <para>Estimated build time: &gnome-vfs-time;</para>
      </listitem>
    </itemizedlist>

    <bridgehead renderas="sect3">GNOME Virtual File System Dependencies</bridgehead>

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required"><xref linkend="dbus-glib"/>,
    <xref linkend="GConf"/>, and
    <xref linkend="gnome-mime-data"/></para>

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional"><xref linkend="samba"/>,
    <xref linkend="gamin"/>,
    <ulink url="http://www.freedesktop.org/wiki/Software/hal">Hal</ulink>,
    <xref linkend="gtk-doc"/>,
    <xref linkend="openssh"/>,
    <xref linkend="openssl"/> or <xref linkend="gnutls"/>,
    <xref linkend="mitkrb"/>,
    <xref linkend="avahi"/>,
    <ulink url="http://www.openafs.org/">OpenAFS</ulink>, and
    <xref linkend="cdparanoia"/> (not recommended)</para>

    <para>If you run <command>./configure --help</command> for the complete list
    of dependency requirements and available parameters, you may notice a
    message about the <ulink
    url="http://hal.freedesktop.org/releases/">gnome-mount</ulink> package. This
    package is not required at build-time, and is only a run-time dependency. If
    <application>gnome-mount</application> is available at run-time,
    <application>GNOME-VFS</application> will use it. If it is not available,
    <application>GNOME-VFS</application> will fall back to using other mounting
    mechanisms.</para>

    <para condition="html" role="usernotes">User Notes:
    <ulink url="&blfs-wiki;/gnome-vfs"/></para>

  </sect2>

  <sect2 role="installation">
    <title>Installation of GNOME Virtual File System</title>

    <para>Install <application>GNOME Virtual File System</application>
    by running the following commands:</para>

<screen><userinput>ORBit_prefix=$(pkg-config --variable=prefix ORBit-2.0)   &amp;&amp;

./configure --prefix=$ORBit_prefix                       \
            --sysconfdir=&gnome-old-etc-dir;               \
            --libexecdir=$ORBit_prefix/lib/gnome-vfs-2.0 &amp;&amp;
make</userinput></screen>

    <para>To test the results, issue: <command>make check</command>.</para>

    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>

<screen role="root"><userinput>make install</userinput></screen>

  </sect2>

  <sect2 role="commands">
    <title>Command Explanations</title>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../../xincludes/gnome-old-prefix.xml"/>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../../xincludes/gnome-old-sysconfdir.xml"/>

    <para><parameter>--libexecdir=$(pkg-config --variable=prefix
    ORBit-2.0)/lib/gnome-vfs-2.0</parameter>: This parameter causes the libexec
    files to be installed in the preferred location of
    <filename class="directory">$GNOME_PREFIX/lib/gnome-vfs-2.0</filename>
    instead of
    <filename class="directory">$GNOME_PREFIX/libexec</filename>.</para>

    <para><option>--with-dbus-service-dir=/usr/share/dbus-1/services</option>:
    Use this parameter if you linked <application>HAL</application> into the
    build and you want the <filename>gnome-vfs-daemon.service</filename> file
    installed in the default <application>D-Bus</application> location instead
    of in <filename
    class='directory'><envar>GNOME_PREFIX</envar>/share/dbus-1/services</filename>.
    See the information in the configuration section below if you don't use this
    parameter.</para>

    <para><option>--with-hal-eject=PROGRAM</option>: This parameter does not
    need to be passed if you have <xref linkend="eject"/> or <ulink
    url="http://hal.freedesktop.org/releases/">gnome-mount</ulink> installed, as
    the <command>eject</command> program is used if
    <application>gnome-mount</application> is not installed.</para>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../../xincludes/gtk-doc-rebuild.xml"/>

  </sect2>

  <sect2 role="configuration">
    <title>Configuring Gnome Virtual File System</title>

    <sect3 id="gnome-vfs-config">
      <title>Configuration Information</title>

      <para>If <application>HAL</application> was linked into the build and
      GNOME is being installed in any location other than
      <filename class='directory'>/usr</filename>, you should create a local
      <application>D-Bus</application> session configuration file so that the
      installed <filename>gnome-vfs-daemon.service</filename> file can be
      discovered by <application>D-Bus</application>. You should reference
      the information on the <application>D-Bus</application> page for
      instructions on how to create a
      <xref linkend="dbus-session-config"/>.</para>

    </sect3>

  </sect2>

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Programs</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>gnomevfs-cat, gnomevfs-copy, gnomevfs-df, gnomevfs-info,
        gnomevfs-ls, gnomevfs-mkdir, gnomevfs-monitor, gnomevfs-mv, gnomevfs-rm,
        and gnome-vfs-daemon</seg>
        <seg>libbzip2.{so,a}, libcomputer.{so,a}, libdns-sd.{so,a},
        libfile.{so,a}, libftp.{so,a}, libgzip.{so,a}, libhttp.{so,a},
        libnetwork.{so,a}, libnntp.{so,a}, libsftp.{so,a}, libtar.{so,a},
        libvfs-test.{so,a}, and libgnomevfs-2.{so,a}</seg>
        <seg>&gnome-old-etc-dir;/gnome-vfs-2.0/modules,
        <envar>$GNOME_PREFIX</envar>/{include/{gnome-vfs-2.0/libgnomevfs,
        gnome-vfs-module-2.0/libgnomevfs},lib/gnome-vfs-2.0/{include,modules},
        share/gtk-doc/html/gnome-vfs-2.0}</seg>
      </seglistitem>
    </segmentedlist>

  </sect2>

</sect1>
