#2 [epel8] Enable CWEB and WEB
Merged 2 years ago by tdawson. Opened 2 years ago by yselkowitz.
rpms/ yselkowitz/texlive-extension epel8  into  epel8

file modified
+8
@@ -46,3 +46,11 @@ 

  /siunitx.doc.tar.xz

  /tcolorbox.tar.xz

  /tcolorbox.doc.tar.xz

+ /ctie.doc.tar.xz

+ /ctie.tar.xz

+ /cweb.doc.tar.xz

+ /cweb.tar.xz

+ /tie.doc.tar.xz

+ /tie.tar.xz

+ /web.doc.tar.xz

+ /web.tar.xz

file modified
+8
@@ -46,3 +46,11 @@ 

  SHA512 (siunitx.doc.tar.xz) = 6deae1c55dee55742c3287f13d1a98cbfe9c077b5a61c1f629fad5ed638cca30956558eb113ba81c18e3742b7ccd22051ef8146bb53e21a69a941f201b0b61eb

  SHA512 (tcolorbox.tar.xz) = 893addebf4a542444fae2b046e398fb98a81e0b8a51d29d6e1015008c29d93478245e0e418cb5c67d521735d6216849852e2b72714ae99e8f6faa685acb9cd05

  SHA512 (tcolorbox.doc.tar.xz) = 88f6aa63aa757571a166ef21c07c17fec56307f86fd087ea66a682aa533c6953ebcf4c3915689f0e38ddbc56509daad3279dfbb740b064ad45995ee8a5cc12fb

+ SHA512 (ctie.doc.tar.xz) = 41f7f3344a307bb72c61c88d4660c2037dcc0b4723a5c7a23fa2858e01cf0cd53f65ce76f16a21a871303f918dc4488c777d7129d892fa11c96186b88b484e59

+ SHA512 (ctie.tar.xz) = 4688a2328dadfda291d10d42c15f18927a77e9ce7e87a825b697447e889b0ec93d13ddb911a174e74356e3c8378ae26b34d3976f7b8f75b1d2478e9cfd9ad8e9

+ SHA512 (cweb.doc.tar.xz) = 0fee41e1ab3aabf4fafd84d0138b12497455066d9ae5a9cfea7880744abb16181e9d8e8c1b584326617cd239738ecdb0b033f791d8ae2ea8866c3bd54bbcc749

+ SHA512 (cweb.tar.xz) = 0b35c1c89eefee345954390e23cbabd01e9ce7fdc823fd7da6d8567a929179a29d3428f2051f7d367df07f978796cd6344b79bd815ffa7453040e98869292104

+ SHA512 (tie.doc.tar.xz) = aa7433f73867d6c643a0930e37f7c903721dcbfd9ca06e350770734546097ab0496573604977a3ce62517ff4c1f068eaeb1bfa0e93f639a8bee42d90a8f6e26f

+ SHA512 (tie.tar.xz) = 9916097a030d75cba4162ef3dce197ca56effccc4f7c9950d28444bcd327eddd343ce3fcd1dd38617c3f4ba6988678d5874599673ee328e9dc5d460110ffcdfe

+ SHA512 (web.doc.tar.xz) = 7c9beb38e6b200e729d245a24ec3806182d435565390fe616bb81628ca5d0a9b5abef3a6509e6634fb50a4d3f7d1153497382637ed005ff015406dbcacdab8cc

+ SHA512 (web.tar.xz) = 1aef5727386f9fe6da990ebd9d2abb3f15d5230c671d4346ac5b3b38782c4f00746a02b40e78c97fe0928556a8af1e737ccddbb9d17b811ca9acc5ad2309c0a6

The added file is too large to be shown here, see it at: texlive-20180414-poppler-20.11.0-luatex.patch
file modified
+114 -8
@@ -131,6 +131,15 @@ 

  # tcolorbox

  Source8034: ftp://tug.org/historic/systems/texlive/2018/tlnet-final/archive/tcolorbox.tar.xz

  Source8035: ftp://tug.org/historic/systems/texlive/2018/tlnet-final/archive/tcolorbox.doc.tar.xz

+ # ctie, cweb

+ Source60: ftp://tug.org/historic/systems/texlive/2018/tlnet-final/archive/ctie.doc.tar.xz

+ Source81: ftp://tug.org/historic/systems/texlive/2018/tlnet-final/archive/cweb.doc.tar.xz

+ Source82: ftp://tug.org/historic/systems/texlive/2018/tlnet-final/archive/cweb.tar.xz

+ # tie, web

+ Source317: ftp://tug.org/historic/systems/texlive/2018/tlnet-final/archive/tie.doc.tar.xz

