stop building HTML manual

- it frequently breaks the build due to TeXLive churn
- it adds a *lot* of build dependencies and makes the build slow
This commit is contained in:
Fabio Valentini 2020-09-30 23:04:53 +02:00
parent 1c01325a1e
commit d0e30b872a
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

View File

@ -1,6 +1,6 @@
Name: graphite2
Version: 1.3.14
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Font rendering capabilities for complex non-Roman writing systems
License: (LGPLv2+ or GPLv2+ or MPLv1.1) and (Netscape or GPLv2+ or LGPLv2+)
@ -10,38 +10,13 @@ Source0: https://downloads.sourceforge.net/project/silgraphite/graphite2/
Patch0: graphite-arm-nodefaultlibs.patch
Patch1: graphite2-1.2.0-cmakepath.patch
BuildRequires: asciidoc
BuildRequires: cmake
BuildRequires: doxygen
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: python3-fonttools
BuildRequires: freetype-devel
# dependencies for building the manual
BuildRequires: texlive-helvetic
BuildRequires: texlive-sectsty
BuildRequires: texlive-tocloft
BuildRequires: texlive-xtab
BuildRequires: texlive-multirow
# and even more dependencies for building the manual
BuildRequires: tex(hanging.sty)
BuildRequires: tex(adjustbox.sty)
BuildRequires: tex(stackengine.sty)
BuildRequires: tex(ulem.sty)
BuildRequires: tex(wasysym.sty)
BuildRequires: tex(newunicodechar.sty)
BuildRequires: tex(etoc.sty)
BuildRequires: /usr/bin/gsftopk
BuildRequires: tex(psfonts.map)
BuildRequires: tex(8r.enc)
BuildRequires: /usr/bin/makeindex
BuildRequires: /usr/bin/mf
BuildRequires: tex(wasyfont.tex)
BuildRequires: tex(pcrr8t.tfm)
# to be continued ...
# needed for running the test suite
BuildRequires: python3-fonttools
%description
Graphite2 is a project within SILs Non-Roman Script Initiative and Language
@ -67,9 +42,6 @@ Includes and definitions for developing with graphite2.
%build
%cmake -DGRAPHITE2_COMPARE_RENDERER=OFF
%cmake_build
%cmake_build --target docs
sed -i -e 's!<a id="id[a-z]*[0-9]*"></a>!!g' %{_vpath_builddir}/doc/manual.html
%install
@ -92,8 +64,6 @@ find %{buildroot} -type f -name "*.la" -print -delete
%files devel
%doc %{_vpath_builddir}/doc/manual.html
%{_includedir}/%{name}/
%dir %{_libdir}/%{name}/
@ -105,6 +75,9 @@ find %{buildroot} -type f -name "*.la" -print -delete
%changelog
* Wed Sep 30 2020 Fabio Valentini <decathorpe@gmail.com> - 1.3.14-6
- Stop building the HTML manual, texlive is breaking things too frequently.
* Sat Aug 01 2020 Fabio Valentini <decathorpe@gmail.com> - 1.3.14-5
- Adapt to new cmake macros.