[tldistro] texmf_scripts installation
Florian Schmaus
flow at gentoo.org
Thu Jul 4 12:21:10 CEST 2024
On 04/07/2024 00.10, Karl Berry wrote:
> Hi Florian - thanks for writing.
Hi Karl - thanks for replying. :)
> Gentoo currently links mktexlsr ò mktexlsr.pl, when it should be
> mktexlsr ò mktexlsr (if I understand correctly).
>
> Right.
>
> I do not see any special handing for mktexlsr.pl
>
> mktexlsr.pl is simply not listed in TL's linked_scripts/Makefile[.am],
> thus no link is created for it in TL's make install.
>
> How can we determine which linked scripts Gentoo should symlink
> and which not?
>
> 1) Current answer: instead of doing a directory listing of
> linked_scripts (I gather that's what's happening?), you can read
> the linked_scripts/scripts.lst file to determine the targets of the
> symlinks.
Parsing scripts.lst is already exactly what we are doing [1]. :)
However, mktexlsr.pl was previously listed in scripts.lst [2] and then
removed [3]. For TexLive 2023, we parse the a state of texlive.git [4]
where mktexlsr.pl is included in scripts.lst. Seems like we were lucky
enough to hit this narrow time window.
For now, I will simply adjust our tooling to always exclude mktexlsr.pl.
Are there any other scripts in scripts.lst we should exclude as well?
> 2) Near future answer: I plan to autocreate a second file that lists
> both the targets and the link names, to eliminate the exceptions. I
> don't have an ETA, but it is pretty high on my list. (If someone else
> wants to tweak Makefile.am to do this, so much the better.) --thanks, karl.
Sounds sensible.
Thanks!
- Flow
1:
https://gitlab.gentoo.org/flow/tex-ebuild-o-mat/-/blob/4a0e9a462d1ae03cda037b1183074aeb9324559c/main/src/eu/geekplace/tex/LinkedScripts.scala#L6
2:
https://github.com/TeX-Live/texlive-source/commit/f744029b0fc73c79a655443fa744f4d281cb23b8
3:
https://github.com/TeX-Live/texlive-source/commit/3b86c8ec2658ee3e5a8eae4f35aca8941e3932c2#diff-eb9b11baffff8726489a5d902da103837c40e653c9f9cb97a2302cb67c60a706L182
4:
https://git.texlive.info/texlive/commit/?id=e50928cec6ab5ebd6b6a240787811784e3a96b43
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x8CAC2A9678548E35.asc
Type: application/pgp-keys
Size: 21237 bytes
Desc: OpenPGP public key
URL: <https://tug.org/pipermail/tldistro/attachments/20240704/523198a5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: OpenPGP digital signature
URL: <https://tug.org/pipermail/tldistro/attachments/20240704/523198a5/attachment.sig>
More information about the tldistro
mailing list.