pantry icon indicating copy to clipboard operation
pantry copied to clipboard

+mactex

Open tnxz opened this issue 1 year ago • 4 comments

tnxz avatar Jul 09 '24 07:07 tnxz

this one is potentially difficult, for a number of reasons:

  • they distribute a .pkg installer; we might be able to disassemble it, but i'd be worried about the ability of the pieces to live under an indeterminate tree
  • the licensing question isn't clear:

The software in MacTeX is available without fees for both personal and professional use. This software has been produced by thousands of programmers, and each piece comes with its own license. So redistribution of files from the MacTeX collection should be done with care after reading the License restrictions from these copyright holders.

  • i don't seem to be able to locate a source distribution. most likely because it's a suite of numerous other programs.

so, this will be an interesting problem to solve, if it is solvable.

jhheider avatar Jul 09 '24 15:07 jhheider

we could do texlive instead but they provide a perl script to install on unix like systems

currently i am using this guide https://pwsmith.github.io/2020/06/16/custom-install-texlive-on-mac/ to install texlive to a custom location

tnxz avatar Jul 09 '24 16:07 tnxz

that looks reasonably promising, though probably not build-from-source. we'd either need to pass all the options on the command line to the script, or mod it to accept the options we want.

jhheider avatar Jul 09 '24 17:07 jhheider

needs more work, but this is a start: https://github.com/pkgxdev/pantry/commit/adba989323c816ee5040f4c63354542f4e34075a

jhheider avatar Jul 10 '24 00:07 jhheider