public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/libabigail/
Date: Sat,  3 Dec 2022 02:04:44 +0000 (UTC)	[thread overview]
Message-ID: <1670032886.03dbc9ae62498161c839efb39ce0be5aa82a42fc.sam@gentoo> (raw)

commit:     03dbc9ae62498161c839efb39ce0be5aa82a42fc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  3 02:01:22 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec  3 02:01:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03dbc9ae

dev-util/libabigail: add 2.2

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/libabigail/Manifest              |   2 +
 dev-util/libabigail/libabigail-2.2.ebuild | 102 ++++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+)

diff --git a/dev-util/libabigail/Manifest b/dev-util/libabigail/Manifest
index d4424bf781c4..e4c455d73130 100644
--- a/dev-util/libabigail/Manifest
+++ b/dev-util/libabigail/Manifest
@@ -1,3 +1,5 @@
 DIST libabigail-2.0.tar.gz 286383045 BLAKE2B 2ba6f59bcd7a1484c4a60c6c9f212ad76af239a552d2cc9e47748e0db52363afadd7a99ef3e123c263de34b416f71b9d679bf2a5c542c419bb38ee75f3d5c57b SHA512 288f63f3495f0cd38258c50b78f30a573e43ab60494fefa22c8cba6d6776c5f94742ffea26297a232b78d25f6804f1b3f51febd59ec487733e6ef683cef2c180
 DIST libabigail-2.1-docs.tar.xz 45532 BLAKE2B e59198a4ecdc6e0eef2b53ce62daa7a313e3dd3f28b71bc7184ec44745b165fab05bb08d22aa9a5e7f886c3b9156f0713737aa2899b579555b18daf8894e6a43 SHA512 078639bd08fdf190b8e71fe147495e0b6b14c7947e82d7aa5f5943ba00cf02763dc8c63a7d39189958a6cfb5175efff6a87cd74938fb3df8f7e123c5586605a6
 DIST libabigail-2.1.tar.gz 405861148 BLAKE2B 28c8c7cfc33b5002d10b94e2eb9e16ef403dcce73c1404b8af011d8bf71b142b62a5079154af078a479b4528f8464c420322b814e75bb3127a09992e7ca8f84f SHA512 4fe1d3323f078a76a7529c15a809d0c0d3ac43cabd5ab4bb5c2d03992cbbb61bae3ec858e40796bf9f65029cbc779d258ae4559455178fb95cb8b53bf92bcc9a
+DIST libabigail-2.2-docs.tar.xz 46776 BLAKE2B 469981ea9879b202bcfd68dfa1d71c25470c6c9b9a8058ff29923a4cb7ecd5cb652b239bf6faa05c6b7e479b425e2fd4327a0d6e1703f3622299d743b72e8b5c SHA512 c06bfa95957390ca7abd1e47a79e2da813fd3bdfb8dcaf23bf81da697c77b67d9cd5457010291e2753fcc74f55803a1c81234aa3b8cb27c6b1ce3991f6ab60ab
+DIST libabigail-2.2.tar.xz 351078692 BLAKE2B fc03b1653fbe94213713e710c358133a2abd51cac46c8d4b5d797715b16e3d9923ddd99f9a2f85352599b6b5628f52e505f0ec2bca6dc3ea118826bbe69ff42b SHA512 c512c4a497ea6bb88283feae6c31cf5fe347c260cf1670fe65296bf158d3a2aa449ca518a4f2780e814ffbe6970c7856d2ab91e15499638db78bc52d67d794ce

diff --git a/dev-util/libabigail/libabigail-2.2.ebuild b/dev-util/libabigail/libabigail-2.2.ebuild
new file mode 100644
index 000000000000..cfaccef7ea23
--- /dev/null
+++ b/dev-util/libabigail/libabigail-2.2.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2022 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_{8..11} )
+
+inherit autotools 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/"
+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
+
+LICENSE="Apache-2.0-with-LLVM-exceptions"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv"
+IUSE="${LIBABIGAIL_DOCS_USEFLAG} test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-libs/elfutils
+	dev-libs/libxml2:2
+	elibc_musl? ( sys-libs/fts-standalone )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	virtual/pkgconfig
+	doc? (
+		app-doc/doxygen
+		dev-python/sphinx
+		sys-apps/texinfo
+	)
+	test? ( ${PYTHON_DEPS} )"
+
+src_prepare() {
+	default
+	# need to run our autotools, due to ltmain.sh including Redhat calls:
+	# cannot read spec file '/usr/lib/rpm/redhat/redhat-hardened-ld': No such file or directory
+	eautoreconf
+}
+
+my_src_configure() {
+	econf \
+		--disable-deb \
+		--disable-fedabipkgdiff \
+		--disable-rpm \
+		--disable-rpm415 \
+		--disable-ctf \
+		--enable-bash-completion \
+		--enable-python3 \
+		$(use_enable doc apidoc) \
+		$(use_enable doc manual)
+}
+
+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
+}


             reply	other threads:[~2022-12-03  2:04 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-03  2:04 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-11 23:39 [gentoo-commits] repo/gentoo:master commit in: dev-util/libabigail/ Eli Schwartz
2024-09-11 23:39 Eli Schwartz
2024-09-11 23:39 Eli Schwartz
2024-09-02  8:20 Sam James
2024-08-23 23:37 Jakov Smolić
2024-08-23 18:33 Sam James
2024-08-23 18:33 Sam James
2024-04-19  2:28 Sam James
2024-03-08 16:19 Sam James
2024-03-08 16:19 Sam James
2024-03-08 16:19 Sam James
2023-10-28  1:05 Sam James
2023-10-28  1:05 Sam James
2023-10-28  1:05 Sam James
2023-10-27 21:29 Sam James
2023-04-30 23:50 Sam James
2023-04-28  1:51 Sam James
2023-04-28  0:21 Sam James
2023-04-01  1:09 Sam James
2023-04-01  1:09 Sam James
2023-03-10  8:21 Arthur Zamarin
2023-03-09  9:15 Arthur Zamarin
2023-02-20 20:52 David Seifert
2023-02-19 16:38 Sam James
2022-12-20  9:38 Sam James
2022-12-03 13:03 David Seifert
2022-12-02 10:20 WANG Xuerui
2022-11-29  6:58 Jakov Smolić
2022-10-01 21:53 Sam James
2022-10-01 21:34 Sam James
2022-10-01 20:43 Sam James
2022-09-13 12:41 Sam James
2022-01-29 19:34 David Seifert
2022-01-27  9:39 David Seifert
2022-01-27  9:39 David Seifert
2022-01-15 22:01 Sam James
2022-01-15 10:44 David Seifert
2021-11-04 17:09 Sam James
2021-11-04 17:07 Sam James
2021-10-26 11:09 Sam James
2021-10-26  7:03 Sam James
2021-10-26  6:58 Sam James
2021-10-26  6:58 Sam James
2021-07-04  9:48 Georgy Yakovlev
2021-05-23 19:04 Michał Górny
2021-03-13 18:24 Sam James
2019-12-21 19:55 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1670032886.03dbc9ae62498161c839efb39ce0be5aa82a42fc.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox