Henrik Grimler
3cbd341d92
termux_step_check_prefix: ignore additional folders on device
2023-07-17 17:47:54 +02:00
lonxwolx
bb1da5e1ef
Fix new_files including ignored paths name
2023-07-17 17:47:54 +02:00
Henrik Grimler
133371831a
scripts: do not fail on apt/pacman errors when getting dependencies
...
We handle this case by then trying to build the dependencies instead,
so error is not fatal.
2023-07-17 17:47:54 +02:00
Henrik Grimler
304cd2b7bf
scripts: use apt to install locally built dependencies on device
...
Instead of extracting into $PREFIX.
2023-07-17 17:47:54 +02:00
Henrik Grimler
f4366b8fb3
Revert "termux_step_get_dependencies: strip some levels when extracting deps"
...
Let's handle this in a better way, by installing debs through apt
instead.
This reverts commit 334e9c1b4d
.
2023-07-17 17:47:54 +02:00
Henrik Grimler
9d0ecbf461
scripts: move apt/pacman install of dependency attempt
...
This fixes issues with on device builds after commit
"termux_step_get_dependencies: put built dependency deb in cache dir".
Also seems more logical to not have it in termux_download_deb_pac,
that function should just download dependencies.
2023-07-17 17:47:54 +02:00
Henrik Grimler
879a50740e
scripts(massage): put termux-fix-shebang in scripts/bin as well
...
And use it in termux_step_massage.
2023-07-17 17:47:54 +02:00
Henrik Grimler
95ad3bad16
service scripts: put them in TERMUX_PKG_MASSAGEDIR
...
Allows us to compile packages on device without modifying $PREFIX.
2023-07-17 17:47:49 +02:00
Henrik Grimler
a85cd0c585
termux_step_install_license: install straight into MASSAGEDIR
...
Makes compiling debs on device easier, we get the license in the deb
without modifying $PREFIX.
2023-07-17 17:47:49 +02:00
Henrik Grimler
db7e6b2abb
setup-termux.sh: start list of required python packages as well
2023-07-17 17:47:49 +02:00
Henrik Grimler
8f16b334b8
termux_step_get_dependencies: strip some levels when extracting deps
...
On device we don't have write access to anything above
/data/data/com.termux. Trying to extract something to / can lead to
permission errors due to tar trying to set permissions of these
non-writable folders.
2023-07-17 17:47:49 +02:00
Henrik Grimler
5dfe5fcce3
termux_step_get_dependencies: put built dependency deb in cache dir
...
And then extract and install it with same code as when we download it.
2023-07-17 17:47:49 +02:00
Henrik Grimler
e4531a0461
scripts: replace extract_into_massagedir fun with check_prefix fun
...
termux_step_check_prefix checks if $PREFIX was updated by the build,
and in that case returns an error. This will make it easier to update
all packages to install into $TERMUX_PKG_MASSAGEDIR instead (errors
are automatically caught).
2023-07-17 17:47:49 +02:00
Henrik Grimler
1f99cdebf6
setup_build_folders: set up folder structure in MASSAGEDIR
...
Instead of in $TERMUX_PREFIX. If we are to install to
TERMUX_PKG_MASSAGEDIR we need the folder structure there.
2023-07-17 17:47:49 +02:00
Henrik Grimler
3456e0b128
Change so that packages are installed into $TERMUX_PKG_MASSAGEDIR
...
Makes it possible to `make` packages as normal and then `make install`
into an empty $PREFIX in $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX by
setting DESTDIR=$TERMUX_PKG_MASSAGEDIR. The installed files can then
be packaged into a deb as when cross-compiling.
2023-07-17 17:47:49 +02:00
Quinton Miller
5115fa9bc0
addpkg(main/crystal): Crystal 1.9.0 ( #17428 )
2023-07-15 12:17:34 +08:00
Tee KOBAYASHI
b8607907aa
scripts: Introduce `TERMUX_SUBPKG_EXCLUDED_ARCHES`
...
for subpackage not to be created for specific arches.
2023-07-05 12:06:38 +09:00
Tee KOBAYASHI
c9b7a88033
setup-ubuntu: Install clang-15
2023-07-01 22:12:53 +09:00
Jia Yuan Lo
58b80497c3
remove(scripts): termux_setup_mold
...
Due to unused and unresolved issues
2023-07-01 07:11:33 +08:00
Tee KOBAYASHI
ecd0815847
scripts: Bump Node.js to 18.16.1
2023-06-21 15:36:52 +09:00
Jia Yuan Lo
f419f759d8
auto-update: clean before each successive build
2023-06-18 09:10:55 +09:00
Tee KOBAYASHI
168cb6da1b
cargo-c: Bump to 0.9.20
2023-06-16 00:48:33 +09:00
Yaksh Bariya
4a27852284
chore(main/nodejs): do not build our own libicu
...
Use Ubunut's packaged ones instead.
2023-06-08 17:54:37 +05:30
Yaksh Bariya
de5ce48c3f
chore(main/nodejs-lts): use ninja
...
This will make the logs more human-friendly. Also building with ninja
should be bit faster
2023-06-08 17:54:37 +05:30
Tee KOBAYASHI
21694ae13f
golang: Bump to 1.20.5
2023-06-07 21:43:38 +09:00
Finagolfin
85c685056d
bump(swift): 5.8 to 5.8.1
2023-06-02 03:17:26 +05:30
Chongyun Lee
1c9858d2e6
scripts: use venv when packaging a python package
2023-06-01 11:09:33 +08:00
Yaksh Bariya
350443bdb6
chore: do not hardcode repository information in `scripts/proporties.sh`
...
Should have been done during the initial migration to monorepo
2023-05-23 18:04:13 +05:30
Tee KOBAYASHI
076a3fef54
cmake: Bump to 3.26.4
2023-05-20 07:02:42 +09:00
Tee KOBAYASHI
cc3a8fcdee
scripts: Unset TERMUX_MESON_ENABLE_SOVERSION by default
2023-05-08 01:10:03 +09:00
Tee KOBAYASHI
f3a7581b5e
libprotobuf: Bump to 22.4
2023-05-06 13:50:16 +09:00
Tee KOBAYASHI
924694aaec
termux_setup_meson: Optionally enable SOVERSION suffix
...
by setting `TERMUX_MESON_ENABLE_SOVERSION` environment variable.
2023-05-05 16:49:59 +09:00
Tee KOBAYASHI
474ebdd519
termux_setup_gir: Recognize `-DENABLE_GIR=ON`
2023-05-04 02:40:55 +09:00
Tee KOBAYASHI
c8f178dba0
golang: Bump to 1.20.4
2023-05-03 12:44:22 +09:00
Uchiha Kakashi
6089f25dad
buildorder.py: strip on `parse_build_file_excluded_arches`
2023-05-01 04:16:08 +08:00
Tee KOBAYASHI
36cc364a89
termux_step_massage: Add `update-mime-database` guard
...
* Remove the guard in individual packages
%ci:no-build
2023-05-01 00:48:01 +09:00
Tee KOBAYASHI
b6c843b06c
termux_step_massage: Exclude some cache files
2023-04-30 23:10:48 +09:00
Tee KOBAYASHI
40c7b533db
buildorder.py: Care for excluded arches
...
Fixes https://github.com/termux/termux-packages/issues/16427
2023-04-28 10:19:39 +09:00
Tee KOBAYASHI
25541e1d36
cargo-c: Bump to 0.9.19
2023-04-27 13:46:30 +09:00
Ivan Max
cd151f2841
scripts/setup-termux.sh: adding the ability to install packages via pacman ( #16368 )
...
build-package.sh: improved work with pacman-conf
2023-04-23 20:59:02 +03:00
Tee KOBAYASHI
e7300cea16
rust: Bump to 1.69.0
2023-04-22 11:47:27 +09:00
Tee KOBAYASHI
351966bb8f
gdb: Enable Guile support
2023-04-18 15:00:52 +09:00
Lucy Phipps
9d75d37c48
build system: retry repo/Release.gpg ( #16231 )
2023-04-18 00:05:59 +01:00
Tee KOBAYASHI
e12a635808
cargo-c: Bump to 0.9.18
2023-04-18 06:23:12 +09:00
Tee KOBAYASHI
9cbae9ff8f
termux_setup_meson: Bump Meson to 1.1.0
2023-04-17 05:50:36 +09:00
Tee KOBAYASHI
99eebf3e48
termux_setup_nodejs: Bump Node.js to 18.16.0
2023-04-15 02:55:58 +09:00
Butta
43e5ddfb0a
rebuild(cookcli): fix build with new Swift runtime libraries location
2023-04-07 13:56:55 +05:30
Uchiha Kakashi
b098860f50
buildorder.py: assume `aarch64` in `TERMUX_ARCH`
2023-04-07 09:04:09 +08:00
Tee KOBAYASHI
517c7871a7
cmake: Bump to 3.26.3
2023-04-07 09:34:28 +09:00
Tee KOBAYASHI
461a71acc6
golang: Bump to 1.20.3
...
* scripts: Bump older Go to 1.19.8
2023-04-07 09:34:12 +09:00