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 525476 - should install headers, and allow building backends outside of the tree
should install headers, and allow building backends outside of the tree
Status: RESOLVED WONTFIX
Product: gvfs
Classification: Core
Component: build
unspecified
Other All
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2008-04-01 03:57 UTC by Gustavo Noronha (kov)
Modified: 2018-05-04 10:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a list of headers I think need to be installed (1.70 KB, patch)
2008-04-01 03:59 UTC, Gustavo Noronha (kov)
needs-work Details | Review
build libgvfsdaemon.so, install common,daemon,client header (4.00 KB, patch)
2008-10-15 11:57 UTC, Alexey Shabalin
needs-work Details | Review

Description Gustavo Noronha (kov) 2008-04-01 03:57:25 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.
Comment 1 Gustavo Noronha (kov) 2008-04-01 03:59:06 UTC
Created attachment 108391 [details] [review]
a list of headers I think need to be installed
Comment 2 A. Walton 2008-04-01 06:52:55 UTC
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. 
Comment 3 Alexey Shabalin 2008-10-15 11:57:52 UTC
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).
Comment 4 David Zeuthen (not reading bugmail) 2008-10-15 13:44:56 UTC
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.


Comment 5 Erika Ahlswede 2010-10-12 14:52:04 UTC
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 6 Ross Lagerwall 2013-12-12 16:44:34 UTC
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.
Comment 7 Ondrej Holy 2018-05-04 10:29:50 UTC
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.