[mythtv-commits] Ticket #9986: OSX Fetch Channels from listing source broken
MythTV
noreply at mythtv.org
Fri Aug 12 02:07:06 UTC 2011
#9986: OSX Fetch Channels from listing source broken
------------------------------------------------+--------------------------
Reporter: Jeff Gibbons <mythtv@…> | Owner: nigel
Type: Bug Report - General | Status:
Priority: minor | infoneeded
Component: MythTV - Mythtv-setup | Milestone: unknown
Severity: low | Version:
Keywords: OSX fetch | 0.24-fixes
| Resolution:
| Ticket locked: 0
------------------------------------------------+--------------------------
Comment (by Jeff Gibbons <mythtv@…>):
Replying to [comment:3 nigel]:
> Not a huge problem, but copying one more binary is easy enough.
Something like this (untested) should package up mythfilldatabase:
> {{{
> % git diff
> diff --git a/OSX/build/osx-packager.pl b/OSX/build/osx-packager.pl
> index f606d6b..be82ab1 100755
> --- a/OSX/build/osx-packager.pl
> +++ b/OSX/build/osx-packager.pl
> @@ -1227,6 +1227,21 @@ if ( $backend && grep(m/MythBackend/, @targets) )
> &AddFakeBinDir($BE);
> }
>
> +if ( $backend && grep(m/MythTV-Setup/, @targets) )
> +{
> + my $SET = "$SCRIPTDIR/MythTV-Setup.app";
> + my $SRC = "$PREFIX/bin/mythfilldatabase";
> + if ( -e $SRC )
> + {
> + &Verbose("Installing $SRC into $SET");
> + &Syscall([ '/bin/cp', $SRC, "$SET/Contents/MacOS" ]) or die;
> +
> + &Verbose("Updating lib paths of $SET/Contents/MacOS/$binary");
> + &Syscall([ @bundler, "$SET/Contents/MacOS/$binary" ]) or die;
> + }
> + &AddFakeBinDir($SET);
> +}
> +
> if ( $jobtools )
> {
> # JobQueue also gets some binaries it might call:
> macaque%
> }}}
Looks OK except for in the 2nd Verbose and Syscall, '''$binary''' should
be replaced by '''mythfilldatabase''' as $binary in the code you copied
from was set by a '''foreach''' statement. So the lines should be
{{{
+ &Verbose("Updating lib paths of
$SET/Contents/MacOS/mythfilldatabase");
+ &Syscall([ @bundler, "$SET/Contents/MacOS/mythfilldatabase" ]) or
die;
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9986#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list