Compare commits

...

10 Commits

Author SHA1 Message Date
David Abdurachmanov f6aa90f4c0
Add support for riscv64 & bootstrap
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-11-27 10:38:32 +02:00
Fedora Release Engineering 2b476ad04f Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 16:13:41 +00:00
František Zatloukal b6c3b14742 Rebuilt for ICU 73.2 2023-07-11 22:22:48 +02:00
Tom Callaway 0211d1b709 move texmfcnf.lua to /etc/texlive/web2c with a symlink back to its original home in /usr/share/texlive/texmf-dist/web2c, properly handle mkii files that should only be in texlive-mptopdf 2023-06-05 05:33:38 -04:00
Tom Callaway 320005a93f update to svn66984 source tree to fix CVE-2023-32700, fix mtxrun stub, patch texmfcnf.lua, fix mptopdf.pl and thumbpdf.pl to have proper interpreter lines 2023-05-25 12:31:57 -04:00
Tom Callaway 3097d8e3f0 fix Requires for texlive-fontools (bz 2185284) 2023-04-14 12:41:45 -04:00
Tom Callaway dd3911846d fixes around texaccents, still needs snobol4, which is pending review 2023-03-27 10:22:54 -04:00
Tom Callaway cbe3b1d5a0 disable bibtex8 test too 2023-03-24 10:27:03 -04:00
Tom Callaway a9d44f24a8 disable a broken test 2023-03-23 17:27:30 -04:00
Tom Callaway dff2b4ea9b missing sources 2023-03-23 16:31:40 -04:00
6 changed files with 219 additions and 19 deletions

4
.gitignore vendored
View File

@ -431,3 +431,7 @@
/texaccents.doc.tar.xz
/texaccents.tar.xz
/upmendex.doc.tar.xz
/digestif.doc.tar.xz
/digestif.tar.xz
/texaccents.source.tar.xz
/build-svn66984.tar.gz

View File

@ -383,8 +383,6 @@ SHA512 (latex2nemeth.tar.xz) = f2669a9e58857094c922b968f337e2cb2cf475b07811d53c6
SHA512 (latexindent.doc.tar.xz) = 2a34372c3aa18aa3016262905f675d23eaed1d8c6e0e360b61e2084b3bfcfdebc6e349ce2af020fb09a24037119ccd5d3a80635454100ccc688251cde62519b9
SHA512 (latexindent.tar.xz) = 86767228ea35d9c65f4954ae441b13702abb17e2baee941bfb95be4323fd3468953781ceecee7c3518b45f05d94daed5cc89eb18b4d17d2e0ae545a7613bb5c3
SHA512 (luafindfont.doc.tar.xz) = e7196d9a2e69b5a6d5582d7ddc00ac480b16228b424cb9d568ef1ff6fbef48e5926776d5f22fa0eb5c4b09b6b29a283416206f64cf324356b35d66228bbbd3ea
SHA512 (luatex.doc.tar.xz) = dc162ced7be4683e5d0596d200f4924e4feec0d06c253b95cb0dc62e3fc47e947749cbd322b2b71f1868d650ec82d15fb4fe9c2802d0c7faced76831c6134d49
SHA512 (luatex.tar.xz) = 1d802e5ce39d2ceb6e6fcd159fddf57ee16d014ca9165b1e34e23d35943bb40fc795a112aa66af33a87019b74f71e3c4e24025af00823b1980d3a3b437c53aad
SHA512 (lwarp.doc.tar.xz) = 704b3f89973e2fa158252e48f3804b4de5f45bd1ae03954d0eb0f598a4c1c05d6378229dec906caffaf5dfd1ea57dbd53afc77d3d1abd96c3d1be7f146b7ebfc
SHA512 (lwarp.tar.xz) = 2001aeb9c76b008488cededa297bfd8802cc2f4961c6f1432ed4118de204d9e8a0769b3b540ac922e786e2e6723964cdf2975f1e59ed7006029062129996e4f4
SHA512 (oberdiek.doc.tar.xz) = 73a422dd8009d191a24790f5f68b9ae2a5046f3e42e3c360faabb3f7c7581afdf9bf2b20da8609e8d3513135ee1de98329cd4fb1713fce23c5a03fac28c976b9
@ -419,3 +417,9 @@ SHA512 (pagelayout.tar.xz) = e1dabe46c223811fb88d17c13ccad55853c4c5eb13d7927b841
SHA512 (texaccents.doc.tar.xz) = 87bc11f186513adbf32c15af2f1c1253dd72802fb2008b76b9d7d67fc0a039aab0d2424fb853b6bd8e968cd4e9c1cd93bff786fa07e84593fbda99191b053eaa
SHA512 (texaccents.tar.xz) = 5a2a79c9faddebd523939cb3cf42236b1d2c441a036cd7fc6f6f62422e5142cdbc0a45ddaa9e642266c41c9fe5b723fc440d0372639cffd399a89d489bd11b66
SHA512 (upmendex.doc.tar.xz) = ec4d1670ff84680fcab88e29ca5f4306f44450ccca9cba06282ad34bd026f74b46d166724a06a313957ca8d798b0c296e848bb248ad416597a99afb16b4b5a0c
SHA512 (digestif.doc.tar.xz) = fabc6d0ea5a1e55b7ecd6430b2373c15e413c985485331bd7bd5bca437947a76ac7d8ac6ed2ea3d6afe687284aef673b0e302a1c9925737c6e1d95cecf2ea8cb
SHA512 (digestif.tar.xz) = 098d625749cee42f965d21ef5ec2843211db36fd0f4cced882ed15f32a20a2d70bf292b01e6797e7ca097adfadf2fd40d3c5eef6c694da39e8302770cfb784d3
SHA512 (texaccents.source.tar.xz) = 8bf5d4957008833d54f87eff9feb14f60694ea02e7e9fd2cd5c5d2e2db3f6de3a33784121208ffab516763fbf578125399cbd6f39750e6bb0162a65c2fc44f24
SHA512 (luatex.doc.tar.xz) = f77425653668fc4cc76383862c67a7a170d0021a7d946f55ee399e2400357083ea4524862f8c40360fe9f6c39d6d2c2dfc2babfb43db66a783649d0f4358b059
SHA512 (luatex.tar.xz) = a857a84fa4d2b03a1ba8a7890dd52eb42c44174cf2117ea9ab1fb6d946decedacfa51af4cadcfe30580bc20152ca0403db641c5c61a5b86b726e994d0b4114c8
SHA512 (build-svn66984.tar.gz) = f17e97c11dcd5ccb5bc29c6ffaaff7f9f888b80f4f9b17199d3ff7fcde4f10659c4cf042a55b811e7ba58d34dc45124a1e3e4f648755f5a1855fc3aabbd674cc

