Commit Graph

57 Commits

Author SHA1 Message Date
Henrik Grimler
7926ba9299 texlive: fix postinst, prerm, preinst scripts (#1648)
* texlive: use bash instead of sh in preinst scripts

* texlive: remove old trailing comment

* texlive: use bash instead of sh in postinst and prerm scripts.

sh doesn't support "mkdir folder1/{folder2,folder3}" and similar.

* texlive: export TMPDIR in postinst so that fresh installation will work also in ssh shell
2017-10-11 00:48:35 +02:00
Henrik Grimler
b5457c5b0f texlive-bin: enable extglob locally in preinst script (#1643)
* texlive-bin: enable extglob locally in preinst script. Solves https://github.com/termux/termux-packages/issues/1639

* texlive-bin: re-add TMPDIR to profile.d/texlive.sh

* texlive: use extglob in preinst script
2017-10-09 18:34:10 +02:00
Henrik Grimler
52dd7fada6 texlive-bin: patch to make it work with poppler 0.59.0 (#1606) 2017-10-08 15:05:27 +02:00
Fredrik Fornwall
51c7760090 Drop need of setting TERMUX_PKG_FOLDERNAME
Instead figure out the top level source folder ourselves.
2017-09-20 00:48:04 +02:00
Stephen
bf8a1cb41e add build dependency 2017-08-18 21:33:39 +02:00
Henrik Grimler
ef0aec5e3a texlive: keep certain texmf-dist files in texlive-bin (texliveonfly, ...).
Also add texlive as recommended package to texlive-bin.
2017-08-13 00:45:15 +02:00
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