osx-packager.pl File Reference

Go to the source code of this file.

Functions

use Getopt::Long qw (:config auto_abbrev)
use Cwd ()
instead of HEAD svnrev< str >
build a specified Subversion
instead of HEAD svntag< str >
build a specified instead of
Subversion HEAD nohead don t
update to HEAD revision of
MythTV before building
usehdimage perform build
inside of a case sensitive
disk image leavehdimage leave
disk image mounted on exit
enable backend build the
backend server as well as the
frontend enable jobtools build
commflag jobqueue as well as
the frontend profile build
with compile along with
plugins as as a standalone
binary package for Mac OS X It
was designed for building
daily 
CVS (now Subversion) snapshots
instead of HEAD svnrev< str >
build a specified Subversion
instead of HEAD svntag< str >
build a specified instead of
Subversion HEAD nohead don t
update to HEAD revision of
MythTV before building
usehdimage perform build
inside of a case sensitive
disk image leavehdimage leave
disk image mounted on exit
enable backend build the
backend server as well as the
frontend enable jobtools build
commflag jobqueue as well as
the frontend profile build
with compile along with
plugins as as a standalone
binary package for Mac OS X It
was designed for building
daily but can also be used to
create release builds with the
svntag option All intermediate
files go into an osx packager
directory in the current
working directory The finished
application is named
MythFrontend app and placed in
the current working one with
plugins and one mythweather mv
MythFrontend app MythFrontend
plugins app osx packager pl
nohead mv MythFrontend app
MythFrontend noplugins app
Building a release Jan Angel
and Andre Pang for and advice
Small modifications made by
Bas 
Hulsken (bhulsken @hotmail.com) to allow building current svn
instead of HEAD svnrev< str >
build a specified Subversion
instead of HEAD svntag< str >
build a specified instead of
Subversion HEAD nohead don t
update to HEAD revision of
MythTV before building
usehdimage perform build
inside of a case sensitive
disk image leavehdimage leave
disk image mounted on exit
enable backend build the
backend server as well as the
frontend enable jobtools build
commflag jobqueue as well as
the frontend profile build
with compile along with
plugins as as a standalone
binary package for Mac OS X It
was designed for building
daily but can also be used to
create release builds with the
svntag option All intermediate
files go into an osx packager
directory in the current
working directory The finished
application is named
MythFrontend app and placed in
the current working one with
plugins and one mythweather mv
MythFrontend app MythFrontend
plugins app osx packager pl
nohead mv MythFrontend app
MythFrontend noplugins app
Building a release Jan Angel
and Andre Pang for and advice
Small modifications made by
Bas and allow 
lirc (if installed properly on before running script).The modifications are crappy
 if ($OPT{'enable-backend'})
 unless (defined $OPT{'version'})
 if ($SCRIPTDIR=~/\s/)
 elsif (!$OPT{'svnbranch'})
Verbose ($cmd)
 if ($cpus gt 1)
 if (-d $MFE)
 my (@build_depends,%seen_depends)
 if (!@comps)
Verbose ("Including components:",@comps)
foreach my $comp (@comps)
foreach my $sw (@build_depends)
foreach my $target (@targets)
 if ($backend &&grep(m/MythBackend/,@targets))
Verbose ('Cleaning build tmp directory')
Syscall ([ 'rm', '-fr', $WORKDIR. '/tmp']) or die
Verbose ("Build complete. Self-contained package is at:\n\n $MFE\n")
sub RecursiveCopy ($$)
sub AddFakeBinDir ($)

Variables