+ Source318: ftp://tug.org/historic/systems/texlive/2018/tlnet-final/archive/tie.tar.xz

+ Source336: ftp://tug.org/historic/systems/texlive/2018/tlnet-final/archive/web.doc.tar.xz

+ Source337: ftp://tug.org/historic/systems/texlive/2018/tlnet-final/archive/web.tar.xz

  

  Patch1: tl-kpfix.patch

  Patch2: tl-format.patch
@@ -142,14 +151,14 @@ 

  Patch8: texlive-20180414-xml.patch

  # python3 support and mangling shebang

  Patch9: texlive-2017-python3.patch

- # fix for poppler-0.63

- Patch10: texlive-20180414-poppler-0.63.patch

  # annocheck distro flag failures

  Patch11: texlive-20180414-annocheck.patch

  # CVE-2018-17407

  Patch12: texlive-20180414-CVE-2018-17407.patch

  # covscan

  Patch13: texlive-20180414-covscan.patch

+ # fix for poppler-20.11.0

+ Patch15: texlive-20180414-poppler-20.11.0-luatex.patch

  

  %description

  %name includes many texlive extension which are dropped in RHEL
@@ -172,6 +181,43 @@ 

  documents. Filters are also provided for checking the LaTeX

  parts of CWEB documents.

  

+ %package -n %{shortname}-ctie

+ Provides: tex-ctie = %{epoch}:%{tl_version}-%{release}

+ Provides: texlive-ctie-bin = %{epoch}:%{tl_version}-%{release}

+ Provides: tex-ctie-bin = %{epoch}:%{tl_version}-%{release}

+ Obsoletes: texlive-ctie-bin < 7:20170520

+ License: GPL+

+ Summary: C version of tie (merging Web change files)

+ Requires: texlive-base

+ Requires: texlive-kpathsea

+ 

+ %description -n %{shortname}-ctie

+ This is a version of tie converted for use with cweb.

+ %package -n %{shortname}-cweb

+ Provides: tex-cweb = %{epoch}:%{tl_version}-%{release}

+ Provides: texlive-cweb-bin = %{epoch}:%{tl_version}-%{release}

+ Provides: tex-cweb-bin = %{epoch}:%{tl_version}-%{release}

+ Obsoletes: texlive-cweb-bin < 7:20170520

+ Provides: tex-cweb-doc = %{epoch}:%{tl_version}-%{release}

+ Provides: texlive-cweb-doc = %{epoch}:%{tl_version}-%{release}

+ Obsoletes: texlive-cweb-doc < 7:20170520

+ License: Knuth

+ Summary: A Web system in C

+ Requires: texlive-base

+ Requires: texlive-kpathsea

+ Provides: tex(cwebmac.tex) = %{epoch}:%{tl_version}-%{release}

+ Provides: tex(pdfXcwebmac.tex) = %{epoch}:%{tl_version}-%{release}

+ Provides: tex(pdfcwebmac.tex) = %{epoch}:%{tl_version}-%{release}

+ Provides: tex(pdfdcwebmac.tex) = %{epoch}:%{tl_version}-%{release}

+ Provides: tex(pdffcwebmac.tex) = %{epoch}:%{tl_version}-%{release}

+ Provides: tex(pdficwebmac.tex) = %{epoch}:%{tl_version}-%{release}

+ Provides: tex(pdfwebmac.tex) = %{epoch}:%{tl_version}-%{release}

+ 

+ %description -n %{shortname}-cweb

+ The Cweb system is a system for Structured Software

+ Documentation (also known as Literate Programming) in the

+ programming language C.

+ 

  %package -n %{shortname}-lacheck

  Provides: tex-lacheck = %{epoch}:%{tl_version}-%{release}

  Provides: texlive-lacheck-bin = %{epoch}:%{tl_version}-%{release}
@@ -717,6 +763,38 @@ 

  package supports saving and reuse of source code and text

  parts.

  

+ %package -n %{shortname}-tie

+ Provides: tex-tie = %{epoch}:%{tl_version}-%{release}

+ Provides: tex-tie-bin = %{epoch}:%{tl_version}-%{release}

+ Provides: texlive-tie-bin = %{epoch}:%{tl_version}-%{release}

+ Obsoletes: texlive-tie-bin < 7:20170520

+ License: Latex2e

+ Summary: Allow multiple web change files

+ Requires: texlive-base

+ Requires: texlive-kpathsea

+ 

+ %description -n %{shortname}-tie

+ Tie was originally developed to allow web programmers to apply

+ more than one change file to their source. The program may also

+ be used to create a new version of a .web file that

+ incorporates existing changes.

+ 

