Commit Graph

176 Commits

Author SHA1 Message Date
Yaksh Bariya
9ff98a3b73 nodejs: Really fix log issues 2021-09-15 12:44:22 +02:00
Yaksh Bariya
0c144da0be nodejs: Fix android logging 2021-09-15 07:23:06 +02:00
Yaksh Bariya
3b50563b7c
nodejs: Update description and declare myself as maintainer 2021-09-14 11:11:49 +05:30
Yaksh Bariya
04c742b575
Improve the way how LDFLAGS is modified
The -u flags are required only for i686. So why add them to all archs?
2021-09-14 09:15:42 +05:30
Yaksh Bariya
2b1446db88
Remove unnecesary patches 2021-09-14 09:10:14 +05:30
Yaksh Bariya
896be775f5
Try LDFLAGS as proposed by Grimler 2021-09-14 06:58:43 +05:30
Yaksh Bariya
cee109645a
nodejs: Final try to fix i686 2021-09-14 06:58:43 +05:30
Yaksh Bariya
06271bfea5
Revert "nodejs: Remove x86_64 as blacklisted arch"
I don't think much people use x86_64, and anyways it was already
blacklisted, I might look into it later
2021-09-14 06:58:42 +05:30
Yaksh Bariya
988e8fd7a4
nodejs: Link to atomic library when building for ia32 2021-09-14 06:58:42 +05:30
Yaksh Bariya
89e0dfb0c6
nodejs: Add a hacky patch to fix host builds 2021-09-14 06:58:42 +05:30
Yaksh Bariya
1d929353e3
nodejs: Fix uv.gyp to also compile epoll.c
This patch also needs to be sent upstream. The nodejs team has done this
for linux but somehow didn't do it for android
2021-09-14 06:58:42 +05:30
Yaksh Bariya
9057a7a37f
nodejs: Do not build embedtest 2021-09-14 06:58:42 +05:30
Yaksh Bariya
a4fd54c600
Fix nameser include 2021-09-14 06:58:41 +05:30
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