Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152661 - media-tv/mtvg dependencies ...
Summary: media-tv/mtvg dependencies ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-24 07:22 UTC by Jiri Tyr
Modified: 2006-10-31 10:47 UTC (History)
0 users

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


Attachments
xmltv patch (mtvg-6.2.18.ebuild.diff,268 bytes, patch)
2006-10-24 07:36 UTC, Jiri Tyr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Tyr 2006-10-24 07:22:01 UTC
I have tried to install media-tv/mtvg-6.2.18 and it would like to add next 28 packeges into my system. I don't want to add all this packages, because I don't use xmltv scripts to get the channel list into my computer (I use non official scripts). For this case it would be better to add an use flag, something like "no-xmltv" and don't add dependencie on xmltv.
Comment 1 Jiri Tyr 2006-10-24 07:36:48 UTC
Created attachment 100383 [details, diff]
xmltv patch

Patch which add xmltv USE flag.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2006-10-24 09:12:45 UTC
There is no point in listing optional runtime depedencies, adding yet another superfluous use flag. Either keep it as non-optional dependency, if this makes sense or remove it at all, maybe with an elog line instead. 

As this seems to be an kde app, use kde_src_install(), not emake... Also you have to call kde_pkg_postinst, when you override it.
Comment 3 Steve Dibb (RETIRED) gentoo-dev 2006-10-24 09:29:33 UTC
(In reply to comment #0)
> I have tried to install media-tv/mtvg-6.2.18 and it would like to add next 28
> packeges into my system. I don't want to add all this packages, because I don't
> use xmltv scripts to get the channel list into my computer (I use non official
> scripts). For this case it would be better to add an use flag, something like
> "no-xmltv" and don't add dependencie on xmltv.
> 

Just add xmltv to package.provided, and you'll be fine. :)
Comment 4 Jiri Tyr 2006-10-24 15:15:41 UTC
(In reply to comment #2)
> or remove it at all, maybe with an elog line instead. 

I vote for remove the xmltv dependencie.
Comment 5 Steve Dibb (RETIRED) gentoo-dev 2006-10-31 09:41:17 UTC
xmltv is a *runtime* dependency, so I'm not going to fix it.

The startup screen talks about how to use XML TV to pull in the listings.  The preferences asks for your XMLTV listings.xml.

If you're not going to use XMLTV, that's fine -- put it in package.provided, and it won't be installed.  But since this package is designed to work with XMLTV, that's how it will be emerged as well.
Comment 6 Steve Dibb (RETIRED) gentoo-dev 2006-10-31 10:46:34 UTC
After giving it more thought, you are right.  It's actually not a real runtime dep since it will function without XMLTV just fine, even though it can call the binary and it does use the output files.

So, I added it as a USE flag dep for 'xml'.
Comment 7 Steve Dibb (RETIRED) gentoo-dev 2006-10-31 10:47:29 UTC
And changes committed to CVS, thanks Jiri