Commit Graph

56 Commits

Author SHA1 Message Date
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
Leonid Pliushch
69397baf18 ldc: fix build error 2019-03-29 14:06:16 +02:00
Joakim
3158273f08 ldc: step down as maintainer 2019-02-24 20:35:10 +02:00
Wetitpig
7ddcce5701 No backticks 2019-02-15 18:01:09 +02:00
Wetitpig
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Leonid Pliushch
46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Joakim
3ccad90ac7 ldc: Update from 1.12 to 1.13 and add x64 build. 2018-12-17 22:28:19 +01:00
Joakim
60767d4367 ldc: Add x86 build 2018-10-25 22:58:45 +02:00
Fredrik Fornwall
e5805d0d19 Use python3 when building llvm 2018-10-14 23:12:36 +02:00
Joakim
1de0a22b9c ldc: Update from 1.11 to 1.12 and tweak llvm-config script. 2018-10-14 18:54:35 +02:00
Joakim
542fbbd197 ldc: Update from 1.10 to 1.11, add AArch64 build, update llvm-config
script, and use Ninja to build.
2018-08-21 00:49:42 +02:00
Joakim
b686f4aeed ldc: Update from 1.9 to 1.10 2018-06-20 23:35:23 +02:00
Henrik Grimler
71594b6ea5 Allow TERMUX_PKG_SRCURL and TERMUX_PKG_SHA256 to be arrays (#2506)
* build-package.sh: allow for arrays in TERMUX_PKG_{SRCURL,SHA256}

Packages that require several source archives can then set these parameters to
arrays instead of downloading them "manually" in termux_step_post_extract.

Downloaded files are extracted into subfolders in TERMUX_PKG_SRCDIR.

Tested for backward compatibility in a couple of packages and the combinations
tar + tar, zip + tar, tar + zip, zip + zip.

* perl: download perl-cross through TERMUX_PKG_SRCURL

* perl: remove $PREFIX/{lib/libperl.so,include/perl} before build

Otherwise building perl twice doesn't give the same results, symlinks are
messed up.

Also remove old remnant from when there was a Kid.pm.patch.

* bash: fix tiny typo

* ecj: remove hardcoded SHA256 and pkg version

* elfutils: download argp-standalone through TERMUX_PKG_SRCURL

* ldc: download all src archives through TERMUX_PKG_SRCURL

* libgc: download libatomic_ops through TERMUX_PKG_SRCURL

* libllvm: download all src archives through TERMUX_PKG_SRCURL

* linux-man-pages: download src archives through TERMUX_PKG_SRCURL

* ncurses: download all src archives through TERMUX_PKG_SRCURL

* pngquant: download lib sources through TERMUX_PKG_SRCURL

Use .zip for lib since the downloaded archives are otherwise both named
$TERMUX_PKG_VERSION.tar.gz and replace each other. This causes caching to
not work.
2018-06-13 02:15:26 +02:00
Joakim
62d67962d6 ldc: Update from 1.8 to 1.9 2018-05-01 22:40:33 +02:00
Joakim
2e1127e646 ldc: Update from 1.7 to 1.8 2018-03-06 16:43:50 +01:00
Joakim
1a8f5cef66 ldc: Update from 1.6 to 1.7 2018-01-06 20:16:14 +01:00
Henrik Grimler
c783d149e1 ldc: update llvm tar SHA256 & name 2017-12-22 00:09:53 +01:00
joakim-noah
bdc719bf14 ldc: update to 1.6 release (#1893) 2017-12-03 10:04:16 +01:00
joakim-noah
6de5db5e29 ldc: update to 1.5 release (#1731) 2017-10-31 19:10:15 +01:00