From bff9d2048207f0c6f3defbf420c3d4d4ff94d74a Mon Sep 17 00:00:00 2001 From: Tom spot Callaway Date: Jun 21 2021 14:38:21 +0000 Subject: remove deprecated .setpdfwrite ghostscript call from dvipdf file (that is not used by anything or packaged up, but lets be thorough in case that changes) --- diff --git a/texlive-base-20210325-no-setpdfwrite.patch b/texlive-base-20210325-no-setpdfwrite.patch new file mode 100644 index 0000000..a68f83c --- /dev/null +++ b/texlive-base-20210325-no-setpdfwrite.patch @@ -0,0 +1,10 @@ +diff -up texlive-base-20210325/source/utils/asymptote/patches/dvipdf.no-setpdfwrite texlive-base-20210325/source/utils/asymptote/patches/dvipdf +--- texlive-base-20210325/source/utils/asymptote/patches/dvipdf.no-setpdfwrite 2021-06-21 10:05:10.392585479 -0400 ++++ texlive-base-20210325/source/utils/asymptote/patches/dvipdf 2021-06-21 10:05:30.969698895 -0400 +@@ -50,5 +50,5 @@ fi + + # We have to include the options twice because -I only takes effect if it + # appears before other options. +-exec dvips $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite - ++exec dvips $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c 3000000 setvmthreshold - + diff --git a/texlive-base.spec b/texlive-base.spec index 37fe9c6..f340378 100644 --- a/texlive-base.spec +++ b/texlive-base.spec @@ -20,7 +20,7 @@ Name: %{shortname}-base Version: %{source_date} -Release: 35%{?dist} +Release: 36%{?dist} Epoch: 9 Summary: TeX formatting system # The only files in the base package are directories, cache, and license texts @@ -472,6 +472,9 @@ Patch31: texlive-base-20210325-configure-poppler-xpdf-fix.patch # http://tug.org/svn/texlive?view=revision&revision=59169 Patch32: texlive-base-20210325-mendex-weird-arch-fixes.patch +# Remove deprecated setpdfwrite ghostscript call +Patch33: texlive-base-20210325-no-setpdfwrite.patch + # Can't do this because it causes everything else to be noarch # BuildArch: noarch BuildRequires: make @@ -6732,6 +6735,7 @@ xz -dc %{SOURCE0} | tar x %patch30 -p1 -b .out_of_memory %patch31 -p1 -b .poppler-xpdf-fix %patch32 -p1 -b .archfix +%patch33 -p1 -b .no-setpdfwrite # Setup copies of the licenses for l in `unxz -c %{SOURCE3} | tar t`; do @@ -9377,6 +9381,9 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || : %doc %{_texdir}/texmf-dist/doc/latex/yplan/ %changelog +* Mon Jun 21 2021 Tom Callaway - 9:20210325-36 +- remove deprecated .setpdfwrite ghostscript call + * Fri May 28 2021 Tom Callaway - 9:20210325-35 - force system font maps to be sync'd with trees and regenerated in the triggers