Fredrik Fornwall
a458ab0766
Let rustup install rust 1.34
6 years ago
Leonid Plyushch
8786624ca8
termux-elf-cleaner: update to v1.6
No changes if API level is >= 23.
6 years ago
Tom Yan
7d5dd1c55f
zlib-dev: breaks and replaces old ndk-sysroot
also bump toolchain version for z{lib,conf}.h removal
6 years ago
Tom Yan
32f46ac7e0
zlib: add package
6 years ago
Tom Yan
60dc484806
build-package: fix conffiles for subpackages
conffiles was being created after control.tar.gz, which makes it
being omitted
6 years ago
Leonid Plyushch
c1b444a9b1
package_uploader.sh: handle licenses "custom" and "non-free"
6 years ago
Leonid Plyushch
beaa0c61f8
swi-prolog: specify necessary host tools in setup-ubuntu.sh
6 years ago
Leonid Plyushch
ed5218cddf
build-package.sh: do not try to gzip manpages that are already gzipped
Avoid warning and broken symlinks.
6 years ago
Tom Yan
3e6844474c
build-package: set CMAKE_FIND_ROOT_PATH_MODE_PROGRAM to NEVER
6 years ago
Fredrik Fornwall
9e99a7498f
golang: Update from 1.12.1 to 1.12.2
6 years ago
Tom Yan
873b10d788
buildorder.py: make subpackage pull its parent
6 years ago
its-pointless
0e5ca471d1
llvm-8 and rust with back ports for llvm-8
6 years ago
Tom Yan
41b3d799bf
build-package: add TERMUX_PKG_DEVPACKAGE_{BREAKS,REPLACES} support
6 years ago
Tom Yan
444ebf0ed2
buildorder.py: make fast build mode download all subpackages
6 years ago
Leonid Plyushch
0c4fbc364e
build-package.sh: fix printing of error message when trying to run script on Android device
6 years ago
Leonid Plyushch
217c078304
termux_step_setup_toolchain.sh: simplify unneeded headers removal
6 years ago
Leonid Plyushch
e09bebd9cb
termux_step_setup_toolchain.sh: move 'rm usr/include/sys/capability.h' to correct place
6 years ago
Leonid Plyushch
9a40ff803c
package uploader: when script exit, return status code '1' if there errors occurred
package_uploader.sh should not exit on error when package processing is not finished
by allowing to do as much as possible.
But we need some mechanizm to notify maintainers when errors occurred on CI/CD
on package operations.
6 years ago
Leonid Plyushch
952df9c00e
setup-ubuntu.sh: add lua5.3, needed by luarocks
6 years ago
Leonid Plyushch
ff20bfb59b
package uploader: fix checking of build.sh existence
6 years ago
Leonid Plyushch
daf9d16121
package uploader: omit messages on stderr when sourcing build.sh
Prevents messages like this one:
which: no msgfmt in (/home/xeffyr/bin:/run/wrappers/bin:/home/xeffyr/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user/xeffyr/bin)
6 years ago
Fredrik Fornwall
44118b6e67
Remove sys/capability.h from the NDK sysroot
The sys/capability.h file will be provided by libcap-dev.
6 years ago
Tom Yan
72261ce2cc
build-package: handle -dev package download from buildorder.py
6 years ago
Tom Yan
879d24e972
buildorder.py: only omit target's subpackage for fast build
6 years ago
Tom Yan
3cfb02d491
buildorder.py: parse TERMUX_PKG_DEVPACKAGE_DEPENDS
6 years ago
Leonid Plyushch
9372e66f60
fast builds: enable downloading from game, root & science repositories
6 years ago
Leonid Plyushch
d2a6775533
termux_step_setup_variables.sh: remove unneeded variable
Not needed after cada4be0d8
.
6 years ago
Leonid Plyushch
7390ba5ca9
package uploader: fix conditional when checking http status after publishing in upload_package()
6 years ago
Leonid Plyushch
2c531fda35
package uploader: fix variable name in upload_package()
6 years ago
Leonid Plyushch
3f039293c5
fast builds: enable downloading from unstable and x11 repositories
6 years ago
Leonid Plyushch
16c0d197e2
package uploader: escape dot in versions when using grep
6 years ago
Leonid Plyushch
4b7a2a94a7
package uploader: fix message in delete_old_versions_from_package()
6 years ago
Leonid Plyushch
23b9e7e89a
package uploader: do not require build.sh when deleting package
6 years ago
Leonid Plyushch
0cf978c8af
package uploader: attempt to fix errors when using on CI
6 years ago
Leonid Plyushch
7fc6d185ad
update package_uploader.sh
* A bit of refactoring.
* Cleanup mode - remove old package versions and keep only latest one on the remote.
* Metadata regeneration mode. Allows to regenerate metadata without package uploading.
* No script failure when package errored. Just show message and continue.
* Do not leave repository in inconsistent state when terminating uploader with ctrl-c.
* Prevent processing of the duplicated package names in arguments. Argument list will be also sorted.
* Compact informational messages.
6 years ago
Henrik Grimler
00d88cefb4
package_uploader: fix typo
6 years ago
Fredrik Fornwall
b889f77ad1
golang: Update from 1.12 to 1.12.1
6 years ago
Leonid Plyushch
eaf357dac0
package uploader: keep old versions currently, always replace deb files with same name
It seems that metadata generation take about 40 seconds.
If we submit a new version of package with deleting previous one, users
will observe 404 errors until new metadata will be published.
6 years ago
Leonid Plyushch
9711b01b2b
termux-elf-cleaner: update to v1.5
Now it no longer removes GNU version sections.
6 years ago
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