Skip to contentSkip to conversation

Howto break circular dependencies for gvfs / gnome-disk-utility / nautilus

DISCUSSION Andreas Müller 1 participant 2 messages Jan 7, 2012

lore
Share & tools
lore
#0 lore raw

Hi

I have tested by manual rebuilding/installation: To make thunar-volman properly mount removable devices, gvfs-gdu-volume-monitor ( gdu = gnome-disk-utility ) is required. For a build from scratch gvfs configure disables this because it can not find gnome-disk-utility. As mentioned in a comment of gvfs recipe, gnome- disk-utility can not be added to DEPENDS because of circular dependencies:

nautillus depends gvfs
gvfs depends gnome-disk-utility
gnome-disk-utility depends nautilus

The only possible solution for this I see right now is to add a dummy build:
E.g: Within gvfs-recipe before configuring gnome-disk-utilty is configured / compiled and installed. After install all stuff from gnome-disk-utilty is removed and gnome-disk-utilty is only made RDEPENDS. Since this is a very dirty hack which causes extra maintenance when gnome-disk-utilty version changes:

Does anybody have a better solution to break the circular dependency without causing plugins/libs missing?

All suggestions welcome :)

Andreas

#1 lore raw
Quoted 20 lines · Andreas Müller

Hi

I have tested by manual rebuilding/installation: To make thunar-volman properly mount removable devices, gvfs-gdu-volume-monitor ( gdu = gnome-disk-utility ) is required. For a build from scratch gvfs configure disables this because it can not find gnome-disk-utility. As mentioned in a comment of gvfs recipe, gnome- disk-utility can not be added to DEPENDS because of circular dependencies:

nautillus depends gvfs
gvfs depends gnome-disk-utility
gnome-disk-utility depends nautilus

The only possible solution for this I see right now is to add a dummy
build: E.g: Within gvfs-recipe before configuring gnome-disk-utilty is configured / compiled and installed. After install all stuff from gnome-disk-utilty is removed and gnome-disk-utilty is only made RDEPENDS. Since this is a very dirty hack which causes extra maintenance when gnome-disk-utilty version changes:

Quoted 5 lines

Does anybody have a better solution to break the circular dependency without causing plugins/libs missing?

All suggestions welcome :)

How about adding a recipe just for gvfs-gdu-volume-monitor?

Andreas