Commit Graph

116 Commits

Author SHA1 Message Date
termux-pacman-bot
fc4caba456 bump(main/fish): 4.3.3
- Fixes https://github.com/termux/termux-packages/issues/27931

- Rebase `0005-revert-70bd49f.patch` and `0006-revert-174130f.patch`
2026-01-08 11:06:43 +00:00
termux-pacman-bot
c36291a8cf bump(main/fish): 4.3.2
This commit has been automatically submitted by Github Actions.
2025-12-30 18:46:41 +00:00
termux-pacman-bot
90fa8e8cad bump(main/fish): 4.3.1
This commit has been automatically submitted by Github Actions.
2025-12-30 12:48:17 +00:00
termux-pacman-bot
b549753a94 bump(main/fish): 4.3.0
- Fixes https://github.com/termux/termux-packages/issues/27773

- Drop `build.rs.patch` - fixed upstream

- Drop `fix-import-when-posix-spawn-disabled.patch` - fixed upstream

- Drop `fix-some-absolute-paths.patch` - fixed upstream

- Rebase and refactor `force-d_ino-and-st_mode-types-on-32-bit-android.patch`

- Rebase `revert-c1f3d93.patch`
2025-12-30 09:08:03 +00:00
termux-pacman-bot
d35fa6399b bump(main/fish): 4.2.1
This commit has been automatically submitted by Github Actions.
2025-11-13 18:44:41 +00:00
termux-pacman-bot
4e4350e048 fix(main/fish): prepend @TERMUX_PREFIX@ to /bin/sh in two files
- Fixes https://github.com/termux/termux-packages/issues/27210

- I searched through the code and did some calculations, and as far as I can tell, these two instances of `/bin/sh` seem to be the only ones that are highly likely to produce the error on affected devices.
2025-11-13 07:06:43 +00:00
termux-pacman-bot
da16d695d5 bump(main/fish): 4.2.0
- Fixes https://github.com/termux/termux-packages/issues/27181

- Drop `Cargo.toml.patch` - no longer necessary

- Rebase and set correct apply order for all other patches

- Three more upstream commits must be reverted, and the reasons they must be reverted are explained in the patch headers
  - Causes `revert-70bd49f.patch` and `partial-revert-d68f8bd.patch` to not apply: 50819666b1
  - Causes `error[E0425]: cannot find value '_CS_PATH' in crate 'libc'`: 174130fe2f
  - Causes `error[E0425]: cannot find value 'MNT_LOCAL' in crate 'libc'`: c1f3d93b3b
2025-11-11 18:43:19 +00:00
termux-pacman-bot
90e9386fc9 bump(main/fish): 4.1.2
- Fixes https://github.com/termux/termux-packages/issues/26890
2025-10-15 21:35:15 +00:00
termux-pacman-bot
0565205eba bump(main/fish): 4.1.0
- Fixes https://github.com/termux/termux-packages/issues/26707

- Revert 70bd49f612 as planned and previously noted in https://github.com/termux/termux-packages/pull/26466

- After eb4cec1fe2, `fix-import-when-posix-spawn-disabled.patch` is necessary to prevent compilation error `failed to resolve: use of undeclared type 'Pid'`

- After 91ee45b0e1, `revert-6644cc9.patch` is no longer necessary to prevent a compilation failure, and can be removed.

- https://github.com/termux/termux-app/pull/4417 has been in [Termux 0.118.3](https://github.com/termux/termux-app/releases/tag/v0.118.3) for 4 months, meaning that `status test-feature keyboard-protocols && set -U fish_features no-keyboard-protocols` can be removed.
2025-10-14 16:41:21 +00:00
termux-pacman-bot
305956df6f bump(main/fish): 4.0.8
This commit has been automatically submitted by Github Actions.
2025-09-18 12:47:39 +00:00
termux-pacman-bot
6b9965dc20 rebuild(packages/fish): auto check by @termux-pacman-bot 2025-09-17 03:13:41 +00:00
termux-pacman-bot
388b11844a termux-pacman/auto-check-repo: preparing to recompile packages
[skip ci]
2025-09-17 03:13:38 +00:00
termux-pacman-bot
0dcbc3d170 bump(main/fish): 4.0.6
- Fixes https://github.com/termux/termux-packages/issues/26325

- Upstream fish, it appears through the heavy patching we increasingly need to do, does not officially support Android. This means that it is completely understandable that they continue to make changes that break the Android build, and these are not necessarily bugs on their end because they don't build or test for Android, and already work a lot to support all non-Android platforms. Therefore, sometimes the only viable option we might have is to revert or partially revert some commits which are problematic for Android support, in the downstream.

Commits being reverted in this PR:
  - d68f8bdd3b - partially reverted to avoid error `error: call to undeclared function 'UNUSED'`
  - 6644cc9b0e - reverted to avoid error `expected fn pointer`...`*const i8`...`found fn item`...`*const u8`

Commits that I am aware are in the development branch of fish that are not yet present in this fish stable release, but which I believe are highly likely to cause errors in a future release and will most likely also need to be reverted in order to build that future release for Android:
  - 70bd49f612
2025-09-16 18:06:17 +00:00
termux-pacman-bot
f649628f92 chore(main/bc,fish,fontconfig,fribidi,libx264): Rebuild
Rebuild some packages to get 16 kb page size.
2025-08-31 22:05:18 +00:00
termux-pacman-bot
0b6c9023ee fix(main/fish): do not patch rust-lang/libc cargo crate
- Fixes https://github.com/termux/termux-packages/issues/24741

- Cherry-pick bbf678e718 to replace `libc-src-unix-linux_like-android-mod.rs.diff` (since `libandroid-spawn` does not currently work with `fish`)

- `libc-src-unix-linux_like-android.diff` is **causing** https://github.com/termux/termux-packages/issues/24741 because of the problems explained by **maurer** in https://github.com/rust-lang/libc/pull/4216#discussion_r1902125367