+ %package -n %{shortname}-web

+ Provides: tex-web = %{epoch}:%{tl_version}-%{release}

+ Provides: tex-web-bin = %{epoch}:%{tl_version}-%{release}

+ Provides: texlive-web-bin = %{epoch}:%{tl_version}-%{release}

+ Obsoletes: texlive-web-bin < 7:20170520

+ License: Knuth

+ Summary: Original web programs tangle and weave

+ Requires: texlive-base

+ Requires: texlive-kpathsea

+ 

+ %description -n %{shortname}-web

+ The system processes 'web' files in two ways: firstly to

+ rearrange them to produce compilable code (using the program

+ tangle), and secondly to produce a TeX source (using the

+ program weave) that may be typeset for comfortable reading.

+ 

  %prep

  %setup -q -c -T -a 0 -a 1

  [ -e %{source_name} ] && mv %{source_name} source
@@ -726,17 +804,21 @@ 

  %patch5 -p0

  %if 0%{?fedora} >= 28 || 0%{?rhel} >= 8

  %patch7 -p1 -b .newpoppler

- %patch10 -p1 -b .poppler-0.63.0

  %endif

  %patch11 -p1 -b .annocheck

  %patch12 -p1

  %patch13 -p1

+ pushd source

+ %patch15 -p1

+ popd

  

  %build

  export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Werror=format-security"

  export CXXFLAGS="$RPM_OPT_FLAGS -std=c++11 -fno-strict-aliasing -Werror=format-security"

  export LDFLAGS="%{build_ldflags}"

- cd source

+ cd source/texk/web2c/

+ autoreconf -vfi

+ cd ../..

  PREF=`pwd`/inst

  mkdir -p work

  cd work
@@ -791,7 +873,6 @@ 

     --disable-tex \

     --disable-ptex \

     --disable-xetex \

-    --disable-web2c \

     --disable-xpdfopen \

     %ifarch aarch64 %{mips} %{power64} s390 s390x

     --disable-luajittex \
@@ -815,9 +896,9 @@ 

  mkdir -p %{buildroot}%{_texdir}/texmf-dist

  mkdir -p %{buildroot}%{_texdir}/texmf-local

  

- # install lacheck and chktex bbox ps2eps

+ # install binaries and man pages

  mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man1

- for f in lacheck chktex chkweb deweb ps2eps bbox; do

+ for f in lacheck chktex chkweb ctangle ctie cweave deweb ps2eps bbox tangle tie weave; do

  install -m 755 source/inst/bin/$f %{buildroot}%{_bindir}

  install -m 644 source/inst/share/man/man1/$f*  %{buildroot}%{_mandir}/man1/

  done
@@ -830,7 +911,7 @@ 

     fi

     # find our special snowflakes

     case "$n" in

-       chktex.tar.xz|chktex.doc.tar.xz|ps2eps.tar.xz|ps2eps.doc.tar.xz)

+       chktex.*|ctie.*|cweb.*|ps2eps.*|tie.*|web.*)

          OUTDIR="%{buildroot}%{_texdir}"

          ;;

        *)
@@ -864,6 +945,20 @@ 

  %{_texdir}/texmf-dist/scripts/chktex/

  %doc %{_texdir}/texmf-dist/doc/chktex/

  

+ %files -n %{shortname}-ctie

+ %license gpl.txt

+ %{_bindir}/ctie

+ %{_mandir}/man1/ctie.1*

+ 

+ %files -n %{shortname}-cweb

+ %license knuth.txt

+ %{_bindir}/ctangle

+ %{_bindir}/cweave

+ %{_mandir}/man1/ctangle.1*

+ %{_mandir}/man1/cweave.1*

+ %{_texdir}/texmf-dist/tex/plain/cweb/

+ %doc %{_texdir}/texmf-dist/doc/plain/cweb/

+ 

  %files -n %{shortname}-lacheck

  %license gpl.txt

  %{_bindir}/lacheck
@@ -988,6 +1083,17 @@ 

  %{_texdir}/texmf-dist/tex/latex/tcolorbox/

  %{_texdir}/texmf-dist/doc/latex/tcolorbox/

  

+ %files -n %{shortname}-tie

+ %{_bindir}/tie

+ %{_mandir}/man1/tie.1*

+ 

+ %files -n %{shortname}-web

+ %license knuth.txt

+ %{_bindir}/tangle

+ %{_bindir}/weave

+ %{_mandir}/man1/tangle.1*

+ %{_mandir}/man1/weave.1*

+ 

  %changelog

  * Tue Aug 09 2022 Than Ngo <than@redhat.com> - 20180414-9

  - fixed #2113072 - added texlive-tcolorbox