Ignore:
Timestamp:
03/20/2024 07:27:56 PM (7 months ago)
Author:
Ken Moffat <zarniwhoop@…>
Branches:
12.2, gimp3, lazarus, trunk, xry111/for-12.3, xry111/spidermonkey128
Children:
4023404
Parents:
0f9423c3 (diff), 73089ed3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'ken/TL2024' into trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/typesetting/texlive.xml

    r0f9423c3 r6c89deff  
    77  <!ENTITY texlive-download-http "https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/&texlive-year;/texlive-&texlive-version;-source.tar.xz">
    88  <!ENTITY texlive-download-ftp  " ">
    9   <!ENTITY texlive-md5sum        "bec84c5d6e340967783302f432c78efe">
    10   <!ENTITY texlive-size          "66 MB">
    11 
    12   <!ENTITY texlive-buildsize      "8.5 GB including the additional download and the tests, 7.7 GB installed">
    13   <!ENTITY texlive-time           "2.3 SBU including the additional download and the tests, building with parallelism=4">
     9  <!ENTITY texlive-md5sum        "1da2f08e3ba4a3708870dd088c1d6823">
     10  <!ENTITY texlive-size          "67 MB">
     11
     12  <!ENTITY texlive-buildsize      "9.1 GB including the additional download and the tests, 8.3 GB installed">
     13  <!ENTITY texlive-time           "4.6 SBU including the additional download and the tests, building with parallelism=4">
    1414
    1515  <!-- utah -->
    1616  <!ENTITY texlive-texmf-download-http "https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/&texlive-year;/texlive-&texlive-version;-texmf.tar.xz">
    1717  <!ENTITY texlive-texmf-download-ftp  " ">
    18   <!ENTITY texlive-texmf-md5sum        "704fb39c69e3710b8e9e9158cec5047a">
    19   <!ENTITY texlive-texmf-size          "3.7 GB">
    20 
    21   <!ENTITY texlive-tlpdb-download-http "https://ftp.tu-chemnitz.de/pub/tug/historic/systems/texlive/&texlive-year;/texlive-&tex-tlpdb-version;-tlpdb-full.tar.gz">
    22   <!ENTITY texlive-tlpdb-download-ftp  " ">
    23   <!ENTITY texlive-tlpdb-md5sum        "5078a7ddaa7b309b7392e33916b817f7">
    24   <!ENTITY texlive-tlpdb-size          "3.2 MB">
    25 
     18  <!ENTITY texlive-texmf-md5sum        "e67ce334dd0fddda5f4a87b4fcaaf48f">
     19  <!ENTITY texlive-texmf-size          "4.0 GB">
     20
     21  <!ENTITY texlive-extra-download-http "https://ftp.tu-chemnitz.de/pub/tug/historic/systems/texlive/&texlive-year;/texlive-&texlive-version;-extra.tar.xz">
     22  <!ENTITY texlive-extra-download-ftp  " ">
     23  <!ENTITY texlive-extra-md5sum        "1bd045bd1673ce61bde590c10b86c6cc">
     24  <!ENTITY texlive-extra-size          "1.9 MB">
     25
     26<!-- The following commit will change future installs so that the scripts in
     27texmf-dist linked from bin/ are copied instead of symlinks.
     28
     29commit 0c9707142465610f0e22745a22bf8c71850cef49
     30Author: Karl Berry <karl@freefriends.org>
     31Date:   Tue Mar 19 22:03:22 2024 +0000
     32
     33    (%opts): create the generically-named output files as copies by default.
     34    (@cmdline_options): allow -no-copy.
     35    (help): document.
     36   
     37   
     38    git-svn-id: svn://tug.org/texlive/trunk@70707 c570f23f-e606-0410-a88d-b1316a301751
     39
     40That was done to simplify the process (windows has always used copy) and will likely
     41make the installed sizes somewhat bigger.
     42
     43There is an option \-\-no-copy for updmap.pl, unclear if that can be used here,
     44and it might have been removed by next year. -->
    2645]>
    2746
     
    153172
    154173      <para>
    155         From the 2019 year, the tlpdb database of the packages within texlive is
    156         no-longer installed with the source. But <command>texdoc</command> needs
    157         a cache file derived from this (and will create the cache on its first
    158         run).
     174        The tlpdb database is shipped as a separate tarball. The
     175        <command>texdoc</command> program needs a cache file derived
     176        from this (and will create the cache on its first run).
    159177      </para>
    160178
     
    162180      <listitem>
    163181        <para>
    164           Download (HTTP): <ulink url="&texlive-tlpdb-download-http;"/>
    165         </para>
    166       </listitem>
    167       <listitem>
    168         <para>
    169           Download (FTP): <ulink url="&texlive-tlpdb-download-ftp;"/>
    170         </para>
    171       </listitem>
    172       <listitem>
    173         <para>
    174           Download MD5 sum: &texlive-tlpdb-md5sum;
    175         </para>
    176       </listitem>
    177       <listitem>
    178         <para>
    179           Download size: &texlive-tlpdb-size;
    180         </para>
    181       </listitem>
    182 
    183       <listitem>
     182          Download (HTTP): <ulink url="&texlive-extra-download-http;"/>
     183        </para>
     184      </listitem>
     185      <listitem>
     186        <para>
     187          Download (FTP): <ulink url="&texlive-extra-download-ftp;"/>
     188        </para>
     189      </listitem>
     190      <listitem>
     191        <para>
     192          Download MD5 sum: &texlive-extra-md5sum;
     193        </para>
     194      </listitem>
     195      <listitem>
     196        <para>
     197          Download size: &texlive-extra-size;
     198        </para>
     199      </listitem>
     200
     201<!--  <listitem>
    184202        <para>
    185203          Required patch: <ulink url=
    186204          "&patch-root;/texlive-&texlive-version;-source-security_fix-1.patch"/>
    187205        </para>
    188       </listitem>
     206      </listitem>-->
    189207    </itemizedlist>
    190208
     
    230248        If you wish to upgrade to current <application>texlive</application>
    231249        on an older system where extra packages (<application>asymptote</application>,
    232         <application>biber</application>, <application>dvisvgm</application>, or
     250        <!-- Ken: comment biber - usually a new texyear has brought a new version
     251        but not so far for 2024. Looking at what it installs it is only perl
     252        modules and their man pages so those ought to still exist after the
     253        previous year's texlive has been removed.
     254        <application>biber</application>, -->
     255                                          <application>dvisvgm</application>, or
    233256        <application>xindy</application>) have been installed, you will need to
    234257        reinstall those as well as fixing up your <literal>PATH</literal> for
     
    249272    </para>
    250273
     274<!-- if a patch for the source is needed, this should go between the export
     275        ande configure. But keeping it there as a commented line adds too much vertical space.
     276    patch -Np1 -i ../texlive-&texlive-version;-source-security_fix-1.patch &amp;&amp;-->
    251277<screen><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
    252 
    253 patch -Np1 -i ../texlive-&texlive-version;-source-security_fix-1.patch &amp;&amp;
    254278
    255279mkdir texlive-build &amp;&amp;
     
    286310    <para>
    287311      To test the results, issue: <command>make -k check</command>.
    288       <!-- It started to fail with libpaper-2.0.10 which rounds differently
    289            in the 6th place of decimals, causing diff to fail -->
    290       Two tests, <filename>psutils.test</filename> and
    291       <!-- Upstream say that encoding conversion procedure Encode::from_to()
    292       failed in fn-generate.perl, test now skips if that errors: possibly
    293       related to changes in perl-5.36 since I understand current slackware
    294       also sees this - ken -->
    295       <filename>eptexdir/wcfname.test</filename> are known to fail.
     312      <!-- https://github.com/rrthomas/libpaper/issues/43 -->
     313      One test <filename>psutils.test</filename> is known to fail if
     314      using system libpaper because TeX Live includes old versions of both
     315      <application>psutils</application> and <application>libpaper</application>
     316      which result in a difference in the final decimal places of the psresize
     317      test. The <application>libpaper</application> developer does not think
     318      this is significant.
    296319    </para>
    297320
     
    301324
    302325<!-- Editors, you can run 'make texlinks' in a DESTDIR by passing
    303 DESTDIR#some/where -->
     326DESTDIR=some/where -->
    304327<screen role="root"><userinput>make install-strip &amp;&amp;
    305328make texlinks      &amp;&amp;
    306329mkdir -pv                                $TEXLIVE_PREFIX/tlpkg/TeXLive/ &amp;&amp;
    307330install -v -m644 ../texk/tests/TeXLive/* $TEXLIVE_PREFIX/tlpkg/TeXLive/ &amp;&amp;
    308 tar -xf ../../texlive-&tex-tlpdb-version;-tlpdb-full.tar.gz -C $TEXLIVE_PREFIX/tlpkg</userinput></screen>
     331tar -xf ../../texlive-&texlive-version;-extra.tar.xz -C $TEXLIVE_PREFIX/tlpkg --strip-components=2</userinput></screen>
    309332
    310333    <note>
     
    349372
    350373    <note>
    351       <!-- following based on fedora, but amended to run in the BLFS
    352            layout, where adapting fedora's script for mtxrun did not
    353            reliably work. ken -->
    354       <para>
    355         TeXLive includes some files for ConTeXt but the source of that is
    356         separate and has moved on from using luatex in the previous 'mkiv'
    357         version to using luametatex which can be pulled with git from <ulink
    358         url="https://github.com/contextgarden/luametatex/tags">github luametatex</ulink>.
    359         LuaMetaTeX uses meson and ninja, but it does not fit easily into
    360         the BLFS layout of TeXLive.
    361         <!-- FIXME - when removing, keep that link to luametatex tags, and note
    362         that building and installing that to fit with a BLFS install of TeXLive
    363         will not be a trivial exercise.-->
    364       </para>
    365       <para>
    366         However, with a little extra work 'mkiv' files can still be processed
    367         using the files shipped in texmf.
    368       </para>
    369 
    370       <para>
    371         <emphasis>Fixes to use ConTeXt will be removed when the texlive source next
    372         has to be updated for either a vulnerability fix which requires backporting
    373         luatex changes, or for TeXLive 2024. If you are a BLFS user of ConTeXt you
    374         should be prepared to use the latest tag from github (the link is
    375         in first paragraph of this Note). Building and installing that to work with
    376         a BLFS install of TeXLive will not be a trivial exercise.</emphasis>
     374      <para>
     375        TeX Live does not include the source for ConTeXt, only the items that
     376        are at CTAN. Trying to build ConTeXt purely from source on a  BLFS
     377        TeX Live system is a niche usage and looks as if it will be more trouble
     378        than it is worth.
     379      </para>
     380
     381      <para>
     382        If you wish to use ConTeXt with <command>luametatex</command> (most of
     383        the old MKII and MKIV code was removed from TeX Live 2023 by the ConTeXt
     384        developer), starting with the binary (only installing ConTeXt, 753 MB in
     385        March 2024) would probably be the easiest way to bootstrap it. The source
     386        for <command>luametatex</command> can be pulled with git from <ulink
     387        url="https://github.com/contextgarden/luametatex/tags">github
     388        luametatex</ulink>, compiled with meson and ninja, and installed by
     389        copying to the correct program directory. This should avoid having to
     390        fix all the symlinks etc and also avoid including the many unrelated
     391        <!-- trying to use a filename tag here is rejected within para ?? -->
     392        parts of texmf-dist.
     393        See comments 1 to 5 of
     394        <ulink url="&blfs-ticket-root;17823">#17823</ulink>.
    377395      </para>
    378396    </note>
    379 
    380     <para>
    381        The following steps, run as the
    382        <systemitem class="username">root</systemitem> user, will create
    383        <command>mtxrun</command> and <command>context</command>.
    384      </para>
    385 
    386 <!-- I've put blank lines in this to make it a little less hard to read. ken -->
    387 <screen role="root"><userinput>sed -e '/local template=\[\[--ini/s/\(primaryflags%\)\(.*\)/\1 --socket --shell-escape \2/' \
    388  -e '/local template=\[\[%primaryflags%/s/\(primaryflags%\)\(.*\)/\1 --socket --shell-escape \2/' \
    389   -i $TEXLIVE_PREFIX/texmf-dist/scripts/context/lua/mtxrun.lua &amp;&amp;
    390 
    391 mkdir -pv $TEXLIVE_PREFIX/texmf-var/luatex-cache/context/ &amp;&amp;
    392 
    393 ln -sfv /$TEXLIVE_PREFIX/texmf-dist/scripts/context/lua/mtxrun.lua \
    394         /$TEXLIVE_PREFIX/bin/$TEXARCH/mtxrun &amp;&amp;
    395 
    396 cat > $TEXLIVE_PREFIX/bin/$TEXARCH/context &lt;&lt; EOF
    397 #!/bin/sh
    398 export TEXMF=$TEXLIVE_PREFIX/texmf-dist;
    399 export TEXMFCNF=$TEXLIVE_PREFIX/texmf-dist/web2c;
    400 export TEXMFCACHE=$TEXLIVE_PREFIX/texmf-var/luatex-cache/context/;
    401 $TEXLIVE_PREFIX/bin/$TEXARCH/mtxrun --script context "\$@"
    402 EOF
    403 chmod -v 0755 $TEXLIVE_PREFIX/bin/$TEXARCH/context</userinput></screen>
    404397
    405398    <para>
     
    415408
    416409    <para>
    417       <command>patch -Np1 -i ../texlive-&texlive-version;-source-security_fix-1.patch</command>:
    418       this updates the luatex source to v1.17.0 to fix security issues.
    419     </para>
    420 
    421     <para>
    422       <command>sed -e '/local template (...)' (...)mtxrun.lua</command>: this makes a
    423       change in a texmf-dist script so that ConTeXt can now run with luatex-v1.17.0.
    424     </para>
    425 
    426     <para>
    427410      <command>-C</command>: create config.cache, this saves significant
    428411      time in a parallel build.
     
    448431
    449432    <para>
    450       <command>--disable-dvisvgm</command>: As noted above, the shipped version
     433      <parameter>--disable-dvisvgm</parameter>: As noted above, the shipped version
    451434      of dvisvgm, which has modified configuration files, cannot be built with
    452435      shared system libraries.
     
    484467      <command>fmtutil-sys --all</command>: This initializes the TeX formats,
    485468      Metafont bases and Metapost mems.
    486     </para>
    487 
    488     <para>
    489       <command>mkdir -pv $TEXLIVE_PREFIX/texmf-var/luatex-cache/context/</command>:
    490       the context script created after this will not run correctly if this
    491       directory is not present.
    492469    </para>
    493470
Note: See TracChangeset for help on using the changeset viewer.