public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-util/lttng-ust/, dev-util/babeltrace/
@ 2025-09-10 22:48 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2025-09-10 22:48 UTC (permalink / raw
  To: gentoo-commits

commit:     308e200bea39cd6d0b608c9682b4b4cedb9a3864
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Mon Sep  8 21:16:46 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 10 22:47:02 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=308e200b

dev-util/babeltrace: add 2.1.2

* Add verify-sig support.

Bug: https://bugs.gentoo.org/956668
Bug: https://bugs.gentoo.org/957014
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43735
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/babeltrace/Manifest                |  2 +
 dev-util/babeltrace/babeltrace-2.1.2.ebuild | 94 +++++++++++++++++++++++++++++
 dev-util/lttng-ust/Manifest                 |  1 +
 dev-util/lttng-ust/lttng-ust-2.14.0.ebuild  | 10 ++-
 4 files changed, 105 insertions(+), 2 deletions(-)

diff --git a/dev-util/babeltrace/Manifest b/dev-util/babeltrace/Manifest
index f3b68e641e30..cc501fb87f4e 100644
--- a/dev-util/babeltrace/Manifest
+++ b/dev-util/babeltrace/Manifest
@@ -1,2 +1,4 @@
 DIST babeltrace-1.5.11.tar.bz2 998592 BLAKE2B 8d11c0322072464fd2a187ebc1320e3cec1007e8c56f04e9bb845d94b4e0399febce91eb49c1a75c829f5182d9cb5c93c0d647c311c38133e548c30bd0905d59 SHA512 a3158bb9d0306c1cab6ac3d16ba542605ad60b13ecb10fe740a3b95168f0ead87d31483a06d49a15341f7ef6def16765d9a6045f40a60cd8b94070d979c0c3d1
 DIST babeltrace2-2.1.1.tar.bz2 4579958 BLAKE2B 8710232e07642f155d4c554c865dfa98fb109fdabecfafe3cfecf70ed3e99113645b6cc4f82de40db439e47d2eee826e4a750700d16e25ea63d3ecc6a4d9443e SHA512 46b26353ffdf9eb3e878545992364f963227ee9e350b2ae1c4359736d7aa1544185bfe7e0de020bf8b91efa76307e997a58300401151f3d8310c1fc5e9581fa7
+DIST babeltrace2-2.1.2.tar.bz2 4520096 BLAKE2B ec209018ccd08beb605cf391cdb853da9a3cc02443e093e581bdd71f1a7f600143d970b7286ec528c3bb12d0c54e78dbd2212ef455675a33bdbfca2c17791a09 SHA512 5e6b1c5c91478f5323007a6e61dff88c53062f89e58c069803ccd12ed19bb2372d6d869ee3cf51d6138b9edcebff7c09e6898c0079867aa6372a49723fa6fbbb
+DIST babeltrace2-2.1.2.tar.bz2.asc 833 BLAKE2B 8ff140556d85b3e95960f9574a90d4d07838b856cae338cbd912b04ce51428184e9217c1ddbbbf814845035b9b8bce0a22720427ba348817954de560504e0321 SHA512 f9168a3b2f5e897c0871d9116cd9d49a3c2ece3f525b5a95cf388682d1f01adac29edf88c36f0cab9c28c739886720ef8365982786e9e97b9ffdfce64972a21c

diff --git a/dev-util/babeltrace/babeltrace-2.1.2.ebuild b/dev-util/babeltrace/babeltrace-2.1.2.ebuild
new file mode 100644
index 000000000000..7eac444cef76
--- /dev/null
+++ b/dev-util/babeltrace/babeltrace-2.1.2.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+inherit flag-o-matic libtool python-single-r1 verify-sig
+
+DESCRIPTION="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
+	verify-sig? ( https://www.efficios.com/files/${PN}/${PN}$(ver_cut 1)-${PV}.tar.bz2.asc )
+"
+S="${WORKDIR}/${PN}$(ver_cut 1)-${PV}"
+
+LICENSE="GPL-2"
+SLOT="2/$(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}
+	!dev-util/babeltrace:0/2
+"
+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
+	)
+	verify-sig? ( sec-keys/openpgp-keys-jeremiegalarneau )
+"
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/jeremiegalarneau.asc
+
+pkg_setup() {
+	use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+	default
+
+	# Test requires plugins to be enabled. bug #957014
+	if use !plugins; then
+		rm tests/bindings/python/bt2/test_mip1.py || die
+	fi
+
+	# 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
+
+	# bug #956668
+	python_optimize "${ED}"
+
+	find "${D}" -name '*.la' -delete || die
+}

diff --git a/dev-util/lttng-ust/Manifest b/dev-util/lttng-ust/Manifest
index 727f4e90eef3..e03a3997781a 100644
--- a/dev-util/lttng-ust/Manifest
+++ b/dev-util/lttng-ust/Manifest
@@ -2,3 +2,4 @@ DIST lttng-ust-2.12.10.tar.bz2 801458 BLAKE2B f9dd2242e0979334c3bfaf5146af1b4732
 DIST lttng-ust-2.12.9.tar.bz2 800795 BLAKE2B 467500f7fd0f473a5cd7af6c23e8f0f83516d57ad573f92c48354bbe1ea1d2fea08bd20d7675e7698adf2284a5069fd23d3a929bc11df0ba157a99091b543777 SHA512 5edaa6c015bccd710e7bfea136398e8bc784946c22933a011f4b31b9c13fa772c4f03d0c42543bf0d08a810922498ff1fa56d4bccd9c5b8c4b14925c849c6c9b
 DIST lttng-ust-2.13.9.tar.bz2 1359608 BLAKE2B 2137a2cffa12d98b347f2afe249f9b50fcb0b74c2352d101a8ce076975da407d9a3451da3e559ae43d094c4c39fd3647e4cc8b6fdb19dc8f1a3abbc53ea5b36a SHA512 d2bf449e0d283ee80937aa1691c48ce1cc8beb4996a4ef79078bcc2c4584bc650746ef72e927679cd6e6e54546aced40943070d46008ac9c944b6c16e2347670
 DIST lttng-ust-2.14.0.tar.bz2 1391236 BLAKE2B 0e9f5c8c851e0a6d58e0ac193087e93f53fb487dd393ccbde0b5ad2fb1d39d0109cb42799e4479cddef0686115c744e0bf229f93bb735d29bc62cb51fad179f1 SHA512 c64250ea127de75bd2023e2a1ca376667a2dcda45322bd7d4d6a8b38c9585e740b07d1321f42b5f3da0e656e91c9231ba8e199ebe025453165025f046e926409
+DIST lttng-ust-2.14.0.tar.bz2.asc 488 BLAKE2B bb81e75b06503ed0ffdb1ece072ffb2b09aac568c61382f5f35affee97e61513c8eda1a2e4a7af2289525e43af435593551c216c640022948070ed684f3e9a26 SHA512 5c8c9bc4935b969d75a7713f555830c02c3c60a894488be9b48fbe0ab97a797e89aa52cf1c154f4d5acee25b275f1563e82727dbb92e893ca798535c79289aa4

diff --git a/dev-util/lttng-ust/lttng-ust-2.14.0.ebuild b/dev-util/lttng-ust/lttng-ust-2.14.0.ebuild
index 32ab3ff0f6c7..ffb8a2b03fd3 100644
--- a/dev-util/lttng-ust/lttng-ust-2.14.0.ebuild
+++ b/dev-util/lttng-ust/lttng-ust-2.14.0.ebuild
@@ -9,14 +9,17 @@ EAPI=8
 # dev-util/lttng-ust
 
 PYTHON_COMPAT=( python3_{11..14} )
-inherit autotools flag-o-matic python-any-r1
+inherit autotools flag-o-matic python-any-r1 verify-sig
 
 MY_P="${P/_rc/-rc}"
 MY_SLOT="$(ver_cut 1-2)"
 
 DESCRIPTION="Linux Trace Toolkit - UST library"
 HOMEPAGE="https://lttng.org"
-SRC_URI="https://lttng.org/files/${PN}/${MY_P}.tar.bz2"
+SRC_URI="
+	https://lttng.org/files/${PN}/${MY_P}.tar.bz2
+	verify-sig? ( https://lttng.org/files/${PN}/${MY_P}.tar.bz2.asc )
+"
 S="${WORKDIR}"/${MY_P}
 
 LICENSE="GPL-2"
@@ -34,8 +37,11 @@ BDEPEND="
 	${PYTHON_DEPS}
 	virtual/pkgconfig
 	test? ( dev-lang/perl )
+	verify-sig? ( sec-keys/openpgp-keys-mathieudesnoyers )
 "
 
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/mathieudesnoyers.asc
+
 QA_CONFIG_IMPL_DECL_SKIP=(
 	pthread_get_name_np # different from pthread_getname_*, not on linux
 	pthread_set_name_np # different from pthread_setname_*, not on linux


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-09-10 22:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-10 22:48 [gentoo-commits] repo/gentoo:master commit in: dev-util/lttng-ust/, dev-util/babeltrace/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox