Commit Graph

19 Commits

Author SHA1 Message Date
Henrik Grimler
3c27d8afbc texlive: move texmf.cnf from texlive to texlive-bin
Some files (like texmf.cnf) are patched/changed when building texlive-bin.
It is therefore better to include them in texlive-bin instead of using the
original files in texlive.
2018-01-30 14:14:33 +01:00
Henrik Grimler
7e2699df15 texlive: Move files to std locations [WIP] 2018-01-30 14:14:33 +01:00
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
its-pointless
c2a0bc2bab put shebang in scripts 2017-08-17 00:26:27 +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
Fredrik Fornwall
6c29aaa1c7 Transition from gnustl to libc++
This will make things as std::to_string() and other C++ features
work with a modern and supported C++ library.

We package up libc++_shared.so and bump the revision of every C++
using package to make it rebuild against it.

Users who have built C++ using libraries or programs will probably
need to rebuild them if they are linked against Termux-supplied
libraries, as user code was previously linked against gnustl while
the system libraries are now using libc++, and it's not a good idea
to mix C++ standard libraries in a program.
2017-07-14 00:23:37 +02:00
Fredrik Fornwall
d452c5aa54 cairo: Update from 1.4.8 to 1.4.10
This required rebuilding cairo-using packages due to a shared
library name change (libcairo.so.2 -> libcairo.so).
2017-06-19 15:26:27 +02:00
Henrik Grimler
58a466a46d Texlive: fix #1068, #1069 by upgrading to texlive 2017 (#1072)
* texlive: enable makeindex and put man files and headers in proper location.

* texlive: use historic install-tl-unx.tar.gz version. (fixes #1068, #1069).

Also include profile.d/texlive.sh in package instead of creating it in termux-install-tl.

* texlive: remove files from old installation script preinst.

* texlive: remove bin/custom and texmf-dist prerm

* texlive: improve sed patch.

Otherwise, running termux-install-tl twice fails.

* texlive: use proper sys-man dir and sys-info dir.

* texlive: propose me as maintainer

* texlive: upgrade to 2017

* texlive: add gnupg to dep to allow tlmgr to check downloaded packages
2017-06-07 00:43:15 +02:00
Henrik Grimler
0a91a51e78 texlive: fix installation issues and reported shebang issue (#957)
* texlive: correctly move man pages, add wget as dependecy and fix shebangs of
some scripts.

* texlive: busybox version of rm doesn't support -d

* texlive: Don't fix shebangs in texmf-dist/scripts/texlive (gives error when installing), so far no one has reported shebang errors from files in this folder.
2017-04-24 13:43:30 +02:00
Fredrik Fornwall
c35073b819 harfbuzz&texlive: Bump after libicu 59.1 update 2017-04-22 02:04:03 +02:00
Grimler91
099d4d4980 texlive: remove -N option from wget command in termux-install-tl. (#873)
Busybox version of wget doesn't support -N so wget shouldn't use -N (or be
added to package dependencies).
2017-03-22 21:10:30 +01:00
Fredrik Fornwall
d5585b7585 texlive: Move man pages to normal path
This ensures that the man command works, and fixes complaints
from a validation script that thinks that all man pages should be
under $PREFIX/share/man.
2017-03-22 00:23:37 +01:00
Grimler91
d8a7fd1e31 texlive: Changed install-tl-unx.tar.gz to a historic version and removed the previous patch to install-tl. (#862) 2017-03-20 20:39:53 +01:00
rnauber
d415b125a8 Enable texlive (#752) 2017-03-08 17:41:26 +01:00
Fredrik Fornwall
cb958a2e23 texlive: Move to disable packages
There is some work remaining to build harfbuzz-icu and graphite
support in harfbuzz.
2017-01-19 06:03:56 +01:00
Fredrik Fornwall
290d898df5 texlive: Some work in progress 2017-01-19 06:01:54 +01:00
Fredrik Fornwall
7107b78bf9 texlive: Switch from luajit to lua 2017-01-19 04:26:04 +01:00
rnauber
cb2a32e4df Add a TexLive package (#621)
* Add a TexLive package

* fix texlive installer

* some polish for texlive

* some more polish for texlive

* texlive: automatically trigger (post-)installation

* texlive: remove the bundled icu from the PR and polish some more...

* texlive: fix hardcoded build tuple and use popplers xpdf
2017-01-19 04:21:42 +01:00