Migrate from GnomeVFS to GIO

Bug #1006290 reported by Mario Kemper (Romario) on 2012-05-30
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mario Kemper (Romario)

Bug Description

Migrating from GnomeVFS to GIO

Dominique Dumont (domi-dumont) wrote :

I can propose a patch that uses Path::Tiny to handle URIs instead of Gnome::VFS. On the downside, access to remote files is no longer possible.

Is that acceptable ?

Photon (michael-kogan) wrote :

It looks to my like GFS leads to a bug which prevents NFS access in non-Gnome environments: https://bugs.launchpad.net/shutter/+bug/1003185 I am not sure though, if one can conclude that network access is currently broken altogether...

Dominique Dumont (domi-dumont) wrote :

I have not ported file monitoring. I guess this could be done with inotify.

Note that inotify does not work with NFS (IIRC, it's not supported in the kernel). A poll loop could also be setup.

Dominique Dumont (domi-dumont) wrote :

I've managed to port file handling from VFS to GIO.

As I don't have much time, I could use some help for the remaining tasks required to get rid of VFS. I.e. replace:
- escape/unescape string done with VFS
- file monitoring
- XFER thing

See https://github.com/dod38fr/shutter/commits/master

All the best

Photon (michael-kogan) wrote :

I fear, I am the only "active maintainer" of Shutter right now, the history leading to this being as following: I was involved in Shutter's localization in its early stages and I am maintaining Shutter's Arch package. Since the development was dead for several years I requested access to Shutter's bzr repo in order to apply patches which have accumulated throughout the years (which happened in Shutter 0.94). However, I'm not a developer and in particular I never learnt Pearl and never worked with GTK libraries. So I was basically just doing organizational stuff.

Therefore I'm incapable of verifying your patch proposal and do further work on it. I can only apply it eventually. But if you are interested, I can give you access to the main bzr repo such that you can work directly at the official code tree. I think, Shutter can only profit from more developers/maintainers since the main developer had to abandon it.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers