Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411625 - Why required xine-lib dvd libs with use flag -dvd?
Summary: Why required xine-lib dvd libs with use flag -dvd?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-11 18:22 UTC by Jens Ziller
Modified: 2012-04-12 16:40 UTC (History)
1 user (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 Jens Ziller 2012-04-11 18:22:17 UTC
I have a system without CD or DVD. The use flag -dvd is set. Why must I install libdvd* ?


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-libs/libxdg-basedir-1.1.1  USE="-doc -static-libs" 
[ebuild  N     ] media-libs/libdvdcss-1.2.11  USE="-doc -static-libs" 
[ebuild  N     ] media-libs/libdvdread-4.2.0  USE="css" 
[ebuild  N     ] media-libs/libdvdnav-4.2.0 
[ebuild     U  ] media-libs/xine-lib-1.2.1 [1.1.20] USE="mmap* -bluray% -dvb% -fusion% -mad* -vdpau% -vdr% -vorbis*" 

Regards zillerbaer.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-04-11 18:38:31 UTC
Because xine-lib doesn't provide a way to make libdvdnav optional.

They only have switch to use internal copy of libdvdnav, or external copy of libdvdnav. 

And external copies must always be used as per security policies.

If you don't like this, you can file a enhancement request at the upstream Xine bug tracking system:

http://bugs.xine-project.org/
Comment 2 Jens Ziller 2012-04-12 16:14:55 UTC
I have do this.

https://bugs.xine-project.org/show_bug.cgi?id=465

Thank you!
Best regards 
zillerbaer
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-04-12 16:40:34 UTC
(In reply to comment #2)
> I have do this.
> 
> https://bugs.xine-project.org/show_bug.cgi?id=465
> 
> Thank you!
> Best regards 
> zillerbaer

Looks like you filed the request wrong since libdvdnav has *always* been required with xine-lib, you just didn't notice it before as xine-lib *bundled internal copy* of it.

To reiterate: By installing xine-lib-1.1.20 you actually are installing libdvdnav no matter what USE flags you set, the code is just bundled inside the library itself, and not as separate file/package