Commit Graph

52 Commits

Author SHA1 Message Date
Henrik Grimler
8efa9ef5e0 texlive: make new subpackages conflict with fontsextra
Fix typos when retrieving file lists for texlive-libertinus-type1 and
texlive-ipaex-type1 and make sure mktexlsr can be found in postinst scripts

%ci:no-build
2021-12-04 14:36:36 +01:00
Henrik Grimler
3f1f516e58 texlive: create 20 new subpackages from texlive-fontsextra to decrease size 2021-12-04 14:36:36 +01:00
Henrik Grimler
89952bd6b6 texlive: fix more scripts
Midly annoying that the texlive root is not retrieved from TEXMFROOT..
2021-12-04 14:36:36 +01:00
Henrik Grimler
01abe10e2a texlive: depend on texlive-bin >= 20200406-4
Required since binaries where moved to $PREFIX/bin/texlive.
2021-12-04 14:36:36 +01:00
Henrik Grimler
4ead576743 texlive: mv from main repository
Also add profile.d script to add bin/texlive/ to path as binaries in texlive-bin have been moved there
2021-12-04 14:36:36 +01:00
Henrik Grimler
35da412d5c texlive: mv to science-packages instead (#5231)
* texlive: mv to science-packages

Might help decrease the bandwidth a little bit

* texlive-bin: mv binaries to subfolder bin/texlive/

New package texlive-installer needs to be given a directory with texlive-binaries and then parses it to look for various programs
2020-05-01 23:37:22 +02:00
Henrik Grimler
3f240160fb texlive: bump and make texlive-full conflict with texlive-tlmgr 2020-04-12 16:39:15 +02:00
Henrik Grimler
6560f14629 texlive: update to 20200406 (#5138)
* texlive-full: depend on texlive-bibtexextra as well

Fixes https://github.com/termux/termux-packages/issues/4871

* texlive-tlmgr: remove package

Will look at creating a "texlive-installer" package in the unstable
repository instead.

* texlive: fix paths in a couple of scripts

Fixes https://github.com/termux/termux-packages/issues/4823.

* texlive: upgrade to 20200410

* texlive-bin: fix path to host built otangle

* texlive: fix tlpdb version

* texlive: conflict with more subpackages from last year
2020-04-12 12:38:37 +02:00
Henrik Grimler
3a02c6402a texlive: add some files to base texlive package
%ci:no-build
2019-11-17 20:49:41 +01:00
Leonid Pliushch
c352216c63 packages: standardize values of several control variables for build.sh
Variables

 TERMUX_PKG_PLATFORM_INDEPENDENT
 TERMUX_DEBUG
 TERMUX_PKG_HAS_DEBUG
 TERMUX_PKG_ESSENTIAL
 TERMUX_SUBPKG_ESSENTIAL
 TERMUX_PKG_NO_STATICSPLIT
 TERMUX_PKG_BUILD_IN_SRC
 TERMUX_PKG_FORCE_CMAKE
 TERMUX_PKG_HOSTBUILD

should not accept arbitrary values for marking them "enabled". Instead
they should accept boolean values which makes them easier to handle and
also makes their meaning clear.

build-package.sh should make decision based on variable's value but not on
whether it is set or empty.

%ci:no-build
2019-08-12 18:49:13 +03:00
Leonid Pliushch
e7d2c9884f texlive: bump revision after 0d1170cc 2019-05-06 19:48:06 +03:00
Fredrik Fornwall
a2b420dc93 texlive: Fix build error 2019-05-06 00:09:54 +02:00
Henrik Grimler
06b57a5619 texlive: fix error in termux_step_post_extract_package 2019-05-02 15:52:08 +03:00
Henrik Grimler
8dc09d6e2b texlive subpackages: conflict with texlive 2018 2019-05-02 15:52:07 +03:00
Henrik Grimler
678087485e texlive: add copyright header to scripts 2019-05-02 15:52:07 +03:00
Henrik Grimler
1d2065eabf texlive: update to 20190410 2019-05-02 15:52:07 +03:00
Henrik Grimler
5da798198d texlive-lancjk, texlive-langkorean: fix recursive dependency
Also tidy up python scripts
2019-05-02 15:52:07 +03:00
Henrik Grimler
5dec1f47ca texlive: Update in preparation for texlive 2019 release 2019-05-02 15:52:07 +03:00
Henrik Grimler
f5678cf188 texlive: remove source and doc folders to save space 2019-05-02 15:52:07 +03:00
Henrik Grimler
ed69e2bec5 texlive-full: add dependency for subpackages 2019-05-02 15:52:06 +03:00
Henrik Grimler
fc63ad7d3e texlive: improve readability of python scripts a bit 2019-05-02 15:52:06 +03:00
Henrik Grimler
8f2d0e7c0e texlive, texlive-bin: remove old preinst cleaning 2019-05-02 15:52:06 +03:00
Henrik Grimler
a0efbdb615 texlive: create a subpackage for each texlive-collection
Add python script to find which files to include in which package.
Add meta package texlive-full that depends on all collections.
Move texmf.cnf from texlive-bin to texlive.
2019-05-02 15:52:06 +03:00
Wetitpig
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Leonid Pliushch
46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Henrik Grimler
c1b82abd09 Add fixes for debug builds (#2296)
* build-package.sh: add possibility for debug patches and TERMUX_PKG_HAS_DEBUG

Setting TERMUX_PKG_HAS_DEBUG=no disables attempt to build debug build of
package.
Useful for example if a debug build doesn't make sense, as for python-packages
and texlive.

* aapt: skip D_FORTIFY_SOURCE=2 for libandroid-cutils when doing debug build

* lftp: skip D_FORTIFY_SOURCE=2 for debug build

* libflac: don't use -g3 for debug build

Configure script removes it otherwise.

* nano: skip -D_FORTIFY_SOURCE=2 for debug build

* vifm: skip -D_FORTIFY_SOURCE=2 for debug build

* mc: skip -D_FORTIFY_SOURCE=2 for debug build

* dropbear: add __attribute__((overloadable)) to XMEMSET and XMEMCPY if debug

* gdb: add __attribute__((overloadable)) to strchr if debug

* gnuit: add __attribute__((overloadable)) to strchr and strcpy if debug

* gperf: add __attribute__((overloadable)) to strlen if debug

* inetutils: add __attribute__((overloadable)) to strrchr and strchr if debug

* readline: add __attribute__((overloadable)) to strchr if debug

* tsocks: add __attribute__((overloadable)) to poll if debug

* units: add __attribute__((overloadable)) to strchr if debug

* liblua: fix bug in loslib.c that emerged in debug build

Use strncpy instead of strcpy.
Original error message:
loslib.c:169:3: error: 'strcpy' called with string bigger than buffer
  lua_tmpnam(buff, err);
  ^
loslib.c:122:37: note: expanded from macro 'lua_tmpnam'
       strcpy(b, LUA_TMPNAMTEMPLATE); \
                                   ^

* alpine: include our getpass.h in imap's mtest.c to declare getpass

Debug build complained about the previous implicit declaration.

* nginx: use --with-debug instead of --debug

* cboard: skip -D_FORTIFY_SOURCE=2 for debug build

* gettext: add __attribute__((overloadable)) to getcwd if debug

* oathtool: skip -D_FORTIFY_SOURCE=2 for debug build

* php: add __attribute__((overloadable)) to strlcpy and strlcat if debug

* expect: add __attribute__((overloadable)) to strchr if debug

* texlive: set TERMUX_PKG_HAS_DEBUG=no

* asciinema: set TERMUX_PKG_HAS_DEBUG=no

* libllvm: set TERMUX_PKG_HAS_DEBUG=no

Debug build fails with:
home/builder/.termux-build/libllvm/src/lib/Support/Unix/Path.inc:740:19: error: no matching function for call to 'RetryAfterSignal'                                                                                                      if ((ResultFD = sys::RetryAfterSignal(-1, open, P.begin(), OpenFlags)) < 0)

* build-package.sh: set TERMUX_PKG_REPLACES=package if debug build

Hopefully allows us to install debug packages without breaking dependecies.

Should be looked over and be made more similar to how debian does this in any case

* Update build.sh
2018-06-13 02:12:36 +02:00
Henrik Grimler
13147dbd80 texlive: remove no longer needed file lists 2018-05-13 01:06:42 +02:00
Henrik Grimler
7d8f39bb84 texlive-tlmgr: create a separate package and fix typo
Also simplify texlive/build.sh.

With this texlive-tlmgr can be updated without the need of bumping all of texlive.
2018-05-08 10:17:23 +02:00
Henrik Grimler
2d2c4a4014 texlive: update to 2018 and update poppler patches to work with 0.64 2018-05-01 23:09:34 +02:00
Henrik Grimler
cf81ebc87f texlive-tlmgr: add subpackage
Tiny step in direction of fully packaged texlive
2018-05-01 23:09:34 +02:00
Henrik Grimler
43246f018e texlive: Correctly remove old files 2018-01-30 14:14:33 +01:00
Henrik Grimler
3aa89f668c texlive: patch texmf.cnf to point towards correct path
Necessary after files have been moved to standard path.
Also add remove file from texlive to avoid file clash with texlive-bin.
2018-01-30 14:14:33 +01:00
Henrik Grimler
5e08ebac2e texlive: Reshaping termux_step_extract_package to enable moving files to standard location
patch tlmgr to look for files in the right location. Patch texmf.cnf so that kpathsea finds files in the right location.
2018-01-30 14:14:33 +01:00
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