[mythtv] Updated version of osx-packager script

Daniel Kristjansson danielk at cat.nyu.edu
Mon May 9 23:41:23 UTC 2005


On Mon, 2005-05-09 at 23:17 +0000, Eggert Thorlacius wrote:
> On 9.5.2005, at 14:52, Daniel Kristjansson wrote:
>   The PREFIX macro is only used in one place in the source  
> (mythcontext.cpp) and if I replace it with '../Resources'  there, I  
> get a self-contained bundle.
> The problem is that I really don't understand qmake well enough to  
> tell it to do what I want.  I could of course submit a patch to  
> mythcontext.cpp which hardwired PREFIX to '../Resources' on the Mac,  
> but that doesn't look very elegant.
You could create a new define, something like "RESOURCE_PREFIX",
to use in mythcontext.cpp. On most systems this would just be
equal to PREFIX, but on Macs it could point to '../Resources'.
It should be easy to modify ./configure for this.

There is also the possibility of defining the "MYTHTVDIR"
environment variable. If defined, it gets used by mythcontext
instead of PREFIX.

-- Daniel



More information about the mythtv-dev mailing list