use strict
our $svn = `which svn`
our $cleanLibs = 1
our $backend = 0
our $jobtools = 0
our $sourceforge
our there is mythtv plus these
two our 
components = ( 'myththemes', 'mythplugins' )
our targetsJT = ( 'MythCommFlag', 'MythJobQueue')
our targetsBE
our patches
our depend_order
our depend
instead of HEAD svnrev< str >
build a specified Subversion 
revision
instead of HEAD svnrev< str >
build a specified Subversion
instead of HEAD svntag< str >
build a specified 
release
instead of HEAD svnrev< str >
build a specified Subversion
instead of HEAD svntag< str >
build a specified instead of
Subversion HEAD nohead don t
update to HEAD revision of
MythTV before building
usehdimage perform build
inside of a case sensitive
disk image leavehdimage leave
disk image mounted on exit
enable backend build the
backend server as well as the
frontend enable jobtools build
commflag jobqueue as well as
the frontend profile build
with compile 
type
instead of HEAD svnrev< str >
build a specified Subversion
instead of HEAD svntag< str >
build a specified instead of
Subversion HEAD nohead don t
update to HEAD revision of
MythTV before building
usehdimage perform build
inside of a case sensitive
disk image leavehdimage leave
disk image mounted on exit
enable backend build the
backend server as well as the
frontend enable jobtools build
commflag jobqueue as well as
the frontend profile build
with compile along with
plugins as 
specified
instead of HEAD svnrev< str >
build a specified Subversion
instead of HEAD svntag< str >
build a specified instead of
Subversion HEAD nohead don t
update to HEAD revision of
MythTV before building
usehdimage perform build
inside of a case sensitive
disk image leavehdimage leave
disk image mounted on exit
enable backend build the
backend server as well as the
frontend enable jobtools build
commflag jobqueue as well as
the frontend profile build
with compile along with
plugins as as a standalone
binary package for Mac OS X It
was designed for building
daily but can also be used to
create release builds with the
svntag option All intermediate
files go into an osx packager
directory in the current
working directory The finished
application is named
MythFrontend app and placed in
the current working 
directory
instead of HEAD svnrev< str >
build a specified Subversion
instead of HEAD svntag< str >
build a specified instead of
Subversion HEAD nohead don t
update to HEAD revision of
MythTV before building
usehdimage perform build
inside of a case sensitive
disk image leavehdimage leave
disk image mounted on exit
enable backend build the
backend server as well as the
frontend enable jobtools build
commflag jobqueue as well as
the frontend profile build
with compile along with
plugins as as a standalone
binary package for Mac OS X It
was designed for building
daily but can also be used to
create release builds with the
svntag option All intermediate
files go into an osx packager
directory in the current
working directory The finished
application is named
MythFrontend app and placed in
the current working one with
plugins and one 
without
instead of HEAD svnrev< str >
build a specified Subversion
instead of HEAD svntag< str >
build a specified instead of
Subversion HEAD nohead don t
update to HEAD revision of
MythTV before building
usehdimage perform build
inside of a case sensitive
disk image leavehdimage leave
disk image mounted on exit
enable backend build the
backend server as well as the
frontend enable jobtools build
commflag jobqueue as well as
the frontend profile build
with compile along with
plugins as as a standalone
binary package for Mac OS X It
was designed for building
daily but can also be used to
create release builds with the
svntag option All intermediate
files go into an osx packager
directory in the current
working directory The finished
application is named
MythFrontend app and placed in
the current working one with
plugins and one mythweather mv
MythFrontend app MythFrontend
plugins app osx packager pl
nohead mv MythFrontend app
MythFrontend noplugins app
Building a release 
build
instead of HEAD svnrev< str >
build a specified Subversion
instead of HEAD svntag< str >
build a specified instead of
Subversion HEAD nohead don t
update to HEAD revision of
MythTV before building
usehdimage perform build
inside of a case sensitive
disk image leavehdimage leave
disk image mounted on exit
enable backend build the
backend server as well as the
frontend enable jobtools build
commflag jobqueue as well as
the frontend profile build
with compile along with
plugins as as a standalone
binary package for Mac OS X It
was designed for building
daily but can also be used to
create release builds with the
svntag option All intermediate
files go into an osx packager
directory in the current
working directory The finished
application is named
MythFrontend app and placed in
the current working one with
plugins and one mythweather mv
MythFrontend app MythFrontend
plugins app osx packager pl
nohead mv MythFrontend app
MythFrontend noplugins app
Building a release Jan 
Ornstedt
instead of HEAD svnrev< str >
build a specified Subversion
instead of HEAD svntag< str >
build a specified instead of
Subversion HEAD nohead don t
update to HEAD revision of
MythTV before building
usehdimage perform build
inside of a case sensitive
disk image leavehdimage leave
disk image mounted on exit
enable backend build the
backend server as well as the
frontend enable jobtools build
commflag jobqueue as well as
the frontend profile build
with compile along with
plugins as as a standalone
binary package for Mac OS X It
was designed for building
daily but can also be used to
create release builds with the
svntag option All intermediate
files go into an osx packager
directory in the current
working directory The finished
application is named
MythFrontend app and placed in
the current working one with
plugins and one mythweather mv
MythFrontend app MythFrontend
plugins app osx packager pl
nohead mv MythFrontend app
MythFrontend noplugins app
Building a release Jan Angel 
Li
instead of HEAD svnrev< str >
build a specified Subversion
instead of HEAD svntag< str >
build a specified instead of
Subversion HEAD nohead don t
update to HEAD revision of
MythTV before building
usehdimage perform build
inside of a case sensitive
disk image leavehdimage leave
disk image mounted on exit
enable backend build the
backend server as well as the
frontend enable jobtools build
commflag jobqueue as well as
the frontend profile build
with compile along with
plugins as as a standalone
binary package for Mac OS X It
was designed for building
daily but can also be used to
create release builds with the
svntag option All intermediate
files go into an osx packager
directory in the current
working directory The finished
application is named
MythFrontend app and placed in
the current working one with
plugins and one mythweather mv
MythFrontend app MythFrontend
plugins app osx packager pl
nohead mv MythFrontend app
MythFrontend noplugins app
Building a release Jan Angel
and Andre Pang for 
help
instead of HEAD svnrev< str >
build a specified Subversion
instead of HEAD svntag< str >
build a specified instead of
Subversion HEAD nohead don t
update to HEAD revision of
MythTV before building
usehdimage perform build
inside of a case sensitive
disk image leavehdimage leave
disk image mounted on exit
enable backend build the
backend server as well as the
frontend enable jobtools build
commflag jobqueue as well as
the frontend profile build
with compile along with
plugins as as a standalone
binary package for Mac OS X It
was designed for building
daily but can also be used to
create release builds with the
svntag option All intermediate
files go into an osx packager
directory in the current
working directory The finished
application is named
MythFrontend app and placed in
the current working one with
plugins and one mythweather mv
MythFrontend app MythFrontend
plugins app osx packager pl
nohead mv MythFrontend app
MythFrontend noplugins app
Building a release Jan Angel
and Andre Pang for 
code
instead of HEAD svnrev< str >
build a specified Subversion
instead of HEAD svntag< str >
build a specified instead of
Subversion HEAD nohead don t
update to HEAD revision of
MythTV before building
usehdimage perform build
inside of a case sensitive
disk image leavehdimage leave
disk image mounted on exit
enable backend build the
backend server as well as the
frontend enable jobtools build
commflag jobqueue as well as
the frontend profile build
with compile along with
plugins as as a standalone
binary package for Mac OS X It
was designed for building
daily but can also be used to
create release builds with the
svntag option All intermediate
files go into an osx packager
directory in the current
working directory The finished
application is named
MythFrontend app and placed in
the current working one with
plugins and one mythweather mv
MythFrontend app MythFrontend
plugins app osx packager pl
nohead mv MythFrontend app
MythFrontend noplugins app
Building a release Jan Angel
and Andre Pang for and advice
Small modifications made by
Bas and allow and should
probably be revised by someone
who can actually code in perl
However it works for the 
moment
instead of HEAD svnrev< str >
build a specified Subversion
instead of HEAD svntag< str >
build a specified instead of
Subversion HEAD nohead don t
update to HEAD revision of
MythTV before building
usehdimage perform build
inside of a case sensitive
disk image leavehdimage leave
disk image mounted on exit
enable backend build the
backend server as well as the
frontend enable jobtools build
commflag jobqueue as well as
the frontend profile build
with compile along with
plugins as as a standalone
binary package for Mac OS X It
was designed for building
daily but can also be used to
create release builds with the
svntag option All intermediate
files go into an osx packager
directory in the current
working directory The finished
application is named
MythFrontend app and placed in
the current working one with
plugins and one mythweather mv
MythFrontend app MythFrontend
plugins app osx packager pl
nohead mv MythFrontend app
MythFrontend noplugins app
Building a release Jan Angel
and Andre Pang for and advice
Small modifications made by
Bas and allow and should
probably be revised by someone
who can actually code in perl
However it works for the and I
wanted to share with other mac
frontend 
experimenters
our $SCRIPTDIR = Cwd::abs_path(Cwd::getcwd())
our $WORKDIR = "$SCRIPTDIR/.osx-packager"
our $PREFIX = "$WORKDIR/build"
our $SRCDIR = "$WORKDIR/src"
our $SVNDIR = "$SRCDIR/myth-svn"
our conf
our makecleanopt
our $svnpath = dirname $svn
our $standard_make = '/usr/bin/make'
our $parallel_make = $standard_make
our $parallel_make_flags = ''
my $cmd = "/usr/bin/hostinfo | grep 'processors\$'"
my $cpus = `$cmd`
d processors
our $MFE = "$SCRIPTDIR/MythFrontend.app"
my comps = ('mythtv', @components)
my $svnrepository
chomp $VERS = ~ s/^.*\-(.*)\.dylib$/$1/s
our bundler = "$SVNDIR/mythtv/contrib/OSX/osx-bundler.pl"
my $AVCfw
my AVCfw = split / /
my targets = ('MythFrontend', 'MythTV')
 exit