- I have rewritten `libc-src-unix-linux_like-android.diff` in **my own alternative way of solving [the errors](https://github.com/termux/termux-packages/pull/22609#issuecomment-2557037664)**
  - My personal belief is that these errors should be solved by **patching `fish`**, _not_ by patching the **`libc` cargo crate**.
  - The reason I believe that is because **`fish` is using the type `libc::ino_t` to represent a value for storing the `d_ino` member of a `dirent` struct, which **cannot work on 32-bit Android** because 32-bit Android's `d_ino` is **not** an `ino_t`. [It is a `uint64_t`](https://cs.android.com/android/platform/superproject/main/+/main:bionic/libc/include/dirent.h;l=64?q=d_ino&ss=android%2Fplatform%2Fsuperproject%2Fmain:bionic%2Flibc%2Finclude%2F&start=1).
  - Therefore, the logical conclusion is that any successful port of `fish` to 32-bit Android **must explicitly store the value of a `dirent` `d_ino` as a `u64` anywhere it appears in Rust code.**
  - The same concept applies to `st_mode` - `st_mode` of `stat` on 32-bit Android is **not** a `mode_t`. [It is an `unsigned int`](https://cs.android.com/android/platform/superproject/main/+/main:bionic/libc/include/sys/stat.h;l=87), and [on Android, `unsigned int` is a 32-bit integer](https://cs.android.com/android/platform/superproject/main/+/main:bionic/libc/include/stdint.h;l=42;drc=61197364367c9e404c7da6900658f1b16c42d0da;bpv=0;bpt=1?q=stdint.h&ss=android%2Fplatform%2Fsuperproject%2Fmain). Therefore, any successful port of `fish` to 32-bit Android must explicitly store the value of a `stat` `st_mode` as `u32`.
  - In C, `S_IFMT` is a pure typeless literal preprocessor definition, which is [`00170000` in Android](https://cs.android.com/android/kernel/superproject/+/common-android-mainline:common/include/uapi/linux/stat.h;l=9?q=S_IFMT), preprocessor definitions do not really exist in Rust so there is unfortunately no correct alternative to a hardcoded integer literal for this on 32-bit Android

- I previously read https://github.com/rust-lang/libc/pull/4216 in January 2025, however, I unfortunately did not have the experience necessary at the time to fully understand how to solve this specific problem, so at the time, I did not change the version written by thunder-coding because I did not know how to make a better way to bypass the errors
  - However, in April 2025, I [ported Steel Bank Common Lisp to 64-bit Android-x86](b54fa7f61e/packages/sbcl/fix-stat-st_nlink-x86.patch). In the process of doing that, I became more experienced with Android's `stat.h` and `dirent.h` files, and I have been able to use that experience to successfully create what appears to be a correct solution to https://github.com/termux/termux-packages/issues/24741

The original errors, repeated here for convenint reference by others:

```
error[E0308]: mismatched types
   --> src/wutil/dir_iter.rs:114:50
    |
114 |             self.typ.set(stat_mode_to_entry_type(s.st_mode));
    |                          ----------------------- ^^^^^^^^^ expected `u16`, found `u32`
    |                          |
    |                          arguments to this function are incorrect
    |
note: function defined here
   --> src/wutil/dir_iter.rs:151:4
    |
151 | fn stat_mode_to_entry_type(m: libc::mode_t) -> Option<DirEntryType> {
    |    ^^^^^^^^^^^^^^^^^^^^^^^ ---------------
help: you can convert a `u32` to a `u16` and panic if the converted value doesn't fit
    |
114 |             self.typ.set(stat_mode_to_entry_type(s.st_mode.try_into().unwrap()));
    |                                                           ++++++++++++++++++++

error[E0308]: mismatched types
   --> src/wutil/dir_iter.rs:292:32
    |
292 |             self.entry.inode = dent.d_ino;
    |             ----------------   ^^^^^^^^^^ expected `u32`, found `u64`
    |             |
    |             expected due to the type of this binding
```
2025-05-20 19:06:35 +00:00
termux-pacman-bot
68790f61f0 rebuild(packages/fish): auto check by @termux-pacman-bot 2025-04-22 00:17:22 +00:00
termux-pacman-bot
e60a99310e termux-pacman/auto-check-repo: preparing to recompile packages
[skip ci]
2025-04-22 00:17:21 +00:00
termux-pacman-bot
c00d61fefb revbump(main/fish): after mandoc rename 2025-04-21 15:06:49 +00:00
termux-pacman-bot
d1c399c6e9 bump(main/fish): 4.0.2
This commit has been automatically submitted by Github Actions.
2025-04-20 18:42:37 +00:00
termux-pacman-bot
bbbfdd56a8 fix(main/fish): patch fixed paths in create_manpage_completions.py 2025-04-20 14:39:21 +00:00
termux-pacman-bot
b547c11e01 bump(main/fish): 4.0.1 2025-03-13 13:38:44 +00:00
termux-pacman-bot
9e96f6f18e fix(main/fish): set feature only once instead of appending (#23690) 2025-03-09 08:04:08 +00:00
termux-pacman-bot
ce3448b732 fix(main/fish): disable keyboard protocols that print extra characters (#23686) 2025-03-09 06:04:03 +00:00
termux-pacman-bot
5826755389 bump(main/fish): 4.0.0 (#22609)
- build ctermid
- add custom libc crate patch for 32bit android builds
- avoid using POSIX_SPAWN for spawning processes
- backport FindRust.cmake rustup fix
This backports: b38551dde9
Co-authored-by: Jia Yuan Lo <jylo06g@gmail.com>
Co-authored-by: Yaksh Bariya <yakshbari4@gmail.com>
Co-authored-by: Robert Kirkman <misternumberone@live.com>
Co-authored-by: AminurAlam <64137875+AminurAlam@users.noreply.github.com>
2025-03-08 16:34:43 +00:00
termux-pacman-bot
7ae09a87a0 fix(main/fish): rename tarball version file to avoid conflict with NDK internal version file (#22056)
Progress on #21130

This seems to be a completely independent issue from other issues
because it is reproducible in a clean repo using this command:
```
scripts/run-docker.sh ./build-package.sh -I fish
```

I also tried temporarily unapplying the line
`grep -lrw $_TERMUX_TOOLCHAIN_TMPDIR/sysroot/usr/include/c++/v1 -e '<version>' | xargs -n 1 sed -i 's/<version>/\"version\"/g'`
from the end of `termux_setup_toolchain_27b.sh` and deleting the `~/.termux-build/_cache` in case it made any difference,
but at least in my test, it does not seem to make a difference on the fish package (whether or not `#include "version"` or `include <version>` is forced in the toolchain)
so, it seems like the `fish` package itself has to be patched.
2024-11-15 09:37:31 +00:00
termux-pacman-bot
c8ad491d24 fish: enable apt install autocomplete 2024-05-12 02:19:57 +00:00
termux-pacman-bot
c282696030 bump(main/fish): 3.7.1
This commit has been automatically submitted by Github Actions.
2024-03-19 06:36:55 +00:00
termux-pacman-bot
895d82f739 bump(main/fish): 3.7.0
This commit has been automatically submitted by Github Actions.
2024-01-01 18:37:24 +00:00
termux-pacman-bot
ccb50b8061 bump(main/fish): 3.6.4
This commit has been automatically submitted by Github Actions.
2023-12-05 18:31:27 +00:00
termux-pacman-bot
0808b04e84 bump(main/fish): 3.6.3
This commit has been automatically submitted by Github Actions.
2023-12-04 18:32:19 +00:00
termux-pacman-bot
b61f2eea1a fish: Fix job control 2023-04-19 08:32:18 +00:00
termux-pacman-bot
c9ba9ecb64 some packages: Re-enable clang16-porting
%ci:no-build
2023-04-07 01:27:08 +00:00
termux-pacman-bot
febdab5984 *: Disable clang16-porting for auto-updating packages
%ci:no-build
2023-03-28 12:30:09 +00:00
Maxython
56690d31c5 rebuild packages/fish/build.sh 2023-03-28 15:10:23 +03:00
termux-pacman-bot
533a6bb8ca *: Disable clang16-porting for auto-updating packages
%ci:no-build
2023-03-28 11:36:58 +00:00
Maxython
3aa0adb0eb rebuild packages 2023-03-28 14:33:28 +03:00
termux-pacman-bot
754acad112 *: Disable clang16-porting for auto-updating packages
%ci:no-build
2023-03-28 07:33:10 +00:00
termux-pacman-bot
09362a9527 bump(main/fish): 3.6.1
This commit has been automatically submitted by Github Actions.
2023-03-27 19:24:10 +00:00
termux-pacman-bot
0de77aec34 fish: Bump to 3.6.0 2023-01-09 05:31:01 +00:00
termux-pacman-bot
12a96e0e0a root-packages/aircrack-ng&&root-packages/nethogs&&packages/aapt&&packages/cgal&&packages/libgraphite&&packages/libgrpc&&packages/libhdf5&&packages/libheif&&packages/libhtmlcxx&&packages/libical&&packages/libicu&&packages/libimtui&&packages/libkokkos&&packages/libmariadbcpp&&packages/cgdb&&packages/libmediainfo&&packages/libmodplug&&packages/libmosquitto&&packages/libmuparser&&packages/libmusicbrainz&&packages/libobjc2&&packages/libopencc&&packages/libp8-platform&&packages/libpangomm-1.4&&packages/libpangomm-2.48&&packages/clamav&&packages/libplist&&packages/libpoco&&packages/libprotobuf-c&&packages/libprotobuf&&packages/libre2&&packages/librime&&packages/librocksdb&&packages/librtmidi&&packages/libsigc++-2.0&&packages/libsigc++-3.0&&packages/clpeak&&packages/libspdlog&&packages/libspice-server&&packages/libt3widget&&packages/libtbb&&packages/libtiff&&packages/libtiledb&&packages/libtinyxml2&&packages/libtvision&&packages/libuchardet&&packages/libupscaledb&&packages/clvk&&packages/libvigra&&packages/libvips&&packages/libwebrtc-audio-processing&&packages/libxapian&&packages/libyaml-cpp&&packages/libzen&&packages/libzita-convolver&&packages/libzmq&&packages/libzopfli&&packages/libzthread&&packages/cmake&&packages/libzxing-cpp&&packages/lilypond&&packages/llbuild&&packages/ltrace&&packages/lzip&&packages/mailsync&&packages/mapserver&&packages/mariadb&&packages/matplotlib&&packages/matterbridge&&packages/coinor-clp&&packages/mediainfo&&packages/megacmd&&packages/mold&&packages/moria&&packages/mosh-git&&packages/mosh&&packages/mu&&packages/muchsync&&packages/ncmpcpp&&packages/ncpamixer&&packages/crypto-monitor&&packages/newsboat&&packages/ngspice&&packages/ninja&&packages/nlopt&&packages/nmap&&packages/nodejs-lts&&packages/nodejs&&packages/notmuch&&packages/nsis&&packages/nsnake&&packages/cryptopp&&packages/nzbget&&packages/ocrad&&packages/oorexx&&packages/openbabel&&packages/opencv&&packages/openethereum&&packages/outfieldr&&packages/p7zip&&packages/panda3d&&packages/par2&&packages/curseofwar&&packages/patchelf&&packages/pdf2djvu&&packages/pdfgrep&&packages/pika&&packages/play-audio&&packages/plzip&&packages/polyml&&packages/poppler&&packages/portaudio&&packages/proj&&packages/android-tools&&packages/ddrescue&&packages/proxmark3-git&&packages/proxmark3&&packages/python-apt&&packages/qalc&&packages/qemu-system-x86-64-headless&&packages/qpdf&&packages/qrsspig&&packages/quick-lint-js&&packages/ragel&&packages/ravencoin&&packages/djvulibre&&packages/re2c&&packages/rig&&packages/rtorrent&&packages/sdcv&&packages/snapcast-server&&packages/squid&&packages/ssdb&&packages/ssdeep&&packages/sshping&&packages/stuntman&&packages/docopt&&packages/swig&&packages/taglib&&packages/tasksh&&packages/taskwarrior&&packages/teckit&&packages/termux-elf-cleaner&&packages/tesseract&&packages/texlive-bin&&packages/tilde&&packages/timewarrior&&packages/doxygen&&packages/timg&&packages/tsmuxer&&packages/unar&&packages/unrar&&packages/utfdecode&&packages/vamp-plugin-sdk&&packages/vde2&&packages/vera&&packages/vlc&&packages/vobsub2srt&&packages/emscripten&&packages/vtm&&packages/vtutils&&packages/vulkan-tools&&packages/wasmedge&&packages/wiz&&packages/woff2&&packages/yosys&&packages/zig&&packages/zipios&&packages/zstd&&packages/enblend&&packages/enchant&&packages/et&&packages/exiv2&&packages/fact++&&packages/aria2&&packages/fex&&packages/fish&&packages/flatbuffers&&packages/frei0r-plugins&&packages/frobtads&&packages/fte&&packages/game-music-emu&&packages/gdb&&packages/gegl&&packages/gengetopt&&packages/aspell&&packages/gettext&&packages/gexiv2&&packages/gflags&&packages/git-crypt&&packages/gluelang&&packages/gmic&&packages/gnucap&&packages/gnuchess&&packages/go-findimagedupes&&packages/google-glog&&packages/atomicparsley&&packages/googletest&&packages/gperf&&packages/graphicsmagick&&packages/groff&&packages/harfbuzz&&packages/hashdeep&&packages/html2text&&packages/hugo&&packages/hunspell&&packages/id3lib&&packages/bastet&&packages/id3ted&&packages/id3v2&&packages/innoextract&&packages/iverilog&&packages/jbig2enc&&packages/jigdo&&packages/jsoncpp&&packages/kakoune&&packages/keystone&&packages/kphp&&packages/binutils&&packages/ladspa-sdk&&packages/ldc&&packages/ledger&&packages/leveldb&&packages/lfortran&&packages/lftp&&packages/lgogdownloader&&packages/libaom&&packages/libbs2b&&packages/libcaca&&packages/boost&&packages/libcairomm-1.0&&packages/libcairomm-1.16&&packages/libcec&&packages/libcln&&packages/libcoinor-osi&&packages/libcoinor-utils&&packages/libconfig&&packages/libdb&&packages/libde265&&packages/libdevil&&packages/cccc&&packages/libduckdb&&packages/libfinalcut&&packages/libflac&&packages/libflann&&packages/libftxui&&packages/libgeos&&packages/libglibmm-2.4&&packages/libglibmm-2.68&&packages/libgmp&&packages/libgnustep-base&&x11-packages/audacity&&x11-packages/glu&&x11-packages/gtkmm2&&x11-packages/gtkmm3&&x11-packages/gtkmm4&&x11-packages/hugin&&x11-packages/inkscape&&x11-packages/kid3&&x11-packages/lenmus&&x11-packages/libatkmm-1.6&&x11-packages/love10&&x11-packages/bochs&&x11-packages/mesa&&x11-packages/ocs-url&&x11-packages/olivia&&x11-packages/polybar&&x11-packages/polyphone&&x11-packages/pong2&&x11-packages/poppler-qt&&x11-packages/pulseeffects&&x11-packages/qcustomplot&&x11-packages/qemu-system-x86-64&&x11-packages/cuse&&x11-packages/qt5-qtbase&&x11-packages/scite&&x11-packages/sfml&&x11-packages/texstudio&&x11-packages/the-powder-toy&&x11-packages/tigervnc&&x11-packages/tint2&&x11-packages/tsmuxergui&&x11-packages/vlc-qt&&x11-packages/webkit2gtk&&x11-packages/dosbox&&x11-packages/wxmaxima&&x11-packages/xournalpp&&x11-packages/fltk&&x11-packages/fluxbox&&x11-packages/fontforge-gtk&&x11-packages/geany&&x11-packages/gimp 2022-08-13 10:39:53 +00:00
termux-pacman-bot
8cb7b39843 packages/fish 2022-07-20 18:13:22 +00:00
termux-pacman-bot
05b100b913 packages/fish 2022-06-17 08:27:28 +00:00
termux-actions[bot]
f8820dd5e1 packages/fish 2022-03-25 18:24:36 +00:00
termux-actions[bot]
6687685eab packages/fish 2022-03-13 17:18:06 +00:00
termux-actions[bot]
dca8b959e8 packages/chezmoi&&packages/fish 2022-01-26 15:18:41 +00:00
Maxython
8daa8381ca packages/fish 2021-12-27 01:29:51 +03:00
Maxython
af6c339d32 packages/fish 2021-12-14 14:20:24 +03:00
Maxython
de21afff76 packages/fish 2021-12-08 19:43:38 +03:00
Henrik Grimler
a2187e62df Bump all packages depending on libc++
As part of ndk-r23 upgrade.
2021-10-22 23:05:45 +02:00
Leonid Pliushch
27afd9e665 auto updates: migrate config from github-projects.txt to build.sh-specific
Re-enable automatic updates after deleting github-projects.txt.

%ci:no-build
2021-10-04 13:43:31 +03:00