Ticket #3658: oskpkg2.diff

File oskpkg2.diff, 2.3 KB (added by gnassas@…, 13 years ago)

noticed the libcss link is dead, updated patch to d/l from videolan.org

  • mythtv/contrib/OSX/osx-packager.pl

     
    3232#$ENV{'DISTCC_HOSTS'}   = "localhost 192.168.0.6";
    3333#$ENV{'DISTCC_VERBOSE'} = '1';
    3434
    35 # For faster downloads, change this to a local mirror.
     35# Start with a generic address and let sourceforge
     36# figure out which mirror is closest to us.
    3637#
    37 our $sourceforge = 'http://umn.dl.sourceforge.net';
     38our $sourceforge = 'http://downloads.sourceforge.net';
    3839
    3940# At the moment, there is mythtv plus these two
    4041our @components = ( 'myththemes', 'mythplugins' );
     
    174175  =>
    175176  {
    176177    'url'
    177     =>  'ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/libdvdcss-1.2.9.tar.bz2',
     178    =>  'http://download.videolan.org/pub/videolan/libdvdcss/1.2.9/libdvdcss-1.2.9.tar.bz2',
    178179  },
    179180
    180181  'mysqlclient'
     
    303304   -svntag <str>    build a specified release, instead of Subversion HEAD
    304305   -nohead          don't update to HEAD revision of MythTV before building
    305306   -usehdimage      perform build inside of a case-sensitive disk image
     307   -leavehdimage    leave disk image mounted on exit
    306308   -enable-backend  build the backend server as well as the frontend
    307309   -enable-jobtools build commflag/jobqueue  as well as the frontend
    308310   -plugins <str>   comma-separated list of plugins to include
     
    373375                         'nocvs', # This is obsolete, but should stay a while
    374376                         'nohead',
    375377                         'usehdimage',
     378                         'leavehdimage',
    376379                         'enable-backend',
    377380                         'enable-jobtools',
    378381                         'plugins=s',
     
    603606  unless (-e $filename)
    604607  {
    605608    &Verbose("Downloading $sw");
    606     unless (&Syscall([ '/usr/bin/curl', $url, '>', $filename ],
     609    unless (&Syscall([ '/usr/bin/curl', '-L', $url, '>', $filename ],
    607610                     'munge' => 1))
    608611    {
    609612      &Syscall([ '/bin/rm', $filename ]) if (-e $filename);
     
    10471050  }
    10481051}
    10491052
    1050 if ($OPT{usehdimage})
     1053if ($OPT{usehdimage} && !$OPT{leavehdimage})
    10511054{
    10521055    Verbose("Dismounting case-sensitive build device");
    10531056    UnmountHDImage();