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/babeltrace/
Date: Mon, 21 Apr 2025 07:43:32 +0000 (UTC)	[thread overview]
Message-ID: <1745221193.93cfe49e5bad433f65d74070bbd20b35b080ae0a.sam@gentoo> (raw)

commit:     93cfe49e5bad433f65d74070bbd20b35b080ae0a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 21 07:33:10 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 21 07:39:53 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93cfe49e

dev-util/babeltrace: add 2.1.1

Closes: https://bugs.gentoo.org/953444
Closes: https://bugs.gentoo.org/952429
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/babeltrace/Manifest                |  1 +
 dev-util/babeltrace/babeltrace-2.1.1.ebuild | 77 +++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/dev-util/babeltrace/Manifest b/dev-util/babeltrace/Manifest
index 440ec3781eb3..351a8c213162 100644
--- a/dev-util/babeltrace/Manifest
+++ b/dev-util/babeltrace/Manifest
@@ -1,3 +1,4 @@
 DIST babeltrace-1.5.11.tar.bz2 998592 BLAKE2B 8d11c0322072464fd2a187ebc1320e3cec1007e8c56f04e9bb845d94b4e0399febce91eb49c1a75c829f5182d9cb5c93c0d647c311c38133e548c30bd0905d59 SHA512 a3158bb9d0306c1cab6ac3d16ba542605ad60b13ecb10fe740a3b95168f0ead87d31483a06d49a15341f7ef6def16765d9a6045f40a60cd8b94070d979c0c3d1
 DIST babeltrace2-2.0.5.tar.bz2 3252593 BLAKE2B 31a8f3c080e4a6b6e33c224ec4a64d5ff12724a5697954cb92b88c569d6f2019f49ddcb88f82d36be3007c7b5d1334370202d1c0e89122acf340a7cb9e399fa3 SHA512 63469cb0796c720b18bfc09569875eb9a44d2f8a776228bfa503af8ba613b2988b2d20be870f41451e5d6146a3dfb08de6284131d25f1a86137deb75c3a4d514
 DIST babeltrace2-2.0.6.tar.bz2 3280798 BLAKE2B 840819500ede57972fcd8f80db355f1207c6bed83b1a1bf8da8330296f12b768419b8c66b6428ba27e50c37cfaa4d2984e193189b7a1d43111edc543b9154e10 SHA512 53107313e4870f6d28484102da2406f6e6eb13751035162b02ca7495d34409d3a8c7d3c14747924f4cf4620eaea113d8ceebf29872fed00bc38cc6e4329cca5d
+DIST babeltrace2-2.1.1.tar.bz2 4579958 BLAKE2B 8710232e07642f155d4c554c865dfa98fb109fdabecfafe3cfecf70ed3e99113645b6cc4f82de40db439e47d2eee826e4a750700d16e25ea63d3ecc6a4d9443e SHA512 46b26353ffdf9eb3e878545992364f963227ee9e350b2ae1c4359736d7aa1544185bfe7e0de020bf8b91efa76307e997a58300401151f3d8310c1fc5e9581fa7

diff --git a/dev-util/babeltrace/babeltrace-2.1.1.ebuild b/dev-util/babeltrace/babeltrace-2.1.1.ebuild
new file mode 100644
index 000000000000..7bada3915218
--- /dev/null
+++ b/dev-util/babeltrace/babeltrace-2.1.1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+inherit flag-o-matic libtool python-single-r1
+
+DESCRIPTION="A command-line tool and library to read and convert trace files"
+HOMEPAGE="https://babeltrace.org/"
+SRC_URI="https://www.efficios.com/files/${PN}/${PN}$(ver_cut 1)-${PV}.tar.bz2"
+S="${WORKDIR}/${PN}$(ver_cut 1)-${PV}"
+
+LICENSE="GPL-2"
+SLOT="0/$(ver_cut 1)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="doc +elfutils +man plugins python"
+REQUIRED_USE="plugins? ( python ) python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+	>=dev-libs/glib-2.28:2
+	elfutils? ( >=dev-libs/elfutils-0.154 )
+	python? ( ${PYTHON_DEPS} )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	>=sys-devel/bison-2.5
+	app-alternatives/lex
+	python? (
+		>=dev-lang/swig-3.0
+		$(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]' python3_12)
+		doc? ( >=dev-python/sphinx-1.3 )
+	)
+	doc? ( >=app-text/doxygen-1.8.6 )
+	man? (
+		>=app-text/asciidoc-8.6.8
+		>=app-text/xmlto-0.0.25
+	)
+"
+
+pkg_setup() {
+	use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+	default
+
+	# Needed for LTO -Werror
+	elibtoolize
+}
+
+src_configure() {
+	# ODR violation in currentCtfScanner. Not yet reported upstream
+	# as bug tracker account is pending approval.
+	filter-lto
+
+	use python && export PYTHON_CONFIG="${EPYTHON}-config"
+
+	local myeconfargs=(
+		$(use_enable doc api-doc)
+		$(use_enable elfutils debug-info)
+		$(use_enable man man-pages)
+		$(use_enable python python-bindings)
+		$(usex python $(use_enable doc python-bindings-doc) --disable-python-bindings-doc)
+		$(use_enable plugins python-plugins)
+		--disable-built-in-plugins
+		--disable-built-in-python-plugin-support
+		--disable-Werror
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+	find "${D}" -name '*.la' -delete || die
+}


             reply	other threads:[~2025-04-21  7:43 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-21  7:43 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-04 10:02 [gentoo-commits] repo/gentoo:master commit in: dev-util/babeltrace/ Arthur Zamarin
2025-06-22 17:39 Sam James
2025-04-21  7:56 Sam James
2025-04-21  7:56 Sam James
2025-04-21  7:51 Sam James
2025-04-21  7:43 Sam James
2025-04-21  7:43 Sam James
2025-01-14 14:52 Petr Vaněk
2025-01-11  8:39 WANG Xuerui
2024-11-23 15:05 Michał Górny
2024-11-23 13:04 Arthur Zamarin
2024-11-23 10:32 Sam James
2024-11-23 10:32 Sam James
2024-11-19 15:20 Sam James
2024-11-19 15:20 Sam James
2024-11-19 15:20 Sam James
2024-09-12 12:27 Arthur Zamarin
2024-09-12 12:27 Arthur Zamarin
2024-09-05 23:10 Jakov Smolić
2024-09-05 23:10 Jakov Smolić
2024-09-05 23:10 Jakov Smolić
2024-09-05 23:10 Jakov Smolić
2024-02-22  0:34 Yixun Lan
2023-12-28  2:57 Sam James
2023-12-19  5:26 Sam James
2022-01-03  9:19 Sam James
2022-01-01 15:15 Arthur Zamarin
2022-01-01 15:15 Arthur Zamarin
2022-01-01 15:15 Arthur Zamarin
2021-08-05  2:17 Yixun Lan
2021-04-22  8:20 Yixun Lan
2021-04-22  2:59 Sam James
2021-04-21 18:53 Sam James
2021-03-31  7:49 Yixun Lan
2021-03-31  3:16 Yixun Lan
2021-03-31  3:16 Yixun Lan
2020-11-28 17:46 Aaron Bauman
2017-07-11  8:41 Alexis Ballier
2016-07-01  2:37 Yixun Lan

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=1745221193.93cfe49e5bad433f65d74070bbd20b35b080ae0a.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