GNOME Bugzilla – Bug 525476
should install headers, and allow building backends outside of the tree
Last modified: 2018-05-04 10:29:50 UTC
Currently gvfs does not install header files correctly, making building of backends outside of the tree difficult. More than that could be needed, though I didn't look deep enough.
Created attachment 108391 [details] [review] a list of headers I think need to be installed
Confirming. We've had this on the GioToDo list for a while: * Ability to build backends outside tree Right now the header files and libraries are not really set up in a way that you can build gvfs backends outside of the gvfs source tree. The header files and libs needs some cleaning up so that this is possible. I think we should avoid doing this for the first release at least and only do in-tree backends. This way we can tweak the APIs as needed. And for the patch, no it's not good enough, we still need to do this cleanup work and rearranging as you can see above, and we need to make sure we're only exporting what we need to.
Created attachment 120636 [details] [review] build libgvfsdaemon.so, install common,daemon,client header this patch add ability to build backends outside tree (for example synce-gvfs).
For this to be useful, we probably also want to make available the remote volume monitor bits so it's easy to write out-of-process volume monitors. I think even that might need a bit of work to make it easier to use. E.g. for the SyncCE bits you might want to monitor USB devices and create GVolume objects such that - the user gets an icon in the Nautilus sidebar / computer / places when the device is plugged in - automounting can happen - autorun dialogs [1] via x-content type are shown Either way, as pointed out on the mailing list http://mail.gnome.org/archives/gvfs-list/2008-October/msg00038.html am pretty sure we're not ready for this yet. Maybe with a bit of work we can do it for 2.26.
Is there any progress on this? I'm futzing on a slightly cracky backend of my own that's unlikely to be accepted upstream, but it would be nice to be able to distribute it as a standalone tarball that didn't require sourcetree patching.
Comment on attachment 120636 [details] [review] build libgvfsdaemon.so, install common,daemon,client header Setting patch status as needs-work since this has been partially completed with the resolution of bug 561187.
This is an old bug without recent activity and the patches are not applicable. Building backends outside of the tree is not still supported, but also nobody requests this recently. Let's close as wontfix.