termux-pacman-bot 0eb6e7632b fix(main/yazi): force-enable trash-rs support on Android
- Force-enable `trash-rs` and force the 'd' key to work to move files to `/data/data/com.termux/files/home/.local/share/Trash/files`, i.e. `$HOME/.local/share/Trash/files`

- Since for some reason `libc::getmntent()` does not exist in Rust for Android, it is necessary to make a dirty implementation of a function within `trash-rs` that is otherwise unimplemented for Android by avoiding the use of `getmntent()`. This implementation is not a fully proper way to detect mount points on Android, but it is sufficient to allow sending files to Trash to work without failure. It assumes that `/data` is mounted (since without `/data`, Termux cannot be running anyway), which allows the Termux home folder Trash to work (`/data/data/com.termux/files/home/.local/share/Trash/files`), and also pretends that `/storage/emulated/0` is a mounted filesystem so that Trashing files from `/sdcard` or `/storage/emulated/0` sends them to the Android system Home folder Trash (since, unlike the case of the Termux home folder, `/storage/emulated` is the actual mountpoint, but that folder does not grant permission for users to write to even if the user has used `termux-setup-storage`, only `/storage/emulated/0` does)

- Has has been tested and confirmed to work good enough to suceessfully move files to trash in `yazi` on Samsung Galaxy A70 SM-A705FN with LineageOS 20 Android 13 SELinux Enabled
2026-01-27 06:47:21 +00:00
2025-10-14 15:48:56 +03:00
2026-01-18 16:06:28 +00:00
2025-11-28 22:38:17 +00:00
2026-01-25 18:45:40 +00:00
2025-06-30 02:42:06 +00:00
2026-01-27 04:23:00 +00:00
2025-09-26 18:41:05 +00:00
2026-01-27 05:11:17 +00:00
2020-08-27 21:40:58 +03:00
2020-04-29 00:32:23 +02:00
2025-11-14 16:06:37 +00:00
2026-01-18 09:39:02 +00:00
2025-04-27 21:35:50 +00:00
2025-11-24 09:41:25 +00:00
2025-08-28 02:13:30 +00:00
2025-07-23 03:12:42 +00:00
2025-09-24 09:38:15 +03:00
2024-05-13 10:33:57 +03:00
2023-10-04 14:21:52 +03:00
2023-08-20 23:34:19 +03:00

Termux packages for pacman - official git repo mirror

GitHub repo size Packages last build status Repo last update status
More about the repository

Code for connecting repository:

main:

[main]
Server = https://service.termux-pacman.dev/main/$arch

x11:

[x11]
Server = https://service.termux-pacman.dev/x11/$arch

root:

[root]
Server = https://service.termux-pacman.dev/root/$arch

Other information:

  • Android support: 7+
  • Architecture support: all (aarch64, arm, x86_64, i686)
  • Signature: termux-pacman organization gpg key
  • Powered by aws
  • Root repository: https://github.com/termux/termux-packages
  • Organization maintaining the root repository: termux
Description
A build system and primary set of packages in format pacman for Termux.
Readme 91 MiB
Languages
Shell 80.5%
C 12.7%
C++ 2.6%
CMake 1%
Python 0.8%
Other 2.2%