public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/mvfst/
@ 2024-11-11 22:25 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2024-11-11 22:25 UTC (permalink / raw
  To: gentoo-commits

commit:     513b5fedf5187ffdad91ce6de841b24eb57b8b2e
Author:     sin-ack <sin-ack <AT> protonmail <DOT> com>
AuthorDate: Sun Nov 10 19:53:10 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 11 22:24:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=513b5fed

dev-cpp/mvfst: new package, add 2024.11.04.00

Signed-off-by: sin-ack <sin-ack <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/mvfst/Manifest                   |  1 +
 dev-cpp/mvfst/metadata.xml               | 15 ++++++++++
 dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild | 49 ++++++++++++++++++++++++++++++++
 3 files changed, 65 insertions(+)

diff --git a/dev-cpp/mvfst/Manifest b/dev-cpp/mvfst/Manifest
new file mode 100644
index 000000000000..404d5e40b48e
--- /dev/null
+++ b/dev-cpp/mvfst/Manifest
@@ -0,0 +1 @@
+DIST mvfst-2024.11.04.00.gh.tar.gz 1983543 BLAKE2B 9c8b0da32baddd04af29e892a379333f89af45957a415dfa7f6da86f9a9b39fc8fbc73e450deb51e7a61b4ddfd37f08dc3d9ba8f48f83557aab4ae762068ec14 SHA512 4a000583884777fa876f3bfc52a3420c9cf8818f943c07898ac3b313837092fc173d8db497fd59027ef405d8fa5e3114a53b3bc5cf3fef398ca712c06a1da3e0

diff --git a/dev-cpp/mvfst/metadata.xml b/dev-cpp/mvfst/metadata.xml
new file mode 100644
index 000000000000..48c4665d7f55
--- /dev/null
+++ b/dev-cpp/mvfst/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person" proxied="yes">
+		<email>sin-ack@protonmail.com</email>
+		<name>sin-ack</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">facebook/mvfst</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild b/dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild
new file mode 100644
index 000000000000..b920ce229a20
--- /dev/null
+++ b/dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# These must be bumped together:
+# dev-cpp/edencommon
+# dev-cpp/fb303
+# dev-cpp/fbthrift
+# dev-cpp/fizz
+# dev-cpp/folly
+# dev-cpp/mvfst
+# dev-cpp/wangle
+# dev-util/watchman
+
+inherit cmake
+
+DESCRIPTION="An implementation of the QUIC transport protocol"
+HOMEPAGE="https://github.com/facebook/mvfst"
+SRC_URI="https://github.com/facebook/mvfst/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	~dev-cpp/fizz-${PV}:=
+	~dev-cpp/folly-${PV}:=
+	dev-cpp/gflags:=
+	dev-cpp/glog:=[gflags]
+	dev-libs/boost:=
+	dev-libs/libfmt:=
+"
+DEPEND="
+	${RDEPEND}
+	test? ( dev-cpp/gtest )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}"
+		-DLIB_INSTALL_DIR="$(get_libdir)"
+		-DBUILD_TESTS="$(usex test ON OFF)"
+	)
+
+	cmake_src_configure
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/mvfst/
@ 2024-11-23 14:01 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2024-11-23 14:01 UTC (permalink / raw
  To: gentoo-commits

commit:     e6ae95c0515b0a8859df3052d48500473cd6e457
Author:     sin-ack <sin-ack <AT> protonmail <DOT> com>
AuthorDate: Wed Nov 13 00:03:04 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 14:00:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6ae95c0

dev-cpp/mvfst: skip some tests on arm64

These tests segfault in a QEMU chroot.

Signed-off-by: sin-ack <sin-ack <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild b/dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild
index b920ce229a20..12d43e1df1c3 100644
--- a/dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild
+++ b/dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild
@@ -47,3 +47,16 @@ src_configure() {
 
 	cmake_src_configure
 }
+
+src_test() {
+	if use arm64; then
+		# These tests segfault on arm64.
+		# https://github.com/facebook/mvfst/issues/363
+		CMAKE_SKIP_TESTS=(
+			QuicClientTransportIntegrationTest.ResetClient
+			QuicClientTransportIntegrationTest.TestStatelessResetToken
+		)
+	fi
+
+	cmake_src_test
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/mvfst/
@ 2024-11-23 16:08 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2024-11-23 16:08 UTC (permalink / raw
  To: gentoo-commits

commit:     bab2378af620dcf5d1eb534b6e39f518d80f32f7
Author:     sin-ack <sin-ack <AT> protonmail <DOT> com>
AuthorDate: Mon Nov 18 21:47:17 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 16:07:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab2378a

dev-cpp/mvfst: use the correct CMake variables

For some reason these are different than most of the Facebook C++
libraries.

Closes: https://bugs.gentoo.org/943625
Signed-off-by: sin-ack <sin-ack <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39365
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{mvfst-2024.11.04.00.ebuild => mvfst-2024.11.04.00-r1.ebuild}     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild b/dev-cpp/mvfst/mvfst-2024.11.04.00-r1.ebuild
similarity index 92%
rename from dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild
rename to dev-cpp/mvfst/mvfst-2024.11.04.00-r1.ebuild
index 12d43e1df1c3..396d42d484be 100644
--- a/dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild
+++ b/dev-cpp/mvfst/mvfst-2024.11.04.00-r1.ebuild
@@ -40,8 +40,8 @@ DEPEND="
 
 src_configure() {
 	local mycmakeargs=(
-		-DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}"
-		-DLIB_INSTALL_DIR="$(get_libdir)"
+		-DCMAKE_INSTALL_MODULE_DIR="$(get_libdir)/cmake/${PN}"
+		-DCMAKE_INSTALL_LIBDIR="$(get_libdir)"
 		-DBUILD_TESTS="$(usex test ON OFF)"
 	)
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/mvfst/
@ 2024-11-23 20:16 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2024-11-23 20:16 UTC (permalink / raw
  To: gentoo-commits

commit:     d4ec81cbca5ac3e58cb6e6667a011822d034c6a2
Author:     sin-ack <sin-ack <AT> protonmail <DOT> com>
AuthorDate: Tue Nov 12 12:52:50 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 20:15:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4ec81cb

dev-cpp/mvfst: keyword 2024.11.04.00 for ~arm64

Two tests segfault in the QEMU chroot.

Signed-off-by: sin-ack <sin-ack <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/mvfst/mvfst-2024.11.04.00-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/mvfst/mvfst-2024.11.04.00-r1.ebuild b/dev-cpp/mvfst/mvfst-2024.11.04.00-r1.ebuild
index 396d42d484be..7059319511db 100644
--- a/dev-cpp/mvfst/mvfst-2024.11.04.00-r1.ebuild
+++ b/dev-cpp/mvfst/mvfst-2024.11.04.00-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="https://github.com/facebook/mvfst/archive/refs/tags/v${PV}.tar.gz -> ${
 
 LICENSE="MIT"
 SLOT="0/${PV}"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64"
 IUSE="test"
 RESTRICT="!test? ( test )"
 


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

end of thread, other threads:[~2024-11-23 20:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-23 20:16 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/mvfst/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-11-23 16:08 Sam James
2024-11-23 14:01 Sam James
2024-11-11 22:25 Sam James

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