summaryrefslogtreecommitdiff
path: root/dev-util/libabigail
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/libabigail')
-rw-r--r--dev-util/libabigail/Manifest9
-rw-r--r--dev-util/libabigail/libabigail-2.5-r1.ebuild (renamed from dev-util/libabigail/libabigail-2.5.ebuild)6
-rw-r--r--dev-util/libabigail/libabigail-2.6-r1.ebuild (renamed from dev-util/libabigail/libabigail-2.6.ebuild)2
-rw-r--r--dev-util/libabigail/libabigail-2.7-r2.ebuild125
-rw-r--r--dev-util/libabigail/libabigail-9999.ebuild6
5 files changed, 138 insertions, 10 deletions
diff --git a/dev-util/libabigail/Manifest b/dev-util/libabigail/Manifest
index c38520bccabb..c3b810e39eb0 100644
--- a/dev-util/libabigail/Manifest
+++ b/dev-util/libabigail/Manifest
@@ -2,7 +2,10 @@ DIST libabigail-2.5-docs.tar.xz 54388 BLAKE2B 5d0cdc349955e7d26c6e8655e124ed2b19
DIST libabigail-2.5.tar.xz 364174836 BLAKE2B 0d6515bb7efdccc35b36764ece48ad4afa4d4058a1fb9b51f71e796c73f8080123eefb097ee9bd3f0689e1c2a4b61c6d960792cc04b30a71c199929b344db2ad SHA512 4084ebdd723a8ce1632f70943e29d71328bb695b1b0012ebd3d6ec7edccde872b54e76dfb1bc1c261805919c5e636198cd5bf23baf113474a082db21f2cfdd0d
DIST libabigail-2.6-docs.tar.xz 54856 BLAKE2B e89b916780d37ebcdb1e239580c36d6f5da23ac872ecb0469787081a7446005985f18e384ecc2ea9db2b58931763e7cd1247bedda550c04affc29ea3f837243e SHA512 8a121bc3e8b07bc0050c61f465c4f4fd3fb39f908ca850270c6f932bc88330e7bd6cd121c0c7c707e22c0d99bbe1da1e12721d2f9bc134ba8fb0e1c1b6b3bd09
DIST libabigail-2.6.tar.xz 489598820 BLAKE2B d07ad7a35de0418cf933b2bf457778a5c778c2e4cd1452c3f82e08e1e98c61bf56e7bc03c4ab801ea2d67e31d88441996d56f79b9ecfd19591d8de66c860d380 SHA512 77983586c9fa99ab5593e41e33ddfc175aef7a2ddfabb7eac79a9adfd776e7dbbb317f6d4c26044c420f2eac1f9d25e0c04887a54bb3136cc91e61219a1343e4
-EBUILD libabigail-2.5.ebuild 3047 BLAKE2B efcea88e3013fbc264586af8a6005f8135b5c63703428b6c441b740b0de05c5c7ca3ae94cbe67de0fa6783d007645fa8ae634cf6d84e1e7f3f7f1202a7ae120b SHA512 1c41aecb6ed8c9c7515760537372743381f802923b6fd634ea55ca8b2ddab9700259aee5a1586fce60e4f3cae0db622fa5a43c2f55856d101c1b90ed13b028b2
-EBUILD libabigail-2.6.ebuild 3037 BLAKE2B 789de7ea3cade3363c416078114d05ae8dd0b4713c4a66b67933a12b04b7ded258c9482b798a18ba0b538652d603b36b589f38a09382ddb0ae0250a18be428d4 SHA512 e45d27ed0fe24adfdc2c24a1f9ab32a77cacb957e2a58f78bdcd5860c8700b07e7bd1e89466b7e3e2bccce31b8faf791801a864d06222d25de1ada74329e1e00
-EBUILD libabigail-9999.ebuild 3053 BLAKE2B 5f7e445e6aaa8b314a87f3f8a50c5c80ef0eb1a8770637e8f30a83c64d8f5eea1ff5a936a77f3952be69bf104c7c795641324e7384caeaf18a3c1d045bb5fe45 SHA512 1ec42749c409b870cd3519555a18ac4cd91bc0e0bf56451e7580faee8f1b4ef7f32d6d7fd121422c425c987a227139e7a6cc2afa96bbc77d2c2cce2340abfe34
+DIST libabigail-2.7-docs.tar.xz 57360 BLAKE2B 3d77681d477b4ba66e2476ac28497703ac93ddeaf337431d2e84e1b943733d6e21e17c54f321a95ac5626a1ea73898d73e70cdc0a126e8118650e276ab703dd2 SHA512 b0dab1bf32f7c396a919714ed0e612a549d6542f576c81f2b20c2206eaee19128bdc52fc93838a6df3ac13d5e75963e08ac4b77532d00e824581b12901143b27
+DIST libabigail-2.7.tar.xz 489684712 BLAKE2B d57d8161d2ea461cba27e9d5800c8c93237f0c04723b09bacf96a3090cc9e13efbab33e26c986fb791cee621ac35ceee99b939fb46d4e155ca411df994104872 SHA512 6c31df739b94b83a5bac4b560eb1c16919495280ed3f5a37a84144e18a2362038337d3843948e3022b97ba73f7a41b32b33ca5f8b86a51ea57574dc3de98b9d5
+EBUILD libabigail-2.5-r1.ebuild 3048 BLAKE2B 20f10a1db1ac1e27fe92c105e8d2d05353fa015f96a8d1d48a5cb14a23b4efa511fea1c8db55aae624620ee63b53f93469281bf0cfe14e3c43ff40cb676dc729 SHA512 1f04ce569efcc947e2328a819874d68c99bc1e56ec1031955c499d4ccd2ce1f053cd79269ec9fc7a1b84f88dd2743329a34be8ff542ff79c65940fab20dfb6cc
+EBUILD libabigail-2.6-r1.ebuild 3038 BLAKE2B 831168602a02abca4250bf4c35b54b2429268cb4e180e01659de69eb0d819207dc823fb4b9734bb58a5ba5034898d6f7852c0056e05afb982f65921f446fc27c SHA512 cf0d3072e7ccafb318f9d6f5268b876f4c50c3e2761cdcded46151d66a4c3b20aceaf7e39a46dbd5c79b7c2a12f6fe4751482d583a765dd4f7ea008109f10511
+EBUILD libabigail-2.7-r2.ebuild 3069 BLAKE2B ab76d3fde2020214bf51948d67b6875b3f0c158dc47f8b50cc977f4e7572ed20a1615f570b5a1334e3bbaf452f40fbe44ff16d66dd22e2717efcb82d6646f280 SHA512 92b806ccac95d4b2a7e70c04568efceb8b5d0bd5e09d66ead67950c1981041208d8694b8211af57e0559fc9cb6872ec9ae840ac7002f538790cdab2b69d57f8e
+EBUILD libabigail-9999.ebuild 3069 BLAKE2B ab76d3fde2020214bf51948d67b6875b3f0c158dc47f8b50cc977f4e7572ed20a1615f570b5a1334e3bbaf452f40fbe44ff16d66dd22e2717efcb82d6646f280 SHA512 92b806ccac95d4b2a7e70c04568efceb8b5d0bd5e09d66ead67950c1981041208d8694b8211af57e0559fc9cb6872ec9ae840ac7002f538790cdab2b69d57f8e
MISC metadata.xml 365 BLAKE2B c69fe6073d2650badf4c3426e991b46ccea688837970ff80f3f8410769bebabf2629b780218c95c5dc766fbd839e5da2b28c7f63944d2a13ece1c4c97dfdb4a5 SHA512 6caec9ea9f290685e73efd1a273d27948bb6be5d71aebae5e1fba93781ddf2b34e08fc67c912b27b29705143288a3d5ec068c2bb20533c431823e53c1a5b6361
diff --git a/dev-util/libabigail/libabigail-2.5.ebuild b/dev-util/libabigail/libabigail-2.5-r1.ebuild
index 94ba41550820..40afd132a90c 100644
--- a/dev-util/libabigail/libabigail-2.5.ebuild
+++ b/dev-util/libabigail/libabigail-2.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,7 +14,7 @@ LIBABIGAIL_DOCS_VERSION="${PV}"
# bug #830088
LIBABIGAIL_DOCS_USEFLAG="+doc"
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit libtool bash-completion-r1 python-any-r1 out-of-source
@@ -42,7 +42,7 @@ RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/elfutils
- dev-libs/libxml2:2
+ dev-libs/libxml2:2=
btf? ( dev-libs/libbpf:= )
elibc_musl? ( sys-libs/fts-standalone )
"
diff --git a/dev-util/libabigail/libabigail-2.6.ebuild b/dev-util/libabigail/libabigail-2.6-r1.ebuild
index 8570f6aba5cc..a25271d546db 100644
--- a/dev-util/libabigail/libabigail-2.6.ebuild
+++ b/dev-util/libabigail/libabigail-2.6-r1.ebuild
@@ -42,7 +42,7 @@ RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/elfutils
- dev-libs/libxml2:2
+ dev-libs/libxml2:2=
btf? ( dev-libs/libbpf:= )
elibc_musl? ( sys-libs/fts-standalone )
"
diff --git a/dev-util/libabigail/libabigail-2.7-r2.ebuild b/dev-util/libabigail/libabigail-2.7-r2.ebuild
new file mode 100644
index 000000000000..5a4ac5cacb15
--- /dev/null
+++ b/dev-util/libabigail/libabigail-2.7-r2.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Generate using https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-libabigail-docs
+# Set to 1 if prebuilt, 0 if not
+# (the construct below is to allow overriding from env for script)
+: ${LIBABIGAIL_DOCS_PREBUILT:=1}
+
+LIBABIGAIL_DOCS_PREBUILT_DEV=sam
+LIBABIGAIL_DOCS_VERSION="${PV}"
+# Default to generating docs (inc. man pages) if no prebuilt; overridden later
+# bug #830088
+LIBABIGAIL_DOCS_USEFLAG="+doc"
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit libtool bash-completion-r1 python-any-r1 out-of-source
+
+DESCRIPTION="Suite of tools for checking ABI differences between ELF objects"
+HOMEPAGE="https://sourceware.org/libabigail/"
+if [[ ${PV} == 9999 ]] ; then
+ LIBABIGAIL_DOCS_PREBUILT=0
+ EGIT_REPO_URI="https://sourceware.org/git/libabigail.git"
+ EGIT_SUBMODULES=()
+ inherit autotools git-r3
+else
+ SRC_URI="https://mirrors.kernel.org/sourceware/libabigail/${P}.tar.xz"
+ if [[ ${LIBABIGAIL_DOCS_PREBUILT} == 1 ]] ; then
+ SRC_URI+=" !doc? ( https://dev.gentoo.org/~${LIBABIGAIL_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBABIGAIL_DOCS_VERSION}-docs.tar.xz )"
+ LIBABIGAIL_DOCS_USEFLAG="doc"
+ fi
+
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="Apache-2.0-with-LLVM-exceptions"
+SLOT="0/6"
+IUSE="btf debug ${LIBABIGAIL_DOCS_USEFLAG} test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ app-arch/xz-utils
+ dev-libs/elfutils[lzma]
+ dev-libs/libxml2:2=[lzma(-)]
+ dev-libs/xxhash
+ btf? ( dev-libs/libbpf:= )
+ elibc_musl? ( sys-libs/fts-standalone )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ doc? (
+ app-text/doxygen[dot]
+ dev-python/sphinx
+ sys-apps/texinfo
+ )
+ test? ( ${PYTHON_DEPS} )
+"
+
+src_prepare() {
+ default
+ if [[ ${PV} = 9999 ]] ; then
+ eautoreconf
+ else
+ elibtoolize
+ fi
+}
+
+my_src_configure() {
+ local myeconfargs=(
+ --disable-abidb
+ --disable-deb
+ --disable-fedabipkgdiff
+ --disable-rpm
+ --disable-rpm415
+ --disable-ctf
+ # Don't try to run Valgrind on tests.
+ --disable-valgrind
+ --enable-bash-completion
+ --enable-python3
+ $(use_enable debug assert)
+ $(use_enable btf)
+ $(use_enable doc apidoc)
+ $(use_enable doc manual)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+my_src_compile() {
+ default
+ use doc && emake doc
+}
+
+my_src_install() {
+ emake DESTDIR="${D}" install
+
+ # If USE=doc, there'll be newly generated docs which we install instead.
+ if ! use doc && [[ ${LIBABIGAIL_DOCS_PREBUILT} == 1 ]] ; then
+ doinfo "${WORKDIR}"/${PN}-${LIBABIGAIL_DOCS_VERSION}-docs/texinfo/*.info
+ doman "${WORKDIR}"/${PN}-${LIBABIGAIL_DOCS_VERSION}-docs/man/*.[0-8]
+ elif use doc; then
+ doman doc/manuals/man/*
+ doinfo doc/manuals/texinfo/abigail.info
+
+ dodoc -r doc/manuals/html
+
+ docinto html/api
+ dodoc -r doc/api/html/.
+ fi
+}
+
+my_src_install_all() {
+ einstalldocs
+
+ local file
+ for file in abicompat abidiff abidw abilint abinilint abipkgdiff abisym fedabipkgdiff ; do
+ dobashcomp bash-completion/${file}
+ done
+
+ # No static archives
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/dev-util/libabigail/libabigail-9999.ebuild b/dev-util/libabigail/libabigail-9999.ebuild
index 2107f05581d5..5a4ac5cacb15 100644
--- a/dev-util/libabigail/libabigail-9999.ebuild
+++ b/dev-util/libabigail/libabigail-9999.ebuild
@@ -36,14 +36,14 @@ else
fi
LICENSE="Apache-2.0-with-LLVM-exceptions"
-SLOT="0/5"
+SLOT="0/6"
IUSE="btf debug ${LIBABIGAIL_DOCS_USEFLAG} test"
RESTRICT="!test? ( test )"
RDEPEND="
app-arch/xz-utils
- dev-libs/elfutils
- dev-libs/libxml2:2
+ dev-libs/elfutils[lzma]
+ dev-libs/libxml2:2=[lzma(-)]
dev-libs/xxhash
btf? ( dev-libs/libbpf:= )
elibc_musl? ( sys-libs/fts-standalone )