Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37403403
en ru br
Репозитории ALT
S:2.5-alt0.4
5.1: 1.96-alt7
4.1: 1.96-alt5.M41.1
4.0: 1.96-alt2.6
3.0:
+backports:1.96-alt0.M30.1
www.altlinux.org/Changes

Другие репозитории
Upstream:1.96-beta

Группа :: Звук
Пакет: festival

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: 18-debian-sgml.diff
Скачать


This patch is part of a series of patches for festival for
Debian GNU/Linux, to interoperate with Debian sgml
--- a/lib/sable-mode.scm
+++ b/lib/sable-mode.scm
@@ -53,11 +53,11 @@
 
 
 (xml_register_id "-//SABLE//DTD SABLE speech mark up//EN"
-		(path-append libdir "Sable.v0_2.dtd")
+		(path-append xml_dtd_dir  "Sable.v0_2.dtd")
 		)
 
 (xml_register_id "-//SABLE//ENTITIES Added Latin 1 for SABLE//EN"
-		 (path-append libdir  "sable-latin.ent")
+		 (path-append xml_dtd_dir  "sable-latin.ent")
 		 )
 
 ;; (print (xml_registered_ids))
--- a/lib/tts.scm
+++ b/lib/tts.scm
@@ -89,7 +89,7 @@
 
 ;;;  The program used to parse stml files
 ;;;  Needs version 1.0 to allow -D option to work
-(defvar sgml_parse_progname "nsgmls-1.0"
+(defvar sgml_parse_progname "nsgmls"
   "sgml_parse_progname
 The name of the program to use to parse SGML files.  Typically this is
 nsgml-1.0 from the sp SGML package. [see XML/SGML requirements]")
@@ -151,7 +151,9 @@
   "xxml_elements
 List of Scheme actions to perform on finding xxML tags.")
 
-(defvar xml_dtd_dir libdir
+;; Hacked for Debian.  Better solution would be to get RXP to
+;; understand /etc/sgml.catalog.
+(defvar xml_dtd_dir "/usr/share/sgml/festival"
   "xml_dtd_dir
 The directory holding standard DTD form the xml parser.")
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin