Commit Graph

69 Commits

Author SHA1 Message Date
Yaksh Bariya
09156c3c88
fish: fix inconsistent behaviour executing hardcoded paths
When executing command as /bin/<command>, fish first checks whether <command> is present in /bin/ or not. If it is found, then it will execute the command. But as we are using termux-exec, fish will actually try to execute <command> in @TERMUX_PREFIX@/bin/.

An example of this:-
/bin/ls:
1) Fish will first try find whether ls binary exists in /bin and whether user has permissions to execute it
2) If both the above are true, fish will try to execute /bin/ls.
3) But since we are using termux-exec, the path will be remapped to @TERMUX_PREFIX@/bin/ls
4) This is a *highly* inconsistent behaviour.

This can cause weird bugs when a script tries to execute with hardcoded paths, it might get errors about command not found even if it exists, because fish is checking it at the wrong place.
2021-12-08 14:21:37 +05:30
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
YAKSH BARIYA
4f3f1ee43f
fish: Do not install yadm fish completions (#7386)
fish now had completions for yadm, so installing yadm with fish causes
`$PREFIX/share/fish/completions/yadm.fish` to conflict

Fixes #7384
2021-08-25 11:39:55 +01:00
Termux Github Actions
f026a5d0f4 fish: update to 3.3.1
This commit has been automatically submitted by Github Actions.
2021-07-07 00:12:08 +00:00
YAKSH BARIYA
1fa9c8ac52
fish: update to 3.3.0 (#7099) 2021-07-04 13:51:34 +03:00
suhan-paradkar
0572410fbb
update packages (#6703)
asciidoctor: 2.0.15

dpkg: 1.20.9

elixir: 1.11.4

findomain: 4.0.1

fish: 3.2.2

gnunet: 0.14.1
2021-04-29 13:29:27 +03:00
Saurabh Charde
ebf4e36990 fish: Update to 3.2.1 2021-03-21 14:04:34 +01:00
Saurabh Charde
32e3c9e9e5 fish: Update to 3.2.0
* From now fish is now shipping tarballs with xz (LZMA)
  Update $TERMUX_PKG_SRCURL to reflect the change
  (0be93bead7)

Fixes #6533

Signed-off-by: Saurabh Charde <saurabhchardereal@gmail.com>
2021-03-17 22:10:14 +01:00
Leonid Pliushch
37375312b9
explicitly set maintainer for each package
In issue https://github.com/termux/termux-packages/issues/6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.

Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.

[skip ci]
%ci:no-build
2020-12-20 15:16:34 +02:00
Henrik Grimler
7a1cc468bc fish: fix undefined reference to posix_spawn 2020-07-09 13:51:35 +02:00
its-pointless
148d5c0685 fish using spawn.h 2020-07-09 13:51:35 +02:00
Henrik Grimler
dd1b34e92e fish: update to 3.1.2 2020-05-02 10:09:50 +02:00
Fredrik Fornwall
a7e02f1455 fish: Update from 3.1.0 to 3.1.1 2020-04-29 00:56:22 +02:00
Fredrik Fornwall
89b32a4bda fish: Update from 3.0.2 to 3.1.0 2020-02-15 23:17:20 +01:00
Leonid Pliushch
b95398e3a5 fish: do not use wcstod_l() even if found on target
Fix following error when building fish on device with Android 9:

src/builtin_printf.cpp:278:12: error: use of undeclared identifier 'wcstod_l'; did you mean 'wcstold_l'?
    return wcstod_l(s, end, fish_c_locale());
2019-08-16 22:31:55 +03: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
c29884d421 fish: bump revision 2019-06-19 21:25:57 +03:00
Fredrik Fornwall
3b661b4993 fish: Update from 3.0.1 to 3.0.2 2019-03-01 22:01:33 +01:00
Leonid Pliushch
2c16db52fc bump C++ packages for NDK-19 2019-02-23 13:57:09 +02:00
Fredrik Fornwall
906413fae0 fish: Update from 3.0.0 to 3.0.1 2019-02-13 23:35:18 +01: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
Fredrik Fornwall
230210ee6c fish: Update from 2.7.1 to 3.0.0 2018-12-29 00:07:13 +01:00
Fredrik Fornwall
17d6c879bf Let util-linux provide column
Fixes #3004.
2018-11-11 17:20:59 +01:00
Fredrik Fornwall
a22f91837c fish: Fix build with ndk r18 2018-09-22 00:10:27 +02:00
Fredrik Fornwall
380c2d7bc3 Bump some c++-using packages after libc++ update 2018-06-26 10:48:42 +02:00
Fredrik Fornwall
2bb920e3e2 http -> https updates 2018-05-25 12:38:52 +02:00
Fredrik Fornwall
263e45330e fish: Update from 2.7.0 to 2.7.1 2017-12-23 11:39:21 +01:00
Fredrik Fornwall
f0692c9a45 fish: Update from 2.6.0 to 2.7.0
Fixes #909.
2017-11-30 00:49:01 +01:00
Fredrik Fornwall
a91709193f fish: Use system pcre2 lib and bump revision 2017-11-03 23:07:11 +01:00
Fredrik Fornwall
f689a6d490 fish: Add patch from upcoming release (#1735) 2017-11-03 23:06:48 +01:00
Fredrik Fornwall
51c7760090 Drop need of setting TERMUX_PKG_FOLDERNAME
Instead figure out the top level source folder ourselves.
2017-09-20 00:48:04 +02:00
Fredrik Fornwall
95467bc750 fish: Bump version to rebuild after MB_CUR_MAX=4 2017-08-02 00:00:05 +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
f07e2b91d8 fish: Update from 2.5.0 to 2.6.0 2017-06-05 21:32:37 +02:00
Fredrik Fornwall
b9aa3f7b54 fish: Bump build revision after bc dependency 2017-04-22 23:48:56 +02:00
Christian Rondeau
f5a4f2c5de Add bc dependency to fish shell (#953)
See https://github.com/fish-shell/fish-shell/issues/2974

This will only fail at runtime in some autocomplete commands, if the dependency is not installed.
2017-04-22 23:34:50 +02:00
Vishal Biswas
cfa043f9b4 update packages (#766)
* file: update from 5.29 to 5.30

* ffmpeg: update from 3.2.2 to 3.2.4

* mpv: update from 0.23.0 to 0.24.0

also prevent opportunistic linking with x11

* grep: update from 2.28 to 3.0

* fish: update from 2.4.0 to 2.5.0

add tarball checksum
remove patches no longer needed
see https://github.com/fish-shell/fish-shell/pull/3585

* wget: update from 1.19 to 1.19.1
2017-02-12 21:01:54 +01:00
Fredrik Fornwall
af4dc416ed s/TERMUX_PKG_BUILD_REVISION/TERMUX_PKG_REVISION/ 2017-01-11 01:21:42 -05:00
Fredrik Fornwall
ba173bd4da fish: Patch to setup TMPDIR if necessary 2016-12-29 19:52:00 -05:00
Fredrik Fornwall
50a1e680a9 fish: Fix fish_update_completions
We don't have the 'manpath' program and don't need it.

Fixes #617.
2016-12-23 15:12:50 -05:00
Fredrik Fornwall
a9d534f91d fish: Remove part of patch not needed 2016-11-26 15:43:22 -05:00
Fredrik Fornwall
2e54e151d4 fish: Update from 2.3.1 to 2.4.0 2016-11-16 19:38:08 -05:00
Fredrik Fornwall
8761f947a2 fish: Bundle a column(1) utility
A column(1) utility is needed by oh-my-fish. See
https://github.com/termux/termux-packages/issues/347
2016-10-16 15:58:59 -04:00
Fredrik Fornwall
12b866aea9 fish: Drop two patches no longer needed 2016-10-15 20:34:29 -04:00
Fredrik Fornwall
7ce5638519 Cleanup of more packages 2016-09-03 18:45:08 -04:00
Fredrik Fornwall
3f300a10fc Setup libstdc++.so -> libgnustl_shared.so early
Let build-package.sh setup the $PREFIX/lib/libstdc++.so symlink
before building any package, to make sure that all C++ applications
link against a fully featured C++ standard library.

Avoid explicitly declaring a dependency on the libgnustl package
since everyone may link against it at will and instead mark it as
essential.
2016-08-10 19:45:41 -04:00
Fredrik Fornwall
8fa10e0193 fish: Depend on man for apropos
The apropos command is used by tab completion.
2016-08-06 17:37:29 -04:00
Fredrik Fornwall
6250534f1e fish: Update to 2.3.1 from git snapshot 2016-08-06 04:14:04 -04:00