After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 590826 - Migrate from GnomeVFS to GIO
Migrate from GnomeVFS to GIO
Status: RESOLVED FIXED
Product: gnome-pilot
Classification: Other
Component: gpilotd
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-pilot Maintainers
gnome-pilot Maintainers
Depends on:
Blocks: 588322
 
 
Reported: 2009-08-05 10:37 UTC by Javier Jardón (IRC: jjardon)
Modified: 2009-10-26 14:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Javier Jardón (IRC: jjardon) 2009-08-05 10:37:29 UTC
GnomeVFS is going to be deprecated, new vfs framework for GNOME and GTK+
application is GIO/GVFS, available from glib 2.16.0. 

In short: "GIO is a gobject-based library that abstracts out various forms of
I/O, designed to separate out dependencies by allowing apps to depend on
abstract APIs, and then letting various implementations fill in these APIs.
GVFS is one such implementation, similar to gnome-vfs, which plugs into gio."

For references see:
  * http://live.gnome.org/GioPort
  * http://library.gnome.org/devel/gio/

and

  * http://blogs.gnome.org/alexl/2007/07/20/gvfs-presentation-slides/
  * http://live.gnome.org/GioToDo
Comment 1 Javier Jardón (IRC: jjardon) 2009-08-05 10:40:07 UTC
$ git grep gnome-vfs
ChangeLog:      * conduits/file/Makefile.am: fix gnome-vfs compilation flags
NEWS:   gnome-vfs support in ligpilotd, applet now supports DND of 
configure.in:   GNOMEVFS_REQUIRED="gnome-vfs-2.0 >= 2.0.0"
configure.in:   echo "          gnome-vfs    : yes"
configure.in:   echo "          gnome-vfs    : no"
gnome-pilot.spec.in:Requires: gnome-vfs >= 1.0
gpilotd/gnome-pilot-client.gob:#include <libgnomevfs/gnome-vfs.h>
gpilotd/gnome-pilot-client.gob:                         g_warning ("Failed to init gnome-vfs");
gpilotd/gnome-pilot-client.gob:                 /* g_message ("gnome-vfs-xfer-uri: %s\n",gnome_vfs_result_to_string (result));  */


$ git grep gnome_vfs
gpilotd/gnome-pilot-client.gob:         if (gnome_vfs_initialized () == FALSE) {
gpilotd/gnome-pilot-client.gob:                 if (gnome_vfs_init () == FALSE) {
gpilotd/gnome-pilot-client.gob:                 src_uri = gnome_vfs_uri_new (infile_with_path);
gpilotd/gnome-pilot-client.gob:                 dest_uri = gnome_vfs_uri_new (filename_uri);
gpilotd/gnome-pilot-client.gob:                 result = gnome_vfs_xfer_uri (src_uri, dest_uri,
gpilotd/gnome-pilot-client.gob:                 /* g_message ("gnome-vfs-xfer-uri: %s\n",gnome_vfs_result_to_string (result));  */
gpilotd/gnome-pilot-client.gob:                 gnome_vfs_uri_unref (src_uri);
gpilotd/gnome-pilot-client.gob:                 gnome_vfs_uri_unref (dest_uri);
gpilotd/gnome-pilot-client.gob:                    gnome_vfs_result_to_string (info->vfs_status));
Comment 2 Matt Davey 2009-10-26 14:35:37 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.