On Thu, Feb 6, 2025 at 7:09 PM Dave Mielke <[email protected]> wrote:
>
> [quoted lines by Jaroslav Škarvada on 2025/02/03 at 19:20 +0100]
>
> >there is Tcl 9.0 stable released. Is support for it planned in brltty?
>
> Are you seeing something abuot it that isn't working correctly? If tclsh is 
> pointing to the right shell and if pkg-config reports the right version then 
> I'd think it should be working.
>
There are multiple problems preventing it from building with Tcl-9.0.
Initially Tcl requires UTF-8, but it seems there are some sources with
old latin-9 encoding which results in the following build error:
error reading "file5": invalid or incomplete multibyte or wide character
    while executing
"gets $stream line"
    (procedure "getDependencies" line 13)
    invoked from within
"getDependencies $path"
    (procedure "getDependencies" line 35)
    invoked from within
"getDependencies $sourceFile"
    ("foreach" body line 6)
    invoked from within
"foreach sourceFile [glob -nocomplain [file join $buildDirectory
"*.$sourceExtensionsGlob"]] {
      regsub {^(\./)+} $sourceFile {} sourceFile
      i..."
    ("foreach" body line 2)
    invoked from within
"foreach buildDirectory [set buildDirectories [getBuildDirectories]] {
   foreach sourceFile [glob -nocomplain [file join $buildDirectory
"*.$sourceExt..."
    (file "Tools/gendeps" line 158)

This is trivial to fix, patch converting it to UTF-8 is attached. But
there are more problems, at least the code in bindings.c will require
porting e.g.:
./bindings.c:83:3: error: implicit declaration of function
‘Tcl_AppendStringsToObjVA’; did you mean ‘Tcl_AppendStringsToObj’?
[-Wimplicit-function-declaration]

But there may be more, because Tcl-9 has quite a lot of incompatible changes.

Full build log:
https://kojipkgs.fedoraproject.org//work/tasks/9643/129099643/build.log

thanks & regards

Jaroslav
diff --git a/Drivers/Braille/BrailleLite/README b/Drivers/Braille/BrailleLite/README
index 80c341b..73cc290 100644
--- a/Drivers/Braille/BrailleLite/README
+++ b/Drivers/Braille/BrailleLite/README
@@ -4,7 +4,7 @@ This is a beta driver for the Blazie Engineering Braille Lite.
 written by Nikhil Nair,
 with additions from Nicolas Pitre <[email protected]>
 and Pete De Vasto,
-further modifications by Stéphane Doyon <[email protected]>,
+further modifications by Stéphane Doyon <[email protected]>,
     starting August 2001.
 
 Both BrailleLite 18 and 40 should work, and there is now code that should
@@ -27,44 +27,44 @@ when the unit is in its internal notetaker mode.
 See help.src for a description of the key bindings.
 
 History:
-Stéphane Doyon, April 2002, version 0.5.10:
+Stéphane Doyon, April 2002, version 0.5.10:
 -Act as if kbemu was off in any context other than CMDS_SCREEN (in
     particular typing a key won't throw you out of preferences menu
     anymore).
-Stéphane Doyon, March 2002, version 0.5.9:
+Stéphane Doyon, March 2002, version 0.5.9:
 -Added "kbemu" driver parameter, so can start with kbemu already active.
-Stéphane Doyon, February 2002, version 0.5.8:
+Stéphane Doyon, February 2002, version 0.5.8:
 -Added CMD_LEARN, CMD_NXPROMPT/CMD_PRPROMPT and CMD_SIXDOTS. Several
     VAL_PASSKEY effects were done through special cases: moved them
     back into cmdtrans. Identified special/reserved and free bindings.
     Cleaned out some #if 0s.
-Stéphane Doyon, January 2002, version 0.5.7:
+Stéphane Doyon, January 2002, version 0.5.7:
 -Added bindings for CR_CUTAPPEND and CR_CUTLINE. Replaced CMD_CUT_BEG,
     CMD_CUT_END and CMD_CSRJMP by CR_ equivalents. Added CR_SETMARK and
     CR_GOTOMARK. These are a bit nasty: they reuse existing command dot
     patterns from within o-chord. Well practically all the patterns are
     taken!
-Stéphane Doyon, January 2002, version 0.5.6:
+Stéphane Doyon, January 2002, version 0.5.6:
 -Fixed dot combinations with dots 7-8 on BL40 (for typing caps and ctrl).
-Stéphane Doyon, December 2001, version 0.5.5:
+Stéphane Doyon, December 2001, version 0.5.5:
 -META is back. Now use VPC modifiers on VALPASSCHAR when TEXTTRANS
     not defined. Fixed uppercase that always locked active. Sub-commands
     of 35-chord no longer need to be chorded.
-Stéphane Doyon, November 2001, version 0.5.4:
+Stéphane Doyon, November 2001, version 0.5.4:
 -Now using new generic VAL_PASS* mechanism for typing in keys, rather
     than having the driver itself insert stuff into the console. We
     no longer have the META function though, but we have ESCAPE.
-Stéphane Doyon and Dave Mielke, September 2001, version 0.5.3:
+Stéphane Doyon and Dave Mielke, September 2001, version 0.5.3:
 -closebrl: don't clear display, use TCSADRAIN.
 -Slight API and name changes for BRLTTY 3.0. Commands can no longer be
     assumed to be chars, changed type of cmdtrans.
 -Fixed binding for switching virtual terminal with o-chord... it was wrong.
-Stéphane Doyon, September 2001, version 0.5.2:
+Stéphane Doyon, September 2001, version 0.5.2:
 -Added baudrate parameter. Fixed up initialization, in particular a bug
     with use of qbase buffer unitialized.
-Stéphane Doyon, September 2001, version 0.5.1:
+Stéphane Doyon, September 2001, version 0.5.1:
 -Added bindings for CMD_BACK and CR_MSGATTRIB.
-Stéphane Doyon, August 2001
+Stéphane Doyon, August 2001
 -Added a version number, as many people have been playing with this
    driver. Arbitrarily started at 0.5.
 -Made the help more compact, and remove the duplication of the key
diff --git a/Drivers/Braille/BrailleLite/braille.c b/Drivers/Braille/BrailleLite/braille.c
index 522f573..ca1d05a 100644
--- a/Drivers/Braille/BrailleLite/braille.c
+++ b/Drivers/Braille/BrailleLite/braille.c
@@ -21,7 +21,7 @@
  * Author: Nikhil Nair <[email protected]>
  * Copyright (C) 1998 by Nikhil Nair.
  * Some additions by: Nicolas Pitre <[email protected]>
- * Some modifications copyright 2001 by Stéphane Doyon <[email protected]>.
+ * Some modifications copyright 2001 by Stéphane Doyon <[email protected]>.
  * Some additions by: Dave Mielke <[email protected]>
  */
 
diff --git a/Drivers/Braille/Libbraille/Makefile.in b/Drivers/Braille/Libbraille/Makefile.in
index f9770db..e563c39 100644
--- a/Drivers/Braille/Libbraille/Makefile.in
+++ b/Drivers/Braille/Libbraille/Makefile.in
@@ -20,7 +20,7 @@ DRIVER_CODE = lb
 DRIVER_NAME = Libbraille
 DRIVER_USAGE = Libbraille
 DRIVER_VERSION = 
-DRIVER_DEVELOPERS = Sébastien Sablé <[email protected]>
+DRIVER_DEVELOPERS = Sébastien Sablé <[email protected]>
 BRL_OBJS = @braille_libraries_lb@
 include $(SRC_TOP)braille.mk
 
diff --git a/Drivers/Braille/LogText/README b/Drivers/Braille/LogText/README
index 74615f7..f035e93 100644
--- a/Drivers/Braille/LogText/README
+++ b/Drivers/Braille/LogText/README
@@ -1,7 +1,7 @@
 This directory contains the BRLTTY driver for the LogText, which is
 manufactured by Tactilog of Denmark. It was implemented, and is being
 maintained, by Dave Mielke <[email protected]>. Thanks to Hans Schou
-<[email protected]> for his help and advice, and to Thomas Sørensen
+<[email protected]> for his help and advice, and to Thomas Sørensen
 <[email protected]> for testing. As a component of BRLTTY, this driver
 is released under the terms of the GNU Public License.
 
diff --git a/Drivers/Braille/MDV/README b/Drivers/Braille/MDV/README
index b252b48..8ac5705 100644
--- a/Drivers/Braille/MDV/README
+++ b/Drivers/Braille/MDV/README
@@ -1,6 +1,6 @@
 Braille display driver for MDV displays
 
-Written by Stéphane Doyon ([email protected]) in collaboration with
+Written by Stéphane Doyon ([email protected]) in collaboration with
 Simone Dal Maso <[email protected]>.
 
 This is version 0.8 (August 2000) of this driver.
diff --git a/Drivers/Braille/Papenmeier/braille.c b/Drivers/Braille/Papenmeier/braille.c
index 2a28976..2248ca8 100644
--- a/Drivers/Braille/Papenmeier/braille.c
+++ b/Drivers/Braille/Papenmeier/braille.c
@@ -17,21 +17,21 @@
  */
 
 /* This Driver was written as a project in the
- *   HTL W1, Abteilung Elektrotechnik, Wien - Österreich
+ *   HTL W1, Abteilung Elektrotechnik, Wien - Österreich
  *   (Technical High School, Department for electrical engineering,
  *     Vienna, Austria)  http://www.ee.htlw16.ac.at
  *  by
  *   Tibor Becker
  *   Michael Burger
  *   Herbert Gruber
- *   Heimo Schön
+ *   Heimo Schön
  * Teacher:
- *   August Hörandl <[email protected]>
+ *   August Hörandl <[email protected]>
  */
 /*
  * Support for all Papenmeier Terminal + config file
- *   Heimo.Schön <[email protected]>
- *   August Hörandl <[email protected]>
+ *   Heimo.Schön <[email protected]>
+ *   August Hörandl <[email protected]>
  */
 
 #include "prologue.h"
diff --git a/Drivers/Braille/TSI/README b/Drivers/Braille/TSI/README
index eebeb07..5d6a760 100644
--- a/Drivers/Braille/TSI/README
+++ b/Drivers/Braille/TSI/README
@@ -2,7 +2,7 @@ This is the BRLTTY driver for TSI braille displays,
 Version 2.74 April 2004
 
 Author and maintainer:
-        Stéphane Doyon
+        Stéphane Doyon
 E-Mail: [email protected]
 
 This driver contains the code to support most of Telesensory Systems' braille
diff --git a/Drivers/Braille/TSI/braille.c b/Drivers/Braille/TSI/braille.c
index 5f56de5..f92543b 100644
--- a/Drivers/Braille/TSI/braille.c
+++ b/Drivers/Braille/TSI/braille.c
@@ -18,7 +18,7 @@
 
 /* TSI/braille.c - Braille display driver for TSI displays
  *
- * Written by Stéphane Doyon ([email protected])
+ * Written by Stéphane Doyon ([email protected])
  *
  * It attempts full support for Navigator 20/40/80 and Powerbraille 40/65/80.
  * It is designed to be compiled into BRLTTY version 3.5.
diff --git a/Drivers/Braille/TSI/braille.h b/Drivers/Braille/TSI/braille.h
index 63d361f..3f3dbc8 100644
--- a/Drivers/Braille/TSI/braille.h
+++ b/Drivers/Braille/TSI/braille.h
@@ -18,7 +18,7 @@
 
 /* TSI/braille.h - Configuration file for the TSI braille
  *                 display driver (brl.c)
- * Written by Stéphane Doyon ([email protected])
+ * Written by Stéphane Doyon ([email protected])
  *
  * This file is intended for version 2.2beta3 of the driver.
  */
diff --git a/Drivers/Braille/VideoBraille/README.it b/Drivers/Braille/VideoBraille/README.it
index dcfd6a3..8574c48 100644
--- a/Drivers/Braille/VideoBraille/README.it
+++ b/Drivers/Braille/VideoBraille/README.it
@@ -1,23 +1,23 @@
 Introduzione
 
-Questo è il driver per il display braille Videobraille, distribuito dalla Tiflosoft.
+Questo è il driver per il display braille Videobraille, distribuito dalla Tiflosoft.
 Questo driver funziona SOLO con il modello VB 40 e non funziona con l'aggiornamento PRO 9600.
-Potrei eventualmente aggiungere anche il supporto per il modello PRO 9600 se mi fosse richiesto, poiché si tratta solo di qualche breve modifica al codice; non ho implementato ancora il supporto per questo modello semplicemente perché non avrei avuto modo di testarlo.
+Potrei eventualmente aggiungere anche il supporto per il modello PRO 9600 se mi fosse richiesto, poiché si tratta solo di qualche breve modifica al codice; non ho implementato ancora il supporto per questo modello semplicemente perché non avrei avuto modo di testarlo.
 
 Implementazione
 
-Questo driver non è perfetto. Ho riscontrato vari problemi relativi soprattutto alla temporizzazione, e ho dovuto implementare una funzione di scrittura che scrive ogni riga due volte sul display braille, non chiedetermi perché: è solo questione di test.
+Questo driver non è perfetto. Ho riscontrato vari problemi relativi soprattutto alla temporizzazione, e ho dovuto implementare una funzione di scrittura che scrive ogni riga due volte sul display braille, non chiedetermi perché: è solo questione di test.
 Per implementare il driver, ho contattato direttamente chi ha progettato questo display (Acquistapace) per ottenere della documentazione.
 
-Se volete contattarmi per qualunque problema o suggerimento, il mio indirizzo e-mail è [email protected]
-Però, prima di contattarmi e scrivere che il driver non funziona, controllate che:
-- la vostra Videobraille non è PRO 9600 (se lo è e volete il driver, chiedete);
-- nel file braille.h LPTPORT è impostato correttamente: 0x378 per LPT1, 0x278 per LPT2,...
-Se tutto è giusto, provate a modificare in braille.h i valori VBDELAY, VBCLOCK e VBREFRESHDELAY: questi valori dipendono dalla velocità del computer, devono quindi essere adattati al vostro processore. Non penso che questo sia un buon modo di impostare i tempi di attesa, ma ho voluto rispettare l'implementazione originale, perché quando ho usato altri tipi di temporizzazione ho riscontrato problemi.
+Se volete contattarmi per qualunque problema o suggerimento, il mio indirizzo e-mail è [email protected]
+Però, prima di contattarmi e scrivere che il driver non funziona, controllate che:
+- la vostra Videobraille non è PRO 9600 (se lo è e volete il driver, chiedete);
+- nel file braille.h LPTPORT è impostato correttamente: 0x378 per LPT1, 0x278 per LPT2,...
+Se tutto è giusto, provate a modificare in braille.h i valori VBDELAY, VBCLOCK e VBREFRESHDELAY: questi valori dipendono dalla velocità del computer, devono quindi essere adattati al vostro processore. Non penso che questo sia un buon modo di impostare i tempi di attesa, ma ho voluto rispettare l'implementazione originale, perché quando ho usato altri tipi di temporizzazione ho riscontrato problemi.
 
 Implementazione della funzione taglia/incolla
 
 Ho aggiornato in seguito il driver per implementare la funzione taglia/incolla in questo modo: si seleziona l'inizio di un blocco tenendo premuto uno dei 40 tastini dell'aggancio cursore e premendo Edit; si contrassegna la fine di un blocco tenendo premuto uno dei 40 tastini e premendo Menu.
 Il tastino da premere va selezionato come nella procedura di aggancio cursore.
 Quindi, per incollare il testo, basta premere contemporaneamente i tasti Attr e Menu.
-Per questa implementazione ho dovuto inventare le combinazioni dei tasti perché la funzione copia/incolla non esisteva nel driver DOS originale.
+Per questa implementazione ho dovuto inventare le combinazioni dei tasti perché la funzione copia/incolla non esisteva nel driver DOS originale.
diff --git a/Drivers/Braille/Voyager/README b/Drivers/Braille/Voyager/README
index 2a3c6be..87ca6a1 100644
--- a/Drivers/Braille/Voyager/README
+++ b/Drivers/Braille/Voyager/README
@@ -2,7 +2,7 @@ BRLTTY Driver for the Tieman Voyager Braille Display
 This is the user-space-only version of the driver.
 Version 0.10 (March 2004)
 
-Copyright 2004 by Stéphane Doyon  <[email protected]>
+Copyright 2004 by Stéphane Doyon  <[email protected]>
 
 This is a partial rewrite of the driver which functions entirely from
 user-space (whereas the previous driver depended on a kernel driver for
@@ -25,7 +25,7 @@ projects and are so supportive.
 Thanks to Andor Demarteau <[email protected]> who got this whole
 project started and beta-tested all our early buggy attempts.
 
-Thanks to Stéphane Dalton who wrote the initial version of the old kernel
+Thanks to Stéphane Dalton who wrote the initial version of the old kernel
 driver. Without his initiative this project would not have been a success.
 
 This rewrite of the driver should allow more flexibility, but is as of yet
diff --git a/Drivers/Braille/Voyager/braille.c b/Drivers/Braille/Voyager/braille.c
index ccb30ee..64f60a0 100644
--- a/Drivers/Braille/Voyager/braille.c
+++ b/Drivers/Braille/Voyager/braille.c
@@ -18,7 +18,7 @@
 
 /* Voyager/braille.c - Braille display driver for Tieman Voyager displays.
  *
- * Written by Stéphane Doyon  <[email protected]>
+ * Written by Stéphane Doyon  <[email protected]>
  *
  * It is being tested on Voyager 44, should also support Voyager 70.
  * It is designed to be compiled in BRLTTY version 4.1.
diff --git a/Drivers/Speech/ExternalSpeech/README b/Drivers/Speech/ExternalSpeech/README
index d6289d5..c8d606b 100644
--- a/Drivers/Speech/ExternalSpeech/README
+++ b/Drivers/Speech/ExternalSpeech/README
@@ -1,5 +1,5 @@
 ExternalSpeech
-by Stéphane Doyon <[email protected]>
+by Stéphane Doyon <[email protected]>
 Version 0.7 beta, September 2001
 
 This speech driver interfaces with an external program that will handle
diff --git a/Drivers/Speech/ExternalSpeech/speech.c b/Drivers/Speech/ExternalSpeech/speech.c
index b1916d0..0641f93 100644
--- a/Drivers/Speech/ExternalSpeech/speech.c
+++ b/Drivers/Speech/ExternalSpeech/speech.c
@@ -18,7 +18,7 @@
 
 /* ExternalSpeech/speech.c - Speech library (driver)
  * For external programs, using my own protocol. Features indexing.
- * Stéphane Doyon <[email protected]>
+ * Stéphane Doyon <[email protected]>
  */
 
 #include "prologue.h"
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Reply via email to