commit: 6b99ff745a33d84f9748ac5781edd9d8faa996e2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Mar 11 06:57:25 2026 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Mar 11 07:03:12 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b99ff74
dev-util/debugedit: Bump to 5.3 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-util/debugedit/Manifest | 2 + dev-util/debugedit/debugedit-5.3.ebuild | 76 +++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/dev-util/debugedit/Manifest b/dev-util/debugedit/Manifest index 7f37a93de36a..cf9bf77a396d 100644 --- a/dev-util/debugedit/Manifest +++ b/dev-util/debugedit/Manifest @@ -1,2 +1,4 @@ DIST debugedit-5.2.tar.xz 196724 BLAKE2B ced3d1ff03f06cc2411627067c3e194951793b230fb37ac8f2528c6dd898841ca452b0f86107de3830c03123d34987c42a0427e40c579d775764bf5b09180410 SHA512 0fe21d7576ca8ea8067f6afe5c02807ace77051249d8911531e6f9d077db59487ee29dfbdb5e9c80aebaa8bd22c6efe515d25a502d614bc058f24d174c7ebe4b DIST debugedit-5.2.tar.xz.sig 310 BLAKE2B 599db2dfb9a85a70dff9aadf606f6eb308246e1628ca465ba7d58fb73842ed9c4b4e27ee23818d968c8fd7314678b7bb63ba1f77ad94bb7ed15e8f0d4bd94ee3 SHA512 5c80ea4b43e1363399b858a0758e944f49cedf50828f60867651f65e5469d217e7a6b4ac790266016ed5eb512ae7af67690d99ea020d8497b8289c3a88c9908d +DIST debugedit-5.3.tar.xz 206124 BLAKE2B 0b8c59249eff751e4927c2c94ce656bf112732c518702e2f41ab5c8f50393a3fed627d545dc6f4fc2164e25c58b396ea237f45669c8fb1f5e2e409325406e056 SHA512 a02e04f5b91e0ec5d880207658e5b89b28424ffee6aed7374c495c0c49b2f0180eeb2277bdb758a3d245279a2083d5f7b8b4872b8972b92d5c92ef5f1d27d958 +DIST debugedit-5.3.tar.xz.sig 119 BLAKE2B 94356067afe2185acfc6f94cbb8dec1e6fbf6a12ff66fa137cfbdebdead2f9cca9525bb63b5c8b03ff0015e38f741c7a4c01dd41d7b188dc0abf8da4cabd422e SHA512 51b04d7639b8c2eb619ce08934ea19504a3fc1d3ddf3c46bb0f3c47f1d3b18ccae7590e54b3e2a798078da879eecd50b43c1c350e6cff2564de13df8d1c7cfe7 diff --git a/dev-util/debugedit/debugedit-5.3.ebuild b/dev-util/debugedit/debugedit-5.3.ebuild new file mode 100644 index 000000000000..822ec217386d --- /dev/null +++ b/dev-util/debugedit/debugedit-5.3.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multiprocessing optfeature verify-sig toolchain-funcs + +DESCRIPTION="Create debuginfo and source file distributions" +HOMEPAGE="https://sourceware.org/debugedit/" +SRC_URI=" + https://sourceware.org/ftp/debugedit/${PV}/${P}.tar.xz + verify-sig? ( https://sourceware.org/ftp/debugedit/${PV}/${P}.tar.xz.sig ) +" + +LICENSE="GPL-3+ GPL-2+ LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + >=dev-libs/elfutils-0.176-r1:= + >=dev-libs/xxhash-0.8:= + elibc_musl? ( >=sys-libs/error-standalone-2.0 ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + sys-apps/help2man + virtual/pkgconfig + test? ( + app-alternatives/cpio + dev-debug/gdb + sys-devel/dwz + ) + verify-sig? ( + >=sec-keys/openpgp-keys-debugedit-20260311 + ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/debugedit.gpg + +src_configure() { + tc-export PKG_CONFIG + + if use elibc_musl; then + export CFLAGS="${CFLAGS} $(${PKG_CONFIG} --cflags error-standalone)" + export LIBS="${LIBS} $(${PKG_CONFIG} --libs error-standalone)" + fi + + local myconf=( + # avoid bunch of BDEPs, sigh + DWZ=dwz + ac_cv_dwz_j=yes + HAS_CPIO=yes + HAS_EU_STRIP=yes + HAS_XZ=yes + HAS_GDB_ADD_INDEX=yes + HAS_EU_ELFLINT=yes + + # We don't want to effectively bundle xxhash. It fails to + # build with -Og and such too (bug #956627). + --disable-inlined-xxhash + ) + econf "${myconf[@]}" +} + +src_test() { + local -x CCACHE_DISABLE=1 + emake -Onone check TESTSUITEFLAGS="--jobs=$(get_makeopts_jobs)" +} + +pkg_postinst() { + optfeature "dwz support in find-debuginfo" sys-devel/dwz +}
