Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350203 - x11-libs/gksu-2.0.2 [and may be others] claim to depend on nautilus on too general circumstances
Summary: x11-libs/gksu-2.0.2 [and may be others] claim to depend on nautilus on too ge...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Daniel Gryniewicz (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-31 01:34 UTC by marc paresseux
Modified: 2011-01-11 11:34 UTC (History)
3 users (show)

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 marc paresseux 2010-12-31 01:34:55 UTC
A problem [not only] of gentoo is, that in the large, we have dependency-spaghetti.  It is desirable to minimise explicit package dependencies to the factual minimum.

gksu requires nautilus, if the "gnome" USE flag is set.

The "gnome" USE flag [I think] has the purpose {articulates the strategy}, to tell packages, that they shall support gnome.  

The provision of an end-user package is what explicit emerging {command or world file} is good for.  In this sense, it is a misuse of means and a reversing of perspective {instead of "what can I {the package gksu} do to support gnome", it expresses "I {gksu} want to have nautilus"}, that should be avoided.


Reproducible: Always

Steps to Reproduce:



Expected Results:  
While of course, a dependency-list has to reflect factual dependencies, I guess it could be constrained here in generality {not making use of the USE flag "gnome", but of "nautilus"}: 
Good examples, which explicitly make the use of nautilus features, explicitly depend only on the nautilus package, if the "nautilus" USE flag is set.  These are eg:
  - sys-apps/gnome-disk-utility/gnome-disk-utility-2.32.0, 
    where CDEPEND="... nautilus? ( >=gnome-base/nautilus-2.24 )"
  - app-misc/tracker/tracker-0.9.30:
      RDEPEND="...
        nautilus? (
                gnome-base/nautilus
                >=x11-libs/gtk+-2.18:2 )
        ..."
Comment 1 marc paresseux 2010-12-31 01:38:24 UTC
Spawned from http://bugs.gentoo.org/show_bug.cgi?id=349487.

Cc:-ed Mike Gilbert
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-12-31 09:23:05 UTC
we used to rely on the gnome USE flag to pull any gnome related dependency and we did not massively modify our ebuilds to use application specific USE flags when we didn't see fit. If you can provide a list of ebuilds were such modification would make sense, we might consider working on it.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-01-03 22:37:47 UTC
re-checked gksu dependencies, it seems gnome use flag is justified by the use of gnome-terminal since we are lacking debian alternatives support. Do you have other examples ?