Commit Graph

95 Commits

Author SHA1 Message Date
Leonid Pliushch
36a846c725 build-package.sh: do not set -Wl,-z,relro,-z,now ldflags for Golang CGO
Causes this error when building Golang projects:

 invalid flag in go:cgo_ldflag: -Wl,-z,relro,-z,now
2020-11-22 13:52:28 +00:00
Leonid Pliushch
4644f57bec golang: fix build error 2020-11-22 13:37:33 +00:00
Leonid Pliushch
1cff00f7cb golang: update to 1.15.5 2020-11-22 13:01:28 +00:00
Henrik Grimler
a0c55edc50 golang: bump revision 2020-10-17 23:41:06 +02:00
Henrik Grimler
e6d61103b0 golang: update to 1.15.3 2020-10-17 21:19:10 +02:00
Krishna Kanhaiya
c3eb5a8313 golang: update to 1.15.2 (#5794) 2020-09-11 03:50:33 +03:00
Krishna Kanhaiya
1b23a10f12 Update build.sh 2020-09-04 13:48:23 +05:30
Krishna Kanhaiya
a3f49f72a4 golang: build.sh add misc directory
Add misc directory in golang root which contains useful wrapper for wasm, android etc
2020-09-04 11:19:24 +05:30
Nuruddin Ashr
41a5d5efd6 Upgrade to go version 1.15.1 2020-09-02 12:32:12 +05:30
Butta
43c6c153f9 golang: update from 1.14.7 to 1.15 2020-08-12 10:39:23 +05:30
Nuruddin Ashr
23c155d70a Upgrade to go version 1.14.7 2020-08-08 14:21:10 +07:00
Nuruddin Ashr
3ba79550b1 Upgrade to golang version 1.14.6 2020-07-17 13:07:25 +03:00
Nuruddin Ashr
ebc92a9485 Upgrade to go version 1.14.5 2020-07-15 10:08:58 +03: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
Nuruddin Ashr
b1dda1c1c2 Upgrade to Golang version 1.14.4 2020-06-03 15:08:11 +03:00
Nuruddin Ashr
077bf9ccc8 Upgrade golang to version 1.14.3 2020-05-15 13:26:58 +03:00
Nuruddin Ashr
3738891830 Upgrade golang version to 1.14.2 (#5143) 2020-04-11 12:28:48 +03:00
Leonid Pliushch
6d996feac4 golang: update to 1.14.1 2020-03-20 13:17:48 +02:00
Leonid Pliushch
02a2c53d11 golang: update to 1.14 2020-03-08 19:35:46 +02:00
Fredrik Fornwall
1cef84f37a golang: Update from 1.13.7 to 1.13.8 2020-02-15 22:40:57 +01:00
Leonid Pliushch
4590b61015 golang: update to 1.13.7 2020-01-30 21:06:21 +02:00
Fredrik Fornwall
683301b678 golang: Update from 1.13.5 to 1.13.6 2020-01-09 23:48:39 +01:00
Fredrik Fornwall
0533835564 golang: Update from 1.13.4 to 1.13.5 2019-12-05 23:29:18 +01:00
Fredrik Fornwall
b40b0bc2aa golang: Update from 1.13.3 to 1.13.4 2019-11-21 00:01:01 +01:00
Leonid Pliushch
4cbeb565e2 golang: update to 1.13.3 2019-10-18 15:11:11 +03:00
Fredrik Fornwall
0e0d92a66c golang: Update from 1.13 to 1.13.1 2019-09-29 03:04:25 +02:00
Fredrik Fornwall
0a3d65e292 golang: Update from 1.12.8 to 1.13 2019-09-03 21:41:24 +02:00
Leonid Pliushch
43afcb4b55 golang: allow on-device builds
But it will fail currently anyway to non-pie executables generated in
bootstrap process.
2019-08-19 02:38:29 +03:00
Fredrik Fornwall
839d674375 golang: Update from 1.12.7 to 1.12.8 2019-08-15 17:47:05 +02: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
Fredrik Fornwall
c5a58e63a2 golang: Update from 1.12.6 to 1.12.7 2019-07-11 14:31:17 +02:00
Leonid Pliushch
32ef9db225 golang: update to 1.12.6 2019-06-16 18:38:39 +03:00
Fredrik Fornwall
2e6aa72a19 golang: Update from 1.12.2 to 1.12.5 2019-05-07 22:41:30 +02:00
Leonid Pliushch
9d5fc907f8 golang: bump revision after 0d1170cc 2019-05-06 16:54:20 +03:00
Fredrik Fornwall
c0d22ec7d1 golang: Update from 1.12.1 to 1.12.2 2019-04-07 22:44:13 +02:00
Fredrik Fornwall
12ad4574aa golang: Update from 1.12 to 1.12.1 2019-03-15 14:53:10 +01:00
Fredrik Fornwall
a971f1a1c6 golang: Avoid wrong hardcoded pkg-config path
Avoid having the value of the PKG_CONFIG environment variable at
build time being built into the go compiler. Fixes #3505.
2019-03-13 22:36:03 +01:00
Fredrik Fornwall
30c73290b6 go: Update from 1.11.5 to 1.12 2019-03-06 22:57:26 +01:00
Wetitpig
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Fredrik Fornwall
36879411ed golang: Update from 1.11.4 to 1.11.5 2019-01-25 00:43:25 +01:00
Leonid Pliushch
46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall
11a4e2950b golang: Update from 1.11.2 to 1.11.4 2018-12-19 01:23:17 +01:00
Fredrik Fornwall
51e58c75ef golang: Use correct checksum 2018-11-05 21:40:10 +01:00
Fredrik Fornwall
cd7831c287 golang: Update from 1.11.1 to 1.11.2 2018-11-05 21:38:26 +01:00
Fredrik Fornwall
0019a2d1a7 golang: Update from 1.11 to 1.11.1 2018-10-02 21:21:37 +02:00
Fredrik Fornwall
f3147dfa42 golang: Update checksum for go 1.11 2018-08-25 23:25:33 +02:00
Fredrik Fornwall
0d58bc4384 golang: Update from 1.10.3 to 1.11 2018-08-25 23:22:24 +02:00
Fredrik Fornwall
4f56a36f6d golang: Update from 1.10.2 to 1.10.3 2018-06-08 14:17:21 +02:00