Toshaan Bharvani
3 years ago
commit
523aeb461f
6 changed files with 1270 additions and 0 deletions
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
#include <bits/wordsize.h> |
||||
|
||||
#if __WORDSIZE == 32 |
||||
#include "config-32.h" |
||||
#elif __WORDSIZE == 64 |
||||
#include "config-64.h" |
||||
#else |
||||
#error "Unknown word size" |
||||
#endif |
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
#include <bits/wordsize.h> |
||||
|
||||
#if __WORDSIZE == 32 |
||||
#include "forbuild-32.h" |
||||
#elif __WORDSIZE == 64 |
||||
#include "forbuild-64.h" |
||||
#else |
||||
#error "Unknown word size" |
||||
#endif |
@ -0,0 +1,13 @@
@@ -0,0 +1,13 @@
|
||||
diff --git a/Drivers/Speech/SpeechDispatcher/speech.c b/Drivers/Speech/SpeechDispatcher/speech.c |
||||
index cc55007..a2fcc0d 100644 |
||||
--- a/Drivers/Speech/SpeechDispatcher/speech.c |
||||
+++ b/Drivers/Speech/SpeechDispatcher/speech.c |
||||
@@ -35,7 +35,7 @@ typedef enum { |
||||
|
||||
#include "spk_driver.h" |
||||
|
||||
-#include <libspeechd.h> |
||||
+#include <speech-dispatcher/libspeechd.h> |
||||
|
||||
static SPDConnection *connectionHandle = NULL; |
||||
static const char *moduleName; |
@ -0,0 +1,21 @@
@@ -0,0 +1,21 @@
|
||||
diff --git a/Bindings/Java/NativeComponent.java b/Bindings/Java/NativeComponent.java |
||||
index 2e6304a..cf6c9b0 100644 |
||||
--- a/Bindings/Java/NativeComponent.java |
||||
+++ b/Bindings/Java/NativeComponent.java |
||||
@@ -23,7 +23,15 @@ public class NativeComponent extends Component { |
||||
private native static void initializeNativeData (); |
||||
|
||||
static { |
||||
- System.loadLibrary("brlapi_java"); |
||||
+ try { |
||||
+ System.load( "/usr/lib64/brltty/libbrlapi_java.so" ); |
||||
+ } catch( UnsatisfiedLinkError e ) { |
||||
+ try { |
||||
+ System.load( "/usr/lib/brltty/libbrlapi_java.so" ); |
||||
+ } catch( UnsatisfiedLinkError f ) { |
||||
+ throw new UnsatisfiedLinkError("brlapi_java library load failed"); |
||||
+ } |
||||
+ } |
||||
initializeNativeData(); |
||||
} |
||||
|
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
[Unit] |
||||
Description=Braille display driver for Linux/Unix |
||||
Before=getty.target display-manager.service |
||||
|
||||
[Service] |
||||
Type=forking |
||||
ExecStart=/usr/bin/brltty |
||||
|
||||
[Install] |
||||
WantedBy=default.target emergency.target rescue.target |
Loading…
Reference in new issue