[tldistro] TexLive on MSYS2

Naveen M K naveen at syrusdark.website
Sun Apr 4 19:16:58 CEST 2021


Hello,

I am from MSYS2[0], and I have some plans to package TexLive. MSYS2 has a package manager called Pacman, which is a Windows port of Archlinux[1] Pacman.

So, I decided that it would be better to copy recipes from Archlinux [2]. I was able to build the same `texlive-bin` package[3], where I had to patch[4] few files because MSYS2 has newer version of MINGW-64. Now, I am wondering why I had to make many symlinks, which Archlinux makes[5].

After that, I moved to `texlive-core`[6], and it confused me a bit. For sources, archlinux uses sources from it's own website[7], and I was wondering what it was. After, downloading them I found they were clone of CTAN with archive of packages(I think picked randomly picked?). This made me wonder whether I should use the same from archlinux? Will it cause any problems? I have also, made a repo[8], where there is a python script which will create something similar to those. I wasn't able to match things from Archlinux, so I selected `scheme-medium` as an option. I still wonder whether is that necessary.

Moving on, I found some extra things in in Archlinux package[6], like `texlive-core.fmts`, `texlive-core.maps`,`texmfcnf.lua`,` texmf.cnf` , and I have no idea on how those things should created, what should it do? I would appreciate if any helps me here on whether I should have then also in those pacakge, if yes how to create them?

Also, am I on the correct place to ask these?

Thanks,


[0]... https://www.msys2.org/
[1]... https://archlinux.org/
[2]... https://github.com/archlinux/svntogit-packages/blob/packages/texlive-bin/trunk/PKGBUILD
[3]... https://github.com/msys2/MINGW-packages/pull/8271
[4]... https://github.com/msys2/MINGW-packages/pull/8271/files
[5]... https://github.com/archlinux/svntogit-packages/blob/packages/texlive-bin/trunk/PKGBUILD#L124-L150
[6]... https://github.com/archlinux/svntogit-packages/tree/packages/texlive-core/trunk
[7]... https://github.com/archlinux/svntogit-packages/blob/packages/texlive-core/trunk/PKGBUILD#L32
[8]... https://github.com/msys2/msys2-texlive


Best Regards,
Naveen
@naveen521kk



More information about the tldistro mailing list.