Commit Graph

163 Commits

Author SHA1 Message Date
Yaksh Bariya
d6dcb8dc77
nodejs: Bump to 16.9.1 2021-09-14 06:58:41 +05:30
Yaksh Bariya
8979636e7e
nodejs: Remove x86_64 as blacklisted arch 2021-09-14 06:58:41 +05:30
Yaksh Bariya
dddd5b0a9b
nodejs: Hardcode linker flags for shared libraries
We are passing flags to `configure.py` in order to tell the nodejs build
toolchain to use shared libraries. The toolchain seems to mistakenly
also try use shared libraries for host build, but it does not add
respective linker flags (For example `-lz` for zlib). This commit
hardcodes these flags to be always passed to linker by setting linker to
linker + LDFLAGS of shared libraries
2021-09-14 06:58:41 +05:30
Yaksh Bariya
b0135afc64 Add patch for ListFormatter 2021-06-18 16:41:20 +03:00
Yaksh Bariya
8fc642176a Update checksums for ICU tarball 2021-06-18 16:41:20 +03:00
Yaksh Bariya
b44895315b Bump icu version in nodejs and nodejs-lts 2021-06-18 16:41:20 +03:00
Yaksh Bariya
d63cc00830 Bump revisions for nodejs,nodejs-lts and swift to force rebuild 2021-06-18 16:41:20 +03:00
Leonid Pliushch
be029cc571
nodejs: update libicu for host build 2021-02-09 14:11:27 +02:00
Leonid Pliushch
f545d8ec46
nodejs: rebuild after libicu update 2021-02-09 13:26:45 +02:00
Kid
89bf7cea69
nodejs: update to 14.15.4 (#6231) 2021-01-07 14:28:01 +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
Henrik Grimler
35dc3ff626 nodejs: update to 14.14.0
Built locally and uploaded.
%ci:no-build
2020-10-18 00:14:19 +02:00
Henrik Grimler
1d2786b1ac nodejs: bump to restart build 2020-08-12 15:56:56 +02:00
Fredrik Fornwall
fb7027c26a nodejs: Update from 14.4.0 to 14.8.0 2020-08-12 14:16:59 +02: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
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
Leonid Pliushch
cb5b95b080 nodejs: update to 14.4.0 2020-06-21 19:16:50 +03:00
Leonid Pliushch
75836d6a6e nodejs: add note about CI build failure
%ci:no-build
2020-05-19 15:17:42 +03:00
Fredrik Fornwall
4dea028bae nodejs: Update from 14.0.0 to 14.2.0 2020-05-11 13:12:39 +02:00
Leonid Pliushch
cd22596c69 nodejs: disable printing messages to android log in more places 2020-05-07 17:16:25 +03:00
Leonid Pliushch
fdda304d60 nodejs: print messages to stdout instead of Android log 2020-05-07 03:48:08 +03:00
Leonid Pliushch
4d0fb1767f Revert "nodejs: print messages to stdout instead of Android log"
This reverts commit ec197f1d68a81bf9f344637d54f915668b4ad1cd.
2020-05-06 22:24:25 +03:00
Leonid Pliushch
fa1481df57 nodejs: print messages to stdout instead of Android log 2020-05-06 14:00:49 +03:00
Fredrik Fornwall
3ba1d0d29e nodejs: Update from 13.13.0 to 14.0.0 2020-04-29 15:23:23 +02:00
Leonid Pliushch
84c586afbd nodejs/nodejs-lts: fix typo in ICU source URL 2020-04-26 15:51:00 +03:00
Leonid Pliushch
2558007608 libicu: revert to v66.1
Newer versions break nodejs, nodejs-lts because API

 icu::number::FormattedNumber::getAllFieldPositions()

was removed.
2020-04-26 14:44:02 +03:00
Leonid Pliushch
daa0dd2294 fix sha256 for libicu
We use *.tar.xz archives, not the *.tar.gz.
2020-04-26 12:43:05 +03:00
Leonid Pliushch
2463cfc2f4 libicu: update to 67.1 2020-04-26 12:31:08 +03:00
Leonid Pliushch
b5aa5ebf35 nodejs: apply https://github.com/libuv/libuv/pull/2767 for deps/uv 2020-04-26 11:55:28 +03:00
Fredrik Fornwall
4846be6f8d nodejs: Update from 13.0.0 to 13.13.0 (#4762)
Co-authored-by: Henrik Grimler <henrik@grimler.se>
2020-04-19 23:34:14 +02:00
Leonid Pliushch
c173be7227 nodejs: specify clang, make, pkg-config, python as suggested packages
They are frequently used when `npm` installs something with
native extensions.
2020-04-14 16:39:30 +03:00
Leonid Pliushch
41027418da fix libicu version for nodejs and nodejs-lts 2020-03-12 19:46:08 +02:00
Leonid Pliushch
3aa46a61a0 rebuild packages depending on libicu 2020-03-12 19:14:29 +02:00
Leonid Pliushch
c8883ac789 nodejs: avoid FICLONE ioctl
Issue https://github.com/termux/termux-packages/issues/4664.

19824 ioctl(29, BTRFS_IOC_CLONE or FICLONE, 34 <unfinished ...>
19823 fstat64(30,  <unfinished ...>
19822 write(16, "\1\0\0\0\0\0\0\0", 8 <unfinished ...>
19821 close(31 <unfinished ...>
19804 <... epoll_pwait resumed>[{EPOLLIN, {u32=16, u64=16}}], 1024, 867, NULL, 8) = 1
19824 <... ioctl resumed>)              = -1 EACCES (Permission denied)
2020-01-16 02:58:30 +02:00
Leonid Pliushch
d62c70b392 Revert nodejs update to 13.1.0
Delaying update since it generates a lot of undefined reference compile-time errors.
2019-11-10 19:32:23 +02:00
Leonid Pliushch
79db5701f0 nodejs: remove configure.py.patch 2019-11-10 18:19:44 +02:00
Leonid Pliushch
41db4e34cf nodejs: update to 13.1.0 2019-11-10 17:06:31 +02:00
Fredrik Fornwall
38a7e61f37 nodejs: Update from 12.12.0 to 13.0.0 2019-10-23 17:20:15 +02:00
Fredrik Fornwall
e014e9da22 nodejs: Update from 12.11.1 to 12.12.0 2019-10-14 14:11:51 +02:00
Fredrik Fornwall
18e6e9dcbe nodejs: Update from 12.10.0 to 12.11.1 2019-10-06 01:09:02 +02:00
Leonid Pliushch
0eacbc0a93 nodejs: prevent calling setgroups(), setuid(), setgid()
These syscalls are blocked by seccomp.
2019-09-23 13:54:15 +03:00
Fredrik Fornwall
7641ac09d5 nodejs: Update from 12.9.1 to 12.10.0 2019-09-05 23:18:55 +02:00
Fredrik Fornwall
29ce826f56 nodejs: Update from 12.9.0 to 12.9.1 2019-08-29 14:56:33 +02:00
Fredrik Fornwall
ad1a6b0f44 nodejs: Update from 12.4.0 to 12.9.0 2019-08-25 19:54:53 +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
6e70277fb3 no more develsplit + provide static libraries as separate package
%ci:no-build
2019-07-28 21:17:12 +03:00
Leonid Pliushch
3e5d4ccee2 nodejs: fix typo in patch name 2019-07-27 22:26:21 +03:00
Leonid Pliushch
def1df8ebb nodejs: bump revision 2019-06-20 00:46:19 +03:00
Leonid Pliushch
0e33be3e82 nodejs: update to 12.4.0 2019-06-08 01:36:00 +03:00
Leonid Pliushch
707ddfad90 nodejs: attempt to fix "multiple definitions" error 2019-05-28 15:42:17 +03:00