[mythtv] [PATCH] Allow non-root installs
Tue, 15 Oct 2002 12:41:14 -0400
On Tuesday 15 October 2002 04:30 am, Jim Radford wrote:
> Hi Isaac,
> I like to install programs without being root, but mythtv hardcodes
> "/usr/local" as its destination, so this isn't easy. With this patch
Thanks, applied except for...
> o The PREFIX is easily changeable by only editing settings.pro.
> o As non root user ldconfig can fail. Ignore that so we aren't kept
> from installing the .xml files.
> o If files like mainmenu.xml are not found don't return "" since
> it is meaningless and it will get used blindly anyway. Might as
> well return the file were are given.
this, as it breaks the depends stuff in the mainmenu.xml file. I also changed
of few of the .cpp files you missed, and mirrored the changes to the other
modules in CVS.
>  I notice that most of the .pro files are generated, but as I'm not
> sure from what I edited them directly. They are checked into CVS
> after all.
They were initially generated from qmake, but have been customized quite a bit