[system] / branches / rel-2-4-dev / webwork-modperl / conf / global.conf.dist Repository:
ViewVC logotype

Diff of /branches/rel-2-4-dev/webwork-modperl/conf/global.conf.dist

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 4769 Revision 4843
1#!perl 1#!perl
2################################################################################ 2################################################################################
3# WeBWorK Online Homework Delivery System 3# WeBWorK Online Homework Delivery System
4# Copyright © 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/ 4# Copyright © 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/
5# $CVSHeader: webwork2/conf/global.conf.dist,v 1.183 2007/01/19 21:57:57 sh002i Exp $ 5# $CVSHeader: webwork2/conf/global.conf.dist,v 1.184 2007/02/09 01:12:40 gage Exp $
6# 6#
7# This program is free software; you can redistribute it and/or modify it under 7# This program is free software; you can redistribute it and/or modify it under
8# the terms of either: (a) the GNU General Public License as published by the 8# the terms of either: (a) the GNU General Public License as published by the
9# Free Software Foundation; either version 2, or (at your option) any later 9# Free Software Foundation; either version 2, or (at your option) any later
10# version, or (b) the "Artistic License" which comes with this package. 10# version, or (b) the "Artistic License" which comes with this package.
47################################################################################ 47################################################################################
48# Paths to external programs 48# Paths to external programs
49################################################################################ 49################################################################################
50 50
51# system utilties 51# system utilties
52$externalPrograms{mv} = "/bin/mv";
53$externalPrograms{cp} = "/bin/cp";
54$externalPrograms{rm} = "/bin/rm";
52$externalPrograms{mkdir} = "/bin/mkdir"; 55$externalPrograms{mkdir} = "/bin/mkdir";
53$externalPrograms{mv} = "/bin/mv";
54$externalPrograms{mysql} = "/usr/bin/mysql";
55$externalPrograms{tar} = "/usr/bin/tar"; 56$externalPrograms{tar} = "/usr/bin/tar";
57$externalPrograms{gzip} = "/usr/bin/gzip";
56 58
57# equation rendering/hardcopy utiltiies 59# equation rendering/hardcopy utiltiies
58$externalPrograms{latex} = "/usr/bin/latex"; 60$externalPrograms{latex} = "/usr/bin/latex";
59$externalPrograms{pdflatex} = "/usr/bin/pdflatex --shell-escape"; 61$externalPrograms{pdflatex} = "/usr/bin/pdflatex --shell-escape";
60$externalPrograms{dvipng} = "/usr/bin/dvipng"; 62$externalPrograms{dvipng} = "/usr/bin/dvipng";
61$externalPrograms{tth} = "/usr/bin/tth"; 63$externalPrograms{tth} = "/usr/bin/tth";
62 64
63####################################################
64# NetPBM - basic image manipulation utilities 65# NetPBM - basic image manipulation utilities
65#
66# Most sites only need to configure $netpbm_prefix. 66# Most sites only need to configure $netpbm_prefix.
67####################################################
68my $netpbm_prefix = "/usr/bin"; 67my $netpbm_prefix = "/usr/bin";
69$externalPrograms{giftopnm} = "$netpbm_prefix/giftopnm"; 68$externalPrograms{giftopnm} = "$netpbm_prefix/giftopnm";
70$externalPrograms{ppmtopgm} = "$netpbm_prefix/ppmtopgm"; 69$externalPrograms{ppmtopgm} = "$netpbm_prefix/ppmtopgm";
71$externalPrograms{pnmtops} = "$netpbm_prefix/pnmtops"; 70$externalPrograms{pnmtops} = "$netpbm_prefix/pnmtops";
72$externalPrograms{pnmtopng} = "$netpbm_prefix/pnmtopng"; 71$externalPrograms{pnmtopng} = "$netpbm_prefix/pnmtopng";
75# url checker 74# url checker
76$externalPrograms{checkurl} = "/usr/local/bin/lwp-request -mHEAD "; # or "/usr/local/bin/w3c -head " 75$externalPrograms{checkurl} = "/usr/local/bin/lwp-request -mHEAD "; # or "/usr/local/bin/w3c -head "
77 76
78# image conversions utiltiies 77# image conversions utiltiies
79# the source file is given on stdin, and the output expected on stdout. 78# the source file is given on stdin, and the output expected on stdout.
80#
81# Note on conversions pipelines:
82# we used to use `pnmdepth 1' instead of ppmtopgm as it creates a
83# monochrome image (1 bit) rather than a greyscale image (8 bits).
84# However, this was causing improper display of some sort in PDFs.
85################################################################################
86
87$externalPrograms{gif2eps} = "$externalPrograms{giftopnm} | $externalPrograms{ppmtopgm} | $externalPrograms{pnmtops} -noturn 2>/dev/null"; 79$externalPrograms{gif2eps} = "$externalPrograms{giftopnm} | $externalPrograms{ppmtopgm} | $externalPrograms{pnmtops} -noturn 2>/dev/null";
88$externalPrograms{png2eps} = "$externalPrograms{pngtopnm} | $externalPrograms{ppmtopgm} | $externalPrograms{pnmtops} -noturn 2>/dev/null"; 80$externalPrograms{png2eps} = "$externalPrograms{pngtopnm} | $externalPrograms{ppmtopgm} | $externalPrograms{pnmtops} -noturn 2>/dev/null";
89$externalPrograms{gif2png} = "$externalPrograms{giftopnm} | $externalPrograms{pnmtopng}"; 81$externalPrograms{gif2png} = "$externalPrograms{giftopnm} | $externalPrograms{pnmtopng}";
82
83# mysql clients
84$externalPrograms{mysql} = "/usr/bin/mysql";
85$externalPrograms{mysqldump} = "/usr/bin/mysqldump";
90 86
91################################################################################ 87################################################################################
92# Mail settings 88# Mail settings
93################################################################################ 89################################################################################
94 90

Legend:
Removed from v.4769  
changed lines
  Added in v.4843

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9