From http://www.transmissionbt.com/about.php: "The GTK+ interface has been carefully written with the GNOME Human Interface Guidelines in mind. It uses libnotify for torrent notification..." It means that user must get error message when he will try to do foo@boo# USE="-gtk libnotify" emerge transmission , and this message should return emerge, not configure script. Reproducible: Always Steps to Reproduce: USE="-gtk libnotify" emerge transmission Expected Results: emerge error
I don't agree that USE=-gtk pulling in x11-libs/gtk+ means that the ebuild must bail out. When the net-p2p/transmission ebuild pulls in x11-libs/libnotify, x11-libs/libnotify in turn pulls in x11-libs/gtk+. An `emerge --tree' would make that clear to the enquiring user.
(In reply to comment #1) > I don't agree that USE=-gtk pulling in x11-libs/gtk+ means that the ebuild must > bail out. > > When the net-p2p/transmission ebuild pulls in x11-libs/libnotify, > x11-libs/libnotify in turn pulls in x11-libs/gtk+. An `emerge --tree' would > make that clear to the enquiring user. > Do you want to say that every user checks dependency tree before emerging packages? User may want to build app with libnotify, but without GTK+ support, and duty of emerge is to say that it's impossible.
Um, there's only one libnotify in portage (libnotify-0.4.4.ebuild), and doesn't have a "-gtk" option. So, if a user builds transmission with libnotify in their USE flags, they're going to get GTK. No real option around that. $ emerge -vp x11-libs/libnotify Will show the person what will get pulled in when they want to emerge a package, and it's pretty unusual for a person to emerge something blindly without checking first.
(In reply to comment #2) > User may want to build app with libnotify, but without GTK+ support, and duty > of emerge is to say that it's impossible. The ebuild in the 1.40 version-bump report... http://bugs.gentoo.org/show_bug.cgi?id=246557 ...has the dependencies correctly configured - it doesn't issue any warnings about incorrect USE-flag usage, but at least it ignores the libnotify dependency when the GTK-client isn't required, and thus doesn't pull in the unnecessary packages, yet still builds correctly. Whether or not the maintainers wish to adjust the existing tree to this behaviour (with minimum-versions amended accordingly) i'll leave up to them...
(In reply to comment #4) > Whether or not the maintainers wish to adjust the existing tree to this > behaviour (with minimum-versions amended accordingly) i'll leave up to them... OK. Thank you.
Fixed in CVS with 1.42.