[mythtv] [PATCH] Mac OS X patch 25

Jeremiah Morris jm at whpress.com
Tue Sep 7 13:03:02 EDT 2004


On 7 Sep 2004, at 12:06 PM, Joseph A. Caputo wrote:

> - libmyth complains it can't find 'sys/soundcard.h'.  If I comment out
> the lines:
>
> CONFIG += using_oss
> DEFINES += USING_OSS
>
> in settings.pro, it gets past that.  Is that the correct thing to do, 
> or
> is there a package I need to install to allow that to compile?

Yes, tweaking the settings.pro file is the correct way to change the 
defaults.  For Mac OS X, almost all of the support settings are wrong 
out of the box--er, CVS server.  I added the following to the very end 
of the default settings.pro file, which should help:

# Defaults for Mac OS X
macx {
     DEFINES -= USING_OPENGL_VSYNC
     EXTRA_LIBS -= -lGL -lGLU
     CONFIG -= using_opengl
     CONFIG -= using_ivtv
     DEFINES -= USING_IVTV
     CONFIG -= using_oss
     DEFINES -= USING_OSS
     CONFIG -= using_x11
     CONFIG -= using_xv
     EXTRA_LIBS -= -L/usr/X11R6/lib -lXinerama -lXv -lX11 -lXext 
-lXxf86vm
}

Paste in that hunk, and you won't have to comment out each of them 
individually.  It's also easier to merge settings.pro changes in the 
future.

- Jeremiah



More information about the mythtv-dev mailing list