Commit Graph

67 Commits

Author SHA1 Message Date
Tee KOBAYASHI 3737ab8f97 gdb: Adapt to libthread-db 2022-01-14 15:18:18 +02:00
Tee KOBAYASHI 86eef6b403 gdb: Depend on libthread-db 2022-01-14 15:18:18 +02:00
Tee KOBAYASHI e07d3d146e gdb: Explicitly link against compiler-rt builtins 2021-12-07 01:15:36 +05:30
Henrik Grimler bc70fcfba1 gdb: bump revision 2021-10-23 09:26:33 +02:00
Henrik Grimler a2187e62df Bump all packages depending on libc++
As part of ndk-r23 upgrade.
2021-10-22 23:05:45 +02:00
Lucy Phipps aede997833
gdb, gobject-introspection, iwyu: bump 2021-10-06 02:25:37 +01:00
Lucy Phipps e644c07401
setup-ubuntu.sh: install pip if using deadsnakes 2021-10-06 01:23:00 +01:00
Yaksh Bariya ba3f29ce0b `gdb`: Revise version to force rebuild 2021-06-24 12:00:29 +03:00
Saurabh Charde 6aef739d9f gdb: Update to 10.1
Following commit [1] and [2], gdbserver and gdbsupport directories have been
moved to top-level, repectively.

Update patch files to follow the changes, and also remove
python3.9.patch since it's already in the upstream.

[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=919adfe8409211c726c1d05b47ca59890ee648f1
[2] https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=01027315f54048dbaf03ac37455c2528c72a6d9b

Signed-off-by: Saurabh Charde <saurabhchardereal@gmail.com>
2021-03-16 11:24:31 +01:00
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 8904ad278d gdb: add commit from git master to make gdb work with python 3.9 2020-10-11 17:27:42 +02:00
Leonid Pliushch e237da3442 gdb: rebuild with python 3.9 2020-10-08 18:54:53 +03:00
Leonid Pliushch 4acee3f693 gdb: bump revision 2020-07-09 01:46:42 +03:00
Leonid Pliushch e869178f30 gdb: use nano as default editor 2020-07-09 01:46:28 +03:00
Leonid Pliushch 0aa032f258 gdb: update to 9.2 2020-05-25 22:36:08 +03:00
Henrik Grimler 6c4affb005 Bump liblzma and dependent packages to restart CI
All except php since it has been uploaded manually
2020-03-20 08:54:28 +01:00
Leonid Pliushch 6d7e9429f7 bump liblzma-dependent packages 2020-03-19 20:58:37 +02:00
Fredrik Fornwall 2ffcd080ed gdb: Update from 8.3.1 to 9.1 2020-02-15 23:58:09 +01:00
Leonid Pliushch 740d40daf2 gdb: python should be in TERMUX_PKG_DEPENDS
%ci:reset-backlog
2019-12-30 23:57:13 +02:00
Henrik Grimler 8bfff841da Fix typo SUGGEST->SUGGESTS and add python as BUILD_DEPENDS 2019-12-30 21:36:22 +01:00
Henrik Grimler 7d56e7a2a0 gdb: enable python support 2019-12-30 16:25:34 +02:00
Leonid Pliushch 74a16bddfb gdb: update to 8.3.1
%ci:reset-backlog
2019-09-22 20:23:45 +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 6e70277fb3 no more develsplit + provide static libraries as separate package
%ci:no-build
2019-07-28 21:17:12 +03:00
Leonid Pliushch cbc0a3e055 gdb: bump revision 2019-06-19 21:27:37 +03:00
Tom Yan ec39dfb164 gdb: fix unwinding 2019-05-14 17:53:00 +03:00
Fredrik Fornwall 013bdff847 gdb: Update from 8.2.1 to 8.3 2019-05-12 01:10:28 +02:00
Leonid Pliushch b64c7f9449 gdb: rebuild due to versioned liblzma 2019-05-03 17:25:52 +03:00
Leonid Pliushch 11200afa32 add zlib to dependencies where needed 2019-04-14 16:00:23 +03:00
Leonid Pliushch 2c16db52fc bump C++ packages for NDK-19 2019-02-23 13:57:09 +02:00
Leonid Pliushch 54036eac1a bump revision of all packages dependent on readline 2019-02-20 17:48:39 +02:00
Wetitpig 5f07ac4eb9 Change permissions 2019-02-09 21:06:31 +02:00
Leonid Pliushch 46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall 97bb595a65 gdb: Update from 8.2 to 8.2.1 2018-12-28 01:01:33 +01:00
Fredrik Fornwall 34d8fb9e84 gdb: Update from 8.1.1 to 8.2 2018-09-07 06:21:50 +02:00
Fredrik Fornwall 379e1aa072 gdb: Update from 8.1 to 8.1.1 2018-07-31 21:53:50 +02:00
Fredrik Fornwall 6988f30ee7 Bump c++-using packages 2018-06-26 13:29:06 +02:00
Leonid Pliushch 254c932df2 gdb: fix default editor for command 'edit' 2018-06-20 01:46:59 +02:00
Henrik Grimler c1b82abd09 Add fixes for debug builds (#2296)
* build-package.sh: add possibility for debug patches and TERMUX_PKG_HAS_DEBUG

Setting TERMUX_PKG_HAS_DEBUG=no disables attempt to build debug build of
package.
Useful for example if a debug build doesn't make sense, as for python-packages
and texlive.

* aapt: skip D_FORTIFY_SOURCE=2 for libandroid-cutils when doing debug build

* lftp: skip D_FORTIFY_SOURCE=2 for debug build

* libflac: don't use -g3 for debug build

Configure script removes it otherwise.

* nano: skip -D_FORTIFY_SOURCE=2 for debug build

* vifm: skip -D_FORTIFY_SOURCE=2 for debug build

* mc: skip -D_FORTIFY_SOURCE=2 for debug build

* dropbear: add __attribute__((overloadable)) to XMEMSET and XMEMCPY if debug

* gdb: add __attribute__((overloadable)) to strchr if debug

* gnuit: add __attribute__((overloadable)) to strchr and strcpy if debug

* gperf: add __attribute__((overloadable)) to strlen if debug

* inetutils: add __attribute__((overloadable)) to strrchr and strchr if debug

* readline: add __attribute__((overloadable)) to strchr if debug

* tsocks: add __attribute__((overloadable)) to poll if debug

* units: add __attribute__((overloadable)) to strchr if debug

* liblua: fix bug in loslib.c that emerged in debug build

Use strncpy instead of strcpy.
Original error message:
loslib.c:169:3: error: 'strcpy' called with string bigger than buffer
  lua_tmpnam(buff, err);
  ^
loslib.c:122:37: note: expanded from macro 'lua_tmpnam'
       strcpy(b, LUA_TMPNAMTEMPLATE); \
                                   ^

* alpine: include our getpass.h in imap's mtest.c to declare getpass

Debug build complained about the previous implicit declaration.

* nginx: use --with-debug instead of --debug

* cboard: skip -D_FORTIFY_SOURCE=2 for debug build

* gettext: add __attribute__((overloadable)) to getcwd if debug

* oathtool: skip -D_FORTIFY_SOURCE=2 for debug build

* php: add __attribute__((overloadable)) to strlcpy and strlcat if debug

* expect: add __attribute__((overloadable)) to strchr if debug

* texlive: set TERMUX_PKG_HAS_DEBUG=no

* asciinema: set TERMUX_PKG_HAS_DEBUG=no

* libllvm: set TERMUX_PKG_HAS_DEBUG=no

Debug build fails with:
home/builder/.termux-build/libllvm/src/lib/Support/Unix/Path.inc:740:19: error: no matching function for call to 'RetryAfterSignal'                                                                                                      if ((ResultFD = sys::RetryAfterSignal(-1, open, P.begin(), OpenFlags)) < 0)

* build-package.sh: set TERMUX_PKG_REPLACES=package if debug build

Hopefully allows us to install debug packages without breaking dependecies.

Should be looked over and be made more similar to how debian does this in any case

* Update build.sh
2018-06-13 02:12:36 +02:00
Fredrik Fornwall 2cd37154b3 gdb: Fix building against api level 21 2018-02-01 22:13:29 +01:00
Fredrik Fornwall 6c037b58fe gdb: Update from 8.0.1 to 8.1 2018-02-01 22:01:54 +01:00
Fredrik Fornwall b3c2186a44 gdb: Fix x86_64 build with NDK r16
The NDK headers now define elf_siginfo.
2017-11-17 09:35:36 +01:00
Leonid Pliushch 0cfc6c9f22 gdb: fix path in TMP_PREFIX 2017-09-14 16:38:22 +02:00
Fredrik Fornwall 8e2aeb182d gdb: Add ncurses to deps (see #1399) 2017-09-10 23:18:59 +02:00
Fredrik Fornwall eee1a0a185 gdb: Update from 8.0 to 8.0.1 2017-09-10 22:09:52 +02:00
Fredrik Fornwall 95e6f9429a Attach arm issues with C++ exception unwinding
See https://github.com/android-ndk/ndk/issues/379

Fixes #1163

Fixes issues with gdb segfaulting on arm on an unrecognized command.
2017-07-27 02:06:37 +02:00
Fredrik Fornwall 9dea96a7e8 gdb: Update from 7.12.1 to 8.0 2017-07-15 00:03:23 +02:00
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 38da7c25d8 gdb: Update from 7.12 to 7.12.1 2017-01-27 23:04:25 +01:00
Fredrik Fornwall 508fa73cb8 Always call post-extract step in srcdir 2017-01-10 03:14:35 -05:00