Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356317 - gnome-extra/contacts: implicit dependency on gnome-base/gnome-vfs
Summary: gnome-extra/contacts: implicit dependency on gnome-base/gnome-vfs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Tobias Scherbaum (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2011-02-24 17:14 UTC by Marek Szuba
Modified: 2011-02-25 22:27 UTC (History)
1 user (show)

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


Attachments
contacts-0.12.ebuild using USe=gnome to enable/disable GNOME-VFS support (contacts-0.12-r1.ebuild,1.13 KB, text/plain)
2011-02-24 17:15 UTC, Marek Szuba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba archtester gentoo-dev 2011-02-24 17:14:05 UTC
Hello,

Although gnome-extra/contacts-0.12 (i.e. the only version presently in Portage) does not strictly require GNOME-VFS to be present (it is only needed for GNOME-integrated vCard import), it does not emerge if the system hasn't got gnome-base/gnome-vfs. Apparently the configure script of contacts only disables gnome-vfs support when explicitly passed --disable-gnome-vfs.

The present form of the ebuild neither specifies gnome-base/gnome-vfs as a dependency nor disables / allows disabling GNOME-VFS support.

IMHO the best way of addressing this problem would be to employ USE=gnome: if it is set make contacts depend on gnome-vfs, otherwise pass --disable-gnome-vfs to configure.

Reproducible: always

Steps to reproduce: make sure gnome-base/gnome-vfs is not present in the system, then emerge gnome-extra/contacts-0.12.

Expected result: emerge is successful.

Observed result: emerge fails at the configuration stage, complaining about not being able to find GNOME-VFS.
Comment 1 Marek Szuba archtester gentoo-dev 2011-02-24 17:15:37 UTC
Created attachment 263697 [details]
contacts-0.12.ebuild using USe=gnome to enable/disable GNOME-VFS support
Comment 2 Rafał Mużyło 2011-02-24 17:29:13 UTC
Given that the current policy is to hard disable gnome-vfs,
better solution would be a patch porting the app to gio.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-02-25 22:27:08 UTC
+  25 Feb 2011; Gilles Dartiguelongue <eva@gentoo.org> contacts-0.12.ebuild:
+  Fix incomplete rdepends and use switches, bug #356317.
+
The ebuild was actually more broken than that, everything should be in order
now. Thanks for reporting.