fix check-dependencies.py

This commit is contained in:
Chrys 2020-03-03 21:56:44 +01:00
parent b4e6b50530
commit 3d93dcbd98

View File

@ -6,7 +6,7 @@ import os, sys
# speech: speech-dispatcher # speech: speech-dispatcher
# sound: sox # sound: sox
# braille: brltty: # braille: brltty:
defaultInstallation = ['FenrirCore','vcsaDriver','brlapiDriver','evdevDriver','genericDriver (speech)', 'genericDriver (sound)'] defaultInstallation = ['FenrirCore','vcsaDriver','dummyDriver (braille)','evdevDriver','genericDriver (speech)', 'genericDriver (sound)']
currentInstallation = [] currentInstallation = []
print('checking dependencys...') print('checking dependencys...')
@ -34,6 +34,10 @@ if available:
# SCREEN # SCREEN
print('--------------------') print('--------------------')
print('screen driver') print('screen driver')
# dummy and debug
print('dummyDriver (screen): OK')
currentInstallation.append('dummyDriver (screen)')
# VCSA (screen driver) # VCSA (screen driver)
print('vcsaDriver') print('vcsaDriver')
available = True available = True
@ -66,6 +70,11 @@ if available:
# BRAILLE # BRAILLE
print('--------------------') print('--------------------')
print('braille driver') 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) # brltty (braille driver)
print('brlapiDriver') print('brlapiDriver')
available = True available = True
@ -81,6 +90,11 @@ if available:
# INPUT # INPUT
print('--------------------') print('--------------------')
print('input driver') 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) # evdev (input driver)
print('evdevDriver') print('evdevDriver')
available = True available = True
@ -114,6 +128,11 @@ if available:
# SOUND # SOUND
print('--------------------') print('--------------------')
print('sound driver') 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)') print('genericDriver (uses sox by default)')
available = True available = True
if os.path.exists('/usr/bin/play') and os.path.exists('/usr/bin/sox'): if os.path.exists('/usr/bin/play') and os.path.exists('/usr/bin/sox'):
@ -152,6 +171,11 @@ if available:
# SPEECH # SPEECH
print('--------------------') print('--------------------')
print('speech driver') 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) # speechd (speech driver)
print('speechdDriver') print('speechdDriver')
available = True available = True