public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/apitrace/
@ 2024-05-23 14:57 Matt Turner
  0 siblings, 0 replies; 4+ messages in thread
From: Matt Turner @ 2024-05-23 14:57 UTC (permalink / raw
  To: gentoo-commits

commit:     4cb8667335e96d74d8afc2316b40ceb83dba3a8e
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu May 23 14:56:02 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu May 23 14:57:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cb86673

dev-debug/apitrace: Depend on libglvnd, not mesa

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-debug/apitrace/apitrace-9.0-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/apitrace/apitrace-9.0-r5.ebuild b/dev-debug/apitrace/apitrace-9.0-r5.ebuild
index ab8cb5c9518c..f15cf68d8fc9 100644
--- a/dev-debug/apitrace/apitrace-9.0-r5.ebuild
+++ b/dev-debug/apitrace/apitrace-9.0-r5.ebuild
@@ -21,7 +21,7 @@ DEPEND="${PYTHON_DEPS}
 	app-arch/brotli:=[${MULTILIB_USEDEP}]
 	>=app-arch/snappy-1.1.1[${MULTILIB_USEDEP}]
 	media-libs/libpng:0=
-	media-libs/mesa[egl(+),gles1,gles2,X?,${MULTILIB_USEDEP}]
+	media-libs/libglvnd[X?,${MULTILIB_USEDEP}]
 	>=media-libs/waffle-1.6.0-r1[egl(+),${MULTILIB_USEDEP}]
 	sys-libs/zlib[${MULTILIB_USEDEP}]
 	sys-process/procps:=[${MULTILIB_USEDEP}]


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/apitrace/
@ 2024-05-23 14:57 Matt Turner
  0 siblings, 0 replies; 4+ messages in thread
From: Matt Turner @ 2024-05-23 14:57 UTC (permalink / raw
  To: gentoo-commits

commit:     495c726ea672212c76c3e655b273789168757b9b
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu May 23 14:51:23 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu May 23 14:57:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=495c726e

dev-debug/apitrace: Add Python 3.12/3.13 compatibility

Closes: https://bugs.gentoo.org/929390
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-debug/apitrace/{apitrace-9.0-r4.ebuild => apitrace-9.0-r5.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/apitrace/apitrace-9.0-r4.ebuild b/dev-debug/apitrace/apitrace-9.0-r5.ebuild
similarity index 98%
rename from dev-debug/apitrace/apitrace-9.0-r4.ebuild
rename to dev-debug/apitrace/apitrace-9.0-r5.ebuild
index b78a91aa9c82..ab8cb5c9518c 100644
--- a/dev-debug/apitrace/apitrace-9.0-r4.ebuild
+++ b/dev-debug/apitrace/apitrace-9.0-r5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..13} )
 inherit cmake-multilib multilib python-single-r1
 
 DESCRIPTION="Tool for tracing, analyzing, and debugging graphics APIs"


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/apitrace/
@ 2025-06-07 16:12 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2025-06-07 16:12 UTC (permalink / raw
  To: gentoo-commits

commit:     79a75b1706051c507a6efb994cb925145965c509
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Sat Jun  7 10:11:01 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jun  7 16:11:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79a75b17

dev-debug/apitrace: enable py3.14, drop py3.10

Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/42483
Closes: https://github.com/gentoo/gentoo/pull/42483
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-debug/apitrace/apitrace-12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/apitrace/apitrace-12.0.ebuild b/dev-debug/apitrace/apitrace-12.0.ebuild
index 16c4f03c4605..e683eb322abb 100644
--- a/dev-debug/apitrace/apitrace-12.0.ebuild
+++ b/dev-debug/apitrace/apitrace-12.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..14} )
 inherit cmake-multilib multilib optfeature python-single-r1
 
 DESCRIPTION="Tool for tracing, analyzing, and debugging graphics APIs"


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/apitrace/
@ 2025-07-09 12:32 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2025-07-09 12:32 UTC (permalink / raw
  To: gentoo-commits

commit:     f7ebd21d282d67bea42622ce102c7ad0c9c63021
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Sat Jul  5 23:13:46 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul  9 12:31:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7ebd21d

dev-debug/apitrace: add 13.0

Bump to 13.0

remove patches merged by upstream
fix multilib for libpng

close old bugs

update commit for libbacktrace submodule to fix the test failures with clang
see bug 738888, maybe 924102 too, not reproductible anyway with
gcc-15/musl/clang

Bug: https://bugs.gentoo.org/924102
Closes: https://bugs.gentoo.org/738888
Closes: https://bugs.gentoo.org/831522
Closes: https://bugs.gentoo.org/935390
Closes: https://bugs.gentoo.org/923777
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/42896
Closes: https://github.com/gentoo/gentoo/pull/42896
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/apitrace/Manifest             |   2 +
 dev-debug/apitrace/apitrace-13.0.ebuild | 106 ++++++++++++++++++++++++++++++++
 2 files changed, 108 insertions(+)

diff --git a/dev-debug/apitrace/Manifest b/dev-debug/apitrace/Manifest
index c621dedc66da..12f3fc17deec 100644
--- a/dev-debug/apitrace/Manifest
+++ b/dev-debug/apitrace/Manifest
@@ -1,2 +1,4 @@
 DIST apitrace-12.0-libbacktrace-8602fda64e78f1f46563220f2ee9f7e70819c51d.tar.gz 666166 BLAKE2B 1b35e0dafe31bc5d4fcc826f87f2e8200c27a4194719ee22d278b25fe081ec604e579aee72ebd7ea6d401b1a5bbc4b496b1083e3d761117bc3ccf23aabe046eb SHA512 8f303ff11250cbc644c91a07a55ffb1c6d52ca5eb76e3ea9405645bdd00715a25f57d1f39c7af16efbbe5b008ec76890f7fb3bca95eb89e7cd9a55c14a211643
 DIST apitrace-12.0.tar.gz 2273615 BLAKE2B a58f4d7bc607858e3080d56c739da356c169b25c139ca253f0b15d248a850ede54179776a500321f15e5f389271ad69f5c8c8dec47e0d0b3d4ae9afcea8bda41 SHA512 2af33aec39f43556765455662c69ee22bf3ff5d5fe8b0ca58fe3d555ab1571eab5ddbd4f0011b0c1669043314c8d5166b886ac2825f85d74ebadd9f848598698
+DIST apitrace-13.0-libbacktrace-d4bdca038e8685af3043683a881af37489fc1827.tar.gz 683938 BLAKE2B b9cf6ac161ac3babd769acefaf73567a196ffac5658c18cf0cb0f5b5ff153f074e9ac58b7caf08d5ec0bafe2170ced6c96483ddc01f1d4d2713fd90292b6f993 SHA512 d0ff3edd37d40cfe2f0615c8369992a02e9bb579694806bf8faf8c942b25367bdf74cd73f07affbaa2decf27130f49d1663553102e7bc205fc4cd49c72ea15ef
+DIST apitrace-13.0.tar.gz 2274587 BLAKE2B 5d28db7a5ee0f4798c14c017c2b35294e1758490b0b277b8011eff0405124f23e71c571cf41613326d47736ec5173b8db8d2dfe16610db29c2339b09ca4632bc SHA512 8a8c5b69722cc2eca8ff3e0b30282b0c134f03a55a6a2383750d9842015e3b3cf6265b8831245aa686e806796cb9a52685a41c1d212f6c9fbb0ae5e3c1b066cf

diff --git a/dev-debug/apitrace/apitrace-13.0.ebuild b/dev-debug/apitrace/apitrace-13.0.ebuild
new file mode 100644
index 000000000000..eda2dcf0e754
--- /dev/null
+++ b/dev-debug/apitrace/apitrace-13.0.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..14} )
+inherit cmake-multilib multilib optfeature python-single-r1
+
+DESCRIPTION="Tool for tracing, analyzing, and debugging graphics APIs"
+HOMEPAGE="https://github.com/apitrace/apitrace"
+# Newer than the submodule commit from 13.0, but this commit includes a patch for tests.
+# See #738888
+BACKTRACE_COMMIT="d4bdca038e8685af3043683a881af37489fc1827"
+SRC_URI="
+	https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+	https://github.com/ianlancetaylor/libbacktrace/archive/${BACKTRACE_COMMIT}.tar.gz
+		-> ${P}-libbacktrace-${BACKTRACE_COMMIT}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="gui test X"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+DEPEND="${PYTHON_DEPS}
+	app-arch/brotli:=[${MULTILIB_USEDEP}]
+	app-arch/snappy:=[${MULTILIB_USEDEP}]
+	media-libs/libpng:0=[${MULTILIB_USEDEP}]
+	media-libs/waffle[${MULTILIB_USEDEP}]
+	sys-libs/zlib[${MULTILIB_USEDEP}]
+	gui? ( dev-qt/qtbase:6[-gles2-only,gui,widgets] )
+	X? ( x11-libs/libX11 )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	virtual/pkgconfig
+	test? ( dev-cpp/gtest )
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-9.0-disable-multiarch.patch
+	"${FILESDIR}"/${PN}-12.0-unbundle.patch
+)
+
+src_prepare() {
+	sed -e "s:0.0-unknown:${PV}:" -i cmake/GenerateVersion.cmake || die
+
+	# still 3rd libs: khronos, crc32c and md5-compat
+	rm -r $(find thirdparty -mindepth 1 -maxdepth 1 \
+		! -name crc32c \
+		! -name khronos \
+		! -name md5 \
+		! -name support \
+		-type d -print) || die
+
+	mv "${WORKDIR}"/libbacktrace-${BACKTRACE_COMMIT} thirdparty/libbacktrace || die
+
+	cmake_src_prepare
+}
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DBUILD_TESTING=$(usex test)
+		-DDOC_INSTALL_DIR="${EPREFIX}"/usr/share/doc/${PF}
+		-DENABLE_X11=$(usex X)
+		-DENABLE_EGL=ON
+		-DENABLE_CLI=ON
+		-DENABLE_GUI=$(multilib_native_usex gui)
+		-DENABLE_QT6=$(multilib_native_usex gui)
+		-DENABLE_STATIC_SNAPPY=OFF
+		-DENABLE_WAFFLE=ON
+		-DPython3_EXECUTABLE="${PYTHON}"
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	MULTILIB_CHOST_TOOLS=(
+		/usr/bin/apitrace$(get_exeext)
+		/usr/bin/eglretrace$(get_exeext)
+		/usr/bin/gltrim$(get_exeext)
+	)
+	use X && MULTILIB_CHOST_TOOLS+=( /usr/bin/glretrace$(get_exeext) )
+
+	cmake-multilib_src_install
+
+	make_libegl_symlinks() {
+		dosym egltrace.so /usr/$(get_libdir)/${PN}/wrappers/libEGL.so
+		dosym egltrace.so /usr/$(get_libdir)/${PN}/wrappers/libEGL.so.1
+	}
+	multilib_foreach_abi make_libegl_symlinks
+
+	make_libgl_symlinks() {
+		dosym glxtrace.so /usr/$(get_libdir)/${PN}/wrappers/libGL.so
+		dosym glxtrace.so /usr/$(get_libdir)/${PN}/wrappers/libGL.so.1
+		dosym glxtrace.so /usr/$(get_libdir)/${PN}/wrappers/libGL.so.1.2
+	}
+	use X && multilib_foreach_abi make_libgl_symlinks
+}
+
+pkg_postinst() {
+	optfeature "retracediff.py: side by side retracing" "dev-python/pillow" "dev-python/numpy"
+	optfeature "snapdiff.py: image comparison scripts" "dev-python/pillow"
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-07-09 12:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-23 14:57 [gentoo-commits] repo/gentoo:master commit in: dev-debug/apitrace/ Matt Turner
  -- strict thread matches above, loose matches on Subject: below --
2024-05-23 14:57 Matt Turner
2025-06-07 16:12 Andreas Sturmlechner
2025-07-09 12:32 Sam James

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