Debian Patches

Status for brltty/6.6-5

Patch Description Author Forwarded Bugs Origin Last update
10-python.patch adjust Makefile to build Python bindings correctly Include Python make fules and add build options. no
40-no-update-pot.patch no
41-java-bytecode-compat.patch Debian and Ubuntu contain multiple JRE implementations .
This patch ensures that the Java bytecode built by this package is
compatible with all versions of Java from 1.8.
James Page <james.page@ubuntu.com> no debian
disable-synth-callback.patch diff --git a/Drivers/Speech/eSpeak/speech.c b/Drivers/Speech/eSpeak/speech.c
index 6c303c759..9b58bc58b 100644
no
cython-3.0 commit e6707d5e094dc36db4319ce4d052a6ad568a5d26

brlapi: Fix python crash on connection error

From Lukáš Tyrychtr:

Cython 3.0 started using the new Python object finalization APIs from PEP 442


This means that __del__ gets called even when raising an exception from
__init__, while it was not before. To cope with both behaviors, we can
set self.h to NULL to determine whether it still exists or not.

Thanks Lukáš Tyrychtr for the investigation and patch draft!

diff --git a/Bindings/Python/brlapi.pyx b/Bindings/Python/brlapi.pyx
index 0136895ea..af62cc9be 100644
Samuel Thibault <samuel.thibault@ens-lyon.org> no 2023-08-15
git-keyrange commit 74d63ddae1ad4160d33e1725cf5fc732f583b555

Revert "brlapi: Simplify keyrange management"

This reverts commit c1996200f4e85d4370a3bb9462c4859790f4a9c3.

In general, we do need to separate out each bit processing. For instance
xbrlapi's request to ignore

.first = BRLAPI_KEY_FLG(ControlMask|Mod1Mask),
.last = BRLAPI_KEY_FLG(ControlMask|Mod1Mask)|~BRLAPI_KEY_FLAGS_MASK,

indeed has to generate 32 intervals to properly accept any flag combination
that is not exactly ControlMask|Mod1Mask.

diff --git a/Programs/brlapi_keyranges.c b/Programs/brlapi_keyranges.c
index f8851696a..8a5a75450 100644
Samuel Thibault <samuel.thibault@ens-lyon.org> no 2023-08-22
git-base-none-quality commit aadd8a93de29fb1d7d47dbe91b815655e76ef5f8

screen: Set quality to low or none for base and no

When e.g. brltty cannot load a screen driver, but can load the BrlAPI
driver, we have to make sure to know that we have a low screen reading
quality, otherwise the BrlAPI driver would consume braille keyboard
events, without being able to do anything about them.

This notably fixes cursor routing and braille panning in Orca when
xbrlapi is installed but the a2 screen driver is not installed.

diff --git a/Programs/scr_base.c b/Programs/scr_base.c
index 23c7e4d1f..de867a7d5 100644
Samuel Thibault <samuel.thibault@ens-lyon.org> no 2023-09-05

All known versions for source package 'brltty'

Links