Commit Graph

60 Commits

Author SHA1 Message Date
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
Fredrik Fornwall
6097e55733 gdb: Add comment to patch with reason for it 2016-10-10 17:53:29 -04:00
Fredrik Fornwall
bf76a82054 gdb: Update from 7.11.1 to 7.12 2016-10-09 19:02:52 -04:00
Fredrik Fornwall
722ed12d69 Switch from ftp.gnu.org to mirrors.kernel.org 2016-09-24 18:42:39 -04:00
Fredrik Fornwall
83d11d6e04 Update readline to v7 and bash to v4.4
As a consequence of updating readline to version 7 we bump the
build revision of all packaging linking to it as the soname has
changed.
2016-09-17 18:29:14 -04:00
Fredrik Fornwall
7ce5638519 Cleanup of more packages 2016-09-03 18:45:08 -04:00
Fredrik Fornwall
f6fd83bae5 Bump some builds after libexpat update 2016-08-14 09:19:24 -04:00
Fredrik Fornwall
cdfc3cb9c1 gdb: Fix build on x86_64 2016-06-17 17:09:18 -04:00