termux-packages/README.md

74 lines
3.3 KiB
Markdown
Raw Normal View History

2019-02-12 02:44:10 +01:00
# Termux packages
2019-02-24 23:01:19 +01:00
[![Powered by JFrog Bintray](./.github/static/powered-by-bintray.png)](https://bintray.com)
2016-01-13 01:29:13 +01:00
[![Join the chat at https://gitter.im/termux/termux](https://badges.gitter.im/termux/termux.svg)](https://gitter.im/termux/termux)
2016-01-13 01:28:47 +01:00
2019-02-13 15:20:25 +01:00
This project contains scripts and patches to build packages for the [Termux](https://termux.com/) Android application. Note that packages are cross-compiled and on-device builds are not currently supported.
2015-06-13 01:03:17 +02:00
2019-02-13 08:15:17 +01:00
More information can be found in the [docs](docs/) directory.
2019-02-12 02:56:43 +01:00
## Directory Structure
2019-02-13 15:20:25 +01:00
- [disabled-packages](disabled-packages/): Packages that cannot be built or have serious issues.
2019-02-12 02:56:43 +01:00
- [docs](docs/): Documentation on how to build, formatting etc.
2019-02-13 15:20:25 +01:00
- [ndk-patches](ndk-patches/): Patches for Android NDK headers.
2019-02-12 02:56:43 +01:00
- [packages](packages/): All currently available packages.
- [scripts](scripts/): Utility scripts for building.
2019-02-12 05:48:04 +01:00
## Issues
The two most common types of issues are package requests and bug reports. There are already templates available.
2019-02-13 15:20:25 +01:00
You can open an issue for any package or build problems. For example, if you observing crashes or other kind of malfunction, you are certainly welcome to file an issue.
2019-02-12 05:48:04 +01:00
2019-02-13 15:20:25 +01:00
Also, if you want to request a particular package, you may suggest it in an issue. However, be prepared that package may not be available shortly. Bugfixes and improvements take precedence over new packages.
2019-02-12 05:48:04 +01:00
2019-05-16 02:55:48 +02:00
### Information for Android 7+ users
If your device running Android OS with version 7 and higher, it is highly recommended to check whether your Termux installation uses our new repository with packages compiled specially for higher Android API levels (24+).
2019-05-16 19:17:15 +02:00
Execute following command:
```
grep termux-packages-24 $PREFIX/etc/apt/sources.list
```
It should output the line containing this URL:
2019-05-16 02:55:48 +02:00
```
https://dl.bintray.com/termux/termux-packages-24/
```
If not, then it is time to upgrade your installation. This procedure will involve complete erasing of `$PREFIX`, directory where all packages are installed (aka rootfs) but your home directory will be untouched.
So if you decided to upgrade your installation, do the following steps:
1. Ensure that application's version is v0.67 or higher. If not - upgrade.
2. Move all important files, e.g. configs, databases, custom scripts, etc to your `$HOME` (temporarily). Also, save the list of packages that you will need to reinstall.
3. Execute `rm -rf $PREFIX`.
4. Restart Termux application.
5. Restore all your stuff saved in step 1.
2019-02-12 05:48:04 +01:00
## Pull Requests
We welcome any pull requests. Nevertheless, a log file should be provided in order to show that it is at least working.
2019-05-02 18:13:37 +02:00
All pull requests will be built by [Cirrus CI](https://cirrus-ci.com/termux/termux-packages). Usually, it is expected that all tasks will pass. But do not worry if CI build timed out. Alternatively, you can provide build logs by yourself.
2019-02-12 05:48:04 +01:00
2019-05-02 18:13:37 +02:00
Note that it is highly recommended to keep your pull requests up-to-date. If you do not know how to do this, take a look on manpage of `git-rebase`.
2019-02-13 06:10:22 +01:00
2019-02-23 15:18:27 +01:00
## Contacts
2019-02-13 06:10:22 +01:00
2019-02-23 15:18:27 +01:00
- General Mailing List: https://groups.io/g/termux
2019-02-13 06:10:22 +01:00
2019-02-23 15:18:27 +01:00
- Developer Mailing List: https://groups.io/g/termux-dev
- Developer Chat: https://gitter.im/termux/dev or #termux/development on IRC/freenode.
If you are interested in our weekly development sessions, please check the https://wiki.termux.com/wiki/Dev:Development_Sessions. Also, you may want to check the https://wiki.termux.com/wiki/Development.