Commit Graph

531 Commits

Author SHA1 Message Date
termux-pacman-bot
e4da27edf1 Update repo 2022-10-20 14:51:27 +00:00
termux-pacman-bot
0305b7aeed Update repo 2022-09-14 17:00:41 +00:00
termux-pacman-bot
dec2c2f70d Update repo 2022-08-24 15:40:26 +00:00
termux-pacman-bot
bc0696b0a8 Update repo 2022-08-13 10:39:47 +00:00
termux-pacman-bot
a5deafba1b Update repo 2022-08-10 07:09:55 +00:00
termux-pacman-bot
d1d09cecff Update repo 2022-08-07 08:40:17 +00:00
termux-pacman-bot
472577966f Update repo 2022-07-28 10:41:57 +00:00
termux-pacman-bot
cd95b4c9fe Update repo 2022-07-08 09:19:36 +00:00
termux-pacman-bot
29e385f563 Update repo 2022-06-16 16:31:30 +00:00
termux-actions[bot]
d5054efa27 Update repo 2022-05-23 07:25:41 +00:00
termux-actions[bot]
e601e1a248 Update repo 2022-04-20 15:08:35 +00:00
termux-actions[bot]
3b8ef05016 Update repo 2022-04-20 13:05:50 +00:00
Maxython
ef439fdc98 monorepo settings in termux-pacman 2022-04-19 12:30:02 +03:00
termux-actions[bot]
9fe2444b00 Update repo 2022-03-16 14:38:07 +00:00
termux-actions[bot]
7f9ad6271c Update repo 2022-03-12 06:23:28 +00:00
termux-actions[bot]
ee83aabc05 Update repo 2022-03-09 07:17:51 +00:00
termux-actions[bot]
5eb858903f Update repo 2022-03-09 01:18:33 +00:00
termux-actions[bot]
993300ea33 Update repo 2022-03-02 03:21:54 +00:00
termux-actions[bot]
42dbe6cf4f Update repo 2022-03-01 09:05:42 +00:00
termux-actions[bot]
cd4c8133eb Update repo 2022-02-11 22:16:10 +00:00
termux-actions[bot]
17297f31e9 Update repo 2022-02-04 19:12:44 +00:00
termux-actions[bot]
77bd53e9b2 Update repo 2022-01-31 18:21:31 +00:00
termux-actions[bot]
09e8bce823 Update repo 2022-01-25 12:30:16 +00:00
termux-actions[bot]
d25e41c0be Update repo 2022-01-14 13:17:49 +00:00
Maxython
6a855ee817 Update repo 2021-12-08 19:43:12 +03:00
Henrik Grimler
af3f791645 build-package: use PACKAGE_FORMAT debian if not specified 2021-10-22 09:27:15 +02:00
Henrik Grimler
26da480d36 build-package: mv code for creating llvm-config
After https://github.com/termux/termux-packages/commit/e34ae5da030d,
llvm-config was created before termux_step_get_dependencies, meaning
that it gets overwritten if libllvm is installed.

Fix this by creating llvm-config in a new function
termux_step_override_config_scripts, that is run right after
termux_step_get_dependencies.
2021-09-17 12:02:53 +02:00
Leonid Pliushch
07852c874b build-package.sh: allow to select package formats between debian and pacman 2021-09-10 19:55:28 +03:00
YAKSH BARIYA
2d38944910 new package: gn (#7290) 2021-09-03 20:46:03 +03:00
Henrik Grimler
6445645d7e build-package: mv code for setting up src and build to to its own function
%ci:no-build
2021-08-24 21:40:46 +02:00
Henrik Grimler
ecd214881a build-package: add new arg -c for "continue build"
As replacement for TERMUX_PKG_QUICK_REBUILD. Running
./build-package.sh -c <package> starts a build for <package>, but does
not extract and patch the source from scratch. Instead it sets up the
build variables and starts from termux_step_make.

When working on a big package that can take hours to build it is
convenient to be able to build until there is an error, then apply
some new patch (manually) to the source, and then continue from where
the build failed.
2021-08-24 21:40:46 +02:00
Henrik Grimler
23530a540c build-package: create timestamp file after get_dependencies
Fixes issue introduced in e34ae5da03.
2021-08-21 22:37:51 +02:00
Lucinda May Phipps
e6166f11d0 move termux_step_get_dependencies up one step 2021-08-21 21:25:26 +01:00
Henrik Grimler
e34ae5da03 build-package: mv code for getting deps out of step_start_build
Into new function termux_step_get_dependencies.
2021-08-21 20:59:24 +02:00
Henrik Grimler
2c70621a98 build-package: rename TERMUX_DEBUG to TERMUX_DEBUG_BUILD
To make it more self-explanatory.
2021-08-21 20:55:57 +02:00
Leonid Pliushch
90e2de6fcc build-package.sh: add hook to prevent execution of sudo
Do not let privileged commands appear in build.sh. Any environment
configuration should be done by scripts like setup-ubuntu.sh. Execution
of arbitrary sudo commands could mess up host system, in case if not
building package in Docker container or VM.
2021-07-07 23:27:54 +03:00
Leonid Pliushch
3337b9ffee build-package.sh: compatibility with "reproducible builds"
Though git method of getting persistent timestamp won't work in submodules
and snapshots and will fallback to current date.
2021-05-19 13:19:23 +03:00
Leonid Pliushch
c9664c11ba build-package.sh: never use git outside of package build process.
termux-packages is not guaranteed to be always used as git repository.
Relying on git here may lead to issues.

P.S. Avoid unfinished work on master branch!
2021-05-19 13:12:27 +03:00
Henrik Grimler
b3b5a3f35f mv checks from termux_step_create_datatar to termux_step_massage
By moving the checks we can make the function more general, and
thereby re-use it for creating subpackages and potentially hostbuild
tools packages.

tests: building libandroid-support and build-essential.
2021-05-16 20:08:37 +02:00
Lucy Phipps
d5313fab26 get SOURCE_DATE_EPOCH from git log time
start of work towards reproducible builds
2021-05-11 20:36:23 +01:00
Leonid Pliushch
501ce516cd misc hardcoded home/prefix fixes 2020-10-30 22:48:55 +02:00
Leonid Pliushch
47eca5ed01 build-package.sh: enable offline mode when file ./build-tools/.installed is present
Once ./scripts/setup-offline-bundle.sh was executed, all sources and build tools
should be downloaded and build-package.sh should be able to use them.
2020-10-23 01:57:33 +03:00
Henrik Grimler
bafdf9d9c0 Rename termux_extract_src_archive to termux_unpack_src_archive
%ci:no-build
2020-07-21 20:09:38 +02:00
Henrik Grimler
b474395f89 build-package.sh: spaces->tab 2020-07-21 10:22:55 +02:00
Henrik Grimler
4e902a41a5 building packages: create termux_step_get_source function
Calls termux_git_clone_src if TERMUX_PKG_SRCURL ends with .git, and
termux_download_src_archive and termux_extract_src_archive otherwise.
termux_step_extract_package has been split up into the latter two
functions.

termux_step_post_extract_package has been renamed to
termux_step_post_get_source to reflect these changes.
2020-07-21 10:14:00 +02:00
Leonid Pliushch
2f58b9f435 build-package.sh: add function for setting up GHC 2020-06-20 22:44:13 +03:00
Leonid Pliushch
64ee31c9dc build-package.sh: fix unbound variable error 2020-03-23 23:45:11 +02:00
Leonid Pliushch
2f5b36deb4 build-package.sh: attempt to fix gpg when no tty available 2020-03-21 23:03:43 +02:00
Leonid Pliushch
d523f61477 build-package.sh: verify release files with gpg when doing autobuilds (#5062) 2020-03-21 16:30:02 +02:00
Henrik Grimler
dbeeaef9c9 build-package: add new function termux_step_create_subpkg_debscripts (#4963)
Makes it possible to create postinst scripts and similar or subpackages as well
2020-02-23 21:30:44 +01:00