From 6d51c70cf3fc40c29693010ed7a13dfcb2dce7e8 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Thu, 2 Mar 2023 11:30:05 +0200 Subject: [PATCH] Bootstrap on riscv64 Signed-off-by: David Abdurachmanov --- texlive-base.spec | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/texlive-base.spec b/texlive-base.spec index b365168..a829572 100644 --- a/texlive-base.spec +++ b/texlive-base.spec @@ -16,14 +16,14 @@ %global __brp_mangle_shebangs_exclude ^$ # We have a circular dep on latex due to xindy -%bcond_with bootstrap +%bcond_without bootstrap # Upstream no longer supports poppler. We've been hacking it in, but... maybe we should stop? %bcond_with poppler Name: %{shortname}-base Version: %{source_date} -Release: 68%{?dist} +Release: 68.0.riscv64%{?dist} Epoch: 10 Summary: TeX formatting system # The only files in the base package are directories, cache, and license texts @@ -7544,7 +7544,7 @@ export XPDF_LIBS="-lxpdfcore -lfofi -lgoo -lsplash $GLIB_LIBS $PAPER_LIBS $FONTC %else --with-system-xpdf \ %endif -%ifarch %{power64} s390 s390x +%ifarch %{power64} s390 s390x riscv64 --disable-luajittex --disable-mfluajit --disable-luajithbtex --disable-mfluajit-nowin \ %endif %if %{without bootstrap} && ! 0%{?eln} @@ -7882,7 +7882,7 @@ for i in afm2pl afm2tfm aleph bibtex bibtex8 bibtexu chkdvifont chktex ctie ctan chrpath --delete %{buildroot}%{_bindir}/$i done -%ifnarch %{power64} s390 s390x +%ifnarch %{power64} s390 s390x riscv64 chrpath --delete %{buildroot}%{_bindir}/luajithbtex chrpath --delete %{buildroot}%{_bindir}/luajittex chrpath --delete %{buildroot}%{_bindir}/mfluajit @@ -9028,7 +9028,7 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || : %{_includedir}/kpathsea/* %{_includedir}/synctex/ %{_includedir}/texlua53/ -%ifnarch %{power64} s390 s390x +%ifnarch %{power64} s390 s390x riscv64 %{_includedir}/texluajit/ %endif %{_libdir}/*.so @@ -9112,7 +9112,7 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || : %files -n %{shortname}-luajittex %license gpl2.txt -%ifnarch %{power64} s390 s390x +%ifnarch %{power64} s390 s390x riscv64 %{_bindir}/luajittex %{_bindir}/luajithbtex %{_bindir}/texluajit @@ -9232,7 +9232,7 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || : %license gpl2.txt %{_bindir}/mflua %{_bindir}/mflua-nowin -%ifnarch %{power64} s390 s390x +%ifnarch %{power64} s390 s390x riscv64 %{_bindir}/mfluajit %{_bindir}/mfluajit-nowin %endif @@ -10194,6 +10194,10 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || : %doc %{_texdir}/texmf-dist/doc/latex/yplan/ %changelog +* Thu Mar 02 2023 David Abdurachmanov - 10:20220321-68.0.riscv64 +- Add support for riscv64 +- Enable bootstrap + * Tue Jan 31 2023 Tom Callaway - 10:20220321-68 - fix header order for xpdf dependent bits to ensure off_t is set properly on i686