View File

@ -1,12 +1,34 @@
diff -up texlive-base-20230311/source/texk/kpathsea/texmf.cnf.texinfo-fix texlive-base-20230311/source/texk/kpathsea/texmf.cnf
--- texlive-base-20230311/source/texk/kpathsea/texmf.cnf.texinfo-fix 2023-03-20 16:38:58.133974316 -0400
+++ texlive-base-20230311/source/texk/kpathsea/texmf.cnf 2023-03-20 16:41:17.124855944 -0400
--- texlive-base-20230311/source/texk/kpathsea/texmf.cnf.texinfo-fix 2023-05-25 10:49:55.510891474 -0400
+++ texlive-base-20230311/source/texk/kpathsea/texmf.cnf 2023-05-25 11:44:59.261966579 -0400
@@ -59,7 +59,7 @@
% SELFAUTOPARENT (its grandparent = /usr/local/texlive/YYYY), and
% SELFAUTOGRANDPARENT (its great-grandparent = /usr/local/texlive).
% Sorry for the off-by-one-generation names.
-TEXMFROOT = $SELFAUTOPARENT
+TEXMFROOT = /usr/share/texlive
% The main tree of distributed packages and programs:
TEXMFDIST = $TEXMFROOT/texmf-dist
@@ -69,10 +69,10 @@ TEXMFDIST = $TEXMFROOT/texmf-dist
TEXMFMAIN = $TEXMFDIST
% Local additions to the distribution trees.
-TEXMFLOCAL = $SELFAUTOGRANDPARENT/texmf-local
+TEXMFLOCAL = /usr/share/texlive/texmf-local
% TEXMFSYSVAR, where *-sys store cached runtime data.
-TEXMFSYSVAR = $TEXMFROOT/texmf-var
+TEXMFSYSVAR = /var/lib/texmf
% TEXMFSYSCONFIG, where *-sys store configuration data.
TEXMFSYSCONFIG = $TEXMFROOT/texmf-config
@@ -83,6 +83,9 @@ TEXMFSYSCONFIG = $TEXMFROOT/texmf-config
% to %USERPROFILE% on Windows, $HOME otherwise.
TEXMFHOME = ~/texmf
+% Texinfo on Fedora lives out of $TEXMFROOT
+TEXINFOHOME = $SELFAUTODIR/share/texmf
+TEXINFOHOME = /usr/share/texmf
+
% TEXMFVAR, where texconfig/updmap/fmtutil store cached runtime data.
TEXMFVAR = ~/.texlive2023/texmf-var
@ -16,7 +38,7 @@ diff -up texlive-base-20230311/source/texk/kpathsea/texmf.cnf.texinfo-fix texliv
% ever defined (the 99% common case), no extra elements will be added to
% the search paths. tlmgr takes care to end any value with a trailing comma.
-TEXMF = {$TEXMFAUXTREES$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!$TEXMFLOCAL,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFDIST}
+TEXMF = {$TEXMFAUXTREES$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,$TEXINFOHOME,$TEXINFOHOME,!!$TEXMFLOCAL,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFDIST}
+TEXMF = {$TEXMFAUXTREES$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!$TEXINFOHOME,!!$TEXMFLOCAL,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFDIST}
% Where to look for, and where mktexlsr creates, ls-R files. By default,
% this is all and only the !! elements of TEXMF, so that mktexlsr does not

View File

@ -0,0 +1,20 @@
diff -up ./scripts/context/perl/mptopdf.pl.fix-scripts ./scripts/context/perl/mptopdf.pl
--- ./scripts/context/perl/mptopdf.pl.fix-scripts 2023-05-25 11:52:19.149713294 -0400
+++ ./scripts/context/perl/mptopdf.pl 2023-05-25 11:53:05.379317240 -0400
@@ -1,5 +1,4 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q'
- if 0;
+#! /usr/bin/perl -w
# MikTeX users can set environment variable TEXSYSTEM to "miktex".
diff -up ./scripts/thumbpdf/thumbpdf.pl.fix-scripts ./scripts/thumbpdf/thumbpdf.pl
--- ./scripts/thumbpdf/thumbpdf.pl.fix-scripts 2023-05-25 11:53:23.018547680 -0400
+++ ./scripts/thumbpdf/thumbpdf.pl 2023-05-25 11:53:44.086822918 -0400
@@ -1,5 +1,4 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q'
- if 0;
+#! /usr/bin/perl -w
use strict;
$^W=1; # turn warning on
#

View File

@ -1,6 +1,8 @@
%global shortname texlive
%global source_date 20230311
%global source_name texlive-%{source_date}-source
%global source_svn svn66984
# %%global source_name texlive-%%{source_date}-source
%global source_name texlive-source-build-%{source_svn}
%{!?_texdir: %global _texdir %{_datadir}/%{shortname}}
%{!?_texmf_var: %global _texmf_var %{_var}/lib/texmf}
@ -16,21 +18,24 @@
%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: 70%{?dist}
Release: 77.0.riscv64%{?dist}
Epoch: 11
Summary: TeX formatting system
# The only files in the base package are directories, cache, and license texts
# So we'll just list the license texts. This is also a bit of a lie, since most of these license texts do not apply to themselves.
License: Apache-2.0 AND Artistic-2.0 AND BSD AND GFDL-1.1-or-later AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND Knuth-CTAN AND LGPL-2.1-or-later AND LGPL-3.0-or-later AND LPPL-1.2 AND LPPL-1.3 AND LPPL-1.3c AND MIT AND OFL-1.1 AND LicenseRef-Fedora-Public-Domain
URL: http://tug.org/texlive/
Source0: https://ctan.math.illinois.edu/systems/texlive/Source/%{source_name}.tar.xz
# Source0: https://ctan.math.illinois.edu/systems/texlive/Source/%%{source_name}.tar.xz
# Using a specific tag to fix the LuaTeX CVE-2023-32700
Source0: https://github.com/TeX-Live/texlive-source/archive/refs/tags/build-%{source_svn}.tar.gz
Source1: macros.texlive
Source2: http://tug.ctan.org/systems/texlive/tlnet/tlpkg/texlive.tlpdb
Source3: texlive-licenses.tar.xz
@ -462,6 +467,7 @@ Source421: https://ctan.math.illinois.edu/systems/texlive/tlnet/archive/pagelayo
Source422: https://ctan.math.illinois.edu/systems/texlive/tlnet/archive/texaccents.tar.xz
Source423: https://ctan.math.illinois.edu/systems/texlive/tlnet/archive/texaccents.doc.tar.xz
Source424: https://ctan.math.illinois.edu/systems/texlive/tlnet/archive/upmendex.doc.tar.xz
Source425: https://ctan.math.illinois.edu/systems/texlive/tlnet/archive/texaccents.source.tar.xz
Patch1: tl-kpfix.patch
Patch2: tl-format.patch
@ -513,6 +519,12 @@ Patch37: texlive-base-libpaperv2.patch
# Fix issue where off_t could be set incorrectly on i686 due to order of header load
Patch44: texlive-base-20220321-pdf-header-order-fix.patch
# Fix texmfcnf.lua for Fedora layout (thanks to Preining Norbert)
Patch45: texlive-fedora-texmfcnf.lua.patch
# Fix interpreter on perl scripts (thanks again to Debian)
Patch46: texlive-base-20230311-fix-scripts.patch
# Can't do this because it causes everything else to be noarch
# BuildArch: noarch
BuildRequires: make
@ -2789,6 +2801,10 @@ License: GPL-2.0-or-later
Summary: Tools to simplify using fonts (especially TT/OTF ones)
Requires: texlive-base
Requires: texlive-kpathsea
# for otfinfo
Requires: texlive-lcdftypetools
# For vptovf
Requires: texlive-fontware
Provides: tex(fontools_cs.enc) = %{epoch}:%{source_date}-%{release}
Provides: tex(fontools_l7x.enc) = %{epoch}:%{source_date}-%{release}
Provides: tex(fontools_lgr.enc) = %{epoch}:%{source_date}-%{release}
@ -4214,7 +4230,7 @@ Requires: texlive-hyph-utf8
LuaTeX with just-in-time (jit) compiler, with and without HarfBuzz.
%package -n %{shortname}-luatex
Version: svn66546
Version: svn66967
Provides: texlive-luatex = %{epoch}:%{source_date}-%{release}
Provides: tex-luatex = %{epoch}:%{source_date}-%{release}
Provides: texlive-luatex-bin = %{epoch}:%{source_date}-%{release}
@ -7055,6 +7071,9 @@ Summary: Convert composite accented characters to Unicode
Version: svn64447
License: MIT
Requires: texlive-base texlive-kpathsea
Requires: snobol4
# snobol4
BuildArch: noarch
%description -n %{shortname}-texaccents
This small utility, written in SNOBOL, converts the composition
@ -8227,7 +8246,8 @@ LaTeX file remains on the archive.)
%prep
%setup -q -c -T
xz -dc %{SOURCE0} | tar x
# xz -dc %%{SOURCE0} | tar x
tar xf %{SOURCE0}
[ -e %{source_name} ] && mv %{source_name} source
%patch -P1 -p0
%patch -P2 -p1 -b .format
@ -8277,6 +8297,14 @@ done
%patch -P44 -p1 -b .pdf-header-order-fix
# Disable broken tests
# updmap-cmdline-test.pl is not useful and it will fail because it finds the system perl bits instead of the local copy
sed -i 's|TESTS = tests/updmap-cmdline-test.pl||g' source/texk/texlive/Makefile.in
sed -i 's|TESTS = tests/updmap-cmdline-test.pl||g' source/texk/texlive/Makefile.am
# bibtex8 fails on x86_64 and i686, but not really. I think this test might also be using the older system bits
sed -i 's|bibtex8_tests = tests/bibtex8.test|bibtex8_tests =|g' source/texk/bibtex-x/Makefile.in
sed -i 's|bibtex8_tests = tests/bibtex8.test|bibtex8_tests =|g' source/texk/bibtex-x/Makefile.am
# Value here is "16" not "15" because we have a source0 at index 1.
# Source15 at index 16 is our first "normal" noarch source file.
# Also, this macro has to be here, not at the top, or it will not evaluate properly. :P
@ -8358,7 +8386,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}
@ -8480,6 +8508,13 @@ pushd %{buildroot}%{_texdir}/texmf-dist
# neuter tlmgr a bit
patch -p1 < %{_sourcedir}/texlive-20190410-tlmgr-ignore-warning.patch
# Fix texmfcnf.lua
patch -p1 < %{_sourcedir}/texlive-fedora-texmfcnf.lua.patch
# Fix interpreter on perl scripts
patch -p1 < %{_sourcedir}/texlive-base-20230311-fix-scripts.patch
popd
# config files in /etc symlinked
@ -8487,7 +8522,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/texlive/web2c
mkdir -p %{buildroot}%{_sysconfdir}/texlive/dvips/config
mkdir -p %{buildroot}%{_sysconfdir}/texlive/tex/generic/config
for i in mktex.cnf texmf.cnf updmap.cfg; do
for i in mktex.cnf texmfcnf.lua texmf.cnf updmap.cfg; do
mv %{buildroot}%{_texdir}/texmf-dist/web2c/$i %{buildroot}%{_sysconfdir}/texlive/web2c/
ln -s %{_sysconfdir}/texlive/web2c/$i %{buildroot}%{_texdir}/texmf-dist/web2c/$i
done
@ -8628,7 +8663,7 @@ ln -s /usr/share/texlive/texmf-dist/scripts/digestif/digestif.texlua digestif
rm -f mtxrun
cat > mtxrun << EOF
#!/bin/sh
env LUATEXDIR=/usr/shared/texlive/texmf-dist/scripts/context/lua luatex --luaonly mtxrun.lua "\$@"
env LUATEXDIR=/usr/share/texlive/texmf-dist/scripts/context/lua luatex --luaonly mtxrun.lua "\$@"
EOF
chmod 0755 mtxrun
@ -8642,8 +8677,22 @@ export TEXMFCACHE=\$(realpath \$HOME/.cache/texlive);
%{_bindir}/mtxrun --script context "\$@"
EOF
chmod 0755 context
# fix texaccents
# TODO: Detect snobol4 version rather than hardcoding it here.
rm -f texaccents
cat > texaccents << EOF
#!/bin/sh
env SNOPATH=/usr/lib64/snobol4/2.3.1/lib:/usr/share/texlive/texmf-dist/scripts/texaccents /usr/bin/snobol4 /usr/share/texlive/texmf-dist/scripts/texaccents/texaccents.sno "\$@"
EOF
chmod 0755 texaccents
popd
# more texaccents fixes
mv %{buildroot}%{_texdir}/texmf-dist/source/support/texaccents/* %{buildroot}%{_texdir}/texmf-dist/scripts/texaccents
sed -i 's|host.inc|host.sno|g' %{buildroot}%{_texdir}/texmf-dist/scripts/texaccents/texaccents.sno
sed -i 's|repl.inc|repl.sno|g' %{buildroot}%{_texdir}/texmf-dist/scripts/texaccents/grepl.inc
# Move docs
mkdir -p %{buildroot}%{_datadir}/
mkdir -p %{buildroot}%{_infodir}/
@ -8707,7 +8756,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
@ -9223,6 +9272,11 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || :
%exclude %{_texdir}/texmf-dist/scripts/context/perl/mptopdf.pl
%{_texdir}/texmf-dist/scripts/context/
%{_texdir}/texmf-dist/tex/context/
# these four are in mptopdf
%exclude %{_texdir}/texmf-dist/tex/context/base/mkii/supp-mis.mkii
%exclude %{_texdir}/texmf-dist/tex/context/base/mkii/supp-mpe.mkii
%exclude %{_texdir}/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
%exclude %{_texdir}/texmf-dist/tex/context/base/mkii/syst-tex.mkii
%exclude %{_texdir}/texmf-dist/tex/generic/context/mptopdf
%{_texdir}/texmf-dist/tex/generic/context/
%{_texdir}/texmf-dist/tex/latex/context/
@ -9868,7 +9922,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
@ -9952,7 +10006,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
@ -9975,6 +10029,7 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || :
%{_mandir}/man1/luatex.1*
%{_mandir}/man1/texlua.1*
%{_mandir}/man1/texluac.1*
%{_sysconfdir}/texlive/web2c/texmfcnf.lua
%{_texdir}/texmf-dist/tex/generic/config/luatex-unicode-letters.tex
%{_texdir}/texmf-dist/tex/generic/config/luatexiniconfig.tex
%{_texdir}/texmf-dist/web2c/texmfcnf.lua
@ -10072,7 +10127,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
@ -11054,6 +11109,42 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || :
%doc %{_texdir}/texmf-dist/doc/latex/yplan/
%changelog
* Mon Nov 27 2023 David Abdurachmanov <davidlt@rivosinc.com> - 11:20230311-77.0.riscv64
- Add support for riscv64 (disable LuaJIT)
- Bootstrap
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 11:20230311-77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 11 2023 František Zatloukal <fzatlouk@redhat.com> - 11:20230311-76
- Rebuilt for ICU 73.2
* Mon Jun 5 2023 Tom Callaway <spot@fedoraproject.org> - 11:20230311-75
- move texmfcnf.lua to /etc/texlive/web2c with a symlink back to its original home in /usr/share/texlive/texmf-dist/web2c
- properly handle mkii files that should only be in texlive-mptopdf
* Tue May 30 2023 Tom Callaway <spot@fedoraproject.org> - 11:20230311-74
- fix double packaging of mptopdf files in context
* Thu May 25 2023 Tom Callaway <spot@fedoraproject.org> - 11:20230311-73
- update to svn66984 source tree to fix CVE-2023-32700
- fix mtxrun stub
- patch texmfcnf.lua
- fix mptopdf.pl and thumbpdf.pl to have proper interpreter lines
* Fri Apr 14 2023 Tom Callaway <spot@fedoraproject.org> - 11:20230311-72
- fix Requires for texlive-fontools (bz 2185284)
* Mon Mar 27 2023 Tom Callaway <spot@fedoraproject.org> - 11:20230311-71
- fix texaccents so that:
1. it has all the includes it needs
2. it is noarch
3. it has a proper launcher script
NOTE1: texaccents will no longer pickup a Requires on /usr/bin/snobol4
but it still needs it. It's pending review for inclusion in Fedora.
NOTE2: With snobol4, texaccents itself runs but does not function usefully
at the moment
* Mon Mar 20 2023 Tom Callaway <spot@fedoraproject.org> - 11:20230311-70
- TeXLive 2023
- bring digestif over here

View File

@ -0,0 +1,59 @@
diff -up ./web2c/texmfcnf.lua.fedora ./web2c/texmfcnf.lua
--- ./web2c/texmfcnf.lua.fedora 2023-05-25 10:25:41.195939763 -0400
+++ ./web2c/texmfcnf.lua 2023-05-25 10:33:33.761097942 -0400
@@ -11,6 +11,7 @@ return {
comment = "ConTeXt MkIV and LMTX configuration file",
author = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
target = "texlive",
+ -- modified for Fedora, based on Preining Norbert's work in Debian
content = {
@@ -52,7 +53,7 @@ return {
TEXMFVAR = "home:" .. hiddentexlivepath .. "/texmf-var",
TEXMFCONFIG = "home:" .. hiddentexlivepath .. "/texmf-config",
- TEXMFSYSVAR = "selfautoparent:texmf-var",
+ TEXMFSYSVAR = "/var/lib/texmf",
TEXMFCACHE = "$TEXMFSYSVAR;$TEXMFVAR",
-- I don't like this texmf under home and texmf-home would make more sense. One never knows
@@ -62,7 +63,7 @@ return {
-- By using prefixes we don't get expanded paths in the cache __path__ entry. This makes the
-- tex root relocatable.
- TEXMFOS = "selfautodir:",
+ -- TEXMFOS = "selfautodir:",
-- standalone:
@@ -73,14 +74,15 @@ return {
-- texlive:
- TEXMFDIST = "selfautoparent:texmf-dist",
- TEXMFSYSCONFIG = "selfautoparent:texmf-config",
+ TEXMFDIST = "/usr/share/texlive/texmf-dist",
+ TEXMFFEDORA = "/usr/share/texmf",
+ TEXMFSYSCONFIG = "/usr/share/texlive/texmf-config",
-- The texmf-local path is only used for (maybe) some additional configuration file.
- TEXMFLOCAL = "selfautoparent:texmf-local",
- TEXMFFONTS = "selfautoparent:texmf-fonts",
- TEXMFPROJECT = "selfautoparent:texmf-project",
+ TEXMFLOCAL = "/usr/share/texlive/texmf-local",
+ -- TEXMFFONTS = "selfautoparent:texmf-fonts",
+ -- TEXMFPROJECT = "selfautoparent:texmf-project",
TEXMFHOME = "home:texmf",
-- TEXMFHOME = os.name == "macosx" and "home:Library/texmf" or "home:texmf",
@@ -94,7 +96,7 @@ return {
-- texlive:
- TEXMF = "{$TEXMFCONFIG,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFDIST}",
+ TEXMF = "{$TEXMFCONFIG,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFFEDORA,!!$TEXMFDIST}",
TEXFONTMAPS = ".;$TEXMF/fonts/data//;$TEXMF/fonts/map/{pdftex,dvips}//",
ENCFONTS = ".;$TEXMF/fonts/data//;$TEXMF/fonts/enc/{dvips,pdftex}//",