Author: ken Date: Sat Jan 30 11:56:52 2021 New Revision: 24157 Log: Really fix dvisvgm to use python3.
Modified: trunk/BOOK/introduction/welcome/changelog.xml trunk/BOOK/pst/typesetting/dvisvgm.xml Modified: trunk/BOOK/introduction/welcome/changelog.xml ============================================================================== --- trunk/BOOK/introduction/welcome/changelog.xml Sat Jan 30 00:22:08 2021 (r24156) +++ trunk/BOOK/introduction/welcome/changelog.xml Sat Jan 30 11:56:52 2021 (r24157) @@ -45,6 +45,11 @@ <para>January 30th, 2021</para> <itemizedlist> <listitem> + <para>[ken] - Move sed of a Makefile.in in dvisvgm after + autoreconf which recreates the original. Further fix for + <ulink url="&blfs-ticket-root;14547">#14547</ulink>.</para> + </listitem> + <listitem> <para>[renodr] - Update to xf86-video-nouveau-1.0.17. Fixes <ulink url="&blfs-ticket-root;14557">#14557</ulink>.</para> </listitem> Modified: trunk/BOOK/pst/typesetting/dvisvgm.xml ============================================================================== --- trunk/BOOK/pst/typesetting/dvisvgm.xml Sat Jan 30 00:22:08 2021 (r24156) +++ trunk/BOOK/pst/typesetting/dvisvgm.xml Sat Jan 30 11:56:52 2021 (r24157) @@ -119,7 +119,7 @@ <screen role="root"><userinput>ln -svf /opt/texlive/&texlive-year;/lib/libkpathsea.so /usr/lib</userinput></screen> - <para> +<!--<para> The testsuite assumes that a modern version of <application>Python</application> has been installed as plain <command>python</command>. Adjust it to use <command>python3</command> with the following sed: @@ -127,12 +127,23 @@ <screen><userinput>sed -i 's/python/&3/' tests/Makefile.in</userinput></screen> +--> + <para> + The testsuite assumes that a modern version of <application>Python</application> + has been installed as plain <command>python</command>. Changing this to use + <command>python3</command> requires a sed to one of <filename>Makefile.in</filename> + files, but that gets regenerated when <command>autoreconf</command> is run, so + the sed must come after that. + </para> + <para> - Now install <application>dvisvgm</application> by running the following +<!-- Now install <application>dvisvgm</application> by running the following--> + Install <application>dvisvgm</application> by running the following commands: </para> -<screen><userinput>autoreconf -fiv && +<screen><userinput>sed -i 's/python/&3/' tests/Makefile.in && +autoreconf -fiv && ./configure \ --bindir=/opt/texlive/&texlive-year;/bin/${TEXARCH} \ --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \ -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page