fix check-dependencies.py
This commit is contained in:
parent
b4e6b50530
commit
3d93dcbd98
@ -6,7 +6,7 @@ import os, sys
|
||||
# speech: speech-dispatcher
|
||||
# sound: sox
|
||||
# braille: brltty:
|
||||
defaultInstallation = ['FenrirCore','vcsaDriver','brlapiDriver','evdevDriver','genericDriver (speech)', 'genericDriver (sound)']
|
||||
defaultInstallation = ['FenrirCore','vcsaDriver','dummyDriver (braille)','evdevDriver','genericDriver (speech)', 'genericDriver (sound)']
|
||||
currentInstallation = []
|
||||
|
||||
print('checking dependencys...')
|
||||
@ -34,6 +34,10 @@ if available:
|
||||
# SCREEN
|
||||
print('--------------------')
|
||||
print('screen driver')
|
||||
# dummy and debug
|
||||
print('dummyDriver (screen): OK')
|
||||
currentInstallation.append('dummyDriver (screen)')
|
||||
|
||||
# VCSA (screen driver)
|
||||
print('vcsaDriver')
|
||||
available = True
|
||||
@ -66,6 +70,11 @@ if available:
|
||||
# BRAILLE
|
||||
print('--------------------')
|
||||
print('braille driver')
|
||||
# dummy and debug
|
||||
print('dummyDriver (braille): OK')
|
||||
currentInstallation.append('dummyDriver (braille)')
|
||||
print('debugDriver (braille): OK')
|
||||
currentInstallation.append('debugDriver (braille)')
|
||||
# brltty (braille driver)
|
||||
print('brlapiDriver')
|
||||
available = True
|
||||
@ -81,6 +90,11 @@ if available:
|
||||
# INPUT
|
||||
print('--------------------')
|
||||
print('input driver')
|
||||
# dummy and debug
|
||||
print('dummyDriver (input): OK')
|
||||
currentInstallation.append('dummyDriver (input)')
|
||||
print('debugDriver (input): OK')
|
||||
currentInstallation.append('debugDriver (input)')
|
||||
# evdev (input driver)
|
||||
print('evdevDriver')
|
||||
available = True
|
||||
@ -114,6 +128,11 @@ if available:
|
||||
# SOUND
|
||||
print('--------------------')
|
||||
print('sound driver')
|
||||
# dummy and debug
|
||||
print('dummyDriver (sound): OK')
|
||||
currentInstallation.append('dummyDriver (sound)')
|
||||
print('debugDriver (sound): OK')
|
||||
currentInstallation.append('debugDriver (sound)')
|
||||
print('genericDriver (uses sox by default)')
|
||||
available = True
|
||||
if os.path.exists('/usr/bin/play') and os.path.exists('/usr/bin/sox'):
|
||||
@ -152,6 +171,11 @@ if available:
|
||||
# SPEECH
|
||||
print('--------------------')
|
||||
print('speech driver')
|
||||
# dummy and debug
|
||||
print('dummyDriver (speech): OK')
|
||||
currentInstallation.append('dummyDriver (speech)')
|
||||
print('debugDriver (speech): OK')
|
||||
currentInstallation.append('debugDriver (speech)')
|
||||
# speechd (speech driver)
|
||||
print('speechdDriver')
|
||||
available = True
|
||||
|
Loading…
Reference in New Issue
Block a user