work around FTBFS bug with make-4.4+ (resolves rhbz#2171492)
fix HTML doc build with texinfo 7.0
This commit is contained in:
parent
7c9ea92955
commit
32cd5587c1
25
flite-2.2-texinfo-7.0.patch
Normal file
25
flite-2.2-texinfo-7.0.patch
Normal file
@ -0,0 +1,25 @@
|
||||
diff -up flite-2.2/doc/flite.texi.ti7 flite-2.2/doc/flite.texi
|
||||
--- flite-2.2/doc/flite.texi.ti7 2020-08-13 02:17:09.000000000 +0200
|
||||
+++ flite-2.2/doc/flite.texi 2023-02-21 21:47:30.474291637 +0100
|
||||
@@ -971,7 +971,7 @@ utterance. Please note that the @file{i
|
||||
is not set by anyone at all. The previous sentence exists in the
|
||||
documentation so that I can point at it, when user's fail to read it.
|
||||
|
||||
-@node Converting FestVox Voices, , APIs, top
|
||||
+@node Converting FestVox Voices, , APIs, Top
|
||||
@chapter Converting FestVox Voices
|
||||
|
||||
As of 1.2 initial scripts have been added to aid the conversion of
|
||||
diff -up flite-2.2/doc/Makefile.ti7 flite-2.2/doc/Makefile
|
||||
--- flite-2.2/doc/Makefile.ti7 2020-08-13 02:17:09.000000000 +0200
|
||||
+++ flite-2.2/doc/Makefile 2023-02-21 21:49:04.185913824 +0100
|
||||
@@ -54,6 +54,9 @@ flite.html: flite.texi
|
||||
@ if [ -d html/flite ] ; \
|
||||
then mv html/flite/*.html html ; \
|
||||
rmdir html/flite; fi
|
||||
+ @ if [ -d html/flite_html ] ; \
|
||||
+ then mv html/flite_html/*.html html ; \
|
||||
+ rmdir html/flite_html; fi
|
||||
@ for i in html/*.html ; \
|
||||
do \
|
||||
sed 's/<BODY>/<BODY bgcolor="#ffffff">/' $$i >ttt.html; \
|
||||
12
flite.spec
12
flite.spec
@ -5,15 +5,20 @@
|
||||
%bcond_with check
|
||||
%endif
|
||||
|
||||
# https://github.com/festvox/flite/issues/86
|
||||
%global _smp_mflags -j1
|
||||
|
||||
Name: flite
|
||||
Version: 2.2
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Small, fast speech synthesis engine (text-to-speech)
|
||||
License: MIT
|
||||
URL: http://www.speech.cs.cmu.edu/flite/
|
||||
|
||||
Source0: https://github.com/festvox/flite/archive/v%{version}/flite-%{version}.tar.gz
|
||||
Patch0: flite-2.2-lto.patch
|
||||
# fixes build with texinfo-7.0+, see https://lists.gnu.org/archive/html/bug-texinfo/2022-11/msg00036.html
|
||||
Patch1: flite-2.2-texinfo-7.0.patch
|
||||
# texi2pdf
|
||||
# WARNING see explanation about PDF doc below.
|
||||
#BuildRequires: texinfo-tex
|
||||
@ -43,6 +48,7 @@ Development files for Flite, a small, fast speech synthesis engine.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .lto
|
||||
%patch1 -p1 -b .ti7
|
||||
|
||||
|
||||
%build
|
||||
@ -85,6 +91,10 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} make -C testsuite do_thread_test
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Feb 21 2023 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> 2.2-5
|
||||
- work around FTBFS bug with make-4.4+ (resolves rhbz#2171492)
|
||||
- fix HTML doc build with texinfo 7.0
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user