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
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.
* 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
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.
* 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
* 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
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.
* 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
* 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.
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.
* 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