SHA256
1
0
forked from pool/texlive

Support mendex on non-Intel boxes

OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=386
This commit is contained in:
Dr. Werner Fink 2021-04-12 13:47:24 +00:00 committed by Git OBS Bridge
parent 3db50925f7
commit 23eb405cbc
2 changed files with 36 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Apr 12 12:41:38 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- 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 <werner@suse.de>

View File

@ -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