Function Documentation

use Getopt::Long qw ( :config  auto_abbrev  ) 

use Cwd (  ) 

instead of HEAD svnrev<str> build a specified Subversion instead of HEAD svntag<str> build a specified instead of Subversion HEAD nohead don t update to HEAD revision of MythTV before building usehdimage perform build inside of a case sensitive disk image leavehdimage leave disk image mounted on exit enable backend build the backend server as well as the frontend enable jobtools build commflag jobqueue as well as the frontend profile build with compile along with plugins as as a standalone binary package for Mac OS X It was designed for building daily CVS ( now  Subversion  ) 

Type Constraints

instead of HEAD svnrev<str> build a specified Subversion instead of HEAD svntag<str> build a specified instead of Subversion HEAD nohead don t update to HEAD revision of MythTV before building usehdimage perform build inside of a case sensitive disk image leavehdimage leave disk image mounted on exit enable backend build the backend server as well as the frontend enable jobtools build commflag jobqueue as well as the frontend profile build with compile along with plugins as as a standalone binary package for Mac OS X It was designed for building daily but can also be used to create release builds with the svntag option All intermediate files go into an osx packager directory in the current working directory The finished application is named MythFrontend app and placed in the current working one with plugins and one mythweather mv MythFrontend app MythFrontend plugins app osx packager pl nohead mv MythFrontend app MythFrontend noplugins app Building a release Jan Angel and Andre Pang for and advice Small modifications made by Bas Hulsken ( bhulsken @hotmail.  com  ) 

Type Constraints

