Commit Graph

61 Commits

Author SHA1 Message Date
Fredrik Fornwall
6c29aaa1c7 Transition from gnustl to libc++
This will make things as std::to_string() and other C++ features
work with a modern and supported C++ library.

We package up libc++_shared.so and bump the revision of every C++
using package to make it rebuild against it.

Users who have built C++ using libraries or programs will probably
need to rebuild them if they are linked against Termux-supplied
libraries, as user code was previously linked against gnustl while
the system libraries are now using libc++, and it's not a good idea
to mix C++ standard libraries in a program.
2017-07-14 00:23:37 +02:00
Fredrik Fornwall
1a34ee8854 nodejs: Update from 6.10.3 to 6.11.0 2017-06-06 23:11:56 +02:00
Fredrik Fornwall
be79c01f04 nodejs: Update from 6.10.2 to 6.10.3 2017-05-04 22:25:57 +02:00
Fredrik Fornwall
2db56b1b71 nodejs: Update from 6.10.1 to 6.10.2 2017-04-10 00:01:41 +02:00
Fredrik Fornwall
7d055a16ba Use termux_error_exit 2017-04-09 15:10:01 +02:00
Fredrik Fornwall
680992ed77 nodejs: Update from 6.10.0 to 6.10.1 2017-03-24 01:24:43 +01:00
Fredrik Fornwall
2f00a6d990 nodejs: Update from 6.9.5 to 6.10.0 2017-02-23 12:42:43 +01:00
Fredrik Fornwall
41630cbaba nodejs: Update from 6.9.4 to 6.9.5 2017-02-02 02:24:28 +01:00
Fredrik Fornwall
b0c6041dcc nodejs: Update from 6.9.3 to 6.9.4 2017-01-06 05:12:55 -05:00
Fredrik Fornwall
f4af89ed2b nodejs: Update from 6.9.2 to 6.9.3 2017-01-05 05:12:06 -05:00
Fredrik Fornwall
e02dc68da9 nodejs: Update from 6.9.1 to 6.9.2 2016-12-07 18:44:24 -05:00
Fredrik Fornwall
5e6e9b1416 nodejs: Update from 6.9.0 to 6.9.1 2016-10-21 15:16:37 -04:00
Fredrik Fornwall
f09efec9f9 nodejs: Update from 6.8.1 to 6.9.0 2016-10-19 15:42:27 -04:00
Fredrik Fornwall
a84a310f8b nodejs: Update from 6.8.0 to 6.8.1 2016-10-15 18:08:27 -04:00
Fredrik Fornwall
444a75c298 nodejs: Update from 6.7.0 to 6.8.0 2016-10-14 15:55:10 -04:00
Fredrik Fornwall
bd3f32c999 nodejs: Update from 6.6.0 to 6.7.0 2016-09-28 19:52:31 -04:00
Fredrik Fornwall
7e49911aab nodejs: Cleanup and prepare for snapshots 2016-09-22 17:59:43 -04:00
Fredrik Fornwall
96fed5a72e nodejs: Add patch to common.gypi for -pie 2016-09-22 16:37:07 -04:00
Fredrik Fornwall
a27c409f20 nodejs: Do not use a shared libuv
Using a shared libuv for node does not work when dlopen():ing
shared libraries in node packages which uses libuv symbols
without linking to libuv explicitly, as the Android linker does
not use linked libraries on dlopen() to resolve symbols due to
historical reasons.

Fixes #462.
2016-09-21 17:49:02 -04:00
Fredrik Fornwall
658f8ce979 nodejs: Update from 6.5.0 to 6.6.0 2016-09-17 18:28:54 -04:00
Fredrik Fornwall
b2e5e1aa5b nodejs: Update from 6.4.0 to 6.5.0 2016-08-31 05:47:10 -04:00
Fredrik Fornwall
a37f6399c7 nodejs: Update from 6.3.1 to 6.4.0 2016-08-16 13:09:09 -04:00
Fredrik Fornwall
3f300a10fc Setup libstdc++.so -> libgnustl_shared.so early
Let build-package.sh setup the $PREFIX/lib/libstdc++.so symlink
before building any package, to make sure that all C++ applications
link against a fully featured C++ standard library.

Avoid explicitly declaring a dependency on the libgnustl package
since everyone may link against it at will and instead mark it as
essential.
2016-08-10 19:45:41 -04:00
Fredrik Fornwall
da11efa0c6 nodejs: Update from 6.3.0 to 6.3.1 2016-07-23 15:48:29 -04:00
Fredrik Fornwall
907bf81e69 nodejs: Update from 6.2.2 to 6.3.0 2016-07-15 11:58:32 -04:00
Fredrik Fornwall
01958bf5ac nodejs: Update from 6.2.1 to 6.2.2 2016-06-19 19:31:32 -04:00
Fredrik Fornwall
33aea6bfd3 nodejs: Update from 6.2.0 to 6.2.1 2016-06-03 10:12:46 -04:00
Fredrik Fornwall
1df225d6fc nodejs: Update from 6.1 to 6.2 2016-05-18 19:23:01 -04:00
Fredrik Fornwall
30df3f87e0 nodejs: Update from 6.0 to 6.1 2016-05-08 16:28:19 -04:00
Fredrik Fornwall
49f47ae04c nodejs: Disable v8 warning and set TMPDIR 2016-05-02 18:42:00 -04:00
Fredrik Fornwall
53ff4fc1a3 nodejs: Bump build revision 2016-05-02 00:56:44 -04:00
Fredrik Fornwall
928e15109f nodejs: Cleanup and build against shared c-ares 2016-05-02 00:48:34 -04:00
Fredrik Fornwall
b01dade22d nodejs: Link to libstdc++.so instead of stlport 2016-04-29 08:14:51 -04:00
Fredrik Fornwall
456b172e5a nodejs: Update from 5.11 to 6.0 2016-04-28 07:13:05 -04:00
Fredrik Fornwall
126915d92f nodejs: Update from 5.10.1 to 5.11.0 2016-04-21 22:26:46 -04:00
Fredrik Fornwall
f45321ca33 __system_property_get is now public for 64-bit
As of NDK r11 the __system_property_get is public, and
  https://developer.android.com/preview/behavior-changes.html#ndk
documents it, so no need to hack around.
2016-04-20 03:08:05 -04:00
Fredrik Fornwall
5ba8453589 nodejs: Update from 5.10.0 to 5.10.1 2016-04-14 08:53:22 -04:00
Fredrik Fornwall
e86e2fc5b1 nodejs: Update from 5.9.1 to 5.10.0 2016-04-04 05:05:43 -04:00
Fredrik Fornwall
88ba61888c nodejs: Update from 5.9.0 to 5.9.1 2016-03-28 06:00:36 -04:00
Fredrik Fornwall
1a6b9b4c02 nodejs: Update from 5.8.0 to 5.9.0 2016-03-23 07:11:11 -04:00
Fredrik Fornwall
13e9a16277 nodejs: Update from 5.7.1 to 5.8.0 2016-03-16 10:54:17 -04:00
Fredrik Fornwall
48e4704aa8 nodejs: Update from 5.7.0 to 5.7.1 2016-03-07 20:22:30 -05:00
Fredrik Fornwall
3e00bd80ce nodejs: Update from 5.6 to 5.7 2016-02-29 16:51:58 -05:00
Fredrik Fornwall
6ed18c3bb3 nodejs: Update from 5.5.0 to 5.6.0 2016-02-12 07:29:39 -05:00
Fredrik Fornwall
dc68cb1e02 nodejs: Update from 5.4.1 to 5.5.0 2016-01-24 17:27:34 -05:00
Fredrik Fornwall
1224589f47 nodejs: Update from 4.2.3 to 5.4.1 2016-01-14 22:41:39 -05:00
Fredrik Fornwall
d53dc64470 nodejs: Restore c-ares and gtest include files
Due to a bug in nodejs [1] we have to remove the c-ares and gtest
include files before building. Improve this to restore them after
building to prevent build breakage if building a package requiring
these afterwards.

[1] https://github.com/nodejs/node/issues/2637
2016-01-02 16:58:31 -05:00
Fredrik Fornwall
b2e4b4145b nodejs: Update to latest patch 2015-12-08 02:47:55 -05:00
Fredrik Fornwall
d59a97b31b nodejs: Fix 64-bit builds 2015-12-01 21:50:00 -05:00
Fredrik Fornwall
1189304e6f nodejs: Update from 4.2.1 to 4.2.2 2015-11-05 16:51:09 -05:00