Commit Graph

74 Commits

Author SHA1 Message Date
TomIO 593a6a73b7 chore(linter compliance): miscellaneous
[no ci]
2024-04-23 20:25:35 +02:00
Twaik Yont 6070d257c5
chore(main/ldc): force disable auto updates [no ci]
This is needed to avoid auto-updater script warnings.
The package is too complex for automatic updates.
2023-10-11 10:10:19 +03:00
Tee KOBAYASHI f380356f79 ldc: Bump to 1.30.0 2023-01-14 02:57:56 +00:00
Tee KOBAYASHI 86ab3590d9 ldc: Depend on binutils-bin
which contains bin/ld.bfd.
2022-11-12 15:09:31 +00:00
Tee KOBAYASHI 0157c5547c ldc: Build-depend on binutils-cross
%ci:no-build
2022-11-08 22:39:01 +00:00
Chongyun Lee bb19165614
ldc: bump to rebuild with ndk-r25
Co-authored-by: Henrik Grimler <grimler@termux.dev>
2022-08-20 10:20:43 +02:00
Henrik Grimler 4affd5b7b9
Revert ndk-r25 bump of packages with build issues
These packages were bumped to be rebuilt with ndk-r25, but builds fail
for different reasons. Decrease TERMUX_PKG_REVISION again so package
version correspond to the version that can be found in the repository.