instead of HEAD svnrev<str> build a specified Subversion instead of HEAD svntag<str> build a specified instead of Subversion HEAD nohead don t update to HEAD revision of MythTV before building usehdimage perform build inside of a case sensitive disk image leavehdimage leave disk image mounted on exit enable backend build the backend server as well as the frontend enable jobtools build commflag jobqueue as well as the frontend profile build with compile along with plugins as as a standalone binary package for Mac OS X It was designed for building daily but can also be used to create release builds with the svntag option All intermediate files go into an osx packager directory in the current working directory The finished application is named MythFrontend app and placed in the current working one with plugins and one mythweather mv MythFrontend app MythFrontend plugins app osx packager pl nohead mv MythFrontend app MythFrontend noplugins app Building a release Jan Angel and Andre Pang for and advice Small modifications made by Bas and allow lirc ( if installed properly on before running  script  ) 

if (  ) 

Definition at line 459 of file osx-packager.pl.

unless (  ) 

Definition at line 476 of file osx-packager.pl.

if ( SCRIPTDIR = ~ /\s/  ) 

Definition at line 490 of file osx-packager.pl.

elsif (  ) 

Definition at line 520 of file osx-packager.pl.

& Verbose ( cmd  ) 

if ( $cpus gt  1  ) 

Definition at line 629 of file osx-packager.pl.

if ( -d MFE  ) 

Definition at line 655 of file osx-packager.pl.

my ( build_depends,
seen_depends 
)

if ( !@  comps  ) 

Definition at line 680 of file osx-packager.pl.

& Verbose ( "Including components:"  ,
comps 
)

foreach my $comp ( comps  ) 

Definition at line 695 of file osx-packager.pl.

foreach my $sw ( build_depends  ) 

Definition at line 706 of file osx-packager.pl.

foreach my $target ( targets  ) 

Definition at line 1074 of file osx-packager.pl.

if ( $backend &&  grepm/MythBackend/,@targets  ) 

Definition at line 1141 of file osx-packager.pl.

