* [gentoo-commits] repo/gentoo:master commit in: dev-libs/thrift/, dev-libs/thrift/files/
@ 2025-03-10 0:22 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2025-03-10 0:22 UTC (permalink / raw
To: gentoo-commits
commit: d9e15a75e6f60417f941868ae1761ab70a1116b2
Author: Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Wed Mar 5 01:23:28 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 10 00:21:10 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9e15a75
dev-libs/thrift: add 0.21.0
* Use github tarball over missing test files.
* Drop test patches and use CMAKE_SKIP_TESTS instead.
* Comprehensily set cmakeargs and use WITH_OPTION over BUILD_OPTION to
stop cmake looking for the dependencies despite the feature being disabled.
Bug: https://bugs.gentoo.org/943012
Bug: https://bugs.gentoo.org/938100
Bug: https://bugs.gentoo.org/949634
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40903
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/thrift/Manifest | 1 +
.../thrift/files/thrift-0.21.0-gcc15-cstdint.patch | 52 +++++++++++++++
dev-libs/thrift/thrift-0.21.0.ebuild | 73 ++++++++++++++++++++++
3 files changed, 126 insertions(+)
diff --git a/dev-libs/thrift/Manifest b/dev-libs/thrift/Manifest
index 88cdbc2d6cce..2da2449b32fe 100644
--- a/dev-libs/thrift/Manifest
+++ b/dev-libs/thrift/Manifest
@@ -1,3 +1,4 @@
DIST thrift-0.16.0.tar.gz 4085114 BLAKE2B 17c35096f6848fb0795e4cb125fed3068c8e1e53f67f404f4dcab67df7a42fc049a7d615591c861eb9e59e3333e21f185e8615663008bc7c846a03722ea8b834 SHA512 468fff6be2def85959fdf8adac92a0cfa7f786083b3bafb2c31427dfe5725f4d10962052d13ea960828f6a317778d35e66b602744a570212352bfc637ae586e0
DIST thrift-0.18.1.tar.gz 4310494 BLAKE2B 3e6c7e03059341e79d3f58e16b55761888b530b3d31dd22853026486a1303725ee5d5e6e5dd7a5e6bf8e57a2d3cf36ffc829cdb194d990cadedfc63f4f3e0874 SHA512 9c9a462aa8b6fddefd5bb9d2c950570eb2d3beaa7c9d37fceee677bdc1fdeb521b796f4eeee8a1fd9a7649f84449f6c0572305210e67402eb97682ca7f6e851b
DIST thrift-0.20.0.tar.gz 4397667 BLAKE2B 23422fdcdf7e0dbce8bc0f8017f54b5848594e2da21de56834152c17c74da7d1c4df23c5b57cf3ba811bb03f1a8588ddf1c2a05222bb726aceda4292a15af21e SHA512 8dc77f666e60141a6b3cf7ee1407b08a0e80d176f8ccfee69317d7df89ab87aea2c7b3ba3e59d4561835edf1ce23762443ad5aeed0099bf075b010853d5eb1cd
+DIST thrift-0.21.0.gh.tar.gz 3276565 BLAKE2B 806cda50086b592fa14723377ee0346ac77fff5c0002d0eea481a021c0d7ef4360a2ce347b1a1d969900fac10602534e25e9ac5df54a2d15d363bfc12d0cf055 SHA512 39566b7ecae7ae159822ee1c2c03a7af9ba6e228c3bbecea4079bdbd2332b42f03f79af08303a2685d04723f996d230cf95e5afc4d2a3880158a80429e21c190
diff --git a/dev-libs/thrift/files/thrift-0.21.0-gcc15-cstdint.patch b/dev-libs/thrift/files/thrift-0.21.0-gcc15-cstdint.patch
new file mode 100644
index 000000000000..ab3453e2bd0f
--- /dev/null
+++ b/dev-libs/thrift/files/thrift-0.21.0-gcc15-cstdint.patch
@@ -0,0 +1,52 @@
+https://bugs.gentoo.org/938100
+https://github.com/apache/thrift/commit/947ad66940cfbadd9b24ba31d892dfc1142dd330
+https://github.com/apache/thrift/pull/3078
+https://github.com/apache/arrow/issues/45096
+
+From 947ad66940cfbadd9b24ba31d892dfc1142dd330 Mon Sep 17 00:00:00 2001
+From: Sutou Kouhei <kou@clear-code.com>
+Date: Mon, 23 Dec 2024 12:33:22 +0900
+Subject: [PATCH] THRIFT-5842: Add missing cstdint include for int64_t in
+ Mutex.h
+
+Client: cpp
+
+GCC 15 (not released yet) requires `#include <cstdint>` for `int64_t`
+but `lib/cpp/src/thrift/concurrency/Mutex.h` doesn't have it. So we
+can't build Thrift with GCC 15:
+
+ [80/359] Building CXX object lib/cpp/CMakeFiles/thrift.dir/src/thrift/transport/TSSLServerSocket.cpp.o
+ FAILED: lib/cpp/CMakeFiles/thrift.dir/src/thrift/transport/TSSLServerSocket.cpp.o
+ /bin/g++-15 -DBOOST_ALL_DYN_LINK -DBOOST_TEST_DYN_LINK -DTHRIFT_STATIC_DEFINE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/kou/work/cpp/thrift.kou.build/lib/cpp -I/home/kou/work/cpp/thrift.kou/lib/cpp -I/home/kou/work/cpp/thrift.kou.build -I/home/kou/work/cpp/thrift.kou/lib/cpp/src -g -std=c++11 -MD -MT lib/cpp/CMakeFiles/thrift.dir/src/thrift/transport/TSSLServerSocket.cpp.o -MF lib/cpp/CMakeFiles/thrift.dir/src/thrift/transport/TSSLServerSocket.cpp.o.d -o lib/cpp/CMakeFiles/thrift.dir/src/thrift/transport/TSSLServerSocket.cpp.o -c /home/kou/work/cpp/thrift.kou/lib/cpp/src/thrift/transport/TSSLServerSocket.cpp
+ In file included from /home/kou/work/cpp/thrift.kou/lib/cpp/src/thrift/transport/TServerSocket.h:25,
+ from /home/kou/work/cpp/thrift.kou/lib/cpp/src/thrift/transport/TSSLServerSocket.h:23,
+ from /home/kou/work/cpp/thrift.kou/lib/cpp/src/thrift/transport/TSSLServerSocket.cpp:21:
+ /home/kou/work/cpp/thrift.kou/lib/cpp/src/thrift/concurrency/Mutex.h:47:26: error: 'int64_t' has not been declared
+ 47 | virtual bool timedlock(int64_t milliseconds) const;
+ | ^~~~~~~
+ /home/kou/work/cpp/thrift.kou/lib/cpp/src/thrift/concurrency/Mutex.h:25:1: note: 'int64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
+ 24 | #include <thrift/TNonCopyable.h>
+ +++ |+#include <cstdint>
+ 25 |
+ /home/kou/work/cpp/thrift.kou/lib/cpp/src/thrift/concurrency/Mutex.h:60:29: error: 'int64_t' has not been declared
+ 60 | Guard(const Mutex& value, int64_t timeout = 0) : mutex_(&value) {
+ | ^~~~~~~
+ /home/kou/work/cpp/thrift.kou/lib/cpp/src/thrift/concurrency/Mutex.h:60:29: note: 'int64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
+
+See also: https://github.com/apache/arrow/issues/45096
+---
+ lib/cpp/src/thrift/concurrency/Mutex.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/cpp/src/thrift/concurrency/Mutex.h b/lib/cpp/src/thrift/concurrency/Mutex.h
+index 1e5c3fba37c..12f1729d6bf 100644
+--- a/lib/cpp/src/thrift/concurrency/Mutex.h
++++ b/lib/cpp/src/thrift/concurrency/Mutex.h
+@@ -20,6 +20,7 @@
+ #ifndef _THRIFT_CONCURRENCY_MUTEX_H_
+ #define _THRIFT_CONCURRENCY_MUTEX_H_ 1
+
++#include <cstdint>
+ #include <memory>
+ #include <thrift/TNonCopyable.h>
+
diff --git a/dev-libs/thrift/thrift-0.21.0.ebuild b/dev-libs/thrift/thrift-0.21.0.ebuild
new file mode 100644
index 000000000000..885d01c25f6c
--- /dev/null
+++ b/dev-libs/thrift/thrift-0.21.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="C++ bindings for Apache Thrift"
+HOMEPAGE="https://thrift.apache.org/lib/cpp.html"
+# Misses testing files
+# SRC_URI="mirror://apache/thrift/${PV}/${P}.tar.gz"
+SRC_URI="
+ https://github.com/apache/thrift/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv ~s390 ~x86"
+
+IUSE="libevent lua +ssl test"
+REQUIRED_USE="test? ( ssl libevent )"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ dev-libs/boost:=[nls(+)]
+ dev-libs/openssl:=
+ sys-libs/zlib:=
+ libevent? ( dev-libs/libevent:= )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ app-alternatives/lex
+ app-alternatives/yacc
+"
+
+PATCHES=(
+ "${FILESDIR}/thrift-0.21.0-gcc15-cstdint.patch"
+)
+
+src_configure() {
+ local mycmakeargs=(
+ # follow order in build/cmake/DefineOptions.cmake
+ # Prefer WITH_OPTION over BUILD_OPTION for bug #943012
+ -DBUILD_COMPILER=ON
+ -DBUILD_TESTING=$(usex test)
+ -DBUILD_TUTORIALS=OFF
+ -DBUILD_LIBRARIES=ON
+ -DWITH_AS3=ON
+ -DWITH_CPP=ON
+ -DWITH_ZLIB=ON
+ -DWITH_LIBEVENT=$(usex libevent)
+ -DWITH_QT5=OFF
+ -DWITH_C_GLIB=OFF
+ -DWITH_OPENSSL=$(usex ssl)
+ -DWITH_JAVA=OFF
+ -DWITH_JAVASCRIPT=OFF
+ -DWITH_NODEJS=OFF
+ -DWITH_PYTHON=OFF
+ -Wno-dev
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ local CMAKE_SKIP_TESTS=(
+ # network sandbox
+ StressTestConcurrent
+ StressTestNonBlocking
+ UnitTests
+ )
+ cmake_src_test
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/thrift/, dev-libs/thrift/files/
@ 2025-05-23 22:20 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2025-05-23 22:20 UTC (permalink / raw
To: gentoo-commits
commit: ebcbaf61d4b7bdb2113bb00294031a79e8d4fad2
Author: Kostadin Shishmanov <kostadinshishmanov <AT> protonmail <DOT> com>
AuthorDate: Fri May 23 20:33:16 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 23 22:20:10 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebcbaf61
dev-libs/thrift: fix build with cmake 4
Closes: https://bugs.gentoo.org/951678
Signed-off-by: Kostadin Shishmanov <kostadinshishmanov <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42230
Closes: https://github.com/gentoo/gentoo/pull/42230
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/thrift/files/thrift-0.21.0-cmake4.patch | 54 +++++++++++++++++
dev-libs/thrift/thrift-0.21.0-r1.ebuild | 74 ++++++++++++++++++++++++
2 files changed, 128 insertions(+)
diff --git a/dev-libs/thrift/files/thrift-0.21.0-cmake4.patch b/dev-libs/thrift/files/thrift-0.21.0-cmake4.patch
new file mode 100644
index 000000000000..f8bcc7865b2e
--- /dev/null
+++ b/dev-libs/thrift/files/thrift-0.21.0-cmake4.patch
@@ -0,0 +1,54 @@
+https://bugs.gentoo.org/951678
+https://github.com/apache/thrift/commit/b3fc4b2
+
+From b3fc4b224258e4bf154bf774746f0d2554edb90c Mon Sep 17 00:00:00 2001
+From: Vyas Ramasubramani <vyas.ramasubramani@gmail.com>
+Date: Sun, 20 Apr 2025 13:57:06 -0700
+Subject: [PATCH] Update minimum required CMake version for CMake 4.0
+ compatibility
+
+---
+ CMakeLists.txt | 2 +-
+ compiler/cpp/CMakeLists.txt | 2 +-
+ compiler/cpp/tests/CMakeLists.txt | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b76d7035b22..1f74e75c5f8 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -17,7 +17,7 @@
+ # under the License.
+ #
+
+-cmake_minimum_required(VERSION 3.4)
++cmake_minimum_required(VERSION 3.16)
+
+ if(POLICY CMP0048)
+ cmake_policy(SET CMP0048 NEW) # package version behavior added in cmake 3.0
+diff --git a/compiler/cpp/CMakeLists.txt b/compiler/cpp/CMakeLists.txt
+index b0f123555d8..4c1c2c56a55 100644
+--- a/compiler/cpp/CMakeLists.txt
++++ b/compiler/cpp/CMakeLists.txt
+@@ -17,7 +17,7 @@
+ # under the License.
+ #
+
+-cmake_minimum_required(VERSION 3.3)
++cmake_minimum_required(VERSION 3.16)
+ project("thrift-compiler" VERSION ${PACKAGE_VERSION})
+
+ # version.h now handled via veralign.sh
+diff --git a/compiler/cpp/tests/CMakeLists.txt b/compiler/cpp/tests/CMakeLists.txt
+index d9c5209134c..6a078ec6304 100644
+--- a/compiler/cpp/tests/CMakeLists.txt
++++ b/compiler/cpp/tests/CMakeLists.txt
+@@ -16,7 +16,7 @@
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+-cmake_minimum_required(VERSION 2.8.12)
++cmake_minimum_required(VERSION 3.16)
+
+ project(thrift_compiler_tests)
+
diff --git a/dev-libs/thrift/thrift-0.21.0-r1.ebuild b/dev-libs/thrift/thrift-0.21.0-r1.ebuild
new file mode 100644
index 000000000000..9632d2ddbe0b
--- /dev/null
+++ b/dev-libs/thrift/thrift-0.21.0-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="C++ bindings for Apache Thrift"
+HOMEPAGE="https://thrift.apache.org/lib/cpp.html"
+# Misses testing files
+# SRC_URI="mirror://apache/thrift/${PV}/${P}.tar.gz"
+SRC_URI="
+ https://github.com/apache/thrift/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv ~s390 ~x86"
+
+IUSE="libevent lua +ssl test"
+REQUIRED_USE="test? ( ssl libevent )"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ dev-libs/boost:=[nls(+)]
+ dev-libs/openssl:=
+ sys-libs/zlib:=
+ libevent? ( dev-libs/libevent:= )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ app-alternatives/lex
+ app-alternatives/yacc
+"
+
+PATCHES=(
+ "${FILESDIR}/thrift-0.21.0-gcc15-cstdint.patch"
+ "${FILESDIR}/thrift-0.21.0-cmake4.patch"
+)
+
+src_configure() {
+ local mycmakeargs=(
+ # follow order in build/cmake/DefineOptions.cmake
+ # Prefer WITH_OPTION over BUILD_OPTION for bug #943012
+ -DBUILD_COMPILER=ON
+ -DBUILD_TESTING=$(usex test)
+ -DBUILD_TUTORIALS=OFF
+ -DBUILD_LIBRARIES=ON
+ -DWITH_AS3=ON
+ -DWITH_CPP=ON
+ -DWITH_ZLIB=ON
+ -DWITH_LIBEVENT=$(usex libevent)
+ -DWITH_QT5=OFF
+ -DWITH_C_GLIB=OFF
+ -DWITH_OPENSSL=$(usex ssl)
+ -DWITH_JAVA=OFF
+ -DWITH_JAVASCRIPT=OFF
+ -DWITH_NODEJS=OFF
+ -DWITH_PYTHON=OFF
+ -Wno-dev
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ local CMAKE_SKIP_TESTS=(
+ # network sandbox
+ StressTestConcurrent
+ StressTestNonBlocking
+ UnitTests
+ )
+ cmake_src_test
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/thrift/, dev-libs/thrift/files/
@ 2022-04-29 0:31 Patrick McLean
0 siblings, 0 replies; 3+ messages in thread
From: Patrick McLean @ 2022-04-29 0:31 UTC (permalink / raw
To: gentoo-commits
commit: 87b3515305f3198a73920b33cebc93816f36173a
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 28 21:06:04 2022 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Apr 29 00:24:44 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87b35153
dev-libs/thrift: new package, add 0.16.0
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
dev-libs/thrift/Manifest | 1 +
.../thrift/files/thrift-0.16.0-network-tests.patch | 36 +++++++++++++++
dev-libs/thrift/metadata.xml | 15 +++++++
dev-libs/thrift/thrift-0.16.0.ebuild | 52 ++++++++++++++++++++++
4 files changed, 104 insertions(+)
diff --git a/dev-libs/thrift/Manifest b/dev-libs/thrift/Manifest
new file mode 100644
index 000000000000..4e5bde988056
--- /dev/null
+++ b/dev-libs/thrift/Manifest
@@ -0,0 +1 @@
+DIST thrift-0.16.0.tar.gz 4085114 BLAKE2B 17c35096f6848fb0795e4cb125fed3068c8e1e53f67f404f4dcab67df7a42fc049a7d615591c861eb9e59e3333e21f185e8615663008bc7c846a03722ea8b834 SHA512 468fff6be2def85959fdf8adac92a0cfa7f786083b3bafb2c31427dfe5725f4d10962052d13ea960828f6a317778d35e66b602744a570212352bfc637ae586e0
diff --git a/dev-libs/thrift/files/thrift-0.16.0-network-tests.patch b/dev-libs/thrift/files/thrift-0.16.0-network-tests.patch
new file mode 100644
index 000000000000..cc1f1cf2c621
--- /dev/null
+++ b/dev-libs/thrift/files/thrift-0.16.0-network-tests.patch
@@ -0,0 +1,36 @@
+diff --git a/lib/cpp/test/ToStringTest.cpp b/lib/cpp/test/ToStringTest.cpp
+index 736b33c0a..f66909873 100644
+--- a/lib/cpp/test/ToStringTest.cpp
++++ b/lib/cpp/test/ToStringTest.cpp
+@@ -41,31 +41,6 @@ BOOST_AUTO_TEST_CASE(base_types_to_string) {
+ BOOST_CHECK_EQUAL(to_string("abc"), "abc");
+ }
+
+-// NOTE: Currently (as of 2021.08.12) the locale-based tests do not work on
+-// Windows in the AppVeyor Thrift CI build correctly. Therefore disabled on
+-// Windows:
+-#ifndef _WIN32
+-BOOST_AUTO_TEST_CASE(locale_en_US_int_to_string) {
+-#ifdef _WIN32
+- std::locale::global(std::locale("en-US.UTF-8"));
+-#else
+- std::locale::global(std::locale("en_US.UTF-8"));
+-#endif
+- BOOST_CHECK_EQUAL(to_string(1000000), "1000000");
+-}
+-
+-BOOST_AUTO_TEST_CASE(locale_de_DE_floating_point_to_string) {
+-#ifdef _WIN32
+- std::locale::global(std::locale("de-DE.UTF-8"));
+-#else
+- std::locale::global(std::locale("de_DE.UTF-8"));
+-#endif
+- BOOST_CHECK_EQUAL(to_string(1.5), "1.5");
+- BOOST_CHECK_EQUAL(to_string(1.5f), "1.5");
+- BOOST_CHECK_EQUAL(to_string(1.5L), "1.5");
+-}
+-#endif
+-
+ BOOST_AUTO_TEST_CASE(empty_vector_to_string) {
+ std::vector<int> l;
+ BOOST_CHECK_EQUAL(to_string(l), "[]");
diff --git a/dev-libs/thrift/metadata.xml b/dev-libs/thrift/metadata.xml
new file mode 100644
index 000000000000..e27373e1c1b8
--- /dev/null
+++ b/dev-libs/thrift/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">
+ <email>chutzpah@gentoo.org</email>
+ <name>Patrick McLean</name>
+ </maintainer>
+ <use>
+ <flag name="libevent">Build support for <pkg>dev-libs/libevent</pkg></flag>
+ </use>
+ <upstream>
+ <remote-id type="github">apache/thrift/</remote-id>
+ <bugs-to>https://issues.apache.org/jira/projects/THRIFT</bugs-to>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-libs/thrift/thrift-0.16.0.ebuild b/dev-libs/thrift/thrift-0.16.0.ebuild
new file mode 100644
index 000000000000..8ef3ac6644fb
--- /dev/null
+++ b/dev-libs/thrift/thrift-0.16.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="C++ bindings for Apache Thrift"
+HOMEPAGE="https://thrift.apache.org/lib/cpp.html"
+SRC_URI="mirror://apache/thrift/${PV}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/0"
+KEYWORDS="~amd64"
+IUSE="libevent lua +ssl test"
+
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ dev-libs/openssl:=
+ libevent? ( dev-libs/libevent )
+ test? (
+ dev-libs/boost
+ )
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+REQUIRED_USE="
+ test? ( ssl )
+"
+
+PATCHES=(
+ "${FILESDIR}/thrift-0.16.0-network-tests.patch"
+)
+
+src_configure() {
+ local -a mycmakeargs=(
+ -DBUILD_CPP=ON
+ -DBUILD_C_GLIB=OFF
+ -DBUILD_JAVA=OFF
+ -DBUILD_JAVASCRIPT=OFF
+ -DBUILD_NODEJS=OFF
+ -DBUILD_PYTHON=OFF
+ -DBUILD_TESTING=$(usex test 'ON' 'OFF')
+ -DWITH_LIBEVENT=$(usex libevent 'ON' 'OFF')
+ -DWITH_OPENSSL=$(usex ssl 'ON' 'OFF')
+ -DWITH_ZLIB=ON
+ -Wno-dev
+ )
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-05-23 22:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-10 0:22 [gentoo-commits] repo/gentoo:master commit in: dev-libs/thrift/, dev-libs/thrift/files/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2025-05-23 22:20 Sam James
2022-04-29 0:31 Patrick McLean
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox