Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 434946 - media-video/recordmydesktop - add USE="gtk qt" to RDEPEND on media-video/*-recordmydesktop
Summary: media-video/recordmydesktop - add USE="gtk qt" to RDEPEND on media-video/*-re...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-13 21:26 UTC by C. Wijtmans
Modified: 2013-01-29 11:01 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 C. Wijtmans 2012-09-13 21:26:29 UTC
In order to pull in in the official front ends for recordmydesktop would look neater.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-09-13 21:40:33 UTC
those would be pointless USE flags pulling in files recordmydesktop itself doesn't need
runtime dependencies generally don't deserve an USE flag, as in, if the content of the package doesn't change, the USE flag shouldn't be there
Comment 2 C. Wijtmans 2012-09-13 21:45:16 UTC
In my opinion the backend and front end are the same package.
There are many ebuilds who have this behavior.
Comment 3 C. Wijtmans 2012-09-16 10:47:24 UTC
For example nvidia-drivers has this behavior. Why not add it to other packages as well?
Comment 4 C. Wijtmans 2013-01-28 04:32:22 UTC
Why add this behavior to nvidia-drivers which has an GTK use flag for a frontend but not do the same with recordmydesktop to add a frontend?
Comment 5 Ben de Groot (RETIRED) gentoo-dev 2013-01-29 06:39:05 UTC
(In reply to comment #2)
> In my opinion the backend and front end are the same package.

Well, there are not. They can be built and installed independently.

> There are many ebuilds who have this behavior.

Because currently we have no better mechanism to express this kind of "optional runtime dependencies" or "functional dependencies" that would not need to trigger a rebuild of this package.

The problem with adding a useflag for such an optional dependency is that when you toggle it, it will trigger an unnecessary rebuild of the package. In general this is discouraged.

While we have such a policy, it is not strictly enforced throughout the portage tree, since we still lack a better mechanism for this. That's why you will find some packages that do have useflags pulling in optional dependencies, going against the preferred policy.
Comment 6 C. Wijtmans 2013-01-29 11:01:08 UTC
Thank you for the clear response Ben. I guess it makes sense.
Should we then file bugs regarding packages that do not follow the policy? such as nvidia-drivers. But then when you do change the drivers you also need to unmerge such package as nvidia-settings.