summaryrefslogtreecommitdiff
path: root/dev-util/libabigail
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-02-21 00:15:53 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-02-21 00:15:53 +0000
commitdb653baf275126269bb89ea0d2bdb8e50497a94c (patch)
tree9d1ee94cfa7312384acd366d3dd8f629660b3f18 /dev-util/libabigail
parent1534d50aaf24272ec425fa439389ef7e1f7bf174 (diff)
gentoo auto-resync : 21:02:2025 - 00:15:53
Diffstat (limited to 'dev-util/libabigail')
-rw-r--r--dev-util/libabigail/Manifest5
-rw-r--r--dev-util/libabigail/libabigail-2.6.ebuild126
-rw-r--r--dev-util/libabigail/libabigail-9999.ebuild5
3 files changed, 133 insertions, 3 deletions
diff --git a/dev-util/libabigail/Manifest b/dev-util/libabigail/Manifest
index 89451629574d..928e9190b74f 100644
--- a/dev-util/libabigail/Manifest
+++ b/dev-util/libabigail/Manifest
@@ -1,5 +1,8 @@
DIST libabigail-2.5-docs.tar.xz 54388 BLAKE2B 5d0cdc349955e7d26c6e8655e124ed2b1961bf6da922ab8e77350fc8b0e52a3975a7873bd2d690cd2a7f4110c1c9938a7c1fecf1255d42a7f7b915511038a76f SHA512 cceb0a27031914fa6b02c73810a792bca35ad7b47b688022aa4d15ccbf81549e320b45871a99e7d81c21e10ed8a37ec4e6795662c0dc86f5d6e81dbb7b630856
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-9999.ebuild 3017 BLAKE2B 5a7821dcdec50c406491d5af2f1aaa3aab697c5d51934d63fedb7929a5546582607716fedeb7ef1ba126ffc520af49fc34023ec4d66b320ec4aeb4e587939f42 SHA512 23f4c27bb01c9f3f6670b0ad300621a9c3fb56c97af7c19e9e6f5df79647fd86e7a93e98e63a3dded5ef4a78d3e57bafcf3acdf62cbe4aa808a52083db2bf019
+EBUILD libabigail-2.6.ebuild 3037 BLAKE2B acb0d98915f9bfd770c7ab1f0d30403a420635b1af027e8372d3f9d0d37368df828a7be2f16740d798f471b93c471da8933f2c7f7fad27113e2fc10a6c8e5d25 SHA512 d8a69bbcb33b585c773bc60476d825bcda0e6ad3477abdfb484413fbf599432d16e2b67486d759a652836045ed40e10177a45d80b178fad5e7f6099af50c7cb5
+EBUILD libabigail-9999.ebuild 3034 BLAKE2B 931c7a68e31e3e39676a4f3c298811aea1fbabcd9013b1b853e22766d2dcd23bdac49817c193bf835653ad9ef7f9c24d2a0c397924e6a3a1f7281ce7c007cc84 SHA512 12eac3b83d7ef863ce09cb7ba43f157ddb04b0d6af77600dd555726e26c2a4a6702dfd149235c2e5e599aa1dfd9b1cf53c8a7fd491ae3508a8924b50613ffb38
MISC metadata.xml 365 BLAKE2B c69fe6073d2650badf4c3426e991b46ccea688837970ff80f3f8410769bebabf2629b780218c95c5dc766fbd839e5da2b28c7f63944d2a13ece1c4c97dfdb4a5 SHA512 6caec9ea9f290685e73efd1a273d27948bb6be5d71aebae5e1fba93781ddf2b34e08fc67c912b27b29705143288a3d5ec068c2bb20533c431823e53c1a5b6361
diff --git a/dev-util/libabigail/libabigail-2.6.ebuild b/dev-util/libabigail/libabigail-2.6.ebuild
new file mode 100644
index 000000000000..08da36008838
--- /dev/null
+++ b/dev-util/libabigail/libabigail-2.6.ebuild
@@ -0,0 +1,126 @@
+# 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..12} )
+
+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/5"
+IUSE="btf debug ${LIBABIGAIL_DOCS_USEFLAG} test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/elfutils
+ dev-libs/libxml2:2
+ btf? ( dev-libs/libbpf:= )
+ elibc_musl? ( sys-libs/fts-standalone )
+"
+DEPEND="
+ ${RDEPEND}
+ dev-libs/xxhash
+"
+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 cefba4dd0aab..961f07585201 100644
--- a/dev-util/libabigail/libabigail-9999.ebuild
+++ b/dev-util/libabigail/libabigail-9999.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
@@ -36,13 +36,14 @@ else
fi
LICENSE="Apache-2.0-with-LLVM-exceptions"
-SLOT="0/4"
+SLOT="0/5"
IUSE="btf debug ${LIBABIGAIL_DOCS_USEFLAG} test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/elfutils
dev-libs/libxml2:2
+ dev-libs/xxhash
btf? ( dev-libs/libbpf:= )
elibc_musl? ( sys-libs/fts-standalone )
"