& Verbose ( 'Cleaning build tmp directory  ) 

& Syscall (  ) 

& Verbose ( "Build complete. Self-contained package is at:\n\n $MFE\n  ) 

sub RecursiveCopy ( $$   ) 

Definition at line 1212 of file osx-packager.pl.

Referenced by $target().

sub AddFakeBinDir (  ) 

Definition at line 1409 of file osx-packager.pl.

Referenced by $target(), and if().


Variable Documentation

use strict

Definition at line 16 of file osx-packager.pl.

chomp $svn = `which svn`

Definition at line 26 of file osx-packager.pl.

our $cleanLibs = 1

Definition at line 32 of file osx-packager.pl.

our $backend = 0

Definition at line 36 of file osx-packager.pl.

our $jobtools = 0

Definition at line 37 of file osx-packager.pl.

our $sourceforge

Initial value:

 'http:

# At the moment

Definition at line 47 of file osx-packager.pl.

our there is mythtv plus these two our components = ( 'myththemes', 'mythplugins' )

Definition at line 50 of file osx-packager.pl.

Referenced by decodeTonalComponents(), and parse_dvb_component_descriptors().

our targetsJT = ( 'MythCommFlag', 'MythJobQueue')

Definition at line 53 of file osx-packager.pl.

our targetsBE

Initial value:

 ( 'MythBackend',   'MythFillDatabase',
                   'MythTranscode', 'MythTV-Setup')

Definition at line 54 of file osx-packager.pl.

our patches

Initial value:

 (
  'mythtv' => 'Index: libs/libmythui/mythmainwindow.cpp
===================================================================
--- libs/libmythui/mythmainwindow.cpp  (revision 12154)
+++ libs/libmythui/mythmainwindow.cpp  (working copy)
@@ -1094,6 +1094,10 @@
         {
             QKeyEvent *ke = dynamic_cast<QKeyEvent*>(e);
 
+            // Work around weird GCC run-time bug. Only manifest on Mac OS X
+            if (!ke)
+                ke = (QKeyEvent *)e;
+
             if (currentWidget())
             {
                 ke->accept();
'
)

Definition at line 58 of file osx-packager.pl.

Initial value:

 (
  'mythtv'
  =>  [
        'faad2',
        'freetype',
        'lame',
        'mysqlclient',
        'qt-mt',
      ],
  'mythplugins'
  =>  [
        'tiff',
        'exif',
        'dvdcss',
# MythMusic needs these:
        'libmad',
        'taglib',
        'libogg',
        'vorbis',
        'flac',
      ],
)

Definition at line 77 of file osx-packager.pl.

our depend

Definition at line 100 of file osx-packager.pl.

instead of HEAD svnrev<str> build a specified Subversion revision

Definition at line 350 of file osx-packager.pl.

Referenced by process_audio_header_elements().

instead of HEAD svnrev<str> build a specified Subversion instead of HEAD svntag<str> build a specified release

Definition at line 350 of file osx-packager.pl.

instead of HEAD svnrev<str> build a specified Subversion instead of HEAD svntag<str> build a specified instead of Subversion HEAD nohead don t update to HEAD revision of MythTV before building usehdimage perform build inside of a case sensitive disk image leavehdimage leave disk image mounted on exit enable backend build the backend server as well as the frontend enable jobtools build commflag jobqueue as well as the frontend profile build with compile type

Initial value:

profile
   -debug           build with compile-type=debug
   -plugins <str>   comma-separated list of plugins to include
                      Available plugins:
   mythbrowser mythcontrols mythdvd mythflix mythgallery mythgame
   mythmusic mythnews mythphone mythvideo mythweather

=head1 DESCRIPTION

This script builds a MythTV frontend and all necessary dependencies

Definition at line 379 of file osx-packager.pl.

Referenced by asf_read_header(), NuppelVideoPlayer::AutoDeint(), avs_decode_frame(), avs_read_packet(), MythThemedDialog::buildFocusList(), OSD::CC708Updated(), MythCDROMLinux::checkMedia(), OSDSet::Clear(), LayerSet::ClearAllText(), OSDSet::ClearAllText(), CardUtil::CloneCard(), convert_diseqc_db(), DiSEqCDevDevice::CreateById(), DeviceTree::CreateNewNodeDialog(), MPEGStreamData::CreatePMTSingleProgram(), DeviceTree::CreateRootNodeDialog(), DEBUGpts(), decode_13(), decode_cabac_b_mb_sub_type(), decode_frame(), decode_info_header(), decode_q_branch(), decode_sei(), decode_subframe(), OSD::DialogDown(), OSD::DialogUp(), NativeArchive::doImportArchive(), XMLParseBase::doLoad(), NativeArchive::doNativeArchive(), StatusBox::doScheduleStatus(), LayerSet::Draw(), OSDSet::Draw(), LayerSet::DrawRegion(), encode_picture(), ScannerEvent::eventType(), ff_estimate_b_frame_motion(), ff_print_debug_info(), GuideGrid::fillProgramInfos(), GuideGrid::fillProgramRowInfos(), TransportList::fillSelections(), GuideGrid::fillTimeInfos(), find_and_decode_index(), FindPreset(), flv_read_metabody(), flv_read_packet(), ClassicCommDetector::FrameIsInBreakMap(), NuppelVideoPlayer::FrameIsInMap(), Metadata::getAlbumArt(), MythburnWizard::getArchiveListFromDB(), MediaMonitorDarwin::GetCDROMBlockDevices(), getFileInfo(), ZMPlayer::getTextType(), ZMLivePlayer::getTextType(), ZMEvents::getTextType(), ZMConsole::getTextType(), WelcomeDialog::getTextType(), ZMPlayer::getXvPortId(), Player::getXvPortId(), VideoOutputXv::GrabSuitableXvPort(), AlbumArtImages::guessImageType(), GuideGrid::GuideGrid(), gxf_resync_media(), h264_handle_packet(), ZMServer::handleGetMonitorStatus(), MainServer::HandleRecorderQuery(), NuppelVideoPlayer::HandleResponse(), TV::HandleTrackAction(), XvMCSurfaceTypes::has(), hdhomerun_discover_recv_internal(), ScanWizardScanner::ImportDVBUtils(), MythPluginManager::init_plugin(), iterative_me(), CaptureCard::loadByID(), RecordingProfile::loadByID(), MythThemedDialog::loadThemedWindow(), ImportNativeWizard::loadXML(), main(), MediaMonitorWindows::MediaMonitorWindows(), mm_decode_frame(), mm_read_header(), mm_read_packet(), mmap_close(), mmap_start(), mov_read_ftyp(), mov_read_hdlr(), mpeg2_header_picture(), IvtvDecoder::MpegPreProcessPkt(), mpegps_psm_parse(), mpegps_read_packet(), nut_read_header(), MythMediaDevice::onDeviceMounted(), OSDSet::OSDSet(), our_setstate(), GuideGrid::paintChannels(), GuideGrid::paintDate(), GuideGrid::paintInfo(), GuideGrid::paintJumpToChannel(), XMLParseBase::ParseChildren(), MythUIStateType::ParseElement(), XMLParse::parseKey(), XMLParse::parseKeyboard(), OSD::parseSlider(), MythThemedMenuPrivate::parseThemeButton(), ThemeInfo::parseThemeInfo(), OpenGLVideo::PrepareFrame(), PrintXErrors(), CardUtil::ProbeDVBType(), CardUtil::ProbeSubTypeName(), JobQueue::ProcessQueue(), qdm2_decode_fft_packets(), replex_tsp(), rm_assemble_video_frame(), CardInput::save(), CaptureCard::save(), AvFormatDecoder::ScanATSCCaptionStreams(), AvFormatDecoder::ScanTeletextCaptions(), SIScan::ScanTransportsStartingOn(), sdp_parse_fmtp(), sdp_write_media(), select_input_picture(), OSD::SetCC708Service(), OSD::SetChannumText(), LayerSet::SetDrawFontShadow(), OSD::SetInfoText(), MythContext::SetPalette(), ScheduledRecording::setRecTypeObj(), OSD::SetSettingsText(), LayerSet::SetText(), OSD::ShowStatus(), NuppelVideoPlayer::ShowText(), sol_read_header(), OSD::StartNotify(), DiSEqCDevLNB::Store(), DiSEqCDevRotor::Store(), DiSEqCDevSwitch::Store(), ProgramMapTable::StreamDescription(), svq3_decode_mb(), targa_decode_rle(), tiff_decode_tag(), GuideGrid::timeCheckTimeout(), tm2_decode_blocks(), NuppelVideoPlayer::TranscodeWriteText(), ProgramRecPriority::updateInfo(), ProgFinder::updateInfo(), ChannelRecPriority::updateInfo(), TV::UpdateOSDAskAllowDialog(), ViewScheduled::updateShowLevel(), ViewScheduleDiff::updateShowLevel(), OSD::UpdateStatus(), OSD::UpdateTeletext(), PreviousList::updateView(), UpgradeMusicDatabaseSchema(), LayerSet::UseAlternateArea(), ViewScheduleDiff::ViewScheduleDiff(), vmd_read_header(), voc_get_packet(), vp56_decode_4mv(), vp56_parse_mb_type_models(), MiniPlayer::wireupTheme(), wmv2_pred_motion(), write_ts_patpmt(), writeout_ext(), XvImageFormatToString(), XvMCSurfaceTypes::XvMCDescription(), LayerSet::~LayerSet(), UDPNotifyOSDSet::~UDPNotifyOSDSet(), and XMLParse::~XMLParse().

instead of HEAD svnrev<str> build a specified Subversion instead of HEAD svntag<str> build a specified instead of Subversion HEAD nohead don t update to HEAD revision of MythTV before building usehdimage perform build inside of a case sensitive disk image leavehdimage leave disk image mounted on exit enable backend build the backend server as well as the frontend enable jobtools build commflag jobqueue as well as the frontend profile build with compile along with plugins as specified

Definition at line 379 of file osx-packager.pl.

Referenced by if().

instead of HEAD svnrev<str> build a specified Subversion instead of HEAD svntag<str> build a specified instead of Subversion HEAD nohead don t update to HEAD revision of MythTV before building usehdimage perform build inside of a case sensitive disk image leavehdimage leave disk image mounted on exit enable backend build the backend server as well as the frontend enable jobtools build commflag jobqueue as well as the frontend profile build with compile along with plugins as as a standalone binary package for Mac OS X It was designed for building daily but can also be used to create release builds with the svntag option All intermediate files go into an osx packager directory in the current working directory The finished application is named MythFrontend app and placed in the current working directory

instead of HEAD svnrev<str> build a specified Subversion instead of HEAD svntag<str> build a specified instead of Subversion HEAD nohead don t update to HEAD revision of MythTV before building usehdimage perform build inside of a case sensitive disk image leavehdimage leave disk image mounted on exit enable backend build the backend server as well as the frontend enable jobtools build commflag jobqueue as well as the frontend profile build with compile along with plugins as as a standalone binary package for Mac OS X It was designed for building daily but can also be used to create release builds with the svntag option All intermediate files go into an osx packager directory in the current working directory The finished application is named MythFrontend app and placed in the current working one with plugins and one without

Definition at line 398 of file osx-packager.pl.

Referenced by if().

instead of HEAD svnrev<str> build a specified Subversion instead of HEAD svntag<str> build a specified instead of Subversion HEAD nohead don t update to HEAD revision of MythTV before building usehdimage perform build inside of a case sensitive disk image leavehdimage leave disk image mounted on exit enable backend build the backend server as well as the frontend enable jobtools build commflag jobqueue as well as the frontend profile build with compile along with plugins as as a standalone binary package for Mac OS X It was designed for building daily but can also be used to create release builds with the svntag option All intermediate files go into an osx packager directory in the current working directory The finished application is named MythFrontend app and placed in the current working one with plugins and one mythweather mv MythFrontend app MythFrontend plugins app osx packager pl nohead mv MythFrontend app MythFrontend noplugins app Building a release build

Definition at line 398 of file osx-packager.pl.

Referenced by decode_unregistered_user_data(), decode_user_data(), and if().

instead of HEAD svnrev<str> build a specified Subversion instead of HEAD svntag<str> build a specified instead of Subversion HEAD nohead don t update to HEAD revision of MythTV before building usehdimage perform build inside of a case sensitive disk image leavehdimage leave disk image mounted on exit enable backend build the backend server as well as the frontend enable jobtools build commflag jobqueue as well as the frontend profile build with compile along with plugins as as a standalone binary package for Mac OS X It was designed for building daily but can also be used to create release builds with the svntag option All intermediate files go into an osx packager directory in the current working directory The finished application is named MythFrontend app and placed in the current working one with plugins and one mythweather mv MythFrontend app MythFrontend plugins app osx packager pl nohead mv MythFrontend app MythFrontend noplugins app Building a release Jan Ornstedt

Definition at line 398 of file osx-packager.pl.

instead of HEAD svnrev<str> build a specified Subversion instead of HEAD svntag<str> build a specified instead of Subversion HEAD nohead don t update to HEAD revision of MythTV before building usehdimage perform build inside of a case sensitive disk image leavehdimage leave disk image mounted on exit enable backend build the backend server as well as the frontend enable jobtools build commflag jobqueue as well as the frontend profile build with compile along with plugins as as a standalone binary package for Mac OS X It was designed for building daily but can also be used to create release builds with the svntag option All intermediate files go into an osx packager directory in the current working directory The finished application is named MythFrontend app and placed in the current working one with plugins and one mythweather mv MythFrontend app MythFrontend plugins app osx packager pl nohead mv MythFrontend app MythFrontend noplugins app Building a release Jan Angel Li

Definition at line 398 of file osx-packager.pl.

instead of HEAD svnrev<str> build a specified Subversion instead of HEAD svntag<str> build a specified instead of Subversion HEAD nohead don t update to HEAD revision of MythTV before building usehdimage perform build inside of a case sensitive disk image leavehdimage leave disk image mounted on exit enable backend build the backend server as well as the frontend enable jobtools build commflag jobqueue as well as the frontend profile build with compile along with plugins as as a standalone binary package for Mac OS X It was designed for building daily but can also be used to create release builds with the svntag option All intermediate files go into an osx packager directory in the current working directory The finished application is named MythFrontend app and placed in the current working one with plugins and one mythweather mv MythFrontend app MythFrontend plugins app osx packager pl nohead mv MythFrontend app MythFrontend noplugins app Building a release Jan Angel and Andre Pang for help

instead of HEAD svnrev<str> build a specified Subversion instead of HEAD svntag<str> build a specified instead of Subversion HEAD nohead don t update to HEAD revision of MythTV before building usehdimage perform build inside of a case sensitive disk image leavehdimage leave disk image mounted on exit enable backend build the backend server as well as the frontend enable jobtools build commflag jobqueue as well as the frontend profile build with compile along with plugins as as a standalone binary package for Mac OS X It was designed for building daily but can also be used to create release builds with the svntag option All intermediate files go into an osx packager directory in the current working directory The finished application is named MythFrontend app and placed in the current working one with plugins and one mythweather mv MythFrontend app MythFrontend plugins app osx packager pl nohead mv MythFrontend app MythFrontend noplugins app Building a release Jan Angel and Andre Pang for code

Definition at line 398 of file osx-packager.pl.

Referenced by MythControls::AddKeyToAction(), AppleRemoteListener::appleRemoteButton(), asv1_get_level(), asv2_get_level(), bethsoftvid_decode_frame(), bitplane_decoding(), build_table(), TTFFont::cache_glyph(), cin_decode_lzss(), cin_decode_rle(), compute_scale_factors(), decode_13(), decode_bgr_1(), decode_block(), decode_block_progressive(), decode_dc(), decode_exp_vlc(), decode_ext_header(), decode_frame(), decode_i_block(), decode_p_block(), dvb_decode_text(), dvvideo_init(), encode_block(), encode_exp_vlc(), encode_ext_header(), ff_h263_encode_motion(), ff_lzw_decode(), ff_lzw_encode(), ff_mjpeg_build_huffman_codes(), ff_mov_iso639_to_lang(), ff_mpeg1_encode_init(), ff_msmpeg4_decode_motion(), ff_msmpeg4_encode_block(), ff_msmpeg4_encode_motion(), ff_vorbis_len2vlc(), ff_wmv2_decode_mb(), ff_wmv2_decode_picture_header(), g726_decode_frame(), generate_joint_tables(), get_size_of_code(), get_vlc2(), gif_parse_next_image(), GLZWDecode(), h261_decode_block(), h261_encode_block(), h261_encode_motion(), h261_probe(), h263_decode_block(), h263_decode_motion(), h263_encode_block(), h263_get_motion_length(), h263_probe(), h263p_decode_umotion(), h263p_encode_umotion(), handle_cc_c0_ext1_p16(), handle_cc_c1(), handle_cc_c2(), handle_cc_c3(), IconView::HandleImport(), huffman_decode(), init_2d_vlc_rl(), init_mv_penalty_and_fcode(), init_uni_ac_vlc(), init_uni_h263_rl_tab(), init_uni_mpeg4_rl_tab(), init_vlc_rl(), mjpeg_decode_dc(), mpc8_dec_base(), mpc8_dec_enum(), mpeg1_encode_block(), mpeg1_encode_motion(), mpeg4_decode_dc(), mpeg4_encode_block(), mpeg_decode_motion(), mpeg_decode_slice(), mpegps_probe(), mpegts_push_data(), mpegvideo_probe(), msmpeg4_decode_picture_header(), msmpeg4_encode_dc(), msmpeg4v12_decode_mb(), msmpeg4v2_decode_motion(), msmpeg4v2_encode_motion(), msmpeg4v34_decode_mb(), mxf_read_metadata_pixel_layout(), nut_probe(), parse_cc_service_stream(), LircClient::Process(), put_vlc_symbol(), qpeg_decode_inter(), qpeg_decode_intra(), read_frame(), readQuantSpectralCoeffs(), MHText::Redraw(), PreviousList::removalDialog(), rv_decode_dc(), ProgramInfo::ShowNotRecordingDialog(), ProgramInfo::ShowRecordingDialog(), CustomEdit::storeClicked(), tiff_unpack_strip(), ulti_decode_frame(), wma_decode_block(), and ws_snd_decode_frame().

instead of HEAD svnrev<str> build a specified Subversion instead of HEAD svntag<str> build a specified instead of Subversion HEAD nohead don t update to HEAD revision of MythTV before building usehdimage perform build inside of a case sensitive disk image leavehdimage leave disk image mounted on exit enable backend build the backend server as well as the frontend enable jobtools build commflag jobqueue as well as the frontend profile build with compile along with plugins as as a standalone binary package for Mac OS X It was designed for building daily but can also be used to create release builds with the svntag option All intermediate files go into an osx packager directory in the current working directory The finished application is named MythFrontend app and placed in the current working one with plugins and one mythweather mv MythFrontend app MythFrontend plugins app osx packager pl nohead mv MythFrontend app MythFrontend noplugins app Building a release Jan Angel and Andre Pang for and advice Small modifications made by Bas and allow and should probably be revised by someone who can actually code in perl However it works for the moment

Definition at line 424 of file osx-packager.pl.

instead of HEAD svnrev<str> build a specified Subversion instead of HEAD svntag<str> build a specified instead of Subversion HEAD nohead don t update to HEAD revision of MythTV before building usehdimage perform build inside of a case sensitive disk image leavehdimage leave disk image mounted on exit enable backend build the backend server as well as the frontend enable jobtools build commflag jobqueue as well as the frontend profile build with compile along with plugins as as a standalone binary package for Mac OS X It was designed for building daily but can also be used to create release builds with the svntag option All intermediate files go into an osx packager directory in the current working directory The finished application is named MythFrontend app and placed in the current working one with plugins and one mythweather mv MythFrontend app MythFrontend plugins app osx packager pl nohead mv MythFrontend app MythFrontend noplugins app Building a release Jan Angel and Andre Pang for and advice Small modifications made by Bas and allow and should probably be revised by someone who can actually code in perl However it works for the and I wanted to share with other mac frontend experimenters

Initial value:

cut

# Parse options
our (%OPT)

Definition at line 426 of file osx-packager.pl.

our $SCRIPTDIR = Cwd::abs_path(Cwd::getcwd())

Definition at line 489 of file osx-packager.pl.

Referenced by if().

mkdir $WORKDIR = "$SCRIPTDIR/.osx-packager"

Definition at line 530 of file osx-packager.pl.

mkdir $PREFIX = "$WORKDIR/build"

Definition at line 543 of file osx-packager.pl.

mkdir $SRCDIR = "$WORKDIR/src"

Definition at line 546 of file osx-packager.pl.

mkdir $SVNDIR = "$SRCDIR/myth-svn"

Definition at line 549 of file osx-packager.pl.

our conf

Initial value:

 (
  'mythplugins'
  =>  [
        '--prefix=' . $PREFIX,
        '--enable-opengl',
        '--disable-mythbrowser',
        '--disable-transcode',
        '--enable-mythgallery',
        '--enable-exif',
        '--enable-new-exif',
        '--disable-mythgame',
        '--disable-mythphone',
        '--disable-mythzoneminder',
      ],
  'myththemes'
  =>  [
        '--prefix=' . $PREFIX,
      ],
  'mythtv'
  =>  [
        '--prefix=' . $PREFIX,
        '--runtime-prefix=../Resources',
        '--enable-libfaad', 
        # To "cross compile" something for a lesser Mac:
        #'--tune=G3',
        #'--disable-altivec',
      ],
)

Definition at line 552 of file osx-packager.pl.

Referenced by VideoOutputDirectfb::Init().

Initial value:

 (
  'mythplugins'
  =>  [
        'distclean',
      ],
)

Definition at line 582 of file osx-packager.pl.

our $svnpath = dirname $svn

Definition at line 592 of file osx-packager.pl.

our $standard_make = '/usr/bin/make'

Definition at line 611 of file osx-packager.pl.

$parallel_make = $standard_make

Definition at line 612 of file osx-packager.pl.

our $parallel_make_flags = ''

Definition at line 613 of file osx-packager.pl.

Referenced by if().

my $cmd = "/usr/bin/hostinfo | grep 'processors\$'"

Definition at line 625 of file osx-packager.pl.

$cpus = `$cmd`

Definition at line 627 of file osx-packager.pl.

Referenced by if().

Definition at line 628 of file osx-packager.pl.

our $MFE = "$SCRIPTDIR/MythFrontend.app"

Definition at line 654 of file osx-packager.pl.

my comps = ('mythtv', @components)

Definition at line 670 of file osx-packager.pl.

Referenced by encode_picture_ls(), and UIKeyboardType::insertChar().

my $svnrepository

Initial value:

 'http:
my @svnrevision   = ()

Definition at line 868 of file osx-packager.pl.

$VERS = ~ s/^.*\-(.*)\.dylib$/$1/s

Definition at line 1045 of file osx-packager.pl.

our bundler = "$SVNDIR/mythtv/contrib/OSX/osx-bundler.pl"

Definition at line 1051 of file osx-packager.pl.

chop $AVCfw

Initial value:

 '/Developer/FireWireSDK*/Examples/' .
            'Framework/AVCVideoServices.framework'

Definition at line 1057 of file osx-packager.pl.

chop AVCfw = split / /

Definition at line 1059 of file osx-packager.pl.

Definition at line 1066 of file osx-packager.pl.

exit

Definition at line 1204 of file osx-packager.pl.


Generated on Sat Jul 31 05:18:24 2010 for MythTV by  doxygen 1.5.5