From 7860ad41012a3808c645607818b64ad7dab025e9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Jan 2024 13:10:51 +0000 Subject: gentoo auto-resync : 13:01:2024 - 13:10:51 --- dev-debug/cgdb/Manifest | 10 ++++ dev-debug/cgdb/cgdb-0.7.1.ebuild | 72 ++++++++++++++++++++++++ dev-debug/cgdb/cgdb-0.8.0.ebuild | 69 +++++++++++++++++++++++ dev-debug/cgdb/cgdb-9999.ebuild | 69 +++++++++++++++++++++++ dev-debug/cgdb/files/cgdb-0.7.1-respect-AR.patch | 32 +++++++++++ dev-debug/cgdb/files/cgdb-0.8.0-ar.patch | 18 ++++++ dev-debug/cgdb/files/cgdb-9999-ar.patch | 16 ++++++ dev-debug/cgdb/files/cgdb-test.patch | 55 ++++++++++++++++++ dev-debug/cgdb/metadata.xml | 9 +++ 9 files changed, 350 insertions(+) create mode 100644 dev-debug/cgdb/Manifest create mode 100644 dev-debug/cgdb/cgdb-0.7.1.ebuild create mode 100644 dev-debug/cgdb/cgdb-0.8.0.ebuild create mode 100644 dev-debug/cgdb/cgdb-9999.ebuild create mode 100644 dev-debug/cgdb/files/cgdb-0.7.1-respect-AR.patch create mode 100644 dev-debug/cgdb/files/cgdb-0.8.0-ar.patch create mode 100644 dev-debug/cgdb/files/cgdb-9999-ar.patch create mode 100644 dev-debug/cgdb/files/cgdb-test.patch create mode 100644 dev-debug/cgdb/metadata.xml (limited to 'dev-debug/cgdb') diff --git a/dev-debug/cgdb/Manifest b/dev-debug/cgdb/Manifest new file mode 100644 index 000000000000..29527b38e3c1 --- /dev/null +++ b/dev-debug/cgdb/Manifest @@ -0,0 +1,10 @@ +AUX cgdb-0.7.1-respect-AR.patch 807 BLAKE2B 6689327f2a41f52d772b1d1f2714bac4f4cd40e994b51c6b12a8c9c5d40ed6616cb03128753e60bb773a6c6b46d26fb6d9d80c67c0ac8432e5f17e34b70105d8 SHA512 db51c83bec17cf05e9b8dfc7d92b253999e545c2c1a002db2f63edc0a08d0c831fa6b4b5177e972844755f4df455ec268e5b3554115f5fdeafa071d1df0dd4bc +AUX cgdb-0.8.0-ar.patch 469 BLAKE2B e0633baffddab3d298f1a5ef7bb6c39138a01f639d58121fc4d52fc2b5aa1244fb6ebb848fb301f71f8bd5a2ab629c7fd0771e3bc73bc999c12e0f4b5dc48164 SHA512 e0c60ea8f3c5e89071e38f5b3b42c54a6f1cb39715c0b77fd72c6c7453da1ff16c2edced39a788b905400f635ed4a74e9b531b3e72879fa3c62b949bb1e1147d +AUX cgdb-9999-ar.patch 378 BLAKE2B 684cd519d7fc856c9d1b66c97b5a8311f136ed0458f73e79bf23ab3a2e84704d5b98480c1d8a7f8eb9a4434d9e6a6e0828e285ebeabe215e9b7d234f16410155 SHA512 e075fee139e373befb1d027ff9ce57910ab2adf877e8e03fbcde9133e494ac0b657acb0a5cd6433fd9d3d39c5766e3d2ab8d5ed69d2b2a6a18f97aed90d96646 +AUX cgdb-test.patch 2132 BLAKE2B 7308e2817a0956382a2949baad003ff0adf10989825170fcc953979d9f39da245584de4245d4d86b81e9cb74cccf11628ce3448a736cc3e89ae6e9dfabc3112e SHA512 8c5dde409035134ee75115c99a9b257a6c711750fbf662478d33911a015cccf4bf1a1ee6ec9d72d7075b0ce6dfae98a30ec60f4d2447f958ba322ced71be203c +DIST cgdb-0.7.1.tar.gz 314768 BLAKE2B 767a57d071fa4e3c75d231a1ec879d871669fcda9c733d157d380fa525dd321f1deb68d7ef7f424b3f36a115043a0a0faae271f24746f934e288ba7d9a4e7fa1 SHA512 050c7bad963d51c1a2cb309530319ca77e9d236f419fb0abac4ab5030ff1068d799fa626959a8b3036321711de98bddf40d264bf9367ff5697075e30ca8168c6 +DIST cgdb-0.8.0.tar.gz 328281 BLAKE2B 60e577dd5f8363b91da33136a9ffd911581e9cea4cdc1d0fcd338e0a761a26921e6edf6298c619b8d0eb1486449843457b2c5370a395a8c49fed5382a60e63a2 SHA512 e2b653db472de2014402dae6d13953ab811526a47ad5d7a05e34cfba09f44d6fea6b19304b9205ff0e2ac9549ffa5818f4282d7c03293b6c0ca9d563f9ae89e1 +EBUILD cgdb-0.7.1.ebuild 1541 BLAKE2B 1deadc0b7c8812ef91d4a1019c6883f98f2114fd0a29e7de38507c1eddbd83ea0bc5f2a937112ffaa11673434d32bf24de4f73728f8050e713c5869890aa04ba SHA512 bf337be44c4729028621db8d58d2850d92e33b1a8843f27de991de4049b76b7113a4d7ca14989abf3a1d15978d464577dc9b956ff8e38524b2ea78c130781bfc +EBUILD cgdb-0.8.0.ebuild 1470 BLAKE2B cfa57fd5d053826e29ffb3e71eab49da522bede2ef83885efd7aea724f146db86b7f6176a5778c979da65fac9338c7d251a456b00fa4dc6dfb9cf07f1195114d SHA512 82dad9ce5f26c4a87cc017c087debf857ab98d7a5fa62d719d554cc10ecb2ee2f6f81a2888e39a10ae5814054ea47e8c40806f77eb28d652e3a53c10ced67370 +EBUILD cgdb-9999.ebuild 1475 BLAKE2B 6a67d5ae4407058d33c10145d3dd5e8b501f2a8d5c35f65e13f26f6cd9bc765553c984cea9594026feaa620881d3b31b0e347af63f1b2a8c03bb57d602db3e1b SHA512 9dc66403c54dbbefa88e3d67f488d2a72e271ecad9ac33f50cbbfc14e42a78f1e999777570375f72a56abbef0988eaedd952f885ba1c491f306b77bcb9be14b8 +MISC metadata.xml 291 BLAKE2B 10d0b1b36ae41f63a8dac8cae9860c08141b6bddad3672fa8f6649cdc50e545ee2c8f1ebd800b4026dd32dfa5e8545380a68765d5539617d971229e90535407b SHA512 b7dcb0521d63080ce670d3195bd56fe54af7d3fa3d2f0f2eaee2f1ee93a14106facffb67f1e82ff49768c90133ceaf7dc57df089b86a98f67007df1089471d77 diff --git a/dev-debug/cgdb/cgdb-0.7.1.ebuild b/dev-debug/cgdb/cgdb-0.7.1.ebuild new file mode 100644 index 000000000000..970c6382192f --- /dev/null +++ b/dev-debug/cgdb/cgdb-0.7.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI=" + https://github.com/cgdb/cgdb.git + git@github.com:cgdb/cgdb.git" +else + SRC_URI="https://github.com/cgdb/cgdb/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 arm ppc ppc64 x86 ~amd64-linux ~x86-linux" +fi + +inherit autotools multilib-minimal + +DESCRIPTION="A curses front-end for GDB, the GNU debugger" +HOMEPAGE="https://cgdb.github.io/" +LICENSE="GPL-2" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + sys-libs/ncurses:0= + sys-libs/readline:0=" + +BDEPEND=" + test? ( + dev-util/dejagnu + app-misc/dtach + )" + +RDEPEND=" + ${DEPEND} + dev-debug/gdb" + +DOCS=( AUTHORS ChangeLog FAQ INSTALL NEWS README.md ) + +PATCHES=( + # Bugs: #730138, #678006, #630512 + "${FILESDIR}/${PN}-test.patch" + # Bug: #724256 + "${FILESDIR}/${P}-respect-AR.patch" +) + +src_prepare() { + default + cp configure.{init,ac} || die "cp failed" + AT_M4DIR="config" eautoreconf +} + +multilib_src_test() { + # Tests need an interactive shell, #654986 + + # real-time output of the log ;-) + touch "${T}/dtach-test.log" || die + tail -f "${T}/dtach-test.log" & + local tail_pid=${!} + + nonfatal dtach -N "${T}/dtach.sock" \ + bash -c 'emake check &> "${T}"/dtach-test.log; echo ${?} > "${T}"/dtach-test.out' + + kill "${tail_pid}" + [[ -f ${T}/dtach-test.out ]] || die "Unable to run tests" + [[ $(<"${T}"/dtach-test.out) == 0 ]] || die "Tests failed" +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf +} diff --git a/dev-debug/cgdb/cgdb-0.8.0.ebuild b/dev-debug/cgdb/cgdb-0.8.0.ebuild new file mode 100644 index 000000000000..fad641ffce59 --- /dev/null +++ b/dev-debug/cgdb/cgdb-0.8.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/cgdb/cgdb.git" +else + SRC_URI="https://github.com/cgdb/cgdb/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 arm ppc ppc64 x86 ~amd64-linux ~x86-linux" +fi + +inherit autotools multilib-minimal + +DESCRIPTION="A curses front-end for GDB, the GNU debugger" +HOMEPAGE="https://cgdb.github.io/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="test" +# Tests are broken, need additional research to figure out the cause +# Bug: https://bugs.gentoo.org/831899 +RESTRICT="test" + +DEPEND=" + sys-libs/ncurses:0= + sys-libs/readline:0=" + +BDEPEND=" + test? ( + dev-util/dejagnu + app-misc/dtach + )" + +RDEPEND=" + ${DEPEND} + dev-debug/gdb" + +DOCS=( AUTHORS ChangeLog FAQ INSTALL NEWS README.md ) + +PATCHES=( + "${FILESDIR}"/${P}-ar.patch +) + +src_prepare() { + default + AT_M4DIR="config" eautoreconf +} + +multilib_src_test() { + # Tests need an interactive shell, #654986 + + # real-time output of the log ;-) + touch "${T}/dtach-test.log" || die + tail -f "${T}/dtach-test.log" & + local tail_pid=${!} + + nonfatal dtach -N "${T}/dtach.sock" \ + bash -c 'emake check &> "${T}"/dtach-test.log; echo ${?} > "${T}"/dtach-test.out' + + kill "${tail_pid}" + [[ -f ${T}/dtach-test.out ]] || die "Unable to run tests" + [[ $(<"${T}"/dtach-test.out) == 0 ]] || die "Tests failed" +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf +} diff --git a/dev-debug/cgdb/cgdb-9999.ebuild b/dev-debug/cgdb/cgdb-9999.ebuild new file mode 100644 index 000000000000..cc40b4433455 --- /dev/null +++ b/dev-debug/cgdb/cgdb-9999.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/cgdb/cgdb.git" +else + SRC_URI="https://github.com/cgdb/cgdb/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +fi + +inherit autotools multilib-minimal + +DESCRIPTION="A curses front-end for GDB, the GNU debugger" +HOMEPAGE="https://cgdb.github.io/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="test" +# Tests are broken, need additional research to figure out the cause +# Bug: https://bugs.gentoo.org/831899 +RESTRICT="test" + +DEPEND=" + sys-libs/ncurses:0= + sys-libs/readline:0=" + +BDEPEND=" + test? ( + dev-util/dejagnu + app-misc/dtach + )" + +RDEPEND=" + ${DEPEND} + dev-debug/gdb" + +DOCS=( AUTHORS ChangeLog FAQ INSTALL NEWS README.md ) + +PATCHES=( + "${FILESDIR}"/${P}-ar.patch +) + +src_prepare() { + default + AT_M4DIR="config" eautoreconf +} + +multilib_src_test() { + # Tests need an interactive shell, #654986 + + # real-time output of the log ;-) + touch "${T}/dtach-test.log" || die + tail -f "${T}/dtach-test.log" & + local tail_pid=${!} + + nonfatal dtach -N "${T}/dtach.sock" \ + bash -c 'emake check &> "${T}"/dtach-test.log; echo ${?} > "${T}"/dtach-test.out' + + kill "${tail_pid}" + [[ -f ${T}/dtach-test.out ]] || die "Unable to run tests" + [[ $(<"${T}"/dtach-test.out) == 0 ]] || die "Tests failed" +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf +} diff --git a/dev-debug/cgdb/files/cgdb-0.7.1-respect-AR.patch b/dev-debug/cgdb/files/cgdb-0.7.1-respect-AR.patch new file mode 100644 index 000000000000..e9837855ee3d --- /dev/null +++ b/dev-debug/cgdb/files/cgdb-0.7.1-respect-AR.patch @@ -0,0 +1,32 @@ +From: Jakov Smolic +Date: Sun, 6 Sep 2020 11:33:02 +0200 +Subject: [PATCH] configure.init: respect AR +Bug: https://bugs.gentoo.org/724256 +Patch taken from https://github.com/cgdb/cgdb/pull/142 + +Signed-off-by: Jakov Smolic +--- + configure.init | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/configure.init b/configure.init +index 920b2a3..d2f696d 100644 +--- a/configure.init ++++ b/configure.init +@@ -13,6 +13,13 @@ AC_PROG_INSTALL + AC_PROG_RANLIB + AM_PROG_LEX + AC_PROG_YACC ++m4_ifndef([AC_PROG_AR],[dnl ++ AN_MAKEVAR([AR], [AC_PROG_AR]) ++ AN_PROGRAM([ar], [AC_PROG_AR]) ++ AC_DEFUN([AC_PROG_AR], ++ [AC_CHECK_TOOL(AR, ar, :)]) ++]) ++AC_PROG_AR + + dnl determine if we are running in linux, cygwin, solaris, or freebsd + AC_CANONICAL_HOST +-- +2.26.2 + diff --git a/dev-debug/cgdb/files/cgdb-0.8.0-ar.patch b/dev-debug/cgdb/files/cgdb-0.8.0-ar.patch new file mode 100644 index 000000000000..128c32ec238c --- /dev/null +++ b/dev-debug/cgdb/files/cgdb-0.8.0-ar.patch @@ -0,0 +1,18 @@ +Bug: https://bugs.gentoo.org/724256 +Patch taken from https://github.com/cgdb/cgdb/pull/142 +--- a/configure.ac ++++ b/configure.ac +@@ -13,6 +13,13 @@ AC_PROG_INSTALL + AC_PROG_RANLIB + AM_PROG_LEX + AC_PROG_YACC ++m4_ifndef([AC_PROG_AR],[dnl ++ AN_MAKEVAR([AR], [AC_PROG_AR]) ++ AN_PROGRAM([ar], [AC_PROG_AR]) ++ AC_DEFUN([AC_PROG_AR], ++ [AC_CHECK_TOOL(AR, ar, :)]) ++]) ++AC_PROG_AR + + dnl determine if we are running in linux, cygwin, solaris, or freebsd + AC_CANONICAL_HOST diff --git a/dev-debug/cgdb/files/cgdb-9999-ar.patch b/dev-debug/cgdb/files/cgdb-9999-ar.patch new file mode 100644 index 000000000000..ed5f200b3260 --- /dev/null +++ b/dev-debug/cgdb/files/cgdb-9999-ar.patch @@ -0,0 +1,16 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -13,6 +13,13 @@ AC_PROG_INSTALL + AC_PROG_RANLIB + AM_PROG_LEX + AC_PROG_YACC ++m4_ifndef([AC_PROG_AR],[dnl ++ AN_MAKEVAR([AR], [AC_PROG_AR]) ++ AN_PROGRAM([ar], [AC_PROG_AR]) ++ AC_DEFUN([AC_PROG_AR], ++ [AC_CHECK_TOOL(AR, ar, :)]) ++]) ++AC_PROG_AR + + dnl determine if we are running in linux, cygwin, solaris, or freebsd + AC_CANONICAL_HOST diff --git a/dev-debug/cgdb/files/cgdb-test.patch b/dev-debug/cgdb/files/cgdb-test.patch new file mode 100644 index 000000000000..9bbb1749828f --- /dev/null +++ b/dev-debug/cgdb/files/cgdb-test.patch @@ -0,0 +1,55 @@ +From a8a567fc46fca4ca10a23016e2fe9055669b9102 Mon Sep 17 00:00:00 2001 +From: Ian Dinwoodie +Date: Wed, 29 Jan 2020 23:58:13 -0500 +Subject: [PATCH] Ncursesw should link with tinfow. + +This patch is a response to issue #219. + +Signed-off-by: Ian Dinwoodie +--- + config/readline_check_version.m4 | 24 ++++++++++++++++++++---- + 1 file changed, 20 insertions(+), 4 deletions(-) + +diff --git a/config/readline_check_version.m4 b/config/readline_check_version.m4 +index 567bfbd4..01e61c28 100644 +--- a/config/readline_check_version.m4 ++++ b/config/readline_check_version.m4 +@@ -7,10 +7,23 @@ AC_MSG_CHECKING(which library has the termcap functions) + _bash_needmsg= + fi + AC_CACHE_VAL(bash_cv_termcap_lib, +-[AC_CHECK_LIB(]$curses_lib_name[, tgetent, bash_cv_termcap_lib=lib]$curses_lib_name[, +- [AC_CHECK_LIB(tinfo, tgetent, bash_cv_termcap_lib=libtinfo, +- [AC_CHECK_FUNC(tgetent, bash_cv_termcap_lib=libc, +- bash_cv_termcap_lib=gnutermcap)])])]) ++[AC_CHECK_FUNC(tgetent, bash_cv_termcap_lib=libc, ++if test "$curses_lib_name" = "ncursesw"; then ++ [AC_CHECK_LIB(ncursesw, tgetent, bash_cv_termcap_lib=libncursesw, ++ [AC_CHECK_LIB(tinfow, tgetent, bash_cv_termcap_lib=libtinfow)] ++ )] ++elif test "$curses_lib_name" = "ncurses"; then ++ [AC_CHECK_LIB(ncurses, tgetent, bash_cv_termcap_lib=libncurses, ++ [AC_CHECK_LIB(tinfo, tgetent, bash_cv_termcap_lib=libtinfo)] ++ )] ++elif test "$curses_lib_name" = "curses"; then ++ [AC_CHECK_LIB(curses, tgetent, bash_cv_termcap_lib=libcurses)] ++else ++ [AC_CHECK_LIB(termcap, tgetent, bash_cv_termcap_lib=libtermcap, ++ bash_cv_termcap_lib=gnutermcap ++ )] ++fi ++)]) + if test "X$_bash_needmsg" = "Xyes"; then + AC_MSG_CHECKING(which library has the termcap functions) + fi +@@ -19,6 +32,9 @@ if test $bash_cv_termcap_lib = gnutermcap && test -z "$prefer_curses"; then + LDFLAGS="$LDFLAGS -L./lib/termcap" + TERMCAP_LIB="./lib/termcap/libtermcap.a" + TERMCAP_DEP="./lib/termcap/libtermcap.a" ++elif test $bash_cv_termcap_lib = libtinfow; then ++TERMCAP_LIB=-ltinfow ++TERMCAP_DEP= + elif test $bash_cv_termcap_lib = libtinfo; then + TERMCAP_LIB=-ltinfo + TERMCAP_DEP= + diff --git a/dev-debug/cgdb/metadata.xml b/dev-debug/cgdb/metadata.xml new file mode 100644 index 000000000000..6dfc01c9d272 --- /dev/null +++ b/dev-debug/cgdb/metadata.xml @@ -0,0 +1,9 @@ + + + + + + cgdb/cgdb + cgdb + + -- cgit v1.2.3