From 23eb405cbc8c3fd6b55333fb13a13e22891fb348414dff1b1917691307aa9396 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 12 Apr 2021 13:47:24 +0000 Subject: [PATCH] Support mendex on non-Intel boxes OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=386 --- texlive.changes | 7 +++++++ texlive.spec | 31 +++++++++++++++++++++++++++++-- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/texlive.changes b/texlive.changes index 6fcfd0f..5eccfe5 100644 --- a/texlive.changes +++ b/texlive.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Apr 12 12:41:38 UTC 2021 - Dr. Werner Fink + +- Use -fsigned-char on non-Intel boxes for mendex and upmendex + otherwise the sort.c results are wrong +- Reenable pygmentex as now with python3 + ------------------------------------------------------------------- Tue Apr 6 14:03:37 UTC 2021 - Dr. Werner Fink diff --git a/texlive.spec b/texlive.spec index b8a035b..e554983 100644 --- a/texlive.spec +++ b/texlive.spec @@ -19,7 +19,7 @@ %define texlive_version 2021 %define texlive_previous 2020 %define texlive_release 20210325 -%define texlive_noarch 183 +%define texlive_noarch 184 %define texlive_source texlive-20210325-source %define __perl_requires %{nil} @@ -2658,6 +2658,23 @@ Prefix: %{_bindir} %description purifyeps-bin Binary files of purifyeps +%package pygmentex-bin +Version: %{texlive_version}.%{texlive_release}.svn34996 +Release: 0 +License: LPPL-1.0 +Summary: Binary files of pygmentex +Group: Productivity/Publishing/TeX/Utilities +URL: http://www.tug.org/texlive/ +Requires(pre): texlive-pygmentex >= %{texlive_version} +#!BuildIgnore: texlive-pygmentex +Recommends: texlive-collection-basic >= %{texlive_version} +Recommends: texlive-collection-fontsrecommended >= %{texlive_version} +Recommends: texlive-collection-genericrecommended >= %{texlive_version} +Prefix: %{_bindir} + +%description pygmentex-bin +Binary files of pygmentex + %package pythontex-bin Version: %{texlive_version}.%{texlive_release}.svn31638 Release: 0 @@ -3909,12 +3926,19 @@ popd else banner='for SUSE Linux' fi + # # Avoid win32 Makefile # find -name configure | xargs sed -ri '/(CONFIG_FILES|ac_config_files)=/ { s@[[:blank:]]+(otps/|)win32/Makefile@@p; }' find -name config.status | xargs -r rm -vf + # + # The (up)mendex unsigned character sort does not work on non-Intel boxes + # + sed -ri '/^CFLAGS/{ s/$/ -fsigned-char/ }' texk/mendexk/Makefile.in + sed -ri '/^CFLAGS/{ s/$/ -fsigned-char/ }' texk/upmendex/Makefile.in + # Run configure now ... no reautoconf here as TeX Live uses modified m4 macros # longinteger and off_t declarations are still inconsistent, do not enable # largefile unless you are testing. @@ -4430,7 +4454,6 @@ popd done # Currently disabled due python2 requirement rm -vf %{buildroot}%{_bindir}/ebong -rm -vf %{buildroot}%{_bindir}/pygmentex %if %{defined verify_permissions} %verifyscript kpathsea-bin @@ -5293,6 +5316,10 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || : %defattr(-,root,root,755) %{_bindir}/purifyeps +%files pygmentex-bin +%defattr(-,root,root,755) +%{_bindir}/pygmentex + %files pythontex-bin %defattr(-,root,root,755) %{_bindir}/depythontex