[mythtv] [PATCH] Fix (now broken) screen settings

Adam Egger adam.egger at gmail.com
Thu Mar 24 19:05:58 UTC 2005


Daniel, 
I've tried to ./configure on a debian64 system where gcc --version=3.2
per default. With gcc set to 3.2 the configure step doesn't set
ARCHFLAGS to k8 (I'm even not allowed to provide it manually with
-arch=k8). I always make with "make CC=gcc-3.4 CXX=g++-3.4
LINK=g++-3.4" after the configure step.

Now I've temporary set gcc to version 3.4. But it still doesn't set
ARCHFLAGS to anything. Only if I explicitly provide -arch=k8 it is ok.
What's the way to automatically let ./configure set ARCHFLAGS to k8
(even with gcc set to 3.2)?

Adam

PS: What's you nick in #mythtv? Sometimes it's easier to quickly ask
questions in irc.


On Thu, 24 Mar 2005 13:31:46 -0500, Daniel Kristjansson
<danielk at cat.nyu.edu> wrote:
> On Wed, 2005-03-23 at 12:34 +1100, Nigel Pearson wrote:
> > > implementation by implementing GetDisplaySize(). But I don't have
> > > a MacOSX system to compile on so this may not even compile.
> >
> >       Indeed it didn't :-)
> (-: Thanks for getting that working
> 
> >       Just the CFReleases, right? I thought they would be needed,
> > but adding them caused the app to crash somewhere in CoreGraphics
> > when opening the screen, so it looks like they shouldn't be there.
> Yep, I guess those arrays are owned by the framework.
> 
> > 2a) GetNumberOfXineramaScreens() could easily be replaced
> > with Qt's QApplication::desktop()->numScreens(),
> > which also works on OS X, Windows, et c.
> I kept this, my reasoning was in the last reply, basically I don't
> think Qt distinguishes between Xinerama screens, virtual screens,
> and virtual desktops properly.
> 
> > 2b) I was trying to keep util.cpp as a set of "utility"
> > sort of code (i.e. OS and file sort of stuff), hence the
> > removal of the X11 specific stuff in my multiscreen patch.
> > GetDisplayModes() maybe belongs elsewhere?
> > (But mythcontext is getting crowded,
> >   so I don't know where else to put it)
> I removed everything but the GetNumberOfXineramaScreens(), I just don't
> know where it would go. Maybe we need a x11-utils.h? or a
> xinerama-utils.h?
> 
> I've attached a patch that should also fix some of John Poet's problems.
> That is, we now try to get the old style GUI video mode, and if this
> doesn't work, we default to 640x480. This means you shouldn't end up in
> some video mode that is just barely supported by your monitor.
> 
> -- Daniel
> 
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 
> 
> 
>


More information about the mythtv-dev mailing list