Compare commits
157 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a577144a3b | ||
|
|
3d29fd3f05 | ||
|
|
e41e3dbd59 | ||
|
|
a80e10a13a | ||
|
|
e72f47fa96 | ||
|
|
b80d83d069 | ||
|
|
232d14db41 | ||
|
|
c1bf7a082d | ||
|
|
39d0ed7491 | ||
|
|
5ad6d5ca5d | ||
|
|
13320e9f86 | ||
|
|
2fa6404ec1 | ||
|
|
bc6bec3c9f | ||
|
|
67993165fe | ||
|
|
fc0224a2fc | ||
|
|
4acadd2bd9 | ||
|
|
f4ebcbda2a | ||
|
|
e0eb2b4517 | ||
|
|
1e8ec0be87 | ||
|
|
3c0d1c7cd9 | ||
|
|
f51e81f5ca | ||
|
|
464a866fca | ||
|
|
d38d4c4352 | ||
|
|
77ccd4e483 | ||
|
|
12003bb333 | ||
|
|
25cf414e1b | ||
|
|
0443cfd174 | ||
|
|
95904b9139 | ||
|
|
887c5f4cc7 | ||
|
|
b4ac46c0b0 | ||
|
|
b9e9ca5584 | ||
|
|
c70db22957 | ||
|
|
d7e4d2766d | ||
|
|
088d011ba3 | ||
|
|
302820f159 | ||
|
|
0e18fd05cb | ||
|
|
269cb02e42 | ||
|
|
669ced9967 | ||
|
|
05077bd6c3 | ||
|
|
ee571d6d47 | ||
|
|
7aab348118 | ||
|
|
da6c95720d | ||
|
|
ac2c526635 | ||
|
|
bc9ce96d56 | ||
|
|
8e17a87947 | ||
|
|
31e78166e4 | ||
|
|
fafd51cc0d | ||
|
|
2fc5eff955 | ||
|
|
181319e7e2 | ||
|
|
395b9638eb | ||
|
|
1c0f85264c | ||
|
|
a75870d50e | ||
|
|
3d875ed07d | ||
|
|
03bc82ea72 | ||
|
|
3fc9264781 | ||
|
|
d1dec50f3c | ||
|
|
99b25bcaeb | ||
|
|
7fecff4297 | ||
|
|
ff62c38c97 | ||
|
|
67c232b34c | ||
|
|
9140180aae | ||
|
|
9b34e7e395 | ||
|
|
d9e6be4574 | ||
|
|
6273750210 | ||
|
|
bf520544e2 | ||
|
|
025861edcf | ||
|
|
9cd576f96b | ||
|
|
24da57f0ed | ||
|
|
31c2d65286 | ||
|
|
e83eee0d95 | ||
|
|
c64e069f8d | ||
|
|
18edea1239 | ||
|
|
0b21674243 | ||
|
|
fd37f4ef2a | ||
|
|
66b5dcfc7f | ||
|
|
d1781c0afc | ||
|
|
48fd0b421d | ||
|
|
0480116dfe | ||
|
|
387902cb8d | ||
|
|
ce8b3f67c1 | ||
|
|
97c8620483 | ||
|
|
9bbed4233b | ||
|
|
4ab95f19e4 | ||
|
|
b952485c37 | ||
|
|
66fe0b96e8 | ||
|
|
0d4c36beb2 | ||
|
|
bdffcfe027 | ||
|
|
1aef6309eb | ||
|
|
91e6eb2ea4 | ||
|
|
63ebfc42d1 | ||
|
|
6d92a84d33 | ||
|
|
5648ca5a78 | ||
|
|
f8934b7c37 | ||
|
|
6f98324997 | ||
|
|
5d7a90b4f8 | ||
|
|
087cf5365c | ||
|
|
3b8b97863a | ||
|
|
0ffa6042f8 | ||
|
|
2d1c7a6155 | ||
|
|
a8de6a8e3d | ||
|
|
8601753555 | ||
|
|
2dbc1ef3f0 | ||
|
|
affd535184 | ||
|
|
b4da9d1e90 | ||
|
|
5a05c465e0 | ||
|
|
a552b05701 | ||
|
|
fb83b72f44 | ||
|
|
62dd8e3b4c | ||
|
|
586951fd19 | ||
|
|
897ad85a69 | ||
|
|
d6448fb8d2 | ||
|
|
27ad075896 | ||
|
|
a4fcab7c43 | ||
|
|
f6038c4794 |
||
|
|
52dfc3db3a | ||
|
|
a9ca3736dc | ||
|
|
cf9159da50 | ||
|
|
281f6b7568 | ||
|
|
b19c3d962d | ||
|
|
18fd5df803 | ||
|
|
dd719f2d0e | ||
|
|
a64255974b | ||
|
|
b92fd133cd | ||
|
|
c0128535a2 | ||
|
|
786e38423f | ||
|
|
4222e836e6 | ||
|
|
18d2682da3 | ||
|
|
e9a26eff81 | ||
|
|
1b13628cc0 | ||
|
|
1e04762a8a | ||
|
|
0d114cc83b | ||
|
|
8a05954cdf | ||
|
|
5f009fa9a6 | ||
|
|
a4704d6cc9 | ||
|
|
008619e341 | ||
|
|
c8fb8ab871 | ||
|
|
fd3f81839f | ||
|
|
1b08bec412 | ||
|
|
e338b007cb | ||
|
|
d1dfa2c6db | ||
|
|
bbd11dcc78 | ||
|
|
08856a3a47 | ||
|
|
86624e877d | ||
|
|
859c30f8fe | ||
|
|
04792bcea2 | ||
|
|
45bfd205aa | ||
|
|
67fa97252d | ||
|
|
d01cd09355 | ||
|
|
255c83021f | ||
|
|
7ab3214621 | ||
|
|
b61d907164 | ||
|
|
89acc4a854 | ||
|
|
8b6808e8cf | ||
|
|
2b1a65a6aa | ||
|
|
f27e5a7e38 | ||
|
|
37841c06f0 | ||
|
|
fd2106741b |
18 changed files with 1007 additions and 166 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
11
.gitignore
vendored
11
.gitignore
vendored
|
|
@ -1,10 +1 @@
|
|||
brltty-4.2.tar.gz
|
||||
/brltty-4.3.tar.gz
|
||||
/brltty-4.5.tar.gz
|
||||
/brltty-5.0.tar.xz
|
||||
/brltty-5.1.tar.xz
|
||||
/brltty-5.2.tar.xz
|
||||
/brltty-5.3.tar.xz
|
||||
/brltty-5.3.1.tar.xz
|
||||
/brltty-5.4.tar.xz
|
||||
/brltty-5.5.tar.xz
|
||||
/brltty-*.tar.xz
|
||||
|
|
|
|||
9
brlapi-config.h
Normal file
9
brlapi-config.h
Normal file
|
|
@ -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
|
||||
9
brlapi-forbuild.h
Normal file
9
brlapi-forbuild.h
Normal file
|
|
@ -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
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
diff --git a/Drivers/Speech/SpeechDispatcher/speech.c b/Drivers/Speech/SpeechDispatcher/speech.c
|
||||
index d73250a..df92708 100644
|
||||
--- a/Drivers/Speech/SpeechDispatcher/speech.c
|
||||
+++ b/Drivers/Speech/SpeechDispatcher/speech.c
|
||||
@@ -34,7 +34,7 @@ typedef enum {
|
||||
|
||||
#include "spk_driver.h"
|
||||
|
||||
-#include <libspeechd.h>
|
||||
+#include <speech-dispatcher/libspeechd.h>
|
||||
|
||||
static SPDConnection *connectionHandle = NULL;
|
||||
static const char *moduleName;
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
diff --git a/Bindings/Java/Native.java b/Bindings/Java/Native.java
|
||||
index 8a3b003..c404bf2 100644
|
||||
--- a/Bindings/Java/Native.java
|
||||
+++ b/Bindings/Java/Native.java
|
||||
@@ -21,7 +21,15 @@ package org.a11y.BrlAPI;
|
||||
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 ();
|
||||
|
||||
public class Native {
|
||||
static {
|
||||
- System.loadLibrary("brlapi_java");
|
||||
+ try {
|
||||
|
|
@ -15,7 +15,7 @@ index 8a3b003..c404bf2 100644
|
|||
+ } catch( UnsatisfiedLinkError f ) {
|
||||
+ throw new UnsatisfiedLinkError("brlapi_java library load failed");
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
initializeNativeData();
|
||||
}
|
||||
|
||||
protected long handle;
|
||||
11
brltty-6.8-libspeechd.patch
Normal file
11
brltty-6.8-libspeechd.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- a/Drivers/Speech/SpeechDispatcher/speech.c~ 2025-05-25 03:58:25.000000000 -0500
|
||||
+++ b/Drivers/Speech/SpeechDispatcher/speech.c 2025-07-07 08:58:19.519919859 -0500
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
#include "spk_driver.h"
|
||||
|
||||
-#include <libspeechd.h>
|
||||
+#include <speech-dispatcher/libspeechd.h>
|
||||
|
||||
static SPDConnection *connectionHandle = NULL;
|
||||
static unsigned int autospawn;
|
||||
|
|
@ -1,9 +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=multi-user.target
|
||||
WantedBy=default.target emergency.target rescue.target
|
||||
|
|
|
|||
944
brltty.spec
944
brltty.spec
File diff suppressed because it is too large
Load diff
2
brltty.sysusers
Normal file
2
brltty.sysusers
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#Type Name ID GECOS Home directory Shell
|
||||
g brlapi -
|
||||
5
plans.fmf
Normal file
5
plans.fmf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
summary: Run all smoke tests
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (brltty-5.5.tar.xz) = fccf28c92254154e76b570044f6b89b92c01ccfdb3afaf093f9e760ca788b0e1d386434e5b7727c6b983e415cc0b2e5c42e50eb3547e7e05c0e3eb2b9e1c50b4
|
||||
SHA512 (brltty-6.8.tar.xz) = 08540cdf09eaa1caabd8400cb6e589f99f5f2b8aaaf8c031e5165e9b0605858e90dc9dd72f2095347f4860714214ecf184e3675422df880f1bf06bb4cc6f42ee
|
||||
|
|
|
|||
0
tests/README.rst
Normal file
0
tests/README.rst
Normal file
2
tests/main.fmf
Normal file
2
tests/main.fmf
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
summary: Smoke test
|
||||
test: ./run_tests.sh
|
||||
4
tests/run_tests.sh
Normal file
4
tests/run_tests.sh
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
pushd sanity-test || exit
|
||||
./runtest.sh
|
||||
popd || exit
|
||||
64
tests/sanity-test/Makefile
Normal file
64
tests/sanity-test/Makefile
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Makefile of /CoreOS/brltty/Sanity/sanity-test
|
||||
# Description: it check basic sanity of packahe
|
||||
# Author: Jan Scotka <jscotka@redhat.com>
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Copyright (c) 2016 Red Hat, Inc.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing
|
||||
# to use, modify, copy, or redistribute it subject to the terms
|
||||
# and conditions of the GNU General Public License version 2.
|
||||
#
|
||||
# This program is distributed in the hope that it will be
|
||||
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
# PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public
|
||||
# License along with this program; if not, write to the Free
|
||||
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
export TEST=/CoreOS/brltty/Sanity/sanity-test
|
||||
export TESTVERSION=1.0
|
||||
|
||||
BUILT_FILES=
|
||||
|
||||
FILES=$(METADATA) runtest.sh Makefile PURPOSE
|
||||
|
||||
.PHONY: all install download clean
|
||||
|
||||
run: $(FILES) build
|
||||
./runtest.sh
|
||||
|
||||
build: $(BUILT_FILES)
|
||||
test -x runtest.sh || chmod a+x runtest.sh
|
||||
|
||||
clean:
|
||||
rm -f *~ $(BUILT_FILES)
|
||||
|
||||
|
||||
include /usr/share/rhts/lib/rhts-make.include
|
||||
|
||||
$(METADATA): Makefile
|
||||
@echo "Owner: Jan Scotka <jscotka@redhat.com>" > $(METADATA)
|
||||
@echo "Name: $(TEST)" >> $(METADATA)
|
||||
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
||||
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
||||
@echo "Description: it check basic sanity of packahe" >> $(METADATA)
|
||||
@echo "Type: Sanity" >> $(METADATA)
|
||||
@echo "TestTime: 20m" >> $(METADATA)
|
||||
@echo "RunFor: brltty" >> $(METADATA)
|
||||
@echo "Requires: brltty Xvfb ImageMagick psmisc xorg-x11-utils nc orca" >> $(METADATA)
|
||||
@echo "Priority: Normal" >> $(METADATA)
|
||||
@echo "License: GPLv2" >> $(METADATA)
|
||||
@echo "Confidential: no" >> $(METADATA)
|
||||
@echo "Destructive: no" >> $(METADATA)
|
||||
@echo "Releases: -RHEL4 -RHELClient5 -RHELServer5" >> $(METADATA)
|
||||
|
||||
rhts-lint $(METADATA)
|
||||
3
tests/sanity-test/PURPOSE
Normal file
3
tests/sanity-test/PURPOSE
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
PURPOSE of /CoreOS/brltty/Sanity/sanity-test
|
||||
Description: it check basic sanity of packahe
|
||||
Author: Jan Scotka <jscotka@redhat.com>
|
||||
74
tests/sanity-test/runtest.sh
Executable file
74
tests/sanity-test/runtest.sh
Executable file
|
|
@ -0,0 +1,74 @@
|
|||
#!/bin/bash
|
||||
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# runtest.sh of /CoreOS/brltty/Sanity/sanity-test
|
||||
# Description: it check basic sanity of packahe
|
||||
# Author: Jan Scotka <jscotka@redhat.com>
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Copyright (c) 2016 Red Hat, Inc.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing
|
||||
# to use, modify, copy, or redistribute it subject to the terms
|
||||
# and conditions of the GNU General Public License version 2.
|
||||
#
|
||||
# This program is distributed in the hope that it will be
|
||||
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
# PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public
|
||||
# License along with this program; if not, write to the Free
|
||||
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
# Include Beaker environment
|
||||
. /usr/bin/rhts-environment.sh || exit 1
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
PACKAGE="brltty"
|
||||
DISPLAY=99
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
rlAssertRpm $PACKAGE
|
||||
rlRun "Xvfb :$DISPLAY -screen 0 1024x768x24&"
|
||||
rlRun "sleep 5"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest
|
||||
rlRun "DISPLAY=:$DISPLAY orca&"
|
||||
rlRun "sleep 5"
|
||||
rlRun "sleep 5"
|
||||
rlRun "DISPLAY=:$DISPLAY brltty -b xw -x a2 -A auth=none"
|
||||
rlRun "sleep 5"
|
||||
rlRun "BRPID=`pidof brltty`"
|
||||
rlRun "cat /proc/$BRPID/cmdline"
|
||||
rlRun "DISPLAY=:$DISPLAY import -window root example.png"
|
||||
rlRun "DISPLAY=:$DISPLAY xwininfo -tree -root"
|
||||
#rlRun "DISPLAY=:$DISPLAY xwininfo -tree -root| grep -A 2 children |grep brltty"
|
||||
#rlRun "DISPLAY=:$DISPLAY xwininfo -tree -root|grep +664+36"
|
||||
rlRun "killall brltty"
|
||||
rlRun "sleep 5"
|
||||
rlRun "DISPLAY=:$DISPLAY brltty -b vr -d server:127.0.0.1 -x a2 -A auth=none"
|
||||
rlRun "sleep 5"
|
||||
rlRun "echo cells 20 | ncat 127.0.0.1 35752 |grep 'Visual \"BRLTTY'"
|
||||
rlRun "echo cells 20 | ncat 127.0.0.1 35752 |grep '127.12357.1237.23457.23457.134567'"
|
||||
rlRun "echo quit | ncat 127.0.0.1 35752"
|
||||
rlRun "sleep 2"
|
||||
rlRun "test -x /usr/bin/brltty-config"
|
||||
rlRun "brltty-config"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartCleanup
|
||||
rlRun "killall brltty"
|
||||
rlRun "killall Xvfb"
|
||||
rlFileSubmit example.png
|
||||
rlPhaseEnd
|
||||
rlJournalPrintText
|
||||
rlJournalEnd
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue