From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 49 invoked by uid 1002); 10 Apr 2003 09:01:19 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 23495 invoked from network); 10 Apr 2003 09:01:16 -0000 Date: Thu, 10 Apr 2003 10:50:41 +0200 From: Henti Smith To: azarah@gentoo.org Cc: gentoo-dev@gentoo.org Message-Id: <20030410105041.79be52a0.bain@tcsn.co.za> In-Reply-To: <1049920411.6793.12.camel@nosferatu.lan> References: <20030408193908.75df165d.bain@tcsn.co.za> <1049833109.25930.25.camel@nosferatu.lan> <20030409110919.68e54c47.bain@tcsn.co.za> <1049920411.6793.12.camel@nosferatu.lan> Organization: The Computer Smith Networks X-Mailer: Sylpheed version 0.8.5 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [gentoo-dev] mplayer with dvdread .. X-Archives-Salt: afc45cae-15d6-4014-a33a-2655f21cd8bf X-Archives-Hash: 5e42968393f9969947e7b640af4a83d8 > > > Afiak, if you have 'dvd' in USE, it enables --enable-mpdvdkit, which > > > DOES use the libdvdread and libdvdcss included with mplayer. This is > > > shown here as from ebuild: > > > > > > ---------------------------------------------------------------------- > > > use dvd \ > > > && myconf="${myconf} --enable-mpdvdkit --enable-dvdnav" \ > > > || myconf="${myconf} --disable-mpdvdkit --disable-dvdread \ > > > --disable-css --disable-dvdnav" > > > ---------------------------------------------------------------------- I did notice this ... 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 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 .. I'll work on that machine again tonight and make 100% sure > > > > I thought so as well ... but if you go throught the documentation in mplayer > > and you have dvd specified .. it will use libdvdread and libdvdcss if its installed on your machine > > Having 'dvd' specified in USE will have no effect if the ebuild do not > tweak ./configure time options. But I think I do not fully understand > what you are getting at here ... Where does the ebuild link the deps for dvdread .. I cannot find it anywhere in the DEPEND or RDEPEND settings ? on the machine I was working on .. running emerge mplayer with USE="dvd" did NOT install libdvdread or libdvdcss. As mentioned before mplayer does have libdvdread and libdvdcss included in the source and can be installed using mplayer, and it's recommended as well is it might have patches etc etc for mplayer not in the main tree fot those libs. > > and the ebuild does not have libdvdread or libdvdcss in the RDEPEND settings .. so if you run a stock box and USE="dvd" > > and emerge mplayer you only get dvd-nav which does not work. > > > > No, look at that bit I pasted. It add the '--enable-mpdvdkit' flag, > which enables the internal libdvdread and libdvdcss. It works fine > over here ... I have watched many encrypted movies this way. Why does it list libdvdread and libdvdcss as dependancy's for mplayer if it uses the internal libs ? 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 source to get internal libdvdread and libdvdcss to work > Like I said .. it is over here. This is bits from when I run > 'emerge mplayer': > > ------------------------------------------------------- > Checking for DVD support (libmpdvdkit) ... yes > Checking for DVD support (libcss - old style) ... no > Checking for DVD support (libdvdread - new style) ... disabled by > libmpdvdkit2 > Checking for DVD support (libdvdnav) ... yes > ------------------------------------------------------- > > See ... libmpdvdkit (internal libs) gets enabled. ... This did not happen on the machine .. at all .. even with dvd in USE settings .. all I had was dvdnav. 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 > Once again mpdvdkit2 gets enabled, but yes, dvdread and dvdcss does > get disabled, but this is because mpdvdkit2 is these two libraries > with bug fixes and the 'dvd key caching'. I understand this ... ok .. I think we saying the same thing .. but in different ways that we don't understand .. 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 libdvdread libdvdcss and libdvdnav is now added as deps ... as in additional packages it needs to install to get dvd working .. > This is when i run 'mplayer -dvd 1', but lack of dvd title at hand > right now ... I understand :) > It definitely have libdvdread/css support ... the machine I was working on has it as well ;P Henti -- gentoo-dev@gentoo.org mailing list