Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351501 - sys-apps/gnome-disk-utility always require nautilus
Summary: sys-apps/gnome-disk-utility always require nautilus
Status: RESOLVED DUPLICATE of bug 350919
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-12 22:38 UTC by Livid
Modified: 2011-01-17 15:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Livid 2011-01-12 22:38:20 UTC
Despite having -nautilus explicitly set, sys-apps/gnome-disk-utility after recent sync pulls in nautilus all the same. It did not in recent past. Is this a bug, or dependancy was set mandatory?
What should Xfce/Thunar users do then, since g-d-u effectively pulls in core gnome desktop?

Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. USE="-nuatilus" emerge -pv1 gnome-disk-utility

Actual Results:  
[ebuild  N    ] x11-libs/startup-notification-0.10  0 kB
[ebuild  N    ] gnome-base/gnome-desktop-2.32.1  USE="-debug -doc" 0 kB
[ebuild  N    ] gnome-base/nautilus-2.32.2.1  USE="-doc -gnome (-introspection) -test -xmp" 6,202 kB
[ebuild   R   ] sys-apps/gnome-disk-utility-2.32.0  USE="-avahi -doc -fat -gnome-keyring -nautilus -remote-access" 0 kB

Expected Results:  
[ebuild   R   ] sys-apps/gnome-disk-utility-2.32.0  USE="-avahi -doc -fat -gnome-keyring -nautilus -remote-access" 0 kB
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-01-12 23:35:03 UTC
strange indeed.
Comment 2 Rafał Mużyło 2011-01-12 23:43:45 UTC
Right now, you are disagreeing with solution of bug 350919.
Frankly, so do I.

Honestly, nautilus is only remotely required by gui part of gnome-disk-utility
and even in palimpsest it affects only mounting.

However, same solution as once in gnome-volume-monitor was implemented
(though there at least there was a simple way of overriding nautilus default).
Comment 3 Livid 2011-01-13 16:12:22 UTC
Well, I could cope with it, since removing dependancy from a ebuild is not actually a hard task. But there's bound to be a way better than this, no? It is likely possible to manage up a patch that removes hardcoded nautilus dependancy, though. But I have my doubts it will get into upstream any time soon.
Comment 4 Pacho Ramos gentoo-dev 2011-01-13 19:51:17 UTC
(In reply to comment #1)
> strange indeed.
> 

It's in Changelog:
  07 Jan 2011; Pacho Ramos <pacho@gentoo.org> gnome-disk-utility-2.32.0.ebuild:
  gnome-base/nautilus is always required since it's not only used for nautilus
  extension (bug #350919 by Delan Azabani).

The problem is upstream using nautilus and not gtk_show_uri() due:
        /* We want to use nautilus instead of gtk_show_uri() because
         * the latter doesn't handle automatically mounting the mount
         * - maybe gtk_show_uri() should do that though...
         */

Maybe we could change the following in src/palimpsest/gdu-section-volumes.c:
 s = g_strdup_printf ("nautilus \"%s\"", uri);

with "xdg-open", but I don't know if xdg-open is able to "mount the mount"
Comment 5 Pacho Ramos gentoo-dev 2011-01-17 15:34:34 UTC

*** This bug has been marked as a duplicate of bug 350919 ***