summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rwxr-xr-xextra/source/brltty/brltty.SlackBuild4
-rw-r--r--extra/source/brltty/brltty.brlapi.pyx.diff11
-rwxr-xr-xextra/source/brltty/dump.dos.windows.android.stuff.sh (renamed from extra/source/brltty/dump.dos.windows.stuff.sh)10
3 files changed, 9 insertions, 16 deletions
diff --git a/extra/source/brltty/brltty.SlackBuild b/extra/source/brltty/brltty.SlackBuild
index 7b6519c3..86c3e472 100755
--- a/extra/source/brltty/brltty.SlackBuild
+++ b/extra/source/brltty/brltty.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Copyright 2010, 2012, 2013, 2016, 2017, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2010, 2012, 2013, 2016, 2017, 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -67,8 +67,6 @@ rm -rf brltty-$VERSION
tar xvf $CWD/brltty-$VERSION.tar.?z || exit 1
cd brltty-$VERSION || exit 1
-zcat $CWD/brltty.brlapi.pyx.diff.gz | patch -p1 --verbose || exit 1
-
sh autogen
chown -R root:root .
diff --git a/extra/source/brltty/brltty.brlapi.pyx.diff b/extra/source/brltty/brltty.brlapi.pyx.diff
deleted file mode 100644
index be58ca6c..00000000
--- a/extra/source/brltty/brltty.brlapi.pyx.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./Bindings/Python/brlapi.pyx.orig 2013-04-01 15:37:26.000000000 -0500
-+++ ./Bindings/Python/brlapi.pyx 2013-09-09 18:01:39.196869555 -0500
-@@ -497,7 +497,7 @@
- if (type(dots) == unicode):
- dots = dots.encode('latin1')
- if (len(dots) < dispSize):
-- dots = dots + b"".center(dispSize - len(dots), '\0')
-+ dots = dots + "".center(dispSize - len(dots), '\0')
- c_dots = dots
- c_udots = <unsigned char *>c_dots
- c_brlapi.Py_BEGIN_ALLOW_THREADS
diff --git a/extra/source/brltty/dump.dos.windows.stuff.sh b/extra/source/brltty/dump.dos.windows.android.stuff.sh
index 0d94beec..9b64f678 100755
--- a/extra/source/brltty/dump.dos.windows.stuff.sh
+++ b/extra/source/brltty/dump.dos.windows.android.stuff.sh
@@ -5,10 +5,16 @@ VERSION=${VERSION:-$(echo brltty-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d
tar xf brltty-${VERSION}.tar.xz || exit 1
mv brltty-${VERSION}.tar.xz brltty-${VERSION}.tar.xz.orig
+rm brltty-${VERSION}/Android/Application/assets/UBraille.ttf
+rm brltty-${VERSION}/Android/Application/libs/support-v4-19.1.0.jar
+rm -r brltty-${VERSION}/Android/Application/src/*
+rm -r brltty-${VERSION}/Android/Application/res/*
+rm -r brltty-${VERSION}/Android/Core/res/*
+rm -r brltty-${VERSION}/Android/Core/src/*
rm -r brltty-${VERSION}/DOS
rm -r brltty-${VERSION}/Windows
tar cf brltty-${VERSION}.tar brltty-${VERSION}
rm -r brltty-${VERSION}
-xz -9 brltty-${VERSION}.tar
-touch -r brltty-${VERSION}.tar.xz.orig brltty-${VERSION}.tar.xz
+plzip -9 brltty-${VERSION}.tar
+touch -r brltty-${VERSION}.tar.xz.orig brltty-${VERSION}.tar.lz
rm brltty-${VERSION}.tar.xz.orig