Leonid Plyushch
50c42cd530
fast-build mode: use termux_download function for downloading 'Release'
Addition for cada4be0d8
.
Release file may not exist too when metadata generation is in progress,
so we may need to do several tries to download file.
6 years ago
Leonid Plyushch
3db390c17a
package uploader: skip packages with custom licenses
Try to detect packages with custom licenses and just skip them
so upload of other packages will be finished successfully.
6 years ago
Leonid Plyushch
cada4be0d8
fast-build mode: do not rely on gpg when verifying metadata
If previous build create metadata generation job, the repository will be left in
unsigned state for up to 5-20 seconds. We cannot do anything with this as how
Bintray works. When this case happens, signature checks will fail causing build
failure.
See https://gitlab.com/termux-mirror/termux-packages/-/jobs/175356747 .
For now, gpg checks are permanently disabled. When a better solution will be
found, feel free to revert this commit.
6 years ago
Leonid Plyushch
7e135fa1c2
package_uploader.sh: check for dependencies before running
6 years ago
Leonid Plyushch
9f088247a4
package_uploader.sh: use more generic bash path for shebang
Fixes error when trying to execute script on NixOS.
6 years ago
Tom Yan
e5edd4f586
Simplify libc++ setup
As clang++ in the NDK defaults to libc++ since r17, we no longer
need to fake a libstdc++.so at build time (and omit it from the
libc++ package we ship).
6 years ago
Fredrik Fornwall
a54a1429b8
Avoid meson stripping DT_RUNPATH
See #3490 .
6 years ago
Fredrik Fornwall
ce4b923f13
Fix DT_RUNPATH for rust-using packages
See #3490 .
6 years ago
Fredrik Fornwall
d03cd2f0db
Set CGO_LDFLAGS="$LDFLAGS" for go packages
This should add DT_RUNPATH. See #3490 .
6 years ago
Leonid Plyushch
c63620886b
termux_step_setup_variables.sh: fix gpg keys
6 years ago
Leonid Plyushch
ced6a945ec
package uploader: improve searching of subpackages
Handle cases where package directory is actually symlink.
6 years ago
Leonid Plyushch
99134641d6
fast-builds: switch to bintray url
6 years ago
Leonid Plyushch
02e60c373c
build-package.sh: create dummy libutil.so which links to libc
Replace libutil.so with linker script so we don't have to patch
each program that tries to link with libutil.so.
6 years ago
Leonid Plyushch
b9def36440
package uploader: add support for keeping previous versions, update help info, rename script
6 years ago
Leonid Plyushch
f6ba4502fb
add package uploading script
This script can be used either manually or by CI to
upload packages to Bintray.
6 years ago
Leonid Plyushch
a48d94ce2b
build-package.sh: enable use of DT_RUNPATH, set minimal API level to 24
6 years ago
Henrik Grimler
ca3971841b
termux_create_subpackages: support TERMUX_SUBPKG_BREAKS
6 years ago
Henrik Grimler
9dece59651
build-package: mv code for creating subpackages to new file
6 years ago
Fredrik Fornwall
bedfd17f7e
go: Update from 1.11.5 to 1.12
6 years ago
Leonid Plyushch
28f3fbe1bc
build-package.sh: prevent parallel runs in the same environment
Avoid corruption of the build environment if build-package.sh was
executed in 2 parallel sessions.
6 years ago
Leonid Plyushch
ef3772c4d6
fast-builds: do not rely on bootstrap archives
Reasons:
* they may contain outdated packages
* they are redundant
* they may not exist for target repository (e.g. if building for non-termux.net)
6 years ago
Henrik Grimler
e56f784f95
setup-ubuntu.sh: add jq and remove debdiff
6 years ago
Leonid Plyushch
e400c23415
termux-elf-cleaner: update to v1.4
Provides fix for Android 5.
6 years ago
Leonid Plyushch
0950d69987
update scripts for continuous integration
Keep bare minimum of scripts & configuration files for CI.
Set Travis target language to generic, remove 'Gemfile' and
'Rakefile' since we building *.deb packages and not ruby ones.
Code that determining changes in git repository is reimplemented
in bash.
Disabled packages are excluded from CI tracking as they frequently
cause errors.
6 years ago
Henrik Grimler
706ac2d2d2
termux_download_deb: check that Packages exist before reading hash
6 years ago
Henrik Grimler
46e7252e91
build-package: stop build if buildorder.py returns error
6 years ago
Henrik Grimler
a1601b739b
build-package: call termux_get_repo_files in termux_step start_build
Prevents unnecessary re-downloads of repo files.
6 years ago
Henrik Grimler
e486e4643a
build-package: add new env. var. TERMUX_PACKAGES_DIRECTORIES
Can be set to the path to packages/ directories in other repos (like
unstable-package/packages/, termux-root-packages/packages/,
..). buildorder.py then searches these directories for packages and
dependencies
6 years ago
Henrik Grimler
035ec7e35f
build-package: download dependencies recursively when fast-building
Use scripts/buildorder.py with a new -i flag to get all dependencies
(including subpackages). The script now also spits out both package
name and package dir, to make it easier to build packages from another
repo.
6 years ago
Henrik Grimler
5873ff8750
build-package: remove termux_step_compare_debs
6 years ago
Fredrik Fornwall
15489b2239
Use meson version 0.49.2
6 years ago
Fredrik Fornwall
4b01da699f
Use specific version when setting up rust
This makes for more reproducible builds.
6 years ago
Henrik Grimler
512345c9a1
termux_step_start_build: handle failed subpackage downloads
Build parent package instead of trying to build the subpackage.
6 years ago
Henrik Grimler
e301be4d49
termux_step_compare_debs: fix subpackage comparison
6 years ago
Henrik Grimler
537071c99f
build-package: mv termux_step_finish_build to scripts/build/
6 years ago
Henrik Grimler
95ee844cfe
build-package: mv termux_step_compare_debs to scripts/build/
6 years ago
Henrik Grimler
07ac40da1e
build-package: mv termux_step_create_debfile to scripts/build/
6 years ago
Henrik Grimler
1791646f58
build-package: mv termux_step_create_datatar to scripts/build/
6 years ago
Henrik Grimler
eaf8f81973
build-package: mv termux_step_massage to scripts/build/
6 years ago
Henrik Grimler
267962c93b
build-package: mv termux_step_extract_into_massagedir to scripts/build/
6 years ago
Henrik Grimler
70afa65d4d
build-package: mv termux_step_make_install to scripts/build/
6 years ago
Henrik Grimler
00d6e0c282
build-package: mv termux_step_make to scripts/build/
6 years ago
Henrik Grimler
92688d5464
build-package: mv termux_step_configure to scripts/build/configure/
6 years ago
Henrik Grimler
a0fff6763b
build-package: mv termux_step_configure_meson to scripts/build/configure/
6 years ago
Henrik Grimler
b4ed937099
build-package: mv termux_step_configure_cmake to scripts/build/configure/
6 years ago
Henrik Grimler
fed060b5b7
build-package: mv termux_step_configure_autotools to scripts/build/configure/
6 years ago
Henrik Grimler
8e759381d2
build-package: mv termux_step_replace_guess_scripts to scripts/build
6 years ago
Henrik Grimler
f445a43da1
build-package: mv termux_step_patch_package to scripts/build/
6 years ago
Henrik Grimler
e6097e6cf6
build-package: mv termux_step_setup_toolchain to scripts/build/
6 years ago
Henrik Grimler
6f2c26696f
build-package: mv termux_step_extract_package to scripts/build/
6 years ago