[packages/brltty] - updated to 6.8

qboosh qboosh at pld-linux.org
Wed Dec 24 11:32:38 CET 2025


commit d357450adbc493f215c91870494a58cb2889c1b3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Dec 24 11:33:03 2025 +0100

    - updated to 6.8

 brltty-speech-dispatcher.patch | 10 ++++------
 brltty.spec                    | 19 +++++++++++++++----
 2 files changed, 19 insertions(+), 10 deletions(-)
---
diff --git a/brltty.spec b/brltty.spec
index 784520d..e5f5175 100644
--- a/brltty.spec
+++ b/brltty.spec
@@ -22,19 +22,19 @@
 %bcond_with	at_spi			# AtSpi screen driver
 %bcond_without	at_spi2			# AtSpi2 screen driver
 
-%define		brlapi_ver	0.8.6
+%define		brlapi_ver	0.8.7
 
 %{?with_java:%{?use_default_jdk}}
 
 Summary:	Braille display driver for Linux/Unix
 Summary(pl.UTF-8):	Sterownik do wyświetlaczy Braille'a
 Name:		brltty
-Version:	6.7
-Release:	4
+Version:	6.8
+Release:	1
 License:	GPL v2+ (brltty and drivers), LGPL v2.1+ (APIs)
 Group:		Daemons
 Source0:	https://brltty.app/archive/%{name}-%{version}.tar.xz
-# Source0-md5:	42298348d3703c7140b88020a36c8c65
+# Source0-md5:	3c50a92e452d06a9c96d20a898a3eddb
 Patch0:		%{name}-sysusers.patch
 Patch1:		%{name}-speech-dispatcher.patch
 Patch4:		%{name}-glibc25.patch
@@ -337,12 +337,20 @@ CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
 
 %if %{with python}
 cd Bindings/Python
+%{__rm} brlapi.auto.c
+%{__make} brlapi.auto.c \
+	CYTHON=cython2 \
+	PYTHON_VERSION=2
 %py_build
 cd ../..
 %endif
 
 %if %{with python3}
 cd Bindings/Python
+%{__rm} brlapi.auto.c
+%{__make} brlapi.auto.c \
+	CYTHON=cython3 \
+	PYTHON_VERSION=3
 %py3_build
 cd ../..
 %endif
@@ -360,6 +368,9 @@ install -d $RPM_BUILD_ROOT/var/lib/brltty
 
 %if %{with python}
 cd Bindings/Python
+# avoid recompiling from cython3-generated source
+touch build-2/temp.*/*.o
+touch build-2/lib.*/*.so
 %py_install
 cd ../..
 %endif
diff --git a/brltty-speech-dispatcher.patch b/brltty-speech-dispatcher.patch
index b27e261..05e0895 100644
--- a/brltty-speech-dispatcher.patch
+++ b/brltty-speech-dispatcher.patch
@@ -1,7 +1,6 @@
-diff -urNp -x '*.orig' brltty-6.1.org/Drivers/Speech/SpeechDispatcher/speech.c brltty-6.1/Drivers/Speech/SpeechDispatcher/speech.c
---- brltty-6.1.org/Drivers/Speech/SpeechDispatcher/speech.c	2020-04-05 12:35:34.000000000 +0200
-+++ brltty-6.1/Drivers/Speech/SpeechDispatcher/speech.c	2021-03-02 22:36:22.260141892 +0100
-@@ -34,7 +34,7 @@ typedef enum {
+--- brltty-6.8/Drivers/Speech/SpeechDispatcher/speech.c.orig	2025-05-25 10:58:25.000000000 +0200
++++ brltty-6.8/Drivers/Speech/SpeechDispatcher/speech.c	2025-12-24 10:15:47.211511605 +0100
+@@ -36,7 +36,7 @@ typedef enum {
  
  #include "spk_driver.h"
  
@@ -9,8 +8,7 @@ diff -urNp -x '*.orig' brltty-6.1.org/Drivers/Speech/SpeechDispatcher/speech.c b
 +#include <speech-dispatcher/libspeechd.h>
  
  static SPDConnection *connectionHandle = NULL;
- static const char *moduleName;
-diff -urNp -x '*.orig' brltty-6.1.org/configure.ac brltty-6.1/configure.ac
+ static unsigned int autospawn;
 --- brltty-6.1.org/configure.ac	2020-04-06 10:12:58.000000000 +0200
 +++ brltty-6.1/configure.ac	2021-03-02 22:36:22.260141892 +0100
 @@ -1847,7 +1847,7 @@ BRLTTY_ARG_DISABLE(
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/brltty.git/commitdiff/d357450adbc493f215c91870494a58cb2889c1b3



More information about the pld-cvs-commit mailing list