3
# idjc(_): The program launcher shell script for IDJC
4
# Copyright (C) 2005-2009 Stephen Fairchild
6
# This program is free software; you can redistribute it and/or modify
7
# it under the terms of the GNU General Public License as published by
8
# the Free Software Foundation; either version 2 of the License, or
9
# (at your option) any later version.
11
# This program is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
# GNU General Public License for more details.
16
# You should have received a copy of the GNU General Public License
17
# along with this program; if not, write to the Free Software
18
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20
# These two are set by make
24
# Make JACK sound server start on demand
25
export JACK_START_SERVER="1"
26
# Make vorbiscomment and ogginfo use the UTF-8 character set
27
export CHARSET="UTF-8"
29
export jackd=`which jackd`
30
export vorbiscomment=`which vorbiscomment`
32
# Process the command line arguments turning them into environment variables
35
APP_PROFILE="(unspecified)"
44
echo "Usage: $0 [-vhe] [-p profile] [-j jackserver] [-m microphones] [-a aux inputs] [-s servers] [-t telephony mode]"
45
echo "Try option -h for more info"
48
while getopts "vhep:j:m:a:s:t:" myoption
85
export VERSION_ONLY SHOW_HELP APP_PROFILE JACK_SERVER MICROPHONE AUXILIARY SERVERSTART VOIPMODE EXTRA
89
which $python > /dev/null
90
if [ $? == "0" ] ; then
93
echo "Python interpreter not found. IDJC can not be run without it"