Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6501 - [DEPENDENCY:] mplayer without ost/audio.h fails
Summary: [DEPENDENCY:] mplayer without ost/audio.h fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 12983
Blocks:
  Show dependency tree
 
Reported: 2002-08-15 03:43 UTC by Ingo Krabbe
Modified: 2003-02-16 21:09 UTC (History)
1 user (show)

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


Attachments
dvb.patch (dvb.patch,447 bytes, patch)
2002-09-04 17:17 UTC, Matthias Schwarzott
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Krabbe 2002-08-15 03:43:14 UTC
The internal mplayer-0.90_pre6-r2 directory libao2 fails, so the complete
"emerge mplayer" fails because of a missing ost/audio.h include file.

This problem can be overcome by installing the ost include directory from a
DVB driver package into /usr/include.  I don't know if there is a portage
package which does so, if not there should be one, and the package should also
install automatically.

I also recommend to make a package from the dvbstream tool found at
http://sourceforge.net/projects/dvbtools/

Once I get familiar with portage packages and have some time, I might write
both the package and the dependencies, but I don't know if you really want to
wait until then.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-16 12:56:06 UTC
Well, its not a problem here.  Also not a problem for most of the other
users.  What, except fixing your problem does this package add to mplayer ?

Lastly, Please attach a complete compile log of the failure.

Thanks.
Comment 2 Matthias Schwarzott gentoo-dev 2002-09-04 17:12:14 UTC
The feature dvb enables mplayer to replay all formats which mplayer can display over a DVB card. This is a satellite tuner card for digital tv-programs. Therefore it can be used to display for example a DivX-Video on your TV or record it on a VCR.  The problem is that mplayer enables this feature if the corresponding device-nodes in /dev exists.  This problem can be solved by adding the following code-snipet to the ebuild. I would suggest to use a new use-variable "dvb". This would disable this feature if not set and would stop the problem.  When I have same free time I plan to create an ebuild for the driver- and utility-package for the dvb-card that can then be used as a dependency and will contain the nessecary includes.  
Comment 3 Matthias Schwarzott gentoo-dev 2002-09-04 17:17:48 UTC
Created attachment 3658 [details, diff]
dvb.patch

only use dvb-includes and add suppert when use-variable dvb is set
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-05 14:55:07 UTC
This USE flag will have to be approved first, and only one package using it
may not get it there.  Sure this is not a mplayer bug that we should report
to the mplayer devs ?  Generally it should detect and use most things.  If
you think this maybe be a bug mplayer side, please attatch the compile
log, and also configure.log or config.log.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-25 14:38:34 UTC
Does mplayer-0.90_rc1 still have this issue ?
Comment 6 Matthias Schwarzott gentoo-dev 2002-12-25 15:56:37 UTC
well i checked it, and yes this problem is existing right now in mplayer-0.90_rc1 
 
But as it occurs only when there is a /dev/ost/video and no includes in 
/usr/include/ost. And so I installed them there. 
 
You're right, I should report this to the mplayer-developers. 
 
PS: If you don't know already: mplayer-0.90rc2 is out 
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-16 08:38:01 UTC
Does rc4 still have the issue ?
Comment 8 Ingo Krabbe 2003-02-16 10:17:39 UTC
They seem to check the include path automatically: MPlayer-0.90rc3.tar.bz2:

Checking for DVB ... no (specify path to DVB/ost/include with --with-extraincdir=DIR)

happens when I remove /usr/include/ost and 

Checking for DVB ... yes

happens when I reinstall that.

So DVB support ist toggled wether the driver include files are there or not.  That's an acceptable behaviour I think.

I would say this is fixed.
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-16 21:09:40 UTC
Ok, great.