Changeset 27963 for other-projects

Show
Ignore:
Timestamp:
02.08.2013 16:02:11 (7 years ago)
Author:
ak19
Message:

Need Max's ghostscript binary with his imagemagick for darwin to convert pdfs to images on macs.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/nightly-tasks/diffcol/trunk/task.pl

    r27962 r27963  
    273273        $cmd = "svn export http://svn.greenstone.org/main/trunk/binaries/mac/intel/imagemagick bin/darwin/imagemagick"; 
    274274        $status = system($cmd); 
     275        if($status != 0) { 
     276            print STDERR "@@@ Unable to get imagemagick for darwin\n"; 
     277        } 
     278 
     279        # need ghostscript mac binary too for pdf to img conversions on mac 
     280        $cmd = "svn export http://svn.greenstone.org/main/trunk/binaries/mac/intel/ghostscript bin/darwin/ghostscript"; 
     281        $status = system($cmd); 
     282        if($status != 0) { 
     283            print STDERR "@@@ Unable to get ghostscript for darwin\n"; 
     284        } 
     285 
     286        # need to set imagemagick and ghostscript binaries to executable 
     287        system("chmod -R u+x $ENV{'DATA_DIR'}/$gsdl/bin/darwin/imagemagick/bin/*"); 
     288        system("chmod -R u+x $ENV{'DATA_DIR'}/$gsdl/bin/darwin/ghostscript/bin/*"); 
    275289    } else { # linux 
    276290        my $extension64 = ($bit_arch =~ m/64$/) ? "-x64" : "";