[mythtv] [PATCH] MythContext wrappers for PREFIX

Isaac Richards ijr at case.edu
Wed Dec 8 03:10:08 UTC 2004


On Sunday 05 December 2004 03:05 pm, Jeremiah Morris wrote:
> Mythcontext.h has some nice wrappers to find MythTV resource
> directories, without using the compiled-in PREFIX path everywhere.
> Unfortunately, these wrappers haven't been used through the code.
> MythContext includes a way to change the PREFIX via an environment
> variable, for example, but it won't affect the loading of fonts,
> plugins, or translations.
>
> The attached patch expands on the existing MythContext directory lookup
> routines, and replaces PREFIX string instances with the appropriate
> MythContext wrappers.  This centralizes the resource locations, so that
> more sophisticated logic can be added later.  (Imagine mythfrontend on
> a CD-ROM, that can read themes by using a relative path from the CD-ROM
> mount point.  The OS X package has similar needs, so this patch is a
> prerequisite for the OS X binary.)

Applied..

Isaac


More information about the mythtv-dev mailing list