termux-packages/packages/texlive/TLConfig.pm.patch
Henrik Grimler ce1c64ca2d Properly package texlive and split package into texlive & texlive-bin (#1203)
* texlive: enable makeindex and put man files and headers in proper location.

* texlive: upgrade to 2017

* texlive: split into texlive-bin and arch independent texlive-base.

Download texmf-dist and other tarballs and package necessary files instead of
using tlnet installer on device.

* texlive-base: extract only a minimal set of files from texmf-dist, do complete
uninstall on removal. Patch some files.

The texmf-dist tar is quite large so use --checkpoint to indicate progress.

* texlive: use gnupg2 instead of gnupg

* texlive: fix texlive profile

* texlive: added TL_BINDIR variable to simplify build scripts

* texlive: replace tlmgr symlink with small wrapper.

After `tlmgr update --self` has been run, the shebang of tlmgr.pl is
none-working and there is a reference to /bin/sh in TLUtils.pm. This wrapper
fixes this (if needed) before tlmgr is run.

* texlive: update command-not-found with a few common texlive commands.

* remove un-needed minimal.list

* Format generation working. xelatex activated.

Remove all texmf-dist files created by texlive-bin package.

* texlive: fix installation and removal of texlive-{bin,base}. All essential
fixes done.

Only thing remaining to fix is figuring out how to deal with the transition
texlive -> texlive-{bin,base}.

* texlive: use Breaks instead of Conflicts

* texlive: properly fix split into two packages [WIP]

* delete old termux-install-tl.sh

* texlive: Fix so that the upgrade from texlive 20170524-2 goes smoothly and
works as it should (with Breaks and Replaces). Also major clean up of texlive/build.sh.

* texlive: minor clean up of texlive/build.sh. Update patches to avoid (silent)
complaints from patching. Add previously forgotten install-tl.list with list
of files to take from install-tl-unx.tar.gz.

* texlive: make texlive-bin-dev properly replace texlive-dev.

Everything is done now, just need to wait for breaks and subpkg_replaces
before opening a pull request.

* texlive: skip format generation on install, rm old files in texlive-bin
as well.

Also decrease verbosity of installation

* texlive: when deleting old files, leave texmf-dist alone

* texlive: fix typo, correctly remove files from old texlive version
2017-08-09 23:09:01 +02:00

20 lines
774 B
Diff

--- src/texlive-20170524-extra/tlpkg/TeXLive/TLConfig.pm 2016-04-21 19:08:52.000000000 +0000
+++ ../TLConfig.pm 2017-05-30 13:18:48.030712610 +0000
@@ -165,13 +165,13 @@
[ "b", 1, "postcode",
"Run postinst code blobs" ],
"sys_bin" =>
- [ "p", "/usr/local/bin", "sys_bin",
+ [ "p", "@TERMUX_PREFIX@/bin", "sys_bin",
"Destination for symlinks for binaries" ],
"sys_info" =>
- [ "p", "/usr/local/share/info", "sys_info",
+ [ "p", "@TERMUX_PREFIX@/share/info", "sys_info",
"Destination for symlinks for info docs" ],
"sys_man" =>
- [ "p", "/usr/local/share/man", "sys_man",
+ [ "p", "@TERMUX_PREFIX@/share/man", "sys_man",
"Destination for symlinks for man pages" ],
"w32_multi_user" =>
[ "b", 1, "multiuser",