Daniel Kristjansson wrote:
On Wed, 2005-08-10 at 10:29 -0400, Michael J. Sherman wrote:
  
I've been doing svn updates for my Mac OS X frontend for a while with
the same make distclean; svn update; ./configure; qmake; make.
Tonight, on trying to start up the front end, it quickly fails out with:

Could not find theme: blue
Couldn't find theme blue

The themes are in the correct locations under /usr/local/share/mythtv/
themes/, and I can't find anything that I've done differently. Any
ideas on this?  I also tried wiping all DB entries from the settings 
table for this frontend, but even on a clean install I still get this 
problem.  Any way to determine exactly where it is attemping to look 
for the themes?
    
The attached patch should address the problem. I added an extra check to see if the "share" directory actually exists within "../Resources". I believe this will fix this problem.

- Tommi

Probably due to this changeset:
  http://cvs.mythtv.org/trac/changeset/6993

I believe it changes the prefix to "../Resources" on MacOS X.

  
Can you fix this, or prod Tomas Edwardsson to fix it?
  
-- Daniel

  

_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


-- 
 _____                         _                  
|_   _|__  _ __ ___  _ __ ___ (_)  ___  _ __ __ _ 
  | |/ _ \| '_ ` _ \| '_ ` _ \| | / _ \| '__/ _` |
  | | (_) | | | | | | | | | | | || (_) | | | (_| |
  |_|\___/|_| |_| |_|_| |_| |_|_(_)___/|_|  \__, |
                                            |___/ 
--- mythtv/libs/libmyth/mythcontext.cpp.orig	2005-08-11 00:26:21.000000000 +0000
+++ mythtv/libs/libmyth/mythcontext.cpp	2005-08-11 00:31:01.000000000 +0000
@@ -196,10 +196,14 @@
         prefixDir.cd(m_installprefix);
         m_installprefix = prefixDir.canonicalPath();
     }
+// Is the binary contained within a MacOS .app directory
+// structure and is the related "share" directory bundled within it.
     else if (prefixDir.path().contains(".app/Contents/MacOS"))
     {
         prefixDir.cd("../Resources");
-        m_installprefix = prefixDir.canonicalPath();
+        if (QDir(prefixDir.canonicalPath() + "/share").exists()) {
+        	m_installprefix = prefixDir.canonicalPath();
+	}
     }
     VERBOSE(VB_ALL, QString("Using runtime prefix = %1")
             .arg(m_installprefix));
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to