Reverts part of commit b281bc2145 ("rebuild(deps:libc++): bump
termux-main packages that depend on libc++") and commit 329d3b2266
("rebuild(deps:libc++): bump termux-x11 packages that depend on
libc++").

%ci:no-build
2022-08-14 10:03:42 +02:00
Henrik Grimler b281bc2145
rebuild(deps:libc++): bump termux-main packages that depend on libc++
All except libllvm, rust, rustc-nightly, openfoam and libdispatch,
those packages will be handled separately.
2022-08-13 12:21:20 +02:00
agnostic-apollo f743005751 fix(build-package.sh): Localize and do not use variables defined in `termux_step_host_build` in other functions
The `termux_step_host_build` runs only the first time package is built for its specific version, based on `TERMUX_HOSTBUILD_MARKER` in `termux_step_handle_hostbuild`. If `build-package.sh` is run twice, then second time, variables defined in `termux_step_host_build` won't be set in later functions since its not called, like `_PREFIX_FOR_BUILD` in `aapt/build.sh` would be unset inside `termux_step_pre_configure`, resulting in unbound variable error.

Even `termux_step_pre_configure` may not always run, depending on `$TERMUX_CONTINUE_BUILD`, so build scripts should not share variables between functions and redefine them again where necessary.

Also `_PREFIX_FOR_BUILD` should use a standard path `$TERMUX_PKG_HOSTBUILD_DIR/prefix` and not others like `$TERMUX_PKG_HOSTBUILD_DIR/_prefix`. Some build scripts use `$TERMUX_PKG_HOSTBUILD_DIR/src` for other stuff, so best use `prefix` sub directory.
2022-07-28 15:27:20 +05:00
Tee KOBAYASHI 48de37acfe ldc: Set `DT_RUNPATH` for dub (and other tools) 2022-04-07 11:55:15 +09:00
Yaksh Bariya 3ce1eb0663
do not use debianutils `which` in our scripts
The utility is deprecated and might just unnecessarily spam the CI logs when we update to new docker image

%ci:no-build
2022-01-30 10:04:20 +05:30
Tee KOBAYASHI 0fee54ef37 ldc: Build cross binutils 2021-12-28 11:00:39 +01:00
Tee KOBAYASHI ba9513eff4 ldc: Do not use Thumb mode for arm target 2021-12-28 11:00:39 +01:00
Tee KOBAYASHI f4dc61bcfa ldc: Bump revision to rebuild 2021-12-28 11:00:39 +01:00
Leonid Pliushch 57fad9996f
ldc: bump revision 2021-12-26 20:03:38 +02:00
Henrik Grimler a2187e62df Bump all packages depending on libc++
As part of ndk-r23 upgrade.
2021-10-22 23:05:45 +02:00
Martin Kinkelin a9dd3749b5 LDC: Work around Termux' missing ld.bfd
As there was a report that it's not available on 32-bit ARM either;
I guess it's also missing on x86 then.
2021-08-15 17:03:29 +03:00
Martin Kinkelin d41b2ac44c LDC: Upgrade to v1.27.1 2021-08-15 17:03:29 +03:00
Martin Kinkelin bcd458bead LDC: Skip building compiler-rt memory profiling runtime
To prevent the `interception` library from being compiled, which hits a
static assert failure for both 32-bit ARM and i686 targets.
2021-08-01 01:01:10 +03:00
Martin Kinkelin 94e092df99 LDC: Add libunwind src
As workaround for https://bugs.llvm.org/show_bug.cgi?id=49228.
2021-08-01 01:01:10 +03:00
Martin Kinkelin 51cb37b683 LDC: Upgrade to v1.27.0 2021-08-01 01:01:10 +03:00
Martin Kinkelin 6e7ccb7bec LDC: Upgrade to v1.26.0 2021-04-29 21:11:46 +05:30
Martin Kinkelin 5be1cc145c
ldc: upgrade to 1.25.1 (#6468) 2021-03-01 01:12:13 +02:00
Martin Kinkelin 0a8cea5b3a LDC: Upgrade to v1.25.0 2021-02-22 02:58:51 +05:30
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
Martin Kinkelin 347a752ee8 LDC: Upgrade to v1.24.0 2020-10-26 18:21:55 +05:30
Martin Kinkelin 9453f64eab LDC: Upgrade to v1.23.0 2020-08-20 18:12:08 +05:30
Leonid Pliushch 125fd5a86a ldc: bump revision 2020-08-01 02:29:50 +03:00
Henrik Grimler 7c74bf9726 Rename termux_step_post_extract_package->termux_step_post_get_source 2020-07-21 10:14:19 +02:00
Henrik Grimler 7651009903 ldc: bump to rebuild 2020-07-09 18:23:33 +02:00
Henrik Grimler 0ef42ab604 ldc: bump to rebuild
ldc for x86_64 contains lots of unrelated binaries. Probably due to me building it locally and somehow messing that up.
2020-07-09 16:08:34 +02:00
its-pointless 84e2ab35ec fix building ldc after building libllvm 2020-07-09 13:51:35 +02:00
Henrik Grimler dcb926abd4 Copy LICENSE file for some licenses instead of using generic one (#5478)
* termux-licenses: remove licenses that contain copyright information

These licenses cannot be taken from the common termux-licenses package as the copyright information needs to be distributed with the package as well.

271 packages in the main repository needs to be rebuilt after this change.

* termux_step_install_license: remove duplicated comment

* Bump packages that has a license with copyright information

We need to include this copyright information in the package so need
to rebuild them now that termux_step_install_license has been
modified.

The affected licenses are: MIT, ISC, PythonPL, Openfont-1.1, ZLIB,
Libpng, BSD, BSD 2-Clause, BSD 3-Clause.

* zlib: extract license file from zlib.h

* xorgproto: include all individual license files in package

* libgcrypt: include LICENSE file in package

It contains some copyright information so needs to be included in package

* libcrypt: add a dummy BSD 2-Clause license

According to homepage it is suppose to be BSD 2-Clause, but original
project did not include a license file

* libandroid-spawn: add LICENSE file to package

* libandroid-glob: add license file to package

* licenses: allow for comma separated TERMUX_PKG_LICENSE_FILE

%ci:no-build

* libicu: fix so that termux_step_install_license finds license file

%ci:no-build

* termux_step_install_license: check for license file as "License"

%ci:no-build

* libtiff: specify TERMUX_PKG_LICENSE_FILE

%ci:no-build

* asciidoctor: install license to standard location

* krb5: specify license file

* libdb: specify path to license file

%ci:no-build

* libprotobuf: specify path to license file

* darkhttpd: extract license file from darkhttpd.c

* w3m: ensure host libraries are not picked up

* w3m: extract LICENSE file from dock/README

* liblua{,52}: extract license files from doc/readme.html

* termux_step_install_license: look for License.txt as well

* dart: specify path to LICENSE file

* nim: specify license file

* runit: specify license file

* termux_step_install_license: look for LICENSE.TXT as well

* ossp-uuid: extract LICENSE from README

* pigz: extract LICENSE from pigz.c

* ttyrec: extract LICENSE from ttyrec.c

%ci:no-build

* bmon: specify license files

Most of the source files are licensed under MIT, it is not clear (to me) which
parts that are licensed under BSD 2-Clause.

%ci:no-build

* wordgrinder: specify license files

* fdupes: add LICENSE

* autossh: add LICENSE patch

* cmake: specify LICENSE file

* dos2unix: specify LICENSE file

* gnuplot: specify LICENSE file

* termux_step_install_license: look for variants of "copyright" also

* picolisp: specify LICENSE file

* lua-lpeg: extract license file

* tidy: specify license file

* gflags: specify LICENSE file

* timewarrior: fix src url

It seems to have been changed.

* postgresql: specify license file

* ttyrec: fix license patch header

* fossil: specify license file

* fmt: specify license file

* i2pd: specify license file

* leptonica: specify license file

* imgflo: add license file patch

* ired: add license file from ired github repo

* libzen: specify license file

* libmediainfo: specify license file

* mediainfo: specify license file

* tty-clock: add license patch

* samefile: add license patch

* quickjs: add license patch

* docbook-xml: add LICENSE patch

* docbook-xsl: specify LICENSE files

* gnuplot: configure with --without-latex

* timewarrior: add libshared to SRCURL as well

The non-release archives does not contain gitsubmodules so we need to
download it manually.

* restic: switch back to using 0.9.6 archive

* dart: revert revision bump

dart's SDK does not fully support python3 yet, and trying to solve
that is not entirely trivial. We save the dart bump (and upgrade to
2.8.4) for another day.

%ci:no-build
2020-07-07 18:45:45 +02:00
Martin Kinkelin bbe63745c9 LDC: Upgrade to v1.22.0 2020-06-18 01:02:13 +03:00
Henrik Grimler aff12036ac ldc: bump revision to restart CI build 2020-05-08 09:30:53 +02:00
Martin Kinkelin 7288603869 LDC: Upgrade to v1.21.0 2020-04-25 02:04:18 +03:00
Henrik Grimler 52103c6129 Updates for some packages (#5070)
* imagemagick: update to 7.0.10.2

* fossil: update to 2.10

Had to disable tests checking for sqlite3 as they try to run cross-compiled tests

* automake: update to 1.16.2

* ghostscript: update to 9.52

* cmake: update to 3.17.0

* git: update to 2.26.0

* krb5: update to 1.18

* ldc: update to 1.20.1
2020-03-24 15:27:02 +01:00
Leonid Pliushch d25987fc81 ldc: rebuild 2020-02-17 15:33:59 +02:00
Martin Kinkelin ef70e5b778 LDC: Upgrade to v1.20.0 2020-02-16 02:37:32 +01:00
Martin Kinkelin 2488e59847 LDC: Upgrade to v1.19.0 (#4676) 2019-12-21 14:25:50 +02:00
Martin Kinkelin e6638c2921 LDC: Upgrade to v1.18.0 2019-10-17 00:24:04 +02:00
Martin Kinkelin 9e342fd8ce LDC: Upgrade to v1.18.0-beta2 2019-10-17 00:24:04 +02:00
Martin Kinkelin 109fe9d919 LDC: Upgrade to v1.18.0-beta1 2019-10-17 00:24:04 +02:00
Leonid Pliushch f0c88e6b47 ldc: bump revision 2019-09-10 16:33:12 +03:00
Martin Kinkelin 6d50ac0afd LDC: Upgrade from v1.13 to v1.17 (#4246)
* LDC: Upgrade from v1.13 to v1.17

* LDC: Fix missing symbols in druntime's core.sys.posix.unistd

* LDC: Fix repeated llvm-config help output

* LDC: Revise build script

1) Use an 'installed' (ninja install) LLVM for LDC.
2) Cross-compile LLVM before invoking CMake for LDC, so that the LLVM
   dir is actually populated (previously: just fake bin/llvm-config).
3) Include dlang tools ddemangle and dustmite in the final package too,
   just like official LDC packages. Cmdline flags have been synced with
   upstream.

* Add hello-world smoke test

* LDC: Upgrade LLVM from v7.0.1 to v8.0.1
2019-09-03 20:06:03 +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 c81d4c8698 add stubs to prevent on-device building packages with dangerous operations in build.sh
%ci:no-build
2019-08-08 16:58:34 +03:00
Leonid Pliushch 6e70277fb3 no more develsplit + provide static libraries as separate package
%ci:no-build
2019-07-28 21:17:12 +03:00
Leonid Pliushch 241bcf7fb5 ldc: bump revision 2019-06-20 21:30:12 +03:00
Leonid Pliushch 11200afa32 add zlib to dependencies where needed 2019-04-14 16:00:23 +03:00