1 |
> > > Afiak, if you have 'dvd' in USE, it enables --enable-mpdvdkit, which |
2 |
> > > DOES use the libdvdread and libdvdcss included with mplayer. This is |
3 |
> > > shown here as from ebuild: |
4 |
> > > |
5 |
> > > ---------------------------------------------------------------------- |
6 |
> > > use dvd \ |
7 |
> > > && myconf="${myconf} --enable-mpdvdkit --enable-dvdnav" \ |
8 |
> > > || myconf="${myconf} --disable-mpdvdkit --disable-dvdread \ |
9 |
> > > --disable-css --disable-dvdnav" |
10 |
> > > ---------------------------------------------------------------------- |
11 |
|
12 |
I did notice this ... |
13 |
|
14 |
I'll play around and make double sure .. but on the machine I was working on .. it didn't do that.Thats why I was poking around in the |
15 |
mplayer docs and it's syas you have to set the DVDKIT_SHARED var to yes or it will not compile even if you specify it in configure .. |
16 |
I'll work on that machine again tonight and make 100% sure |
17 |
|
18 |
> > > > I thought so as well ... but if you go throught the documentation in mplayer |
19 |
> > and you have dvd specified .. it will use libdvdread and libdvdcss if its installed on your machine |
20 |
> |
21 |
> Having 'dvd' specified in USE will have no effect if the ebuild do not |
22 |
> tweak ./configure time options. But I think I do not fully understand |
23 |
> what you are getting at here ... |
24 |
|
25 |
Where does the ebuild link the deps for dvdread .. I cannot find it anywhere in the DEPEND or RDEPEND settings ? |
26 |
on the machine I was working on .. running emerge mplayer with USE="dvd" did NOT install libdvdread or libdvdcss. |
27 |
|
28 |
As mentioned before mplayer does have libdvdread and libdvdcss included in the source and can be installed using mplayer, and it's recommended |
29 |
as well is it might have patches etc etc for mplayer not in the main tree fot those libs. |
30 |
|
31 |
> > and the ebuild does not have libdvdread or libdvdcss in the RDEPEND settings .. so if you run a stock box and USE="dvd" |
32 |
> > and emerge mplayer you only get dvd-nav which does not work. |
33 |
> > |
34 |
> |
35 |
> No, look at that bit I pasted. It add the '--enable-mpdvdkit' flag, |
36 |
> which enables the internal libdvdread and libdvdcss. It works fine |
37 |
> over here ... I have watched many encrypted movies this way. |
38 |
|
39 |
Why does it list libdvdread and libdvdcss as dependancy's for mplayer if it uses the internal libs ? |
40 |
|
41 |
I'll have to check the original machine I worked on, because it didn't do that .. I had to hack the ebuild and patch the mplayer |
42 |
source to get internal libdvdread and libdvdcss to work |
43 |
|
44 |
> Like I said .. it is over here. This is bits from when I run |
45 |
> 'emerge mplayer': |
46 |
> |
47 |
> ------------------------------------------------------- |
48 |
> Checking for DVD support (libmpdvdkit) ... yes |
49 |
> Checking for DVD support (libcss - old style) ... no |
50 |
> Checking for DVD support (libdvdread - new style) ... disabled by |
51 |
> libmpdvdkit2 |
52 |
> Checking for DVD support (libdvdnav) ... yes |
53 |
> ------------------------------------------------------- |
54 |
> |
55 |
> See ... libmpdvdkit (internal libs) gets enabled. ... |
56 |
|
57 |
This did not happen on the machine .. at all .. even with dvd in USE settings .. all I had was dvdnav. |
58 |
the only way I could get this to happen was to hack the configure script as directed in the docs by changing DVDKITSHARED=no to yes in configure script |
59 |
|
60 |
> Once again mpdvdkit2 gets enabled, but yes, dvdread and dvdcss does |
61 |
> get disabled, but this is because mpdvdkit2 is these two libraries |
62 |
> with bug fixes and the 'dvd key caching'. |
63 |
|
64 |
I understand this ... ok .. I think we saying the same thing .. but in different ways that we don't understand .. |
65 |
|
66 |
I'll play around with this alot more .. as I think there are some quirks .. I just added USE="dvd" on my machine at the office and ran emerge mplayer -p and |
67 |
libdvdread libdvdcss and libdvdnav is now added as deps ... as in additional packages it needs to install to get dvd working .. |
68 |
|
69 |
> This is when i run 'mplayer -dvd 1', but lack of dvd title at hand |
70 |
> right now ... |
71 |
|
72 |
I understand :) |
73 |
|
74 |
> It definitely have libdvdread/css support ... |
75 |
|
76 |
the machine I was working on has it as well ;P |
77 |
|
78 |
Henti |
79 |
|
80 |
-- |
81 |
gentoo-dev@g.o